Network.UpdateStages.WithSubnet Interface
public static interface Network.UpdateStages.WithSubnet
The stage of the virtual network update allowing to add or remove subnets.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract Blank<Update> |
defineSubnet(String name)
Begins the definition of a new subnet to be added to this virtual network. |
abstract Update |
updateSubnet(String name)
Begins the description of an update of an existing subnet of this network. |
abstract Update |
withSubnet(String name, String cidr)
Explicitly adds a subnet to the virtual network. |
abstract Update |
withSubnets(Map<String,String> nameCidrPairs)
Explicitly defines all the subnets in the virtual network based on the provided map. |
abstract Update |
withoutSubnet(String name)
Removes a subnet from the virtual network. |
Method Details
defineSubnet
public abstract Subnet.UpdateDefinitionStages.Blank
Begins the definition of a new subnet to be added to this virtual network.
Parameters:
Returns:
updateSubnet
public abstract Subnet.Update updateSubnet(String name)
Begins the description of an update of an existing subnet of this network.
Parameters:
Returns:
withSubnet
public abstract Network.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 abstract Network.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:
withoutSubnet
public abstract Network.Update withoutSubnet(String name)
Removes a subnet from the virtual network.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor