Get Protection Policy

GET https://{{cluster_vip}}/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 the VMware VMs. The Protection Policy ID is required for creating the Protection Group for the VMware vCenter 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}}

RESPONSES

status: OK

{"policies":[{"name":"Gold","backupPolicy":{"regular":{"incremental":{"schedule":{"unit":"Hours","hourSchedule":{"frequency":4}}},"fullBackups":null,"retention":{"unit":"Weeks","duration":1}}},"blackoutWindow":null,"extendedRetention":[{"schedule":{"unit":"Days","frequency":1},"retention":{"unit":"Days","duration":90},"configId":"cbcf0b5a-dfd3-473d-6ee5-85591bbf293a"},{"schedule":{"unit":"Weeks","frequency":1},"retention":{"unit":"Years","duration":1},"configId":"ca3ab93e-8952-4cc2-6939-93b9d2e175d7"},{"schedule":{"unit":"Months","frequency":1},"retention":{"unit":"Years","duration":3},"configId":"ddfdec64-b612-4f03-7e2f-ee8e9acfc193"}],"cascadedTargetsConfig":null,"retryOptions":{"retries":3,"retryIntervalMins":5},"id":"6928727740717624:1676485504569:1"},{"name":"Silver","backupPolicy":{"regular":{"incremental":{"schedule":{"unit":"Hours","hourSchedule":{"frequency":12}}},"fullBackups":null,"retention":{"unit":"Weeks","duration":2}}},"blackoutWindow":null,"extendedRetention":[{"schedule":{"unit":"Days","frequency":1},"retention":{"unit":"Days","duration":90},"configId":"13072756-2827-409e-56ef-4bc7abb3a716"},{"schedule":{"unit":"Weeks","frequency":1},"retention":{"unit":"Years","duration":1},"configId":"af4ba65a-32e0-4031-626f-d3748228f309"},{"schedule":{"unit":"Months","frequency":1},"retention":{"unit":"Years","duration":2},"configId":"653b519a-32e4-4bf3-4ae2-69e7aedffa3a"}],"cascadedTargetsConfig":null,"retryOptions":{"retries":3,"retryIntervalMins":5},"id":"6928727740717624:1676485504569:2"},{"name":"Protect Once","backupPolicy":{"regular":{"full":{"schedule":{"unit":"ProtectOnce"}},"fullBackups":null,"retention":{"unit":"Weeks","duration":2}}},"blackoutWindow":null,"extendedRetention":null,"cascadedTargetsConfig":null,"id":"6928727740717624:1676485504569:7"},{"name":"Bronze","backupPolicy":{"regular":{"incremental":{"schedule":{"unit":"Days","daySchedule":{"frequency":1}}},"fullBackups":null,"retention":{"unit":"Days","duration":30}}},"blackoutWindow":null,"extendedRetention":[{"schedule":{"unit":"Weeks","frequency":1},"retention":{"unit":"Days","duration":90},"configId":"B8355B23-A9E8-493F-9F4C-A5689A74EB4D"},{"schedule":{"unit":"Months","frequency":1},"retention":{"unit":"Years","duration":1},"configId":"266958DA-2BE9-4F97-B268-73559520D295"}],"cascadedTargetsConfig":null,"id":"6928727740717624:1676485504569:3"},{"name":"Automation-LocalOnly-Policy-1","backupPolicy":{"regular":{"incremental":{"schedule":{"unit":"Minutes","minuteSchedule":{"frequency":15}}},"fullBackups":null,"retention":{"unit":"Days","duration":90}}},"blackoutWindow":null,"extendedRetention":null,"cascadedTargetsConfig":null,"retryOptions":{"retries":3,"retryIntervalMins":30},"id":"6928727740717624:1676485504569:93"}]}