Share via


VirtualMachine interface

Describes a Virtual Machine.

Extends

Properties

extendedLocation

The extended location of the Virtual Machine.

identity

The identity of the virtual machine, if configured.

plan

Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click Want to deploy programmatically, Get Started ->. Enter any required information and then click Save.

properties

Describes the properties of a Virtual Machine.

zones

The virtual machine zones.

Inherited Properties

location

Resource location

tags

Resource tags

Property Details

extendedLocation

The extended location of the Virtual Machine.

extendedLocation?: ExtendedLocation

Property Value

identity

The identity of the virtual machine, if configured.

identity?: VirtualMachineIdentity

Property Value

plan

Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click Want to deploy programmatically, Get Started ->. Enter any required information and then click Save.

plan?: Plan

Property Value

properties

Describes the properties of a Virtual Machine.

properties?: VirtualMachineProperties

Property Value

zones

The virtual machine zones.

zones?: string[]

Property Value

string[]

Inherited Property Details

location

Resource location

location: string

Property Value

string

Inherited From Resource.location

tags

Resource tags

tags?: Record<string, string>

Property Value

Record<string, string>

Inherited From Resource.tags