List all the protection policies.
Success
Bad Request
Unauthorized request
Forbidden
Internal / unexpected error
{- "count": 1,
- "items": [
- {
- "applicationType": "VMWARE",
- "assigned": true,
- "consoleUri": "string",
- "createdAt": "2019-07-21T17:32:28Z",
- "createdBy": {
- "id": "2a1172be-4281-44f9-848b-9c3f86378b13",
- "name": "Admin"
}, - "description": "Protection Policy protecting Finance department's Virtual Machines or datastores.",
- "generation": 0,
- "id": "c9cdeb6b-24cb-43c1-828a-e8b1b050f3f4",
- "name": "Gold-Protection-Policy",
- "protectionJobsInfo": [
- {
- "assetInfo": {
- "displayName": "string",
- "id": "d0e48314-730a-11ea-b496-48452098762c",
- "name": "VM-Finance",
- "resourceUri": "string",
- "type": "virtualization/virtual-machine"
}, - "id": "2a1172be-4281-44f9-848b-9c3f86378b14",
- "resourceUri": "string",
- "type": "string"
}
], - "protections": [
- {
- "id": "2a1172be-4281-44f9-848b-9c3f86378b13",
- "protectionStoreInfo": {
- "id": "6a38acc7-e470-4ed7-b141-ca9509672dac",
- "name": "string",
- "protectionStoreType": "ON_PREMISES",
- "resourceUri": "/backup-recovery/v1beta1/protection-stores/6a38acc7-e470-4ed7-b141-ca9509672da",
- "type": "backup-recovery/protection-store"
}, - "schedules": [
- {
- "expireAfter": {
- "unit": null,
- "value": null
}, - "lockFor": {
- "unit": null,
- "value": null
}, - "name": "Hourly snapshot schedule",
- "namePattern": {
- "format": null
}, - "postScriptInfo": {
- "hostId": null,
- "params": null,
- "path": null,
- "timeoutInSeconds": null
}, - "preScriptInfo": {
- "hostId": null,
- "params": null,
- "path": null,
- "timeoutInSeconds": null
}, - "schedule": {
- "activeTime": { },
- "recurrence": null,
- "repeatInterval": { },
- "startTime": null
}, - "scheduleId": 0,
- "sourceProtectionScheduleId": 0
}
], - "type": "SNAPSHOT"
}
], - "resourceUri": "string",
- "type": "string",
- "updatedAt": "2019-07-21T17:32:28Z"
}
], - "offset": 0,
- "total": 0
}