VirtualMachine.DefinitionStages.WithPublicIPAddress Interface
public interface WithPublicIPAddress
The stage of a virtual machine definition allowing to associate a public IP address with its primary network interface.
Method Summary
Modifier and Type | Method and Description |
---|---|
Virtual |
withExistingPrimaryPublicIPAddress(PublicIPAddress publicIPAddress)
Associates an existing public IP address with the VM's primary network interface. |
Virtual |
withNewPrimaryPublicIPAddress(Creatable<PublicIPAddress> creatable)
Creates a new public IP address to associate with the VM's primary network interface. |
Virtual |
withNewPrimaryPublicIPAddress(String leafDnsLabel)
Creates a new public IP address in the same region and resource group as the resource, with the specified DNS label and associates it with the VM's primary network interface. The internal name for the public IP address will be derived from the DNS label. |
Virtual |
withoutPrimaryPublicIPAddress()
Specifies that the VM should not have a public IP address. |
Method Details
withExistingPrimaryPublicIPAddress
public WithOS withExistingPrimaryPublicIPAddress(PublicIPAddress publicIPAddress)
Associates an existing public IP address with the VM's primary network interface.
Parameters:
Returns:
withNewPrimaryPublicIPAddress
public WithOS withNewPrimaryPublicIPAddress(Creatable
Creates a new public IP address to associate with the VM's primary network interface.
Parameters:
Returns:
withNewPrimaryPublicIPAddress
public WithOS withNewPrimaryPublicIPAddress(String leafDnsLabel)
Creates a new public IP address in the same region and resource group as the resource, with the specified DNS label and associates it with the VM's primary network interface.
The internal name for the public IP address will be derived from the DNS label.
Parameters:
Returns:
withoutPrimaryPublicIPAddress
public WithOS withoutPrimaryPublicIPAddress()
Specifies that the VM should not have a public IP address.
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