Table of Contents

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
Implements
IJsonModel<ArmPlan>
IPersistableModel<ArmPlan>
Inherited Members

Constructors

ArmPlan(string, string, string)

Initializes a new instance of ArmPlan.

public ArmPlan(string name, string publisher, string product)

Parameters

name string

A user defined name of the 3rd Party Artifact that is being procured.

publisher string

The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic.

product string

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.

Exceptions

ArgumentNullException

name, publisher or product is null.

Properties

Name

A user defined name of the 3rd Party Artifact that is being procured.

public string Name { get; set; }

Property Value

string

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

string

PromotionCode

A publisher provided promotion code as provisioned in Data Market for the said product/artifact.

public string PromotionCode { get; set; }

Property Value

string

Publisher

The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic.

public string Publisher { get; set; }

Property Value

string

Version

The version of the desired product/artifact.

public string Version { get; set; }

Property Value

string

Methods

Equals(ArmPlan)

Compares this ArmPlan instance with another object and determines if they are equals.

public bool Equals(ArmPlan other)

Parameters

other ArmPlan

ArmPlan object to compare.

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 ArmPlan

The object on the left side of the operator.

right ArmPlan

The 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 ArmPlan

The object on the left side of the operator.

right ArmPlan

The object on the right side of the operator.

Returns

bool

True if they are not equal, otherwise false.