Dela via


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, if there is an existing public IP association then that will be removed in favour of this.

WithNewPrimaryPublicIPAddress(ICreatable<IPublicIPAddress>)

Create a new public IP address to associate the network interface's primary IP configuration, based on the provided definition. if there is public IP associated with the primary IP configuration then that will be removed in favour of this.

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, if there is an existing public IP association then that will be removed in favour of this.

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, if there is an existing public IP association then that will be removed in favour of this.

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

Returns

Applies to

WithNewPrimaryPublicIPAddress(ICreatable<IPublicIPAddress>)

Create a new public IP address to associate the network interface's primary IP configuration, based on the provided definition. if there is public IP associated with the primary IP configuration then that will be removed in favour of this.

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

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, if there is an existing public IP association then that will be removed in favour of this.

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

Parameters

leafDnsLabel
String

The leaf domain label.

Returns

Applies to