Class LicenseProfileArmEsuPropertiesWithoutAssignedLicense
java.lang.Object
com.azure.resourcemanager.hybridcompute.models.LicenseProfileStorageModelEsuProperties
com.azure.resourcemanager.hybridcompute.models.LicenseProfileArmEsuPropertiesWithoutAssignedLicense
- All Implemented Interfaces:
com.azure.json.JsonSerializable<LicenseProfileStorageModelEsuProperties>
- Direct Known Subclasses:
LicenseProfileArmEsuProperties,LicenseProfileMachineInstanceViewEsuPropertiesInner
public class LicenseProfileArmEsuPropertiesWithoutAssignedLicense
extends LicenseProfileStorageModelEsuProperties
Describes the properties of a License Profile ARM model.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of LicenseProfileArmEsuPropertiesWithoutAssignedLicense class. -
Method Summary
Modifier and TypeMethodDescriptionGet the assignedLicenseImmutableId property: The guid id of the license.Get the esuEligibility property: Indicates the eligibility state of Esu.esuKeys()Get the esuKeys property: The list of ESU keys.Get the esuKeyState property: Indicates whether there is an ESU Key currently active for the machine.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of LicenseProfileArmEsuPropertiesWithoutAssignedLicense from the JsonReader.Get the serverType property: The type of the Esu servers.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
LicenseProfileArmEsuPropertiesWithoutAssignedLicense
public LicenseProfileArmEsuPropertiesWithoutAssignedLicense()Creates an instance of LicenseProfileArmEsuPropertiesWithoutAssignedLicense class.
-
-
Method Details
-
serverType
Get the serverType property: The type of the Esu servers.- Returns:
- the serverType value.
-
esuEligibility
Get the esuEligibility property: Indicates the eligibility state of Esu.- Returns:
- the esuEligibility value.
-
esuKeyState
Get the esuKeyState property: Indicates whether there is an ESU Key currently active for the machine.- Returns:
- the esuKeyState value.
-
esuKeys
Get the esuKeys property: The list of ESU keys.- Overrides:
esuKeysin classLicenseProfileStorageModelEsuProperties- Returns:
- the esuKeys value.
-
assignedLicenseImmutableId
Get the assignedLicenseImmutableId property: The guid id of the license.- Overrides:
assignedLicenseImmutableIdin classLicenseProfileStorageModelEsuProperties- Returns:
- the assignedLicenseImmutableId value.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classLicenseProfileStorageModelEsuProperties- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<LicenseProfileStorageModelEsuProperties>- Overrides:
toJsonin classLicenseProfileStorageModelEsuProperties- Throws:
IOException
-
fromJson
public static LicenseProfileArmEsuPropertiesWithoutAssignedLicense fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of LicenseProfileArmEsuPropertiesWithoutAssignedLicense from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of LicenseProfileArmEsuPropertiesWithoutAssignedLicense 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 LicenseProfileArmEsuPropertiesWithoutAssignedLicense.
-