# EndpointUpdateContext

- Module: [Aspire.Hosting](/reference/api/go/aspire.hosting.md)
- Version: `17.0.0`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/bcfa151cdca6d0a573f22d5d9c23f9c727cb3b2f)

Provides a mutable callback context for updating an endpoint in polyglot AppHosts.

## Definition

```go
type EndpointUpdateContext interface{}
```

## Properties

- `ExcludeReferenceEndpoint`: `bool` `get/set` -- Gets or sets a value indicating whether the endpoint is excluded from the default reference set.
- `IsExternal`: `bool` `get/set` -- Gets or sets a value indicating whether the endpoint is external.
- `IsProxied`: `*bool` `get/set` -- Gets or sets a value indicating whether the endpoint is proxied.
- `Name`: `string` `get` -- Gets the endpoint name.
- `Port`: `*float64` `get/set` -- Gets or sets the desired host port.
- `Protocol`: `ProtocolType` `get/set` -- Gets or sets the network protocol.
- `TargetHost`: `string` `get/set` -- Gets or sets the target host.
- `TargetPort`: `*float64` `get/set` -- Gets or sets the target port.
- `TlsEnabled`: `bool` `get/set` -- Gets or sets a value indicating whether TLS is enabled.
- `Transport`: `string` `get/set` -- Gets or sets the transport.
- `UriScheme`: `string` `get/set` -- Gets or sets the URI scheme.
