Share via


VirtualMachineOutput 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.

resources

The virtual machine child extension resources.

zones

The virtual machine zones.

Inherited Properties

id

Resource Id

location

Resource location

name

Resource name

tags

Resource tags

type

Resource type

Property Details

extendedLocation

The extended location of the Virtual Machine.

extendedLocation?: ExtendedLocationOutput

Property Value

identity

The identity of the virtual machine, if configured.

identity?: VirtualMachineIdentityOutput

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?: PlanOutput

Property Value

properties

Describes the properties of a Virtual Machine.

properties?: VirtualMachinePropertiesOutput

Property Value

resources

The virtual machine child extension resources.

resources?: VirtualMachineExtensionOutput[]

Property Value

zones

The virtual machine zones.

zones?: string[]

Property Value

string[]

Inherited Property Details

id

Resource Id

id?: string

Property Value

string

Inherited From ResourceOutput.id

location

Resource location

location: string

Property Value

string

Inherited From ResourceOutput.location

name

Resource name

name?: string

Property Value

string

Inherited From ResourceOutput.name

tags

Resource tags

tags?: Record<string, string>

Property Value

Record<string, string>

Inherited From ResourceOutput.tags

type

Resource type

type?: string

Property Value

string

Inherited From ResourceOutput.type