Upravit

Sdílet prostřednictvím


departmentTemplate 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 department or business unit of an organization to which a label belongs. This resource supports CRUD operations to apply and manage the filePlanDepartment descriptor for a retentionLabel. The department 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.departmentTemplate collection Get a list of the microsoft.graph.security.departmentTemplate objects and their properties.
Create microsoft.graph.security.departmentTemplate Create a new microsoft.graph.security.departmentTemplate object.
Get microsoft.graph.security.departmentTemplate Read the properties and relationships of a microsoft.graph.security.departmentTemplate object.
Delete None Delete a microsoft.graph.security.departmentTemplate object.

Properties

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

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

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