IWithNewPublicIPAddress<ReturnT>.WithNewPublicIPAddress(String) Method

Definition

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

public ReturnT WithNewPublicIPAddress (string leafDnsLabel);
abstract member WithNewPublicIPAddress : string -> 'ReturnT
Public Function WithNewPublicIPAddress (leafDnsLabel As String) As ReturnT

Parameters

leafDnsLabel
String

The leaf domain label.

Returns

ReturnT

Applies to