License Class

Definition

Describes a license in a hybrid machine.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.LicenseTypeConverter))]
public class License : Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicense, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.LicenseTypeConverter))>]
type License = class
    interface ILicense
    interface IJsonSerializable
    interface ITrackedResource
    interface IResource
    interface IValidates
Public Class License
Implements ILicense, IValidates
Inheritance
License
Attributes
Implements

Constructors

License()

Creates an new License instance.

Properties

DetailAssignedLicense

Describes the number of assigned licenses.

DetailEdition

Describes the edition of the license. The values are either Standard or Datacenter.

DetailImmutableId

Describes the immutable id.

DetailProcessor

Describes the number of processors.

DetailState

Describes the state of the license.

DetailTarget

Describes the license target server.

DetailType

Describes the license core type (pCore or vCore).

DetailVolumeLicenseDetail

A list of volume license details.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

LicenseType

The type of the license resource.

Location

The geo-location where the resource lives

Name

The name of the resource

ProvisioningState

The provisioning state, which only appears in the response.

ResourceGroupName

Gets the resource group name

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Tags

Resource tags.

TenantId

Describes the tenant id.

Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of License.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of License.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of License into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to