List of Virtual Labs
Select
Get List of Virtual Labs
- 200
- 401
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
labs object[]
name stringName of virtual lab
id int32lab id
state VMStatePossible values: [
STOPPED = 0
,RUNNING = 1
,SUSPENDED = 2
,UNKNOWN = 3
,ARCHIVED = 4
,EXPIRED = 5
,UNAVAILABLE = 6
,CREATING = 101
,CLONING = 102
,CREATING_SNAPSHOT = 103
,REVERTING_SNAPSHOT = 104
,DELETING_SNAPSHOT = 105
,STARTING = 106
,STOPPING = 107
,SUSPENDING = 108
,RESTARTING = 109
,DELETING = 110
,RECOVERING = 111
,RETRIEVING = 112
]State of VirtualMachine
vmCount int32Number of virtual machines present in virtual lab
target object
id int32name stringexpirationTime int32Expiration time of virtual lab
jobInfo object
Job summary of lab under creation
id int64Job id
progress floatJob progress in percentage
operationType VMOperationEnumPossible values: [
CREATE = 0
,RESTART = 1
,SHUTDOWN = 2
,SNAPSHOT = 3
,RESTORE_SNAP = 4
,DELETE = 5
,CLONE = 6
,PAUSE = 7
,POWERON = 10
,EDIT = 11
,VIEW_SNAPSHOTS = 12
,DELETE_SNAP_VM = 15
,RENEW_VM = 17
,REFRESH_VM = 20
,EDIT_OWNERS = 21
,POWER_OFF = 29
,EDIT_CREATOR = 30
,REFRESH = 31
,LIST_OWNERS = 32
,CREATE_LAB = 34
]
{
"labs": [
{
"name": "string",
"id": 0,
"state": "STOPPED = 0",
"vmCount": 0,
"target": {
"id": 0,
"name": "string"
},
"expirationTime": 0,
"jobInfo": {
"id": 0,
"progress": 0,
"operationType": "CREATE = 0"
}
}
]
}
Unauthorized
Internal Server Error