Plan Class

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.

Inheritance
Plan

Constructor

Plan(*, name: typing.Union[str, NoneType] = None, publisher: typing.Union[str, NoneType] = None, product: typing.Union[str, NoneType] = None, promotion_code: typing.Union[str, NoneType] = None, **kwargs)

Parameters

name
str
Required

The plan ID.

publisher
str
Required

The publisher ID.

product
str
Required

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

promotion_code
str
Required

The promotion code.