Get Machines
Get all machines
Request
URI
GET
https://{api_host}/iaas/api/machines
COPY
Query Parameters
string
apiVersion
Optional
The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about
Responses
200
successful operation
Returns
MachineResult
of type(s)
application/json
{
"numberOfElements": 1,
"content": [
{
"owner": "[email protected]",
"address": "34.242.21.5",
"_links": {
"_links": {
"hrefs": [
"string"
],
"href": "string"
}
},
"externalZoneId": "us-east-1a",
"externalRegionId": "us-east-1",
"description": "my-description",
"externalId": "i-cfe4-e241-e53b-756a9a2e25d2",
"orgId": "9e49",
"tags": [
{
"value": "string",
"key": "string"
}
],
"organizationId": "deprecated",
"createdAt": "2012-09-27",
"cloudAccountIds": [
"string"
],
"powerState": "ON, OFF",
"customProperties": {
"customProperties": "string"
},
"deploymentId": "123e4567-e89b-12d3-a456-426655440000",
"name": "my-name",
"id": "9e49",
"projectId": "9e49",
"updatedAt": "2012-09-27"
}
],
"totalElements": 1
}
integer As int64
As int64
numberOfElements
Optional
Number of elements in the current page
array of
object
content
Optional
List of content items
integer As int64
As int64
totalElements
Optional
Total number of elements. In some cases the field may not be populated
403
Forbidden
Operation doesn't return any data structure
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/iaas/api/machines
Compute Operations
POST
Create Machine
GET
Get Machines
POST
Power Off Machine
PATCH
Update Machine
GET
Get Machine
DELETE
Delete Machine
POST
Power On Machine
POST
Revert Machine Snapshot
POST
Restart Machine
POST
Resize Machine
GET
Get Machine Snapshots
POST
Reboot Machine
POST
Create Machine Snapshot
POST
Suspend Machine
POST
Shutdown Machine
GET
Get Machine Snapshot
DELETE
Delete Machine Snapshot
POST
Reset Machine