subcategoryTemplate resource type

Namespace: microsoft.graph.security

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

Here's JSON representation of the resource.

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