subcategoryTemplate 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.

Represents the file plan descriptor of type subcategory for retention labels. This resource supports CRUD operations to apply and manage the filePlanSubcategory descriptor for a retentionLabel. The subcategory 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.subcategoryTemplate collection Get a list of the microsoft.graph.security.subcategoryTemplate objects and their properties.
Create microsoft.graph.security.subcategoryTemplate Create a new microsoft.graph.security.subcategoryTemplate object.
Get microsoft.graph.security.subcategoryTemplate Read the properties and relationships of a microsoft.graph.security.subcategoryTemplate object.
Delete None Delete a microsoft.graph.security.subcategoryTemplate object.

Properties

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

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

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