Struct SavingsPlanPurchasesPolicy
The policy that controls whether users with Azure savings plan purchase are allowed.
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.ResourceManager.Billing.dll
Syntax
public struct SavingsPlanPurchasesPolicy : IEquatable<Azure.ResourceManager.Billing.Models.SavingsPlanPurchasesPolicy>
Constructors
SavingsPlanPurchasesPolicy(String)
Initializes a new instance of SavingsPlanPurchasesPolicy.
Declaration
public SavingsPlanPurchasesPolicy (string value);
Parameters
System.String
value
|
Exceptions
System.ArgumentNullException
|
Properties
Allowed
Allowed.
Declaration
public static Azure.ResourceManager.Billing.Models.SavingsPlanPurchasesPolicy Allowed { get; }
Property Value
SavingsPlanPurchasesPolicy
|
Disabled
Disabled.
Declaration
public static Azure.ResourceManager.Billing.Models.SavingsPlanPurchasesPolicy Disabled { get; }
Property Value
SavingsPlanPurchasesPolicy
|
NotAllowed
NotAllowed.
Declaration
public static Azure.ResourceManager.Billing.Models.SavingsPlanPurchasesPolicy NotAllowed { get; }
Property Value
SavingsPlanPurchasesPolicy
|
Other
Other.
Declaration
public static Azure.ResourceManager.Billing.Models.SavingsPlanPurchasesPolicy Other { get; }
Property Value
SavingsPlanPurchasesPolicy
|
Methods
Equals(SavingsPlanPurchasesPolicy)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals (Azure.ResourceManager.Billing.Models.SavingsPlanPurchasesPolicy other);
Parameters
SavingsPlanPurchasesPolicy
other
An object to compare with this object. |
Returns
System.Boolean
|
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
|
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(SavingsPlanPurchasesPolicy, SavingsPlanPurchasesPolicy)
Determines if two SavingsPlanPurchasesPolicy values are the same.
Declaration
public static bool operator == (Azure.ResourceManager.Billing.Models.SavingsPlanPurchasesPolicy left, Azure.ResourceManager.Billing.Models.SavingsPlanPurchasesPolicy right);
Parameters
SavingsPlanPurchasesPolicy
left
|
SavingsPlanPurchasesPolicy
right
|
Returns
System.Boolean
|
Implicit(String to SavingsPlanPurchasesPolicy)
Converts a System.String to a SavingsPlanPurchasesPolicy.
Declaration
public static implicit operator Azure.ResourceManager.Billing.Models.SavingsPlanPurchasesPolicy (string value);
Parameters
System.String
value
|
Returns
SavingsPlanPurchasesPolicy
|
Inequality(SavingsPlanPurchasesPolicy, SavingsPlanPurchasesPolicy)
Determines if two SavingsPlanPurchasesPolicy values are not the same.
Declaration
public static bool operator != (Azure.ResourceManager.Billing.Models.SavingsPlanPurchasesPolicy left, Azure.ResourceManager.Billing.Models.SavingsPlanPurchasesPolicy right);
Parameters
SavingsPlanPurchasesPolicy
left
|
SavingsPlanPurchasesPolicy
right
|
Returns
System.Boolean
|