MicrosoftGraphSubscribedSku Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphSubscribedSku
- com.
- com.
public final class MicrosoftGraphSubscribedSku
extends MicrosoftGraphEntity
subscribedSku.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphSubscribedSku() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
String |
appliesTo()
Get the applies |
String |
capabilityStatus()
Get the capability |
Integer |
consumedUnits()
Get the consumed |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
Microsoft |
prepaidUnits()
Get the prepaid |
List<Microsoft |
servicePlans()
Get the service |
UUID |
skuId()
Get the sku |
String |
skuPartNumber()
Get the sku |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withAppliesTo(String appliesTo)
Set the applies |
Microsoft |
withCapabilityStatus(String capabilityStatus)
Set the capability |
Microsoft |
withConsumedUnits(Integer consumedUnits)
Set the consumed |
Microsoft |
withId(String id)
Set the id property: Read-only. |
Microsoft |
withPrepaidUnits(MicrosoftGraphLicenseUnitsDetail prepaidUnits)
Set the prepaid |
Microsoft |
withServicePlans(List<MicrosoftGraphServicePlanInfo> servicePlans)
Set the service |
Microsoft |
withSkuId(UUID skuId)
Set the sku |
Microsoft |
withSkuPartNumber(String skuPartNumber)
Set the sku |
Methods inherited from MicrosoftGraphEntity
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphSubscribedSku
public MicrosoftGraphSubscribedSku()
Creates an instance of MicrosoftGraphSubscribedSku class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: subscribedSku.
Overrides:
MicrosoftGraphSubscribedSku.additionalProperties()Returns:
appliesTo
public String appliesTo()
Get the appliesTo property: For example, 'User' or 'Company'.
Returns:
capabilityStatus
public String capabilityStatus()
Get the capabilityStatus property: Possible values are: Enabled, Warning, Suspended, Deleted, LockedOut.
Returns:
consumedUnits
public Integer consumedUnits()
Get the consumedUnits property: The number of licenses that have been assigned.
Returns:
fromJson
public static MicrosoftGraphSubscribedSku fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphSubscribedSku from the JsonReader.
Parameters:
Returns:
Throws:
prepaidUnits
public MicrosoftGraphLicenseUnitsDetail prepaidUnits()
Get the prepaidUnits property: licenseUnitsDetail.
Returns:
servicePlans
public List
Get the servicePlans property: Information about the service plans that are available with the SKU. Not nullable.
Returns:
skuId
public UUID skuId()
Get the skuId property: The unique identifier (GUID) for the service SKU.
Returns:
skuPartNumber
public String skuPartNumber()
Get the skuPartNumber property: The skuPartNumber property.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphSubscribedSku.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphSubscribedSku.validate()withAdditionalProperties
public MicrosoftGraphSubscribedSku withAdditionalProperties(Map
Set the additionalProperties property: subscribedSku.
Overrides:
MicrosoftGraphSubscribedSku.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withAppliesTo
public MicrosoftGraphSubscribedSku withAppliesTo(String appliesTo)
Set the appliesTo property: For example, 'User' or 'Company'.
Parameters:
Returns:
withCapabilityStatus
public MicrosoftGraphSubscribedSku withCapabilityStatus(String capabilityStatus)
Set the capabilityStatus property: Possible values are: Enabled, Warning, Suspended, Deleted, LockedOut.
Parameters:
Returns:
withConsumedUnits
public MicrosoftGraphSubscribedSku withConsumedUnits(Integer consumedUnits)
Set the consumedUnits property: The number of licenses that have been assigned.
Parameters:
Returns:
withId
public MicrosoftGraphSubscribedSku withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphSubscribedSku.withId(String id)Parameters:
withPrepaidUnits
public MicrosoftGraphSubscribedSku withPrepaidUnits(MicrosoftGraphLicenseUnitsDetail prepaidUnits)
Set the prepaidUnits property: licenseUnitsDetail.
Parameters:
Returns:
withServicePlans
public MicrosoftGraphSubscribedSku withServicePlans(List
Set the servicePlans property: Information about the service plans that are available with the SKU. Not nullable.
Parameters:
Returns:
withSkuId
public MicrosoftGraphSubscribedSku withSkuId(UUID skuId)
Set the skuId property: The unique identifier (GUID) for the service SKU.
Parameters:
Returns:
withSkuPartNumber
public MicrosoftGraphSubscribedSku withSkuPartNumber(String skuPartNumber)
Set the skuPartNumber property: The skuPartNumber property.
Parameters:
Returns:
Applies to
Azure SDK for Java