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.String
appliesTo()
Get the appliesTo property: For example, 'User' or 'Company'.String
capabilityStatus()
Get the capabilityStatus property: Possible values are: Enabled, Warning, Suspended, Deleted, LockedOut.Integer
consumedUnits()
Get the consumedUnits property: The number of licenses that have been assigned.MicrosoftGraphLicenseUnitsDetail
prepaidUnits()
Get the prepaidUnits property: licenseUnitsDetail.List<MicrosoftGraphServicePlanInfo>
servicePlans()
Get the servicePlans property: Information about the service plans that are available with the SKU.UUID
skuId()
Get the skuId property: The unique identifier (GUID) for the service SKU.String
skuPartNumber()
Get the skuPartNumber property: The SKU part number; for example: 'AAD_PREMIUM' or 'RMSBASIC'.void
validate()
Validates the instance.MicrosoftGraphSubscribedSkuInner
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: subscribedSku.MicrosoftGraphSubscribedSkuInner
withAppliesTo(String appliesTo)
Set the appliesTo property: For example, 'User' or 'Company'.MicrosoftGraphSubscribedSkuInner
withCapabilityStatus(String capabilityStatus)
Set the capabilityStatus property: Possible values are: Enabled, Warning, Suspended, Deleted, LockedOut.MicrosoftGraphSubscribedSkuInner
withConsumedUnits(Integer consumedUnits)
Set the consumedUnits property: The number of licenses that have been assigned.MicrosoftGraphSubscribedSkuInner
withId(String id)
Set the id property: Read-only.MicrosoftGraphSubscribedSkuInner
withPrepaidUnits(MicrosoftGraphLicenseUnitsDetail prepaidUnits)
Set the prepaidUnits property: licenseUnitsDetail.MicrosoftGraphSubscribedSkuInner
withServicePlans(List<MicrosoftGraphServicePlanInfo> servicePlans)
Set the servicePlans property: Information about the service plans that are available with the SKU.MicrosoftGraphSubscribedSkuInner
withSkuId(UUID skuId)
Set the skuId property: The unique identifier (GUID) for the service SKU.MicrosoftGraphSubscribedSkuInner
withSkuPartNumber(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:
additionalProperties
in classMicrosoftGraphEntity
- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphSubscribedSkuInner withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: subscribedSku.- Overrides:
withAdditionalProperties
in 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:
withId
in classMicrosoftGraphEntity
- Parameters:
id
- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classMicrosoftGraphEntity
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-