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