List policies that cover a resource
GET/api/v1/ProtectionPolicy/ManagedResource/:managedResourceId
Returns the protection policies that apply to a resource. Policies that contain the resource directly are returned only when they are not deleted or disabled. By default the result also includes policies that reach the resource through a resource group, whatever their status; set directOnly to true to leave those out.
Permission required: Administrators and application accounts.
Request
Responses
- 200
- 401
- 403
An array of protection policies.
The request is not signed in, or the sign-in has expired.
The caller is not an administrator or application account.