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.ModelPurchasePlan
Constructor
PurchasePlan(*, name: str, publisher: str, product: str, promotion_code: str | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
name
|
The plan ID. Required. |
publisher
|
The publisher ID. Required. |
product
|
Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element. Required. |
promotion_code
|
The Offer Promotion Code. |
Variables
Name | Description |
---|---|
name
|
The plan ID. Required. |
publisher
|
The publisher ID. Required. |
product
|
Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element. Required. |
promotion_code
|
The Offer Promotion Code. |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python