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()

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

abstract EndpointType endpointType()

Gets the endpoint type.

abstract Set<String> geographicLocationCodes()

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

abstract boolean isEnabled()

Checks whether the endpoint is enabled.

abstract EndpointMonitorStatus monitorStatus()

Gets the monitor status of the endpoint.

abstract long routingPriority()

Gets the priority of the endpoint which is used when traffic manager profile is configured.

abstract long routingWeight()

Gets the weight of the endpoint which is used when traffic manager profile is configured.

abstract Collection<EndpointPropertiesSubnetsItem> subnets()

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

Method Details

customHeaders

public abstract Map customHeaders()

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

Returns:

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

endpointType

public abstract EndpointType endpointType()

Gets the endpoint type.

Returns:

the endpoint type

geographicLocationCodes

public abstract Set geographicLocationCodes()

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

Returns:

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

isEnabled

public abstract boolean isEnabled()

Checks whether the endpoint is enabled.

Returns:

true if the endpoint is enabled, false otherwise

monitorStatus

public abstract EndpointMonitorStatus monitorStatus()

Gets the monitor status of the endpoint.

Returns:

the monitor status of the endpoint

routingPriority

public abstract long routingPriority()

Gets the priority of the endpoint which is used when traffic manager profile is configured.

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()

Gets the weight of the endpoint which is used when traffic manager profile is configured.

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()

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

Returns:

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

Applies to