VirtualMachine.DefinitionStages.WithPrivateIP Interface
public interface WithPrivateIP
The stage of a virtual machine definition allowing to specify a private IP address within a virtual network subnet.
Method Summary
Modifier and Type | Method and Description |
---|---|
Virtual |
withPrimaryPrivateIPAddressDynamic()
Enables dynamic private IP address allocation within the specified existing virtual network subnet for the VM's primary network interface. |
Virtual |
withPrimaryPrivateIPAddressStatic(String staticPrivateIPAddress)
Assigns the specified static private IP address within the specified existing virtual network subnet to the VM's primary network interface. |
Method Details
withPrimaryPrivateIPAddressDynamic
public WithPublicIPAddress withPrimaryPrivateIPAddressDynamic()
Enables dynamic private IP address allocation within the specified existing virtual network subnet for the VM's primary network interface.
Returns:
withPrimaryPrivateIPAddressStatic
public 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:
Returns:
Applies to
Azure SDK for Java
Comentarios
https://aka.ms/ContentUserFeedback.
Próximamente: A lo largo de 2024 iremos eliminando gradualmente las Cuestiones de GitHub como mecanismo de retroalimentación para el contenido y lo sustituiremos por un nuevo sistema de retroalimentación. Para más información, consulta:Enviar y ver comentarios de