Class PurchasePlan
Used for establishing the purchase context of any 3rd Party artifact through MarketPlace.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Compute.dll
Syntax
public class PurchasePlan
Constructors
PurchasePlan()
Initializes a new instance of the PurchasePlan class.
Declaration
public PurchasePlan ();
PurchasePlan(String, String, String)
Initializes a new instance of the PurchasePlan class.
Declaration
public PurchasePlan (string publisher, string name, string product);
Parameters
|
String
publisher
The publisher ID. |
|
String
name
The plan ID. |
|
String
product
Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element. |
Properties
Name
Gets or sets the plan ID.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="name")]
public string Name { get; set; }
Property Value
|
String
|
Product
Gets or sets specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="product")]
public string Product { get; set; }
Property Value
|
String
|
Publisher
Gets or sets the publisher ID.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="publisher")]
public string Publisher { get; set; }
Property Value
|
String
|
Methods
Validate()
Validate the object.
Declaration
public virtual void Validate ();
Exceptions
|
ValidationException
Thrown if validation fails |