Bagikan melalui


LicenseProfile Class

Definition

Describes a license profile in a hybrid machine.

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

Constructors

LicenseProfile()

Creates an new LicenseProfile instance.

Properties

AdditionalInfo

The error additional info.

Code

The error code.

Detail

The error details.

EsuProfileAssignedLicense

The resource id of the license.

EsuProfileAssignedLicenseImmutableId

The guid id of the license.

EsuProfileEsuEligibility

Indicates the eligibility state of Esu.

EsuProfileEsuKey

The list of ESU keys.

EsuProfileEsuKeyState

Indicates whether there is an ESU Key currently active for the machine.

EsuProfileServerType

The type of the Esu servers.

Id

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

Location

The geo-location where the resource lives

Message

The error message.

Name

The name of the resource

ProductProfileBillingEndDate

The timestamp in UTC when the billing ends.

ProductProfileBillingStartDate

The timestamp in UTC when the billing starts.

ProductProfileDisenrollmentDate

The timestamp in UTC when the user disenrolled the feature.

ProductProfileEnrollmentDate

The timestamp in UTC when the user enrolls the feature.

ProductProfileProductFeature

The list of product features.

ProductProfileProductType

Indicates the product type of the license.

ProductProfileSubscriptionStatus

Indicates the subscription status of the product.

ProvisioningState

The provisioning state, which only appears in the response.

ResourceGroupName

Gets the resource group name

SoftwareAssuranceCustomer

Specifies if this machine is licensed as part of a Software Assurance agreement.

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.

Target

The error target.

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 LicenseProfile.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of LicenseProfile.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of LicenseProfile into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to