Compartilhar via


Plan interface

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

name

The plan ID.

product

Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.

promotionCode

The promotion code.

publisher

The publisher ID.

Property Details

name

The plan ID.

name?: string

Property Value

string

product

Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.

product?: string

Property Value

string

promotionCode

The promotion code.

promotionCode?: string

Property Value

string

publisher

The publisher ID.

publisher?: string

Property Value

string