Interface VirtualMachine.DefinitionStages.WithSubnet
-
- All Known Subinterfaces:
VirtualMachine.DefinitionManaged,VirtualMachine.DefinitionManagedOrUnmanaged,VirtualMachine.DefinitionShared,VirtualMachine.DefinitionUnmanaged
- Enclosing interface:
- VirtualMachine.DefinitionStages
public static interface VirtualMachine.DefinitionStages.WithSubnetThe stage of a virtual machine definition allowing to specify the virtual network subnet for a new primary network interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VirtualMachine.DefinitionStages.WithPrivateIPwithSubnet(String name)Associates a subnet with the virtual machine's primary network interface.
-
-
-
Method Detail
-
withSubnet
VirtualMachine.DefinitionStages.WithPrivateIP withSubnet(String name)
Associates a subnet with the virtual machine's primary network interface.- Parameters:
name- the subnet name- Returns:
- the next stage of the definition
-
-