List of Virtual Machines
Select
SaaS
Customer Managed
List of virtual machines
Responses
- 200
- 401
- 404
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
virtualMachines object[]
{
"virtualMachines": [
{
"name": "string",
"state": "STOPPED = 0",
"ipAddress": "string",
"operatingSystem": "string",
"osType": "WINDOWS",
"creator": "string",
"expirationTime": 0,
"dnsHostName": "string",
"loginUser": {
"id": 0,
"name": "string"
},
"enableRenew": true,
"memory": 0,
"numberOfCPUs": 0,
"numberOfDisks": 0,
"vendor": "NONE",
"vmGUID": "string",
"lab": {
"id": 0,
"name": "string"
},
"target": {
"id": 0,
"name": "string"
},
"sourceMachine": {
"GUID": "string",
"name": "string"
},
"jobInfo": {
"id": 0,
"progress": 0
}
}
]
}
Unauthorized
Not Found
Internal Server Error
GET /v4/vmprovisioning/virtualmachines
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/VMProvisioning/VirtualMachines' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/VMProvisioning/VirtualMachines' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/VMProvisioning/VirtualMachines' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/VMProvisioning/VirtualMachines' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/VMProvisioning/VirtualMachines' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/VMProvisioning/VirtualMachines' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/VMProvisioning/VirtualMachines' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'