Get Virtual Machines
Select
SaaS
Customer Managed
Get all virtual machines
Responses
- 200
- 404
Success
- application/json
- Schema
- Example (from schema)
Schema
virtualMachines object[]
- virtualMachinesCount int32
{
"virtualMachines": [
{
"name": "string",
"vendor": "NONE",
"hypervisor": {
"id": 0,
"name": "string"
},
"vmGroup": {
"id": 0,
"name": "string"
},
"os": "string",
"host": "string",
"vmSize": 0,
"status": "PROTECTED",
"UUID": "string",
"commcellName": "string",
"lastBackup": {
"time": 0,
"jobId": 0,
"status": "NEVER_BACKED_UP",
"lastSuccessfulBackupTime": 0,
"failureReason": "string"
},
"applicationSize": 0,
"plan": {
"id": 0,
"name": "string",
"subType": "ANY"
},
"SLA": {
"status": "MET_SLA",
"reason": "string"
},
"company": {
"id": 0,
"name": "string"
},
"tags": [
{
"id": 0,
"name": "string",
"value": "string"
}
],
"commcell": {
"name": "string"
}
}
],
"virtualMachinesCount": 0
}
Requested Details not found
GET /v4/virtualmachines
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/VirtualMachines' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/VirtualMachines' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/VirtualMachines' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/VirtualMachines' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/VirtualMachines' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/VirtualMachines' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/VirtualMachines' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'