Bagikan melalui


Plan Class

Definition

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.

public class Plan
type Plan = class
Public Class Plan
Inheritance
Plan

Constructors

Plan()

Initializes a new instance of the Plan class.

Plan(String, String, String, String)

Initializes a new instance of the Plan class.

Properties

Name

Gets or sets the plan ID.

Product

Gets or sets specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.

PromotionCode

Gets or sets the promotion code.

Publisher

Gets or sets the publisher ID.

Applies to