共用方式為


IWithExistingPublicIPAddress<ReturnT>.WithExistingPublicIPAddress Method

Definition

Overloads

WithExistingPublicIPAddress(IPublicIPAddress)

Associates an existing public IP address with the resource.

WithExistingPublicIPAddress(String)

Associates an existing public IP address with the resource.

WithExistingPublicIPAddress(IPublicIPAddress)

Associates an existing public IP address with the resource.

public ReturnT WithExistingPublicIPAddress (Microsoft.Azure.Management.Network.Fluent.IPublicIPAddress publicIPAddress);
abstract member WithExistingPublicIPAddress : Microsoft.Azure.Management.Network.Fluent.IPublicIPAddress -> 'ReturnT
Public Function WithExistingPublicIPAddress (publicIPAddress As IPublicIPAddress) As ReturnT

Parameters

publicIPAddress
IPublicIPAddress

An existing public IP address.

Returns

ReturnT

Applies to

WithExistingPublicIPAddress(String)

Associates an existing public IP address with the resource.

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

Parameters

resourceId
String

The resource ID of an existing public IP address.

Returns

ReturnT

Applies to