Microsoft Graph · Schema

microsoft.graph.unifiedRoleManagementPolicyRule

Azure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Tasks
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoftgraphunifiedrolemanagementpolicyrule-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.unifiedRoleManagementPolicyRule",
  "title": "microsoft.graph.unifiedRoleManagementPolicyRule",
  "allOf": [
    {
      "$ref": "#/components/schemas/microsoft.graph.entity"
    },
    {
      "title": "unifiedRoleManagementPolicyRule",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "target": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.unifiedRoleManagementPolicyRuleTarget"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "Defines details of scope that's targeted by role management policy rule. The details can include the principal type, the role assignment type, and actions affecting a role. Supports $filter (eq, ne)."
        },
        "@odata.type": {
          "type": "string"
        }
      },
      "discriminator": {
        "propertyName": "@odata.type",
        "mapping": {
          "#microsoft.graph.unifiedRoleManagementPolicyApprovalRule": "#/components/schemas/microsoft.graph.unifiedRoleManagementPolicyApprovalRule",
          "#microsoft.graph.unifiedRoleManagementPolicyAuthenticationContextRule": "#/components/schemas/microsoft.graph.unifiedRoleManagementPolicyAuthenticationContextRule",
          "#microsoft.graph.unifiedRoleManagementPolicyEnablementRule": "#/components/schemas/microsoft.graph.unifiedRoleManagementPolicyEnablementRule",
          "#microsoft.graph.unifiedRoleManagementPolicyExpirationRule": "#/components/schemas/microsoft.graph.unifiedRoleManagementPolicyExpirationRule",
          "#microsoft.graph.unifiedRoleManagementPolicyNotificationRule": "#/components/schemas/microsoft.graph.unifiedRoleManagementPolicyNotificationRule"
        }
      }
    }
  ]
}