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.

C#
public ReturnT WithNewPublicIPAddress();

Returns

ReturnT

Applies to

Azure SDK for .NET Legacy
Product Versions
Azure SDK for .NET Legacy

WithNewPublicIPAddress(ICreatable<IPublicIPAddress>)

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

C#
public ReturnT WithNewPublicIPAddress(Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Network.Fluent.IPublicIPAddress> creatable);

Parameters

creatable
ICreatable<IPublicIPAddress>

A creatable definition for a new public IP.

Returns

ReturnT

Applies to

Azure SDK for .NET Legacy
Product Versions
Azure SDK for .NET Legacy