Get a list of existing protection rules
Select
Get a list of existing protection rules
- 200
Success
- application/json
- Schema
- Example (from schema)
Schema
protectionRules object[]
id intThis is protection rule id
name stringThis is protection rules name
plan object
id int32name stringcloudConnection object
Details of cloud connection of Protection Rule
id int32name stringagent object
Details of agent installed
id int32name stringbackupset object
Details of backupset
id int32name stringinstance object
Details of instance
id int32name stringvendorType stringPossible values: [
NONE,VMW,MICROSOFT,XEN_SERVER,AMAZON,AZURE,REDHAT,AZURE_V2,SCVMM,NUTANIX,ORACLE_VM,DOCKER,OPENSTACK,ORACLE_CLOUD,FUSIONCOMPUTE,VCLOUD,GOOGLE_CLOUD,AZURE_STACK,ALIBABA_CLOUD,ORACLE_CLOUD_INFRASTRUCTURE,KUBERNETES,REDHAT_OPENSHIFT,MONGODB_ATLAS,PROXMOX,KUBERNETES_AKS,AZURE_STACK_HCI,KUBERNETES_EKS,MORPHEUS,KUBERNETES_GKE,KUBERNETES_OKE,NUTANIX_PRISM_CENTRAL,APACHE_CLOUDSTACK,VMWARE_CLOUD_FOUNDATION]Type of vendor
company object
id int32Id of company
name stringName of company
multiCommcellId int32Multi Commcell Id of company
lastBackup object
jobId int32Returns the job id of the last backup job performed.
status stringPossible values: [
NEVER_BACKED_UP,COMPLETED,FAILED,COMPLETED_WITH_ERRORS,KILLED,SUSPENDED,INTERRUPTED,ANY_STATUS,SKIPPED,FAILED_TO_START,SYNCHRONIZED,NOT_SYNCHRONIZED,NOT_ATTEMPTED,STARTED,COMPLETED_WITH_WARNINGS,SYSTEM_FAILED,COMMITTED]Status of the last backup job performed.
time int64Shows the time when the last back up job was carried out. The time is provided in unix time format.
failureReason stringGives the reason for the last backup job failing, if the last backup job fails.
tags object[]
id int32name stringvalue stringserverGroup object
Details of server group id of protection rule
id int32name string
{
"protectionRules": [
{
"name": "string",
"plan": {
"id": 0,
"name": "string"
},
"cloudConnection": {
"id": 0,
"name": "string"
},
"agent": {
"id": 0,
"name": "string"
},
"backupset": {
"id": 0,
"name": "string"
},
"instance": {
"id": 0,
"name": "string"
},
"vendorType": "NONE",
"company": {
"id": 0,
"name": "string",
"multiCommcellId": 0
},
"lastBackup": {
"jobId": 0,
"status": "NEVER_BACKED_UP",
"time": 0,
"failureReason": "string"
},
"tags": [
{
"id": 0,
"name": "string",
"value": "string"
}
],
"serverGroup": {
"id": 0,
"name": "string"
}
}
]
}