IWithPrivateIP.WithPrimaryPrivateIPAddressStatic(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.