Microsoft Graph · Schema

microsoft.graph.driveProtectionRule

Azure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Tasks
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoftgraphdriveprotectionrule-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.driveProtectionRule",
  "title": "microsoft.graph.driveProtectionRule",
  "allOf": [
    {
      "$ref": "#/components/schemas/microsoft.graph.protectionRuleBase"
    },
    {
      "title": "driveProtectionRule",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "driveExpression": {
          "type": "string",
          "description": "Contains a drive expression. For examples, see driveExpression examples.",
          "nullable": true
        },
        "@odata.type": {
          "type": "string",
          "default": "#microsoft.graph.driveProtectionRule"
        }
      }
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.driveProtectionRule"
}