Get VM Groups
Select
SaaS
Customer Managed
Get the details of all vmGroup
Query Parameters
- hypervisorId int32
Id of the hypervisor to list vm groups
- start integer
This value determines the starting point for fetching VM Groups. For example, if set to 5, the first 5 VM Groups will be skipped, and fetching will begin from the 6th group onward.
- limit integer
Default value:
20
Specifies the number of VM Groups to fetch. If set to 0, all VM Groups will be fetched starting from the specified start value.
Responses
- 200
- 404
Success
- application/json
- Schema
- Example (from schema)
Schema
- vmGroupCount int32
vmGroups object[]
{
"vmGroupCount": 0,
"vmGroups": [
{
"status": "ALL",
"cloudVendor": "CV_DEFAULT",
"regionName": "string",
"HypervisorType": "NONE",
"vmGroup": {
"id": 0,
"name": "string"
},
"Hypervisor": {
"id": 0,
"name": "string",
"displayName": "string"
},
"Instance": {
"id": 0,
"name": "string"
},
"plan": {
"id": 0,
"name": "string",
"subType": "ANY"
},
"lastBackup": {
"time": 0,
"jobId": 0,
"status": "NEVER_BACKED_UP",
"lastSuccessfullBackupTime": 0,
"failureReason": "string"
},
"commcell": {
"name": "string"
},
"company": {
"id": 0,
"name": "string",
"multiCommcellId": 0
},
"replicationGroup": {
"id": 0,
"name": "string"
},
"isDefaultVMGroup": false,
"storagePolicyRetentionExtension": false,
"indexingStatus": "NOT_APPLICABLE",
"SnapBackupEnabled": false,
"description": "string",
"vmBackupInfo": {
"vmPendingCount": 0,
"vmProtectedCount": 0,
"vmNotProtectedCount": 0,
"vmNeverBackedUpCount": 0,
"vmBackedUpWithErrorCount": 0,
"vmTotalCount": 0
},
"Backupset": {
"id": 0,
"name": "string"
},
"tags": [
{
"id": 0,
"name": "string",
"value": "string"
}
]
}
]
}
Requested Details not found
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
GET /v5/vmgroups
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V5/VMGroups' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V5/VMGroups' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V5/VMGroups' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V5/VMGroups' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V5/VMGroups' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V5/VMGroups' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V5/VMGroups' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'