共用方式為


IWithPrimaryPublicIPAddress.WithExistingPrimaryPublicIPAddress Method

Definition

Associates an existing public IP address with the network interface's primary IP configuration.

public Microsoft.Azure.Management.Network.Fluent.NetworkInterface.Definition.IWithCreate WithExistingPrimaryPublicIPAddress (Microsoft.Azure.Management.Network.Fluent.IPublicIPAddress publicIPAddress);
abstract member WithExistingPrimaryPublicIPAddress : Microsoft.Azure.Management.Network.Fluent.IPublicIPAddress -> Microsoft.Azure.Management.Network.Fluent.NetworkInterface.Definition.IWithCreate
Public Function WithExistingPrimaryPublicIPAddress (publicIPAddress As IPublicIPAddress) As IWithCreate

Parameters

publicIPAddress
IPublicIPAddress

An existing public IP address.

Returns

Applies to