Class AllocatedEndpoint

java.lang.Object
com.azure.runtime.host.resources.properties.AllocatedEndpoint

public class AllocatedEndpoint extends Object
Represents an endpoint allocated for a service instance.
  • Constructor Details

    • AllocatedEndpoint

      public AllocatedEndpoint(EndpointAnnotation endpoint, String address, int port, String containerHostAddress, String targetPortExpression)
      Initializes a new instance of the AllocatedEndpoint class.
      Parameters:
      endpoint - The endpoint.
      address - The IP address of the endpoint.
      port - The port number of the endpoint.
      containerHostAddress - The address of the container host.
      targetPortExpression - A string representing how to retrieve the target port of the AllocatedEndpoint instance.
  • Method Details

    • getEndpoint

      public EndpointAnnotation getEndpoint()
    • getAddress

      public String getAddress()
    • getContainerHostAddress

      public String getContainerHostAddress()
    • getPort

      public int getPort()
    • getUriScheme

      public String getUriScheme()
    • getEndPointString

      public String getEndPointString()
    • getUriString

      public String getUriString()
    • getTargetPortExpression

      public String getTargetPortExpression()
    • toString

      public String toString()
      Overrides:
      toString in class Object