編輯

共用方式為


usageRight resource type

Namespace: microsoft.graph.cloudLicensing

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Represents the right of a user or group to use a particular set of services, as granted by the combination of their assigned licenses for the same subscribedSku.

Inherits from entity.

Methods

Method Return type Description
List for group microsoft.graph.cloudLicensing.usageRight collection Get a list of the usageRight objects granted to a group.
List for user microsoft.graph.cloudLicensing.usageRight collection Get a list of the usageRight objects granted to a user.
Get microsoft.graph.cloudLicensing.usageRight Get the properties and relationships of a usageRight for a user or group.

Properties

Property Type Description
id String The unique identifier for the usageRight that should be treated as an opaque identifier. Inherited from entity. Not nullable. Read-only.
services microsoft.graph.cloudLicensing.service collection Information about the services associated with the usageRight. Not nullable. Read-only. Supports $filter on the planId property.
skuId Guid Unique identifier (GUID) for the service SKU that is equal to the skuId property on the related subscribedSku object. Read-only. Supports $filter.
skuPartNumber String Unique SKU display name that is equal to the skuPartNumber on the related subscribedSku object; for example, AAD_Premium. Read-only.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.cloudLicensing.usageRight",
  "id": "String (identifier)",
  "services": [{"@odata.type": "microsoft.graph.cloudLicensing.service"}],
  "skuId": "Guid",
  "skuPartNumber": "String"
}