TrafficManagerEndpoint.DefinitionStages.WithSubnet<ParentT> Interface

Type Parameters

ParentT

the return type of WithAttach#attach()

public static interface TrafficManagerEndpoint.DefinitionStages.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 subnets for the endpoint in CIDR format (start ip, mask).

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

Specifies the subnets for the endpoint as ip range.

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

Specifies the subnets for this endpoint.

Method Details

withSubnet

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

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

Parameters:

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

Returns:

the next stage of the definition

withSubnet

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

Specifies the subnets for the endpoint as 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.DefinitionStages.WithAttach withSubnets(List subnets)

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

Parameters:

subnets - the array of subnet descriptions

Returns:

the next stage of the definition

Applies to