Network.UpdateStages.WithSubnet Interface
public interface WithSubnet
The stage of the virtual network update allowing to add or remove subnets.
Method Summary
Modifier and Type | Method and Description |
---|---|
Subnet.UpdateDefinitionStages.Blank<Network. |
defineSubnet(String name)
Begins the definition of a new subnet to be added to this virtual network. |
Subnet.Update |
updateSubnet(String name)
Begins the description of an update of an existing subnet of this network. |
Network. |
withoutSubnet(String name)
Removes a subnet from the virtual network. |
Network. |
withSubnet(String name, String cidr)
Explicitly adds a subnet to the virtual network. Note this method's effect is additive, i.e. each time it is used, a new subnet is added to the network. |
Network. |
withSubnets(Map<String, String> nameCidrPairs)
Explicitly defines all the subnets in the virtual network based on the provided map. This replaces any previously existing subnets. |
Method Details
defineSubnet
public Subnet.UpdateDefinitionStages.Blank
Begins the definition of a new subnet to be added to this virtual network.
Parameters:
Returns:
updateSubnet
public Subnet.Update updateSubnet(String name)
Begins the description of an update of an existing subnet of this network.
Parameters:
Returns:
withoutSubnet
public Update withoutSubnet(String name)
Removes a subnet from the virtual network.
Parameters:
Returns:
withSubnet
public Update withSubnet(String name, String cidr)
Explicitly adds a subnet to the virtual network.
Note this method's effect is additive, i.e. each time it is used, a new subnet is added to the network.
Parameters:
Returns:
withSubnets
public Update withSubnets(Map
Explicitly defines all the subnets in the virtual network based on the provided map.
This replaces any previously existing subnets.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for