Class ArmPlan
- Namespace
- Azure.ResourceManager.Models
- Assembly
- Azure.ResourceManager.dll
Representation of a publisher plan for marketplace RPs.
[JsonConverter(typeof(ArmPlan.ArmPlanConverter))]
public sealed class ArmPlan : IEquatable<ArmPlan>, IJsonModel<ArmPlan>, IPersistableModel<ArmPlan>
- Inheritance
-
ArmPlan
- Inherited Members
Constructors
ArmPlan(string, string, string)
Initializes a new instance of ArmPlan.
public ArmPlan(string name, string publisher, string product)
Parameters
name
stringA user defined name of the 3rd Party Artifact that is being procured.
publisher
stringThe publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic.
product
stringThe 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.
Exceptions
- ArgumentNullException
name
,publisher
orproduct
is null.
Properties
Name
A user defined name of the 3rd Party Artifact that is being procured.
public string Name { get; set; }
Property Value
Product
The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.
public string Product { get; set; }
Property Value
PromotionCode
A publisher provided promotion code as provisioned in Data Market for the said product/artifact.
public string PromotionCode { get; set; }
Property Value
Publisher
The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic.
public string Publisher { get; set; }
Property Value
Version
The version of the desired product/artifact.
public string Version { get; set; }
Property Value
Methods
Equals(ArmPlan)
Compares this ArmPlan instance with another object and determines if they are equals.
public bool Equals(ArmPlan other)
Parameters
Returns
- bool
True if they are equals, otherwise false.
Operators
operator ==(ArmPlan, ArmPlan)
Compares this ArmPlan instance with another object and determines if they are equals.
public static bool operator ==(ArmPlan left, ArmPlan right)
Parameters
left
ArmPlanThe object on the left side of the operator.
right
ArmPlanThe object on the right side of the operator.
Returns
- bool
True if they are equal, otherwise false.
operator !=(ArmPlan, ArmPlan)
Compares this ArmPlan instance with another object and determines if they are equals.
public static bool operator !=(ArmPlan left, ArmPlan right)
Parameters
left
ArmPlanThe object on the left side of the operator.
right
ArmPlanThe object on the right side of the operator.
Returns
- bool
True if they are not equal, otherwise false.