TrafficManagerEndpoint.UpdateStages.WithSubnet Interface

public static interface TrafficManagerEndpoint.UpdateStages.WithSubnet

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

Method Summary

Modifier and Type Method and Description
abstract Update withSubnet(String subnetStartIp, int mask)

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

abstract Update withSubnet(String subnetStartIp, String subnetEndIp)

Specifies the subnets for the endpoint as an ip range.

abstract Update withSubnets(List<EndpointPropertiesSubnetsItem> subnets)

Specifies the subnets for this endpoint.

abstract Update withoutSubnet(String subnetStartIp, int scope)

Specifies that the given subnet CIDR (start ip, mask) should be removed.

abstract Update withoutSubnet(String subnetStartIp, String subnetEndIp)

Specifies that subnet with the given range should be removed.

Method Details

withSubnet

public abstract TrafficManagerEndpoint.Update 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 update

withSubnet

public abstract TrafficManagerEndpoint.Update withSubnet(String subnetStartIp, String subnetEndIp)

Specifies the subnets 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 update

withSubnets

public abstract TrafficManagerEndpoint.Update withSubnets(List subnets)

Specifies the subnets for this endpoint.

Parameters:

subnets - the array of subnet descriptions

Returns:

the next stage of the update

withoutSubnet

public abstract TrafficManagerEndpoint.Update withoutSubnet(String subnetStartIp, int scope)

Specifies that the given subnet CIDR (start ip, mask) should be removed.

Parameters:

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

Returns:

the next stage of the update

withoutSubnet

public abstract TrafficManagerEndpoint.Update withoutSubnet(String subnetStartIp, String subnetEndIp)

Specifies that subnet with the given range should be removed.

Parameters:

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

Returns:

the next stage of the update

Applies to