Create Protection Policy
POST https://{{cluster_vip}}/v2/data-protect/policies
Creates a Protection Policy on the Cohesity cluster.
The policy ID from the response is required to create the Protection Group for protecting your physical server.
Request Body
{"backupPolicy"=>{"regular"=>{"incremental"=>{"schedule"=>{"unit"=>"Days", "daySchedule"=>{"frequency"=>1}}}, "retention"=>{"unit"=>"Days", "duration"=>14}}}, "name"=>"Windows_Block_Based_Policy", "description"=>"Policy for volume-based PG", "remoteTargetPolicy"=>{}, "retryOptions"=>{"retries"=>3, "retryIntervalMins"=>5}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Authorization | string |
RESPONSES
status: Created
{"name":"Windows_Block_Based_Policy","backupPolicy":{"regular":{"incremental":{"schedule":{"unit":"Days","daySchedule":{"frequency":1}}},"retention":{"unit":"Weeks","duration":2}}},"description":"Policy for volume-based PG","blackoutWindow":null,"extendedRetention":null,"cascadedTargetsConfig":null,"retryOptions":{"retries":3,"retryIntervalMins":5},"id":"8743635867054034:1666901032964:413487"}