get /waves/{name}/vms
Retrieve a Wave VMs. (listWaveVms)
Retrieve a Wave VMs.
Path parameters
name (required)
Path Parameter — Wave name
Consumes
This API call consumes the following media types via the Content-Type request header:
- application/json
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
- application/json
Responses
200
OK
|
value (optional) |
array[VmInfo] |
Return type:
Content-Type: application/json
Example data
[{
"target": {
"id": "string",
"powerState": "Starting",
"privateIpAddress": "10.10.20.20",
"subnetId": "subnet-1234657",
"instanceType": {
"cpus": 1,
"maxDataDiskCount": 1,
"memory": 1,
"name": "t2.micro",
"resourceDiskSize": 0
},
"_type": "GcpVmInfo"
},
"origin": {
"entityId": "string"
},
"stateInfo": {
"cloudExtension": {
"value": "vm-1",
"_type": "CloudExtensionId"
},
"cloudInstanceState": "None",
"edgeNode": "NodeA",
"id": {
"value": "vm-1",
"_type": "VmId"
},
"instanceUuid": "123e4567-e89b-12d3-a456-426655440000",
"migrationState": "None",
"runMode": "Normal",
"isSpot": false,
"state": "Unmanaged",
"activeTasks": [
{
"value": "t-1",
"_type": "TaskId"
}
],
"uncommittedWrites": 0,
"uncommittedWritesLastSync": "1970-01-01T00:00:00.000Z",
"storagePolicy": "Writeback",
"vmImporter": {
"instanceId": "i-123456789",
"managedVmId": {
"value": "vm-1",
"_type": "VmId"
},
"status": "Creating",
"_type": "VmImporter"
},
"vmExporter": {
"instanceId": "i-123456789",
"managedVmId": {
"value": "vm-1",
"_type": "VmId"
},
"status": "Creating",
"_type": "VmExporter"
},
"_type": "ManagedVmDescription"
}
"OperationLinks" : [ {
"rel: "start",
"href: "/velostrata/api/v40/vms/vm-1/operations/start",
"httpVerb: "POST"
},
{
"rel: "stop",
"href: "/velostrata/api/v40/vms/vm-1/operations/stop",
"httpVerb: "POST"
},
{
"rel: "return",
"href: "/velostrata/api/v40/vms/vm-1/operations/return",
"httpVerb: "POST"
},
{
"rel: "reboot",
"href: "/velostrata/api/v40/vms/vm-1/operations/reboot",
"httpVerb: "POST"
},
{
"rel: "allowedTasks",
"href: "/velostrata/api/v40/vms/vm-1/allowedTasks",
"httpVerb: "POST"
} ]
}]
Default
Error ErrorInfo
|
code (optional) |
String |
|
detailedMessage (optional) |
String |