subscribedSku 资源类型subscribedSku resource type

重要说明: Microsoft Graph 中 /beta 版本下的 API 是预览版,可能会发生变化。Important: APIs under the /beta version in Microsoft Graph are in preview and are subject to change. 不支持在生产应用程序中使用这些 API。Use of these APIs in production applications is not supported.

只支持在订阅的 SKU 上执行读取操作;不支持执行创建、更新和删除操作。不支持查询筛选表达式。继承自 directoryObjectOnly the read operation is supported on subscribed SKUs; create, update, and delete are not supported. Query filter expressions are not supported. Inherits from directoryObject.

方法Methods

方法Method 返回类型Return Type 说明Description
获取 subscribedSkuGet subscribedSku subscribedSkusubscribedSku 读取 subscribedSku 对象的属性和关系。Read properties and relationships of subscribedSku object.
列表 subscribedskuList subscribedsku subscribedSku 集合subscribedSku collection 检索组织已获取的商业订阅列表。Retrieve the list of commercial subscriptions that an organization has acquired.

属性Properties

属性Property 类型Type 说明Description
appliesToappliesTo StringString 例如,“用户”或“公司”。For example, "User" or "Company".
capabilityStatuscapabilityStatus StringString 例如,“Enabled”。For example, "Enabled".
consumedUnitsconsumedUnits Int32Int32 已分配的许可证数量。The number of licenses that have been assigned.
idid StringString 订阅的 sku 对象的唯一标识符。密钥,不可为 NULL。The unique identifier for the subscribed sku object. Key, not nullable.
prepaidUnitsprepaidUnits licenseUnitsDetaillicenseUnitsDetail 有关预付许可证的数量和状态的信息。Information about the number and status of prepaid licenses.
servicePlansservicePlans servicePlanInfo collectionservicePlanInfo collection 有关 SKU 可用服务计划的信息。不可为 nullInformation about the service plans that are available with the SKU. Not nullable
skuIdskuId GuidGuid 服务 SKU 的唯一标识符 (GUID)。The unique identifier (GUID) for the service SKU.
skuPartNumberskuPartNumber 字符串String SKU 商品编号;例如:“AAD_PREMIUM”或“RMSBASIC”。The SKU part number; for example: "AAD_PREMIUM" or "RMSBASIC".

关系Relationships

None

JSON 表示形式JSON representation

下面是资源的 JSON 表示形式。Here is a JSON representation of the resource

{
  "appliesTo": "string",
  "capabilityStatus": "string",
  "consumedUnits": 1024,
  "id": "string (identifier)",
  "prepaidUnits": {"@odata.type": "microsoft.graph.licenseUnitsDetail"},
  "servicePlans": [{"@odata.type": "microsoft.graph.servicePlanInfo"}],
  "skuId": "guid",
  "skuPartNumber": "string"
}