NetworkAttachment.IPv4Address Property

Definition

The IPv4 address of the virtual machine.

This field is used only if the attached network has IPAllocationType of IPV4 or DualStack.

If IPAllocationMethod is: Static - this field must contain a user specified IPv4 address from within the subnet specified in the attached network. Dynamic - this field is read-only, but will be populated with an address from within the subnet specified in the attached network. Disabled - this field will be empty.

public string IPv4Address { get; set; }
member this.IPv4Address : string with get, set
Public Property IPv4Address As String

Property Value

Applies to