Show / Hide Table of Contents

Struct MarketplacePurchasesPolicy

The policy that controls whether Azure marketplace purchases are allowed.

Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.ResourceManager.Billing.dll
Syntax
public struct MarketplacePurchasesPolicy : IEquatable<Azure.ResourceManager.Billing.Models.MarketplacePurchasesPolicy>

Constructors

MarketplacePurchasesPolicy(String)

Initializes a new instance of MarketplacePurchasesPolicy.

Declaration
public MarketplacePurchasesPolicy (string value);
Parameters
System.String value

Exceptions
System.ArgumentNullException

value is null.

Properties

AllAllowed

AllAllowed.

Declaration
public static Azure.ResourceManager.Billing.Models.MarketplacePurchasesPolicy AllAllowed { get; }
Property Value
MarketplacePurchasesPolicy

Disabled

Disabled.

Declaration
public static Azure.ResourceManager.Billing.Models.MarketplacePurchasesPolicy Disabled { get; }
Property Value
MarketplacePurchasesPolicy

NotAllowed

NotAllowed.

Declaration
public static Azure.ResourceManager.Billing.Models.MarketplacePurchasesPolicy NotAllowed { get; }
Property Value
MarketplacePurchasesPolicy

OnlyFreeAllowed

OnlyFreeAllowed.

Declaration
public static Azure.ResourceManager.Billing.Models.MarketplacePurchasesPolicy OnlyFreeAllowed { get; }
Property Value
MarketplacePurchasesPolicy

Other

Other.

Declaration
public static Azure.ResourceManager.Billing.Models.MarketplacePurchasesPolicy Other { get; }
Property Value
MarketplacePurchasesPolicy

Methods

Equals(MarketplacePurchasesPolicy)

Indicates whether the current object is equal to another object of the same type.

Declaration
public bool Equals (Azure.ResourceManager.Billing.Models.MarketplacePurchasesPolicy other);
Parameters
MarketplacePurchasesPolicy other

An object to compare with this object.

Returns
System.Boolean

true if the current object is equal to the other parameter; otherwise, false.

Equals(Object)

Indicates whether this instance and a specified object are equal.

Declaration
[System.ComponentModel.EditorBrowsable]
public override bool Equals (object obj);
Parameters
System.Object obj

The object to compare with the current instance.

Returns
System.Boolean

true if obj and this instance are the same type and represent the same value; otherwise, false.

GetHashCode()

Returns the hash code for this instance.

Declaration
[System.ComponentModel.EditorBrowsable]
public override int GetHashCode ();
Returns
System.Int32

A 32-bit signed integer that is the hash code for this instance.

ToString()

Returns the fully qualified type name of this instance.

Declaration
public override string ToString ();
Returns
System.String

The fully qualified type name.

Operators

Equality(MarketplacePurchasesPolicy, MarketplacePurchasesPolicy)

Determines if two MarketplacePurchasesPolicy values are the same.

Declaration
public static bool operator == (Azure.ResourceManager.Billing.Models.MarketplacePurchasesPolicy left, Azure.ResourceManager.Billing.Models.MarketplacePurchasesPolicy right);
Parameters
MarketplacePurchasesPolicy left

MarketplacePurchasesPolicy right

Returns
System.Boolean

Implicit(String to MarketplacePurchasesPolicy)

Converts a System.String to a MarketplacePurchasesPolicy.

Declaration
public static implicit operator Azure.ResourceManager.Billing.Models.MarketplacePurchasesPolicy (string value);
Parameters
System.String value

Returns
MarketplacePurchasesPolicy

Inequality(MarketplacePurchasesPolicy, MarketplacePurchasesPolicy)

Determines if two MarketplacePurchasesPolicy values are not the same.

Declaration
public static bool operator != (Azure.ResourceManager.Billing.Models.MarketplacePurchasesPolicy left, Azure.ResourceManager.Billing.Models.MarketplacePurchasesPolicy right);
Parameters
MarketplacePurchasesPolicy left

MarketplacePurchasesPolicy right

Returns
System.Boolean

Back to top Azure SDK for .NET