Struct BillingSavingsPlanTerm
Represents the Savings plan term in ISO 8601 format.
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.ResourceManager.Billing.dll
Syntax
public struct BillingSavingsPlanTerm : IEquatable<Azure.ResourceManager.Billing.Models.BillingSavingsPlanTerm>
Constructors
BillingSavingsPlanTerm(String)
Initializes a new instance of BillingSavingsPlanTerm.
Declaration
public BillingSavingsPlanTerm (string value);
Parameters
System.String
value
|
Exceptions
System.ArgumentNullException
|
Properties
P1Y
P1Y.
Declaration
public static Azure.ResourceManager.Billing.Models.BillingSavingsPlanTerm P1Y { get; }
Property Value
BillingSavingsPlanTerm
|
P3Y
P3Y.
Declaration
public static Azure.ResourceManager.Billing.Models.BillingSavingsPlanTerm P3Y { get; }
Property Value
BillingSavingsPlanTerm
|
P5Y
P5Y.
Declaration
public static Azure.ResourceManager.Billing.Models.BillingSavingsPlanTerm P5Y { get; }
Property Value
BillingSavingsPlanTerm
|
Methods
Equals(BillingSavingsPlanTerm)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals (Azure.ResourceManager.Billing.Models.BillingSavingsPlanTerm other);
Parameters
BillingSavingsPlanTerm
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(BillingSavingsPlanTerm, BillingSavingsPlanTerm)
Determines if two BillingSavingsPlanTerm values are the same.
Declaration
public static bool operator == (Azure.ResourceManager.Billing.Models.BillingSavingsPlanTerm left, Azure.ResourceManager.Billing.Models.BillingSavingsPlanTerm right);
Parameters
BillingSavingsPlanTerm
left
|
BillingSavingsPlanTerm
right
|
Returns
System.Boolean
|
Implicit(String to BillingSavingsPlanTerm)
Converts a System.String to a BillingSavingsPlanTerm.
Declaration
public static implicit operator Azure.ResourceManager.Billing.Models.BillingSavingsPlanTerm (string value);
Parameters
System.String
value
|
Returns
BillingSavingsPlanTerm
|
Inequality(BillingSavingsPlanTerm, BillingSavingsPlanTerm)
Determines if two BillingSavingsPlanTerm values are not the same.
Declaration
public static bool operator != (Azure.ResourceManager.Billing.Models.BillingSavingsPlanTerm left, Azure.ResourceManager.Billing.Models.BillingSavingsPlanTerm right);
Parameters
BillingSavingsPlanTerm
left
|
BillingSavingsPlanTerm
right
|
Returns
System.Boolean
|