PurchasePlan Constructors

Definition

Overloads

PurchasePlan()

Initializes a new instance of the PurchasePlan class.

PurchasePlan(String, String, String, String)

Initializes a new instance of the PurchasePlan class.

PurchasePlan()

Initializes a new instance of the PurchasePlan class.

public PurchasePlan ();
Public Sub New ()

Applies to

PurchasePlan(String, String, String, String)

Initializes a new instance of the PurchasePlan class.

public PurchasePlan (string publisher, string name, string product, string promotionCode = default);
new Microsoft.Azure.Management.Compute.Models.PurchasePlan : string * string * string * string -> Microsoft.Azure.Management.Compute.Models.PurchasePlan
Public Sub New (publisher As String, name As String, product As String, Optional promotionCode As String = Nothing)

Parameters

publisher
String

The publisher ID.

name
String

The plan ID.

product
String

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

promotionCode
String

The Offer Promotion Code.

Applies to