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 Link icon

    • AllocatedEndpoint Link icon

      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 Link icon

    • getEndpoint Link icon

      public EndpointAnnotation getEndpoint()
    • getAddress Link icon

      public String getAddress()
    • getContainerHostAddress Link icon

      public String getContainerHostAddress()
    • getPort Link icon

      public int getPort()
    • getUriScheme Link icon

      public String getUriScheme()
    • getEndPointString Link icon

      public String getEndPointString()
    • getUriString Link icon

      public String getUriString()
    • getTargetPortExpression Link icon

      public String getTargetPortExpression()
    • toString Link icon

      public String toString()
      Overrides:
      toString in class Object