Dela via


IWithPrimaryPublicIPAddress.WithExistingPrimaryPublicIPAddress Method

Definition

Associates an existing public IP address with the network interface's primary IP configuration. if there is an existing public IP association then that will be removed in favour of this.

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

Parameters

publicIPAddress
IPublicIPAddress

An existing public IP address.

Returns

Applies to