Delen via


IWithPublicIPAddress.WithNewPrimaryPublicIPAddress Method

Definition

Overloads

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.

WithNewPrimaryPublicIPAddress(ICreatable<IPublicIPAddress>)

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

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithProximityPlacementGroup WithNewPrimaryPublicIPAddress (Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Network.Fluent.IPublicIPAddress> creatable);
abstract member WithNewPrimaryPublicIPAddress : Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Network.Fluent.IPublicIPAddress> -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithProximityPlacementGroup
Public Function WithNewPrimaryPublicIPAddress (creatable As ICreatable(Of IPublicIPAddress)) As IWithProximityPlacementGroup

Parameters

creatable
ICreatable<IPublicIPAddress>

A creatable definition for a new public IP.

Returns

Applies to

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.

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithProximityPlacementGroup WithNewPrimaryPublicIPAddress (string leafDnsLabel);
abstract member WithNewPrimaryPublicIPAddress : string -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithProximityPlacementGroup
Public Function WithNewPrimaryPublicIPAddress (leafDnsLabel As String) As IWithProximityPlacementGroup

Parameters

leafDnsLabel
String

A leaf domain label.

Returns

Applies to