Class MicrosoftGraphSubscribedSkuInner
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphSubscribedSkuInner
-
public final class MicrosoftGraphSubscribedSkuInner extends MicrosoftGraphEntity
subscribedSku.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphSubscribedSkuInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: subscribedSku.StringappliesTo()Get the appliesTo property: For example, 'User' or 'Company'.StringcapabilityStatus()Get the capabilityStatus property: Possible values are: Enabled, Warning, Suspended, Deleted, LockedOut.IntegerconsumedUnits()Get the consumedUnits property: The number of licenses that have been assigned.MicrosoftGraphLicenseUnitsDetailprepaidUnits()Get the prepaidUnits property: licenseUnitsDetail.List<MicrosoftGraphServicePlanInfo>servicePlans()Get the servicePlans property: Information about the service plans that are available with the SKU.UUIDskuId()Get the skuId property: The unique identifier (GUID) for the service SKU.StringskuPartNumber()Get the skuPartNumber property: The SKU part number; for example: 'AAD_PREMIUM' or 'RMSBASIC'.voidvalidate()Validates the instance.MicrosoftGraphSubscribedSkuInnerwithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: subscribedSku.MicrosoftGraphSubscribedSkuInnerwithAppliesTo(String appliesTo)Set the appliesTo property: For example, 'User' or 'Company'.MicrosoftGraphSubscribedSkuInnerwithCapabilityStatus(String capabilityStatus)Set the capabilityStatus property: Possible values are: Enabled, Warning, Suspended, Deleted, LockedOut.MicrosoftGraphSubscribedSkuInnerwithConsumedUnits(Integer consumedUnits)Set the consumedUnits property: The number of licenses that have been assigned.MicrosoftGraphSubscribedSkuInnerwithId(String id)Set the id property: Read-only.MicrosoftGraphSubscribedSkuInnerwithPrepaidUnits(MicrosoftGraphLicenseUnitsDetail prepaidUnits)Set the prepaidUnits property: licenseUnitsDetail.MicrosoftGraphSubscribedSkuInnerwithServicePlans(List<MicrosoftGraphServicePlanInfo> servicePlans)Set the servicePlans property: Information about the service plans that are available with the SKU.MicrosoftGraphSubscribedSkuInnerwithSkuId(UUID skuId)Set the skuId property: The unique identifier (GUID) for the service SKU.MicrosoftGraphSubscribedSkuInnerwithSkuPartNumber(String skuPartNumber)Set the skuPartNumber property: The SKU part number; for example: 'AAD_PREMIUM' or 'RMSBASIC'.-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
appliesTo
public String appliesTo()
Get the appliesTo property: For example, 'User' or 'Company'.- Returns:
- the appliesTo value.
-
withAppliesTo
public MicrosoftGraphSubscribedSkuInner withAppliesTo(String appliesTo)
Set the appliesTo property: For example, 'User' or 'Company'.- Parameters:
appliesTo- the appliesTo value to set.- Returns:
- the MicrosoftGraphSubscribedSkuInner object itself.
-
capabilityStatus
public String capabilityStatus()
Get the capabilityStatus property: Possible values are: Enabled, Warning, Suspended, Deleted, LockedOut.- Returns:
- the capabilityStatus value.
-
withCapabilityStatus
public MicrosoftGraphSubscribedSkuInner withCapabilityStatus(String capabilityStatus)
Set the capabilityStatus property: Possible values are: Enabled, Warning, Suspended, Deleted, LockedOut.- Parameters:
capabilityStatus- the capabilityStatus value to set.- Returns:
- the MicrosoftGraphSubscribedSkuInner object itself.
-
consumedUnits
public Integer consumedUnits()
Get the consumedUnits property: The number of licenses that have been assigned.- Returns:
- the consumedUnits value.
-
withConsumedUnits
public MicrosoftGraphSubscribedSkuInner withConsumedUnits(Integer consumedUnits)
Set the consumedUnits property: The number of licenses that have been assigned.- Parameters:
consumedUnits- the consumedUnits value to set.- Returns:
- the MicrosoftGraphSubscribedSkuInner object itself.
-
prepaidUnits
public MicrosoftGraphLicenseUnitsDetail prepaidUnits()
Get the prepaidUnits property: licenseUnitsDetail.- Returns:
- the prepaidUnits value.
-
withPrepaidUnits
public MicrosoftGraphSubscribedSkuInner withPrepaidUnits(MicrosoftGraphLicenseUnitsDetail prepaidUnits)
Set the prepaidUnits property: licenseUnitsDetail.- Parameters:
prepaidUnits- the prepaidUnits value to set.- Returns:
- the MicrosoftGraphSubscribedSkuInner object itself.
-
servicePlans
public List<MicrosoftGraphServicePlanInfo> servicePlans()
Get the servicePlans property: Information about the service plans that are available with the SKU. Not nullable.- Returns:
- the servicePlans value.
-
withServicePlans
public MicrosoftGraphSubscribedSkuInner 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 MicrosoftGraphSubscribedSkuInner object itself.
-
skuId
public UUID skuId()
Get the skuId property: The unique identifier (GUID) for the service SKU.- Returns:
- the skuId value.
-
withSkuId
public MicrosoftGraphSubscribedSkuInner withSkuId(UUID skuId)
Set the skuId property: The unique identifier (GUID) for the service SKU.- Parameters:
skuId- the skuId value to set.- Returns:
- the MicrosoftGraphSubscribedSkuInner object itself.
-
skuPartNumber
public String skuPartNumber()
Get the skuPartNumber property: The SKU part number; for example: 'AAD_PREMIUM' or 'RMSBASIC'. To get a list of commercial subscriptions that an organization has acquired, see List subscribedSkus.- Returns:
- the skuPartNumber value.
-
withSkuPartNumber
public MicrosoftGraphSubscribedSkuInner withSkuPartNumber(String skuPartNumber)
Set the skuPartNumber property: The SKU part number; for example: 'AAD_PREMIUM' or 'RMSBASIC'. To get a list of commercial subscriptions that an organization has acquired, see List subscribedSkus.- Parameters:
skuPartNumber- the skuPartNumber value to set.- Returns:
- the MicrosoftGraphSubscribedSkuInner object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: subscribedSku.- Overrides:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphSubscribedSkuInner withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: subscribedSku.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphSubscribedSkuInner object itself.
-
withId
public MicrosoftGraphSubscribedSkuInner withId(String id)
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.
-
-