Class MicrosoftGraphLicenseDetails
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphLicenseDetails
licenseDetails.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphLicenseDetails class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: licenseDetails.Get the servicePlans property: Information about the service plans assigned with the license.skuId()Get the skuId property: Unique identifier (GUID) for the service SKU.Get the skuPartNumber property: The skuPartNumber property.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: licenseDetails.Set the id property: Read-only.withServicePlans(List<MicrosoftGraphServicePlanInfo> servicePlans) Set the servicePlans property: Information about the service plans assigned with the license.Set the skuId property: Unique identifier (GUID) for the service SKU.withSkuPartNumber(String skuPartNumber) Set the skuPartNumber property: The skuPartNumber property.Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
Constructor Details
-
MicrosoftGraphLicenseDetails
public MicrosoftGraphLicenseDetails()Creates an instance of MicrosoftGraphLicenseDetails class.
-
-
Method Details
-
servicePlans
Get the servicePlans property: Information about the service plans assigned with the license. Read-only, Not nullable.- Returns:
- the servicePlans value.
-
withServicePlans
public MicrosoftGraphLicenseDetails withServicePlans(List<MicrosoftGraphServicePlanInfo> servicePlans) Set the servicePlans property: Information about the service plans assigned with the license. Read-only, Not nullable.- Parameters:
servicePlans- the servicePlans value to set.- Returns:
- the MicrosoftGraphLicenseDetails object itself.
-
skuId
Get the skuId property: Unique identifier (GUID) for the service SKU. Equal to the skuId property on the related SubscribedSku object. Read-only.- Returns:
- the skuId value.
-
withSkuId
Set the skuId property: Unique identifier (GUID) for the service SKU. Equal to the skuId property on the related SubscribedSku object. Read-only.- Parameters:
skuId- the skuId value to set.- Returns:
- the MicrosoftGraphLicenseDetails object itself.
-
skuPartNumber
Get the skuPartNumber property: The skuPartNumber property.- Returns:
- the skuPartNumber value.
-
withSkuPartNumber
Set the skuPartNumber property: The skuPartNumber property.- Parameters:
skuPartNumber- the skuPartNumber value to set.- Returns:
- the MicrosoftGraphLicenseDetails object itself.
-
additionalProperties
Get the additionalProperties property: licenseDetails.- Overrides:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphLicenseDetails withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: licenseDetails.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphLicenseDetails object itself.
-
withId
Set the id property: Read-only.- Overrides:
withIdin classMicrosoftGraphEntity- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classMicrosoftGraphEntity- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-