Struct InstanceFlexibility
Turning this on will apply the reservation discount to other VMs in the same VM size group. Only specify for VirtualMachines reserved resource type.
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.ResourceManager.Billing.dll
Syntax
public struct InstanceFlexibility : IEquatable<Azure.ResourceManager.Billing.Models.InstanceFlexibility>
Constructors
InstanceFlexibility(String)
Initializes a new instance of InstanceFlexibility.
Declaration
public InstanceFlexibility (string value);
Parameters
System.String
value
|
Exceptions
System.ArgumentNullException
|
Properties
Off
Off.
Declaration
public static Azure.ResourceManager.Billing.Models.InstanceFlexibility Off { get; }
Property Value
InstanceFlexibility
|
On
On.
Declaration
public static Azure.ResourceManager.Billing.Models.InstanceFlexibility On { get; }
Property Value
InstanceFlexibility
|
Methods
Equals(InstanceFlexibility)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals (Azure.ResourceManager.Billing.Models.InstanceFlexibility other);
Parameters
InstanceFlexibility
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(InstanceFlexibility, InstanceFlexibility)
Determines if two InstanceFlexibility values are the same.
Declaration
public static bool operator == (Azure.ResourceManager.Billing.Models.InstanceFlexibility left, Azure.ResourceManager.Billing.Models.InstanceFlexibility right);
Parameters
InstanceFlexibility
left
|
InstanceFlexibility
right
|
Returns
System.Boolean
|
Implicit(String to InstanceFlexibility)
Converts a System.String to a InstanceFlexibility.
Declaration
public static implicit operator Azure.ResourceManager.Billing.Models.InstanceFlexibility (string value);
Parameters
System.String
value
|
Returns
InstanceFlexibility
|
Inequality(InstanceFlexibility, InstanceFlexibility)
Determines if two InstanceFlexibility values are not the same.
Declaration
public static bool operator != (Azure.ResourceManager.Billing.Models.InstanceFlexibility left, Azure.ResourceManager.Billing.Models.InstanceFlexibility right);
Parameters
InstanceFlexibility
left
|
InstanceFlexibility
right
|
Returns
System.Boolean
|