VirtualMachine interface

Virtual Machine

Extends

Properties

displayName

Display name of the VM. NOTE: This property will not be serialized. It can only be populated by the server.

folderPath

Path to virtual machine's folder starting from datacenter virtual machine folder NOTE: This property will not be serialized. It can only be populated by the server.

moRefId

Virtual machine managed object reference id NOTE: This property will not be serialized. It can only be populated by the server.

provisioningState

The provisioning state of the resource. NOTE: This property will not be serialized. It can only be populated by the server.

restrictMovement

Whether VM DRS-driven movement is restricted (enabled) or not (disabled) NOTE: This property will not be serialized. It can only be populated by the server.

Inherited Properties

id

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" NOTE: This property will not be serialized. It can only be populated by the server.

name

The name of the resource NOTE: This property will not be serialized. It can only be populated by the server.

systemData

Azure Resource Manager metadata containing createdBy and modifiedBy information. NOTE: This property will not be serialized. It can only be populated by the server.

type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" NOTE: This property will not be serialized. It can only be populated by the server.

Property Details

displayName

Display name of the VM. NOTE: This property will not be serialized. It can only be populated by the server.

displayName?: string

Property Value

string

folderPath

Path to virtual machine's folder starting from datacenter virtual machine folder NOTE: This property will not be serialized. It can only be populated by the server.

folderPath?: string

Property Value

string

moRefId

Virtual machine managed object reference id NOTE: This property will not be serialized. It can only be populated by the server.

moRefId?: string

Property Value

string

provisioningState

The provisioning state of the resource. NOTE: This property will not be serialized. It can only be populated by the server.

provisioningState?: string

Property Value

string

restrictMovement

Whether VM DRS-driven movement is restricted (enabled) or not (disabled) NOTE: This property will not be serialized. It can only be populated by the server.

restrictMovement?: string

Property Value

string

Inherited Property Details

id

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" NOTE: This property will not be serialized. It can only be populated by the server.

id?: string

Property Value

string

Inherited From ProxyResource.id

name

The name of the resource NOTE: This property will not be serialized. It can only be populated by the server.

name?: string

Property Value

string

Inherited From ProxyResource.name

systemData

Azure Resource Manager metadata containing createdBy and modifiedBy information. NOTE: This property will not be serialized. It can only be populated by the server.

systemData?: SystemData

Property Value

Inherited From ProxyResource.systemData

type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" NOTE: This property will not be serialized. It can only be populated by the server.

type?: string

Property Value

string

Inherited From ProxyResource.type