# EndpointUpdateContext

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

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

## Definition

```typescript
interface EndpointUpdateContext {
  excludeReferenceEndpoint: boolean;
  isExternal: boolean;
  isProxied: boolean;
  readonly name: string;
  port: number;
  protocol: ProtocolType;
  targetHost: string;
  targetPort: number;
  tlsEnabled: boolean;
  transport: string;
  uriScheme: string;
}
```

## Properties

- `excludeReferenceEndpoint`: `boolean` `get - set` -- Gets or sets a value indicating whether the endpoint is excluded from the default reference set.
- `isExternal`: `boolean` `get - set` -- Gets or sets a value indicating whether the endpoint is external.
- `isProxied`: `boolean` `get - set` -- Gets or sets a value indicating whether the endpoint is proxied.
- `name`: `string` `get` -- Gets the endpoint name.
- `port`: `number` `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`: `number` `get - set` -- Gets or sets the target port.
- `tlsEnabled`: `boolean` `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.
