Share via


Plan Constructors

Definition

Overloads

Plan()

Initializes a new instance of the Plan class.

Plan(String, String, String, String)

Initializes a new instance of the Plan class.

Plan()

Initializes a new instance of the Plan class.

public Plan ();
Public Sub New ()

Applies to

Plan(String, String, String, String)

Initializes a new instance of the Plan class.

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

Parameters

name
String

The plan ID.

publisher
String

The publisher 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 promotion code.

Applies to