IWithPublicIPAddress.WithExistingPrimaryPublicIPAddress Method

Definition

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

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

Parameters

publicIPAddress
IPublicIPAddress

An existing public IP address.

Returns

IWithProximityPlacementGroup

Applies to