IWithPrimaryPrivateIP.WithPrimaryPrivateIPAddressStatic(String) Method

Definition

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

public Microsoft.Azure.Management.Network.Fluent.NetworkInterface.Definition.IWithCreate WithPrimaryPrivateIPAddressStatic (string staticPrivateIPAddress);
abstract member WithPrimaryPrivateIPAddressStatic : string -> Microsoft.Azure.Management.Network.Fluent.NetworkInterface.Definition.IWithCreate
Public Function WithPrimaryPrivateIPAddressStatic (staticPrivateIPAddress As String) As IWithCreate

Parameters

staticPrivateIPAddress
System.String

The static IP address within the specified subnet to assign to the network interface.

Returns

IWithCreate

Applies to