Skip to content
Docs Try Aspire

AllocatedEndpoint Properties

Class Properties 9 members
Represents an endpoint allocated for a service instance.
The address of the endpoint
public string Address { get; }
The binding mode of the endpoint, indicating whether it is a single address endpoint or is bound to all IPv4 or IPv6 addresses (or both).
public EndpointBindingMode BindingMode { get; }
Gets the endpoint which this allocation is associated with.
public EndpointAnnotation Endpoint { get; }
EndPointString Section titled EndPointString string
Endpoint in string representation formatted as "Address:Port".
public string EndPointString { get; }
Gets the network identifier for the network associated with the AllocatedEndpoint instance.
public NetworkIdentifier NetworkID { get; }
The port used by the endpoint
public int Port { get; }
TargetPortExpression Section titled TargetPortExpression nullable string?
A string representing how to retrieve the target port of the AllocatedEndpoint instance.
public string? TargetPortExpression { get; }
For URI-addressed services, contains the scheme part of the address.
public string UriScheme { get; }
URI in string representation.
public string UriString { get; }