TrafficManagerEndpoint.UpdateDefinitionStages.WithSubnet<ParentT> Interface

Type Parameters

ParentT

the return type of WithAttach#attach()

public static interface TrafficManagerEndpoint.UpdateDefinitionStages.WithSubnet

The stage of the traffic manager endpoint definition allowing to specify subnets.

Method Summary

Modifier and Type Method and Description
abstract WithAttach<ParentT> withSubnet(String subnetStartIp, int mask)

Specifies the subnet for the endpoint in CIDR format (start ip, mask).

abstract WithAttach<ParentT> withSubnet(String subnetStartIp, String subnetEndIp)

Specifies the subnet for the endpoint as an ip range.

abstract WithAttach<ParentT> withSubnets(List<EndpointPropertiesSubnetsItem> subnets)

Specifies the usbnets for this endpoint.

Method Details

withSubnet

public abstract TrafficManagerEndpoint.UpdateDefinitionStages.WithAttach withSubnet(String subnetStartIp, int mask)

Specifies the subnet for the endpoint in CIDR format (start ip, mask).

Parameters:

subnetStartIp - the first ip in the subnet
mask - the subnet scope

Returns:

the next stage of the definition

withSubnet

public abstract TrafficManagerEndpoint.UpdateDefinitionStages.WithAttach withSubnet(String subnetStartIp, String subnetEndIp)

Specifies the subnet for the endpoint as an ip range.

Parameters:

subnetStartIp - the first ip in the subnet
subnetEndIp - the last ip in the subnet

Returns:

the next stage of the definition

withSubnets

public abstract TrafficManagerEndpoint.UpdateDefinitionStages.WithAttach withSubnets(List subnets)

Specifies the usbnets for this endpoint. This method replaces the current subnets with the provided subnets.

Parameters:

subnets - the array of subnets description

Returns:

the next stage of the definition

Applies to