PurchasePlan Class

Used for establishing the purchase context of any 3rd Party artifact through MarketPlace.

All required parameters must be populated in order to send to server.

Inheritance
azure.mgmt.compute._serialization.Model
PurchasePlan

Constructor

PurchasePlan(*, name: str, publisher: str, product: str, promotion_code: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
name
str

The plan ID. Required.

publisher
str

The publisher ID. Required.

product
str

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

promotion_code
str

The Offer Promotion Code.

Variables

Name Description
name
str

The plan ID. Required.

publisher
str

The publisher ID. Required.

product
str

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

promotion_code
str

The Offer Promotion Code.