LicenseProfileProperties Class
- java.
lang. Object - com.
azure. resourcemanager. hybridcompute. fluent. models. LicenseProfileProperties
- com.
Implements
public final class LicenseProfileProperties
implements JsonSerializable<LicenseProfileProperties>
Describe the properties of a license profile.
Constructor | Description |
---|---|
License |
Creates an instance of License |
Modifier and Type | Method and Description |
---|---|
String |
assigned Get the assigned |
String |
assigned Get the assigned |
Offset |
billing Get the billing |
Offset |
billing Get the billing |
Offset |
disenrollment Get the disenrollment |
Offset |
enrollment Get the enrollment |
Management |
error()
Get the error property: The errors that were encountered during the feature enrollment or disenrollment. |
Esu |
esu Get the esu |
List<Esu |
esu Get the esu |
Esu |
esu Get the esu |
static
License |
from Reads an instance of License |
List<Product |
product Get the product |
License |
product Get the product |
Provisioning |
provisioning Get the provisioning |
Esu |
server Get the server |
Boolean |
software Get the software |
License |
subscription Get the subscription |
Json |
to |
void |
validate()
Validates the instance. |
License |
with Set the assigned |
License |
with Set the product |
License |
with Set the product |
License |
with Set the software |
License |
with Set the subscription |
Methods inherited from java.lang.Object
LicenseProfileProperties
public LicenseProfileProperties()
Creates an instance of LicenseProfileProperties class.
assignedLicense
public String assignedLicense()
Get the assignedLicense property: The resource id of the license.
Returns:
assignedLicenseImmutableId
public String assignedLicenseImmutableId()
Get the assignedLicenseImmutableId property: The guid id of the license.
Returns:
billingEndDate
public OffsetDateTime billingEndDate()
Get the billingEndDate property: The timestamp in UTC when the billing ends.
Returns:
billingStartDate
public OffsetDateTime billingStartDate()
Get the billingStartDate property: The timestamp in UTC when the billing starts.
Returns:
disenrollmentDate
public OffsetDateTime disenrollmentDate()
Get the disenrollmentDate property: The timestamp in UTC when the user disenrolled the feature.
Returns:
enrollmentDate
public OffsetDateTime enrollmentDate()
Get the enrollmentDate property: The timestamp in UTC when the user enrolls the feature.
Returns:
error
public ManagementError error()
Get the error property: The errors that were encountered during the feature enrollment or disenrollment.
Returns:
esuEligibility
public EsuEligibility esuEligibility()
Get the esuEligibility property: Indicates the eligibility state of Esu.
Returns:
esuKeys
public List
Get the esuKeys property: The list of ESU keys.
Returns:
esuKeyState
public EsuKeyState esuKeyState()
Get the esuKeyState property: Indicates whether there is an ESU Key currently active for the machine.
Returns:
fromJson
public static LicenseProfileProperties fromJson(JsonReader jsonReader)
Reads an instance of LicenseProfileProperties from the JsonReader.
Parameters:
Returns:
Throws:
productFeatures
public List
Get the productFeatures property: The list of product features.
Returns:
productType
public LicenseProfileProductType productType()
Get the productType property: Indicates the product type of the license.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state, which only appears in the response.
Returns:
serverType
public EsuServerType serverType()
Get the serverType property: The type of the Esu servers.
Returns:
softwareAssuranceCustomer
public Boolean softwareAssuranceCustomer()
Get the softwareAssuranceCustomer property: Specifies if this machine is licensed as part of a Software Assurance agreement.
Returns:
subscriptionStatus
public LicenseProfileSubscriptionStatus subscriptionStatus()
Get the subscriptionStatus property: Indicates the subscription status of the product.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAssignedLicense
public LicenseProfileProperties withAssignedLicense(String assignedLicense)
Set the assignedLicense property: The resource id of the license.
Parameters:
Returns:
withProductFeatures
public LicenseProfileProperties withProductFeatures(List
Set the productFeatures property: The list of product features.
Parameters:
Returns:
withProductType
public LicenseProfileProperties withProductType(LicenseProfileProductType productType)
Set the productType property: Indicates the product type of the license.
Parameters:
Returns:
withSoftwareAssuranceCustomer
public LicenseProfileProperties withSoftwareAssuranceCustomer(Boolean softwareAssuranceCustomer)
Set the softwareAssuranceCustomer property: Specifies if this machine is licensed as part of a Software Assurance agreement.
Parameters:
Returns:
withSubscriptionStatus
public LicenseProfileProperties withSubscriptionStatus(LicenseProfileSubscriptionStatus subscriptionStatus)
Set the subscriptionStatus property: Indicates the subscription status of the product.
Parameters:
Returns:
Azure SDK for Java geri bildirimi
Azure SDK for Java, açık kaynak bir projedir. Geri bildirim sağlamak için bir bağlantı seçin: