Udostępnij za pośrednictwem


IWithPrimaryPublicIPAddress.WithNewPrimaryPublicIPAddress Method

Definition

Overloads

WithNewPrimaryPublicIPAddress()

Creates a new public IP address in the same region and group as the resource and associate it with the network interface's primary IP configuration. the internal name and DNS label for the public IP address will be derived from the network interface name.

WithNewPrimaryPublicIPAddress(ICreatable<IPublicIPAddress>)

Create a new public IP address to associate with network interface's primary IP configuration, based on the provided definition.

WithNewPrimaryPublicIPAddress(String)

Creates a new public IP address in the same region and group as the resource, with the specified DNS label and associate it with the network interface's primary IP configuration. the internal name for the public IP address will be derived from the DNS label.

WithNewPrimaryPublicIPAddress()

Creates a new public IP address in the same region and group as the resource and associate it with the network interface's primary IP configuration. the internal name and DNS label for the public IP address will be derived from the network interface name.

public Microsoft.Azure.Management.Network.Fluent.NetworkInterface.Definition.IWithCreate WithNewPrimaryPublicIPAddress ();
abstract member WithNewPrimaryPublicIPAddress : unit -> Microsoft.Azure.Management.Network.Fluent.NetworkInterface.Definition.IWithCreate
Public Function WithNewPrimaryPublicIPAddress () As IWithCreate

Returns

Applies to

WithNewPrimaryPublicIPAddress(ICreatable<IPublicIPAddress>)

Create a new public IP address to associate with network interface's primary IP configuration, based on the provided definition.

public Microsoft.Azure.Management.Network.Fluent.NetworkInterface.Definition.IWithCreate 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.Network.Fluent.NetworkInterface.Definition.IWithCreate
Public Function WithNewPrimaryPublicIPAddress (creatable As ICreatable(Of IPublicIPAddress)) As IWithCreate

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 group as the resource, with the specified DNS label and associate it with the network interface's primary IP configuration. the internal name for the public IP address will be derived from the DNS label.

public Microsoft.Azure.Management.Network.Fluent.NetworkInterface.Definition.IWithCreate WithNewPrimaryPublicIPAddress (string leafDnsLabel);
abstract member WithNewPrimaryPublicIPAddress : string -> Microsoft.Azure.Management.Network.Fluent.NetworkInterface.Definition.IWithCreate
Public Function WithNewPrimaryPublicIPAddress (leafDnsLabel As String) As IWithCreate

Parameters

leafDnsLabel
String

The leaf domain label.

Returns

Applies to