Edit

resourcePolicyDeletableRoot resource type

Namespace: microsoft.graph

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.

Provides access to deleted resource policy definitions and assignments through the deletedItems relationship of resourcePolicyRoot.

Methods

Method Return type Description
List deleted definitions resourcePolicyDefinition collection List deleted definitions.
List deleted assignments resourcePolicyAssignment collection List deleted assignments.
Restore definition resourcePolicyDefinition Restore a deleted definition.
Restore assignment resourcePolicyAssignment Restore a deleted assignment.
Permanently delete definition None Permanently delete a deleted definition.
Permanently delete assignment None Permanently delete a deleted assignment.

Properties

None.

Relationships

Relationship Type Description
assignments resourcePolicyAssignment collection The deleted assignments retained for 30 days, during which they can be restored.
definitions resourcePolicyDefinition collection The deleted definitions retained for 30 days, during which they can be restored.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.resourcePolicyDeletableRoot"
}