public static interface Network.UpdateStages.WithSubnet
Modifier and Type | Method and Description |
---|---|
Subnet.UpdateDefinitionStages.Blank<Network.Update> |
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.Update |
withoutSubnet(String name)
Removes a subnet from the virtual network.
|
Network.Update |
withSubnet(String name,
String cidr)
Explicitly adds a subnet to the virtual network.
|
Network.Update |
withSubnets(Map<String,String> nameCidrPairs)
Explicitly defines all the subnets in the virtual network based on the provided map.
|
Network.Update withSubnet(String name, String cidr)
Note this method's effect is additive, i.e. each time it is used, a new subnet is added to the network.
name
- the name to assign to the subnetcidr
- the address space of the subnet, within the address space of the network, using the CIDR notationNetwork.Update withSubnets(Map<String,String> nameCidrPairs)
This replaces any previously existing subnets.
nameCidrPairs
- a Map
of CIDR addresses for the subnets, indexed by the name of each subnet to be addedNetwork.Update withoutSubnet(String name)
name
- name of the subnet to removeSubnet.Update updateSubnet(String name)
name
- the name of an existing subnetSubnet.UpdateDefinitionStages.Blank<Network.Update> defineSubnet(String name)
name
- the name of the new subnetCopyright © 2019. All rights reserved.