Share via


IWithNewPublicIPAddressNoDnsLabel<ReturnT>.WithNewPublicIPAddress Method

Definition

Overloads

WithNewPublicIPAddress()

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

WithNewPublicIPAddress(ICreatable<IPublicIPAddress>)

Creates a new public IP address to associate with the resource.

WithNewPublicIPAddress()

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

public ReturnT WithNewPublicIPAddress ();
abstract member WithNewPublicIPAddress : unit -> 'ReturnT
Public Function WithNewPublicIPAddress () As ReturnT

Returns

ReturnT

Applies to

WithNewPublicIPAddress(ICreatable<IPublicIPAddress>)

Creates a new public IP address to associate with the resource.

public ReturnT WithNewPublicIPAddress (Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Network.Fluent.IPublicIPAddress> creatable);
abstract member WithNewPublicIPAddress : Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Network.Fluent.IPublicIPAddress> -> 'ReturnT
Public Function WithNewPublicIPAddress (creatable As ICreatable(Of IPublicIPAddress)) As ReturnT

Parameters

creatable
ICreatable<IPublicIPAddress>

A creatable definition for a new public IP.

Returns

ReturnT

Applies to