Interface HasSubnet.DefinitionStages.WithSubnet<ReturnT>
- Type Parameters:
ReturnT- the next stage of the definition
- Enclosing interface:
- HasSubnet.DefinitionStages
public static interface HasSubnet.DefinitionStages.WithSubnet<ReturnT>
The stage of a definition allowing to associate a subnet with a resource.
-
Method Summary
Modifier and TypeMethodDescriptionwithExistingSubnet(String parentNetworkResourceId, String subnetName) Assigns the specified subnet to this resource.
-
Method Details
-
withExistingSubnet
Assigns the specified subnet to this resource.- Parameters:
parentNetworkResourceId- the resource ID of the virtual network the subnet is part ofsubnetName- the name of the subnet- Returns:
- the next stage of the definition
-