Class MicrosoftGraphSubscribedSku
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphSubscribedSku
subscribedSku.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphSubscribedSku class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: subscribedSku.Get the appliesTo property: For example, 'User' or 'Company'.Get the capabilityStatus property: Possible values are: Enabled, Warning, Suspended, Deleted, LockedOut.Get the consumedUnits property: The number of licenses that have been assigned.Get the prepaidUnits property: licenseUnitsDetail.Get the servicePlans property: Information about the service plans that are available with the SKU.skuId()Get the skuId property: The 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: subscribedSku.withAppliesTo(String appliesTo) Set the appliesTo property: For example, 'User' or 'Company'.withCapabilityStatus(String capabilityStatus) Set the capabilityStatus property: Possible values are: Enabled, Warning, Suspended, Deleted, LockedOut.withConsumedUnits(Integer consumedUnits) Set the consumedUnits property: The number of licenses that have been assigned.Set the id property: Read-only.withPrepaidUnits(MicrosoftGraphLicenseUnitsDetail prepaidUnits) Set the prepaidUnits property: licenseUnitsDetail.withServicePlans(List<MicrosoftGraphServicePlanInfo> servicePlans) Set the servicePlans property: Information about the service plans that are available with the SKU.Set the skuId property: The 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
-
MicrosoftGraphSubscribedSku
public MicrosoftGraphSubscribedSku()Creates an instance of MicrosoftGraphSubscribedSku class.
-
-
Method Details
-
appliesTo
Get the appliesTo property: For example, 'User' or 'Company'.- Returns:
- the appliesTo value.
-
withAppliesTo
Set the appliesTo property: For example, 'User' or 'Company'.- Parameters:
appliesTo- the appliesTo value to set.- Returns:
- the MicrosoftGraphSubscribedSku object itself.
-
capabilityStatus
Get the capabilityStatus property: Possible values are: Enabled, Warning, Suspended, Deleted, LockedOut.- Returns:
- the capabilityStatus value.
-
withCapabilityStatus
Set the capabilityStatus property: Possible values are: Enabled, Warning, Suspended, Deleted, LockedOut.- Parameters:
capabilityStatus- the capabilityStatus value to set.- Returns:
- the MicrosoftGraphSubscribedSku object itself.
-
consumedUnits
Get the consumedUnits property: The number of licenses that have been assigned.- Returns:
- the consumedUnits value.
-
withConsumedUnits
Set the consumedUnits property: The number of licenses that have been assigned.- Parameters:
consumedUnits- the consumedUnits value to set.- Returns:
- the MicrosoftGraphSubscribedSku object itself.
-
prepaidUnits
Get the prepaidUnits property: licenseUnitsDetail.- Returns:
- the prepaidUnits value.
-
withPrepaidUnits
Set the prepaidUnits property: licenseUnitsDetail.- Parameters:
prepaidUnits- the prepaidUnits value to set.- Returns:
- the MicrosoftGraphSubscribedSku object itself.
-
servicePlans
Get the servicePlans property: Information about the service plans that are available with the SKU. Not nullable.- Returns:
- the servicePlans value.
-
withServicePlans
public MicrosoftGraphSubscribedSku withServicePlans(List<MicrosoftGraphServicePlanInfo> servicePlans) Set the servicePlans property: Information about the service plans that are available with the SKU. Not nullable.- Parameters:
servicePlans- the servicePlans value to set.- Returns:
- the MicrosoftGraphSubscribedSku object itself.
-
skuId
Get the skuId property: The unique identifier (GUID) for the service SKU.- Returns:
- the skuId value.
-
withSkuId
Set the skuId property: The unique identifier (GUID) for the service SKU.- Parameters:
skuId- the skuId value to set.- Returns:
- the MicrosoftGraphSubscribedSku 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 MicrosoftGraphSubscribedSku object itself.
-
additionalProperties
Get the additionalProperties property: subscribedSku.- Overrides:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphSubscribedSku withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: subscribedSku.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphSubscribedSku 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.
-