Partager via


TrafficManagerEndpoint Interface

Implements

public interface TrafficManagerEndpoint
extends ExternalChildResource<TrafficManagerEndpoint,TrafficManagerProfile>, HasInnerModel<EndpointInner>

An immutable client-side representation of an Azure traffic manager profile endpoint.

Method Summary

Modifier and Type Method and Description
abstract Map<String,String> customHeaders()
abstract EndpointType endpointType()
abstract Set<String> geographicLocationCodes()
abstract boolean isEnabled()
abstract EndpointMonitorStatus monitorStatus()
abstract long routingPriority()
abstract long routingWeight()
abstract Collection<EndpointPropertiesSubnetsItem> subnets()

Method Details

customHeaders

public abstract Map customHeaders()

Returns:

custom headers associated with the endpoint as key-value pair.

endpointType

public abstract EndpointType endpointType()

Returns:

the endpoint type

geographicLocationCodes

public abstract Set geographicLocationCodes()

Returns:

the geographic location codes indicating the locations to which traffic will be distributed.

isEnabled

public abstract boolean isEnabled()

Returns:

true if the endpoint is enabled, false otherwise

monitorStatus

public abstract EndpointMonitorStatus monitorStatus()

Returns:

the monitor status of the endpoint

routingPriority

public abstract long routingPriority()

Returns:

the priority of the endpoint which is used when traffic manager profile is configured with Priority traffic-routing method

routingWeight

public abstract long routingWeight()

Returns:

the weight of the endpoint which is used when traffic manager profile is configured with Weighted traffic-routing method

subnets

public abstract Collection subnets()

Returns:

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

Applies to