共用方式為


IWithPublicIPAddress Interface

Definition

The stage of a virtual machine definition allowing to associate a public IP address with its primary network interface.

public interface IWithPublicIPAddress
type IWithPublicIPAddress = interface
Public Interface IWithPublicIPAddress
Derived

Methods

WithExistingPrimaryPublicIPAddress(IPublicIPAddress)

Associates an existing public IP address with the VM's primary network interface.

WithNewPrimaryPublicIPAddress(ICreatable<IPublicIPAddress>)

Creates a new public IP address to associate with the VM's primary network interface.

WithNewPrimaryPublicIPAddress(String)

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.

WithoutPrimaryPublicIPAddress()

Specifies that the VM should not have a public IP address.

Applies to