編輯

共用方式為


authorityTemplate resource type

Namespace: microsoft.graph.security

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.

Specifies the underlying authority that describes the type of content to be retained and its retention schedule. Supports CRUD operations to apply and manage the filePlanAuthority descriptor for a retentionLabel. The authority file plan descriptor supplements a retention label to improve the manageability and organization of Microsoft 365 content.

Inherits from microsoft.graph.security.filePlanDescriptorTemplate.

Methods

Method Return type Description
List microsoft.graph.security.authorityTemplate collection Get a list of the microsoft.graph.security.authorityTemplate objects and their properties.
Create microsoft.graph.security.authorityTemplate Create a new microsoft.graph.security.authorityTemplate object.
Get microsoft.graph.security.authorityTemplate Read the properties and relationships of a microsoft.graph.security.authorityTemplate object.
Delete None Delete a microsoft.graph.security.authorityTemplate object.

Properties

Property Type Description
createdBy microsoft.graph.identitySet Represents the user who created the authority descriptor. Inherited from microsoft.graph.security.filePlanDescriptorTemplate. Read-only.
createdDateTime DateTimeOffset Represents the date and time in which the authority descriptor is created. Inherited from microsoft.graph.security.filePlanDescriptorTemplate. Read-only.
displayName String Unique string that defines an authority name. Inherited from microsoft.graph.security.filePlanDescriptorTemplate.
id String Unique ID of the authority. Inherited from microsoft.graph.entity. Read-only.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.security.authorityTemplate",
  "id": "String (identifier)",
  "displayName": "String",
  "createdBy": {
    "@odata.type": "microsoft.graph.identitySet"
  },
  "createdDateTime": "String (timestamp)"
}