İngilizce dilinde oku

Aracılığıyla paylaş


LicenseProfileProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.hybridcompute.fluent.models.LicenseProfileProperties

Implements

public final class LicenseProfileProperties
implements JsonSerializable<LicenseProfileProperties>

Describe the properties of a license profile.

Constructor Summary

Constructor Description
LicenseProfileProperties()

Creates an instance of LicenseProfileProperties class.

Method Summary

Modifier and Type Method and Description
String assignedLicense()

Get the assignedLicense property: The resource id of the license.

String assignedLicenseImmutableId()

Get the assignedLicenseImmutableId property: The guid id of the license.

OffsetDateTime billingEndDate()

Get the billingEndDate property: The timestamp in UTC when the billing ends.

OffsetDateTime billingStartDate()

Get the billingStartDate property: The timestamp in UTC when the billing starts.

OffsetDateTime disenrollmentDate()

Get the disenrollmentDate property: The timestamp in UTC when the user disenrolled the feature.

OffsetDateTime enrollmentDate()

Get the enrollmentDate property: The timestamp in UTC when the user enrolls the feature.

ManagementError error()

Get the error property: The errors that were encountered during the feature enrollment or disenrollment.

EsuEligibility esuEligibility()

Get the esuEligibility property: Indicates the eligibility state of Esu.

List<EsuKey> esuKeys()

Get the esuKeys property: The list of ESU keys.

EsuKeyState esuKeyState()

Get the esuKeyState property: Indicates whether there is an ESU Key currently active for the machine.

static LicenseProfileProperties fromJson(JsonReader jsonReader)

Reads an instance of LicenseProfileProperties from the JsonReader.

List<ProductFeature> productFeatures()

Get the productFeatures property: The list of product features.

LicenseProfileProductType productType()

Get the productType property: Indicates the product type of the license.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state, which only appears in the response.

EsuServerType serverType()

Get the serverType property: The type of the Esu servers.

Boolean softwareAssuranceCustomer()

Get the softwareAssuranceCustomer property: Specifies if this machine is licensed as part of a Software Assurance agreement.

LicenseProfileSubscriptionStatus subscriptionStatus()

Get the subscriptionStatus property: Indicates the subscription status of the product.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

LicenseProfileProperties withAssignedLicense(String assignedLicense)

Set the assignedLicense property: The resource id of the license.

LicenseProfileProperties withProductFeatures(List<ProductFeature> productFeatures)

Set the productFeatures property: The list of product features.

LicenseProfileProperties withProductType(LicenseProfileProductType productType)

Set the productType property: Indicates the product type of the license.

LicenseProfileProperties withSoftwareAssuranceCustomer(Boolean softwareAssuranceCustomer)

Set the softwareAssuranceCustomer property: Specifies if this machine is licensed as part of a Software Assurance agreement.

LicenseProfileProperties withSubscriptionStatus(LicenseProfileSubscriptionStatus subscriptionStatus)

Set the subscriptionStatus property: Indicates the subscription status of the product.

Methods inherited from java.lang.Object

Constructor Details

LicenseProfileProperties

public LicenseProfileProperties()

Creates an instance of LicenseProfileProperties class.

Method Details

assignedLicense

public String assignedLicense()

Get the assignedLicense property: The resource id of the license.

Returns:

the assignedLicense value.

assignedLicenseImmutableId

public String assignedLicenseImmutableId()

Get the assignedLicenseImmutableId property: The guid id of the license.

Returns:

the assignedLicenseImmutableId value.

billingEndDate

public OffsetDateTime billingEndDate()

Get the billingEndDate property: The timestamp in UTC when the billing ends.

Returns:

the billingEndDate value.

billingStartDate

public OffsetDateTime billingStartDate()

Get the billingStartDate property: The timestamp in UTC when the billing starts.

Returns:

the billingStartDate value.

disenrollmentDate

public OffsetDateTime disenrollmentDate()

Get the disenrollmentDate property: The timestamp in UTC when the user disenrolled the feature.

Returns:

the disenrollmentDate value.

enrollmentDate

public OffsetDateTime enrollmentDate()

Get the enrollmentDate property: The timestamp in UTC when the user enrolls the feature.

Returns:

the enrollmentDate value.

error

public ManagementError error()

Get the error property: The errors that were encountered during the feature enrollment or disenrollment.

Returns:

the error value.

esuEligibility

public EsuEligibility esuEligibility()

Get the esuEligibility property: Indicates the eligibility state of Esu.

Returns:

the esuEligibility value.

esuKeys

public List esuKeys()

Get the esuKeys property: The list of ESU keys.

Returns:

the esuKeys value.

esuKeyState

public EsuKeyState esuKeyState()

Get the esuKeyState property: Indicates whether there is an ESU Key currently active for the machine.

Returns:

the esuKeyState value.

fromJson

public static LicenseProfileProperties fromJson(JsonReader jsonReader)

Reads an instance of LicenseProfileProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of LicenseProfileProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the LicenseProfileProperties.

productFeatures

public List productFeatures()

Get the productFeatures property: The list of product features.

Returns:

the productFeatures value.

productType

public LicenseProfileProductType productType()

Get the productType property: Indicates the product type of the license.

Returns:

the productType value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state, which only appears in the response.

Returns:

the provisioningState value.

serverType

public EsuServerType serverType()

Get the serverType property: The type of the Esu servers.

Returns:

the serverType value.

softwareAssuranceCustomer

public Boolean softwareAssuranceCustomer()

Get the softwareAssuranceCustomer property: Specifies if this machine is licensed as part of a Software Assurance agreement.

Returns:

the softwareAssuranceCustomer value.

subscriptionStatus

public LicenseProfileSubscriptionStatus subscriptionStatus()

Get the subscriptionStatus property: Indicates the subscription status of the product.

Returns:

the subscriptionStatus value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAssignedLicense

public LicenseProfileProperties withAssignedLicense(String assignedLicense)

Set the assignedLicense property: The resource id of the license.

Parameters:

assignedLicense - the assignedLicense value to set.

Returns:

the LicenseProfileProperties object itself.

withProductFeatures

public LicenseProfileProperties withProductFeatures(List productFeatures)

Set the productFeatures property: The list of product features.

Parameters:

productFeatures - the productFeatures value to set.

Returns:

the LicenseProfileProperties object itself.

withProductType

public LicenseProfileProperties withProductType(LicenseProfileProductType productType)

Set the productType property: Indicates the product type of the license.

Parameters:

productType - the productType value to set.

Returns:

the LicenseProfileProperties object itself.

withSoftwareAssuranceCustomer

public LicenseProfileProperties withSoftwareAssuranceCustomer(Boolean softwareAssuranceCustomer)

Set the softwareAssuranceCustomer property: Specifies if this machine is licensed as part of a Software Assurance agreement.

Parameters:

softwareAssuranceCustomer - the softwareAssuranceCustomer value to set.

Returns:

the LicenseProfileProperties object itself.

withSubscriptionStatus

public LicenseProfileProperties withSubscriptionStatus(LicenseProfileSubscriptionStatus subscriptionStatus)

Set the subscriptionStatus property: Indicates the subscription status of the product.

Parameters:

subscriptionStatus - the subscriptionStatus value to set.

Returns:

the LicenseProfileProperties object itself.

Applies to

Azure SDK for Java

Preview