VirtualMachine.DefinitionStages.WithPublicIPAddress.withNewPrimaryPublicIPAddress 方法

定义

重载

withNewPrimaryPublicIPAddress(Creatable<PublicIPAddress> creatable)

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

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.

withNewPrimaryPublicIPAddress(Creatable<PublicIPAddress> creatable)

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

public WithOS withNewPrimaryPublicIPAddress(Creatable<PublicIPAddress> creatable)

参数

creatable
Creatable<PublicIPAddress>

a creatable definition for a new public IP

返回

the next stage of the definition

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.

public WithOS withNewPrimaryPublicIPAddress(String leafDnsLabel)

参数

leafDnsLabel
String

a leaf domain label

返回

the next stage of the definition

适用于