Get Protection Group Details
Select
Get the details of a protection group
Path Parameters
- protectionGroupId int32 required
Id of the Protection Group
Header Parameters
- AzureSubscriptionId string required
Azure Subscription Id
- AzureTenantId string required
Azure Tenant Id
- LiftrCorrelationId string required
Liftr Correlation Id
- ArmResourceId string required
Arm Resource Id
- ArmResourceIdForCCA string required
Arm Resource Id For CCA
- 200
- 404
Success
- application/json
- Schema
- Example (from schema)
Schema
- id int32
- name string
vmBackupInfo object
vmPendingCount int32VMs pending for Backup
vmProtectedCount int32Protected vm Count
vmNotProtectedCount int32VM Missed to protect count
vmNeverBackedUpCount int32vm never Backed up count
vmBackedUpWithErrorCount int32VM Backed up with error count
vmTotalCount int32Total vm Count
summary object
hypervisorName stringlastBackupTime int32Last Backup time of the VMGroup
lastBackupSize int64Last Backup Job Size
nextBackupTime int32Next Backup Job start time
isDefaultVMGroup booleanDefault value:
false
True if subclient is default subclient
backupActivityStatus stringCurrent backup activity status
plan object
id int32name stringsubType stringPossible values: [
ANY
,DLO
,SERVER
,LAPTOP
,DATABASE
,SNAP
,FS_SERVER
,VSA_SERVER
,VSA_REPLICATION
,EXCHANGE_USER
,EXCHANGE_JOURNAL
,DATA_CLASSIFICATION
,E_DISCOVERY
,OFFICE_365
,ARCHIVER
,FSIBMIVTL
,DYNAMICS_365
,CDM
,ObjectStore
]region object
id int32Region Id
name stringRegion Name
displayName stringDisplay Name of Region
latitude stringGeolocation Latitude
longitude stringGeolocation Longitude
replicationGroup object
id int32name stringtimeZone object
id int32name stringcontent object
Protection group workload content
virtualMachine object
Virtual Machine content to be protected under a Protection Group
virtualMachines object[]
name stringName of the VM to be added as content
resourceGroup stringResource Group name in which VM is present
ruleGroups object[]
matchRule MatchRulePossible values: [
ALL
,ANY
]Enum which specifies the whether to match all rules or any of the rules
rules object[]
name stringname of the VM to be added as content
type stringPossible values: [
NONE
,SERVER
,RES_POOL
,VAPP
,DATACENTER
,FOLDER
,CLUSTER
,DATASTORE
,DATASTORE_CLUSTER
,VM
,VM_NAME
,VM_GUEST_OS
,VM_GUEST_HOST_NAME
,CLUSTER_SHARED_VOLUMES
,LOCAL_DISK
,CLUSTER_DISK
,UNPROTECTED_VMS
,ROOT
,FILE_SERVER
,SMB_SHARE
,TYPES_FOLDER
,VM_FOLDER
,SERVER_FOLDER
,TEMPLATE_FOLDER
,STORAGE_REPOSITORY_FOLDER
,VAPPFOLDER
,DATACENTER_FOLDER
,CLUSTER_FOLDER
,VM_POWER_STATE
,VM_NOTES
,VM_CUSTOM_ATTRIBUTE
,NETWORK
,USER
,VM_TEMPLATE
,TAG
,TAG_CATEGORY
,SUBCLIENT
,CLIENT_GROUP
,PROTECTION_DOMAIN
,CONSISTENCY_GROUP
,INSTANCE_SIZE
,ORGANIZATION
,IMAGES
,STORAGE_POLICY
,DATABASE
,TABLE
,PROJECT
,SELECTOR
,MANAGED_BY
,REPLICATION_MODE
,METADATATAG
,CATALOG
,VAPPTEMPLATE
,VOLUME
,VM_BADGE
]value stringvalue for the few type of VM Content like powerstate
condition RuleOperationTypePossible values: [
CONTAINS
,DOES_NOT_CONTAIN
,DOES_NOT_EQUAL
,ENDS_WITH
,EQUALS
,STARTS_WITH
]Operation type for VM rules/filters
GUID stringGUID of the entity to be added as content
displayName stringThe display name of the entity to be added
- workloadType string
Possible values: [
VIRTUAL_MACHINE
,OBJECT_STORAGE
]Protection group workload type
activityControl object
enableBackup booleantrue if Backup is enabled
enableRestore booleantrue if Restore is enabled
backupActivityControlOptions object
activityType stringPossible values: [
BACKUP
,RESTORE
,ONLINECI
,ARCHIVEPRUNE
]denotes the activity type being considered
enableAfterADelay booleanTrue if the activity will be enabled after a delay time interval
enableActivityType booleanTrue if the activity type is enabled
delayTime object
timeZone object
id int32name stringtime int32delay time in unix timestamp
value stringactual delay time value in string format according to the timezone
restoreActivityControlOptions object
activityType stringPossible values: [
BACKUP
,RESTORE
,ONLINECI
,ARCHIVEPRUNE
]denotes the activity type being considered
enableAfterADelay booleanTrue if the activity will be enabled after a delay time interval
enableActivityType booleanTrue if the activity type is enabled
delayTime object
timeZone object
id int32name stringtime int32delay time in unix timestamp
value stringactual delay time value in string format according to the timezone
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.
{
"id": 0,
"name": "string",
"vmBackupInfo": {
"vmPendingCount": 0,
"vmProtectedCount": 0,
"vmNotProtectedCount": 0,
"vmNeverBackedUpCount": 0,
"vmBackedUpWithErrorCount": 0,
"vmTotalCount": 0
},
"summary": {
"hypervisorName": "string",
"lastBackupTime": 0,
"lastBackupSize": 0,
"nextBackupTime": 0,
"isDefaultVMGroup": false,
"backupActivityStatus": "string",
"plan": {
"id": 0,
"name": "string",
"subType": "ANY"
},
"region": {
"id": 0,
"name": "string",
"displayName": "string",
"latitude": "string",
"longitude": "string"
},
"replicationGroup": {
"id": 0,
"name": "string"
},
"timeZone": {
"id": 0,
"name": "string"
}
},
"content": {
"virtualMachine": {
"virtualMachines": [
{
"name": "string",
"resourceGroup": "string"
}
],
"ruleGroups": [
{
"matchRule": "ALL",
"rules": [
{
"name": "string",
"type": "NONE",
"value": "string",
"condition": "CONTAINS",
"GUID": "string",
"displayName": "string"
}
]
}
]
}
},
"workloadType": "VIRTUAL_MACHINE",
"activityControl": {
"enableBackup": true,
"enableRestore": true,
"backupActivityControlOptions": {
"activityType": "BACKUP",
"enableAfterADelay": true,
"enableActivityType": true,
"delayTime": {
"timeZone": {
"id": 0,
"name": "string"
},
"time": 0,
"value": "string"
}
},
"restoreActivityControlOptions": {
"activityType": "BACKUP",
"enableAfterADelay": true,
"enableActivityType": true,
"delayTime": {
"timeZone": {
"id": 0,
"name": "string"
},
"time": 0,
"value": "string"
}
}
},
"lastBackup": {
"jobId": 0,
"status": "NEVER_BACKED_UP",
"time": 0,
"failureReason": "string"
}
}
Requested Details not found
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}