Interface VirtualMachine.DefinitionStages.WithPrivateIP
-
- All Known Subinterfaces:
VirtualMachine.DefinitionManaged,VirtualMachine.DefinitionManagedOrUnmanaged,VirtualMachine.DefinitionShared,VirtualMachine.DefinitionUnmanaged
- Enclosing interface:
- VirtualMachine.DefinitionStages
public static interface VirtualMachine.DefinitionStages.WithPrivateIPThe stage of a virtual machine definition allowing to specify a private IP address within a virtual network subnet.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VirtualMachine.DefinitionStages.WithPublicIPAddresswithPrimaryPrivateIPAddressDynamic()Enables dynamic private IP address allocation within the specified existing virtual network subnet for the VM's primary network interface.VirtualMachine.DefinitionStages.WithPublicIPAddresswithPrimaryPrivateIPAddressStatic(String staticPrivateIPAddress)Assigns the specified static private IP address within the specified existing virtual network subnet to the VM's primary network interface.
-
-
-
Method Detail
-
withPrimaryPrivateIPAddressDynamic
VirtualMachine.DefinitionStages.WithPublicIPAddress withPrimaryPrivateIPAddressDynamic()
Enables dynamic private IP address allocation within the specified existing virtual network subnet for the VM's primary network interface.- Returns:
- the next stage of the definition
-
withPrimaryPrivateIPAddressStatic
VirtualMachine.DefinitionStages.WithPublicIPAddress withPrimaryPrivateIPAddressStatic(String staticPrivateIPAddress)
Assigns the specified static private IP address within the specified existing virtual network subnet to the VM's primary network interface.- Parameters:
staticPrivateIPAddress- a static IP address within the specified subnet- Returns:
- the next stage of the definition
-
-