Create a protection policy
POST/api/v1/ProtectionPolicy
Creates a protection policy with its resources, resource groups and protected groups, and schedules protection for its resources. Resource and resource group identifiers that do not exist are skipped. Returns the new policy.
Permission required: Administrators and application accounts.
Request
Responses
- 200
- 400
- 401
- 403
- 409
The created protection policy.
The policy could not be created, for example because another policy has the same name.
The request is not signed in, or the sign-in has expired.
The caller is not an administrator or application account.
A policy with the identifier in the request body already exists.