Get Protection Policy

GET https://{{cluster_1-ip}}/v2/data-protect/policies

Returns the list of Protection Policies available on the Cohesity cluster along with their Policy IDs and information on the parameters configured for these policies.

You can either use an available policy or create a new policy for protecting your physical server. The Protection Policy ID is required for creating the Protection Group for the physical server protection.

To return information only about a particular Protection Policy, provide the Protection Policy name as the parameter in the API URL.

https://{{cluster_1-ip}}/v2/data-protect/policies?names={{policy_name}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Authorizationstring

RESPONSES

status: OK

{"policies":[{"name":"NPJ_NV_S3Comp_policy_21","backupPolicy":{"regular":{"incremental":{"schedule":{"unit":"Days","daySchedule":{"frequency":1}}},"retention":null}},"blackoutWindow":null,"extendedRetention":null,"remoteTargetPolicy":{"replicationTargets":[],"archivalTargets":[{"schedule":{"unit":"Runs","frequency":1},"retention":{"unit":"Months","duration":1},"copyOnRunSuccess":false,"configId":"e2c4be16-24fa-4b24-7ad4-35cea7f3a1cf","targetId":9726340988,"targetName":"NPJ_NV_S3Comp21","targetType":"Cloud","extendedRetention":null}],"cloudSpinTargets":[]},"cascadedTargetsConfig":null,"retryOptions":{"retries":3,"retryIntervalMins":30},"id":"8743635867054034:1666901032964:18325"},{"name":"NPJ_NV_GC_S3Comp_policy_20","backupPolicy":{"regular":{"incremental":{"schedule":{"unit":"Days","daySchedule":{"frequency":1}}},"retention":null}},"blackoutWindow":null,"extendedRetention":null,"remoteTargetPolicy":{"replicationTargets":[],"archivalTargets":[{"schedule":{"unit":"Runs","frequency":1},"retention":{"unit":"Months","duration":1},"copyOnRunSuccess":false,"configId":"0d8ee267-58e0-4d45-4ab8-b90ddc1726cd","targetId":9726480007,"targetName":"NPJ_NV_GC_S3Comp20","targetType":"Cloud","extendedRetention":null}],"cloudSpinTargets":[]},"cascadedTargetsConfig":null,"retryOptions":{"retries":3,"retryIntervalMins":30},"id":"8743635867054034:1666901032964:18374"}]}