Struct WindowsServerSubscription
Desired state of Windows Server Subscription.
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.ResourceManager.Hci.dll
Syntax
public struct WindowsServerSubscription : IEquatable<Azure.ResourceManager.Hci.Models.WindowsServerSubscription>
Constructors
WindowsServerSubscription(String)
Initializes a new instance of WindowsServerSubscription.
Declaration
public WindowsServerSubscription (string value);
Parameters
|
System.String
value
|
Exceptions
|
System.ArgumentNullException
|
Properties
Disabled
Disabled.
Declaration
public static Azure.ResourceManager.Hci.Models.WindowsServerSubscription Disabled { get; }
Property Value
|
WindowsServerSubscription
|
Enabled
Enabled.
Declaration
public static Azure.ResourceManager.Hci.Models.WindowsServerSubscription Enabled { get; }
Property Value
|
WindowsServerSubscription
|
Methods
Equals(WindowsServerSubscription)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals (Azure.ResourceManager.Hci.Models.WindowsServerSubscription other);
Parameters
|
WindowsServerSubscription
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(WindowsServerSubscription, WindowsServerSubscription)
Determines if two WindowsServerSubscription values are the same.
Declaration
public static bool operator == (Azure.ResourceManager.Hci.Models.WindowsServerSubscription left, Azure.ResourceManager.Hci.Models.WindowsServerSubscription right);
Parameters
|
WindowsServerSubscription
left
|
|
WindowsServerSubscription
right
|
Returns
|
System.Boolean
|
Implicit(String to WindowsServerSubscription)
Converts a string to a WindowsServerSubscription.
Declaration
public static implicit operator Azure.ResourceManager.Hci.Models.WindowsServerSubscription (string value);
Parameters
|
System.String
value
|
Returns
|
WindowsServerSubscription
|
Inequality(WindowsServerSubscription, WindowsServerSubscription)
Determines if two WindowsServerSubscription values are not the same.
Declaration
public static bool operator != (Azure.ResourceManager.Hci.Models.WindowsServerSubscription left, Azure.ResourceManager.Hci.Models.WindowsServerSubscription right);
Parameters
|
WindowsServerSubscription
left
|
|
WindowsServerSubscription
right
|
Returns
|
System.Boolean
|