共用方式為


IWithPrivateIP.WithPrimaryPrivateIPAddressStatic(String) Method

Definition

Assigns the specified static private IP address within the specified existing virtual network subnet to the VM's primary network interface.

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithPublicIPAddress WithPrimaryPrivateIPAddressStatic (string staticPrivateIPAddress);
abstract member WithPrimaryPrivateIPAddressStatic : string -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithPublicIPAddress
Public Function WithPrimaryPrivateIPAddressStatic (staticPrivateIPAddress As String) As IWithPublicIPAddress

Parameters

staticPrivateIPAddress
String

A static IP address within the specified subnet.

Returns

Applies to