Interface TrafficManagerEndpoint.UpdateDefinitionStages.WithSubnet<ParentT>
- Type Parameters:
ParentT
- the return type ofAttachable.InUpdate.attach()
- All Known Subinterfaces:
TrafficManagerEndpoint.UpdateDefinition<ParentT>
,TrafficManagerEndpoint.UpdateDefinitionStages.WithAttach<ParentT>
,TrafficManagerEndpoint.UpdateDefinitionStages.WithEndpointThreshold<ParentT>
- Enclosing interface:
- TrafficManagerEndpoint.UpdateDefinitionStages
public static interface TrafficManagerEndpoint.UpdateDefinitionStages.WithSubnet<ParentT>
The stage of the traffic manager endpoint definition allowing to specify subnets.
-
Method Summary
Modifier and TypeMethodDescriptionwithSubnet
(String subnetStartIp, int mask) Specifies the subnet for the endpoint in CIDR format (start ip, mask).withSubnet
(String subnetStartIp, String subnetEndIp) Specifies the subnet for the endpoint as an ip range.withSubnets
(List<EndpointPropertiesSubnetsItem> subnets) Specifies the usbnets for this endpoint.
-
Method Details
-
withSubnet
TrafficManagerEndpoint.UpdateDefinitionStages.WithAttach<ParentT> withSubnet(String subnetStartIp, int mask) Specifies the subnet for the endpoint in CIDR format (start ip, mask).- Parameters:
subnetStartIp
- the first ip in the subnetmask
- the subnet scope- Returns:
- the next stage of the definition
-
withSubnet
TrafficManagerEndpoint.UpdateDefinitionStages.WithAttach<ParentT> withSubnet(String subnetStartIp, String subnetEndIp) Specifies the subnet for the endpoint as an ip range.- Parameters:
subnetStartIp
- the first ip in the subnetsubnetEndIp
- the last ip in the subnet- Returns:
- the next stage of the definition
-
withSubnets
TrafficManagerEndpoint.UpdateDefinitionStages.WithAttach<ParentT> withSubnets(List<EndpointPropertiesSubnetsItem> 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
-