Interface TrafficManagerEndpoint

All Superinterfaces:
ChildResource<TrafficManagerProfile>, ExternalChildResource<TrafficManagerEndpoint,TrafficManagerProfile>, HasInner<com.microsoft.azure.management.trafficmanager.implementation.EndpointInner>, HasName, HasParent<TrafficManagerProfile>, Indexable, Refreshable<TrafficManagerEndpoint>
All Known Subinterfaces:
TrafficManagerAzureEndpoint, TrafficManagerExternalEndpoint, TrafficManagerNestedProfileEndpoint

public interface TrafficManagerEndpoint extends ExternalChildResource<TrafficManagerEndpoint,TrafficManagerProfile>, HasInner<com.microsoft.azure.management.trafficmanager.implementation.EndpointInner>
An immutable client-side representation of an Azure traffic manager profile endpoint.
  • Method Details

    • endpointType

      EndpointType endpointType()
      Returns:
      the endpoint type
    • monitorStatus

      EndpointMonitorStatus monitorStatus()
      Returns:
      the monitor status of the endpoint
    • isEnabled

      boolean isEnabled()
      Returns:
      true if the endpoint is enabled, false otherwise
    • routingWeight

      long routingWeight()
      Returns:
      the weight of the endpoint which is used when traffic manager profile is configured with Weighted traffic-routing method
    • routingPriority

      long routingPriority()
      Returns:
      the priority of the endpoint which is used when traffic manager profile is configured with Priority traffic-routing method
    • geographicLocationCodes

      Set<String> geographicLocationCodes()
      Returns:
      the geographic location codes indicating the locations to which traffic will be distributed.
    • subnets

      Returns:
      the list of subnets, IP addresses, and/or address ranges mapped to this endpoint.
    • customHeaders

      Map<String,String> customHeaders()
      Returns:
      custom headers associated with the endpoint as key-value pair.