Share via


EsuKey Class

Definition

ESU key

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.EsuKeyTypeConverter))]
public class EsuKey : Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IEsuKey
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.EsuKeyTypeConverter))>]
type EsuKey = class
    interface IEsuKey
    interface IJsonSerializable
Public Class EsuKey
Implements IEsuKey
Inheritance
EsuKey
Attributes
Implements

Constructors

EsuKey()

Creates an new EsuKey instance.

Properties

LicenseStatus

The current status of the license profile key. Represented by the same integer value that is presented on the machine itself when querying the license key status.

Sku

SKU number.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of EsuKey.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of EsuKey.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IEsuKey.

FromJsonString(String)

Creates a new instance of EsuKey, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of EsuKey into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to