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
Responses
- 200
- 404
Success
- application/json
- Schema
- Example (from schema)
Schema
vmGroups object[]
{
"vmGroups": [
{
"id": 0,
"name": "string",
"status": "ALL",
"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": {
"jobId": 0,
"status": "NEVER_BACKED_UP",
"time": 0,
"failureReason": "string"
},
"company": {
"id": 0,
"name": "string",
"multiCommcellId": 0
},
"replicationGroup": {
"id": 0,
"name": "string"
},
"isDefaultVMGroup": false,
"storagePolicyRetentionExtension": false,
"indexingStatus": "NOT_APPLICABLE",
"SnapBackupEnabled": false,
"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 /v4/vmgroups
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/VMGroups' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/VMGroups' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/VMGroups' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/VMGroups' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/VMGroups' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/VMGroups' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/VMGroups' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'