你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MicrosoftGraphLicenseDetails Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphLicenseDetails
- com.
- com.
public final class MicrosoftGraphLicenseDetails
extends MicrosoftGraphEntity
licenseDetails.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphLicenseDetails() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
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 |
withId(String id)
Set the id property: Read-only. |
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
MicrosoftGraphLicenseDetails
public MicrosoftGraphLicenseDetails()
Creates an instance of MicrosoftGraphLicenseDetails class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: licenseDetails.
Overrides:
MicrosoftGraphLicenseDetails.additionalProperties()Returns:
fromJson
public static MicrosoftGraphLicenseDetails fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphLicenseDetails from the JsonReader.
Parameters:
Returns:
Throws:
servicePlans
public List
Get the servicePlans property: Information about the service plans assigned with the license. Read-only, Not nullable.
Returns:
skuId
public UUID 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:
skuPartNumber
public String skuPartNumber()
Get the skuPartNumber property: The skuPartNumber property.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphLicenseDetails.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphLicenseDetails.validate()withAdditionalProperties
public MicrosoftGraphLicenseDetails withAdditionalProperties(Map
Set the additionalProperties property: licenseDetails.
Overrides:
MicrosoftGraphLicenseDetails.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withId
public MicrosoftGraphLicenseDetails withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphLicenseDetails.withId(String id)Parameters:
withServicePlans
public MicrosoftGraphLicenseDetails withServicePlans(List
Set the servicePlans property: Information about the service plans assigned with the license. Read-only, Not nullable.
Parameters:
Returns:
withSkuId
public MicrosoftGraphLicenseDetails withSkuId(UUID skuId)
Set the skuId property: Unique identifier (GUID) for the service SKU. Equal to the skuId property on the related SubscribedSku object. Read-only.
Parameters:
Returns:
withSkuPartNumber
public MicrosoftGraphLicenseDetails withSkuPartNumber(String skuPartNumber)
Set the skuPartNumber property: The skuPartNumber property.
Parameters:
Returns: