MachineResult

MachineResult
MachineResult

State object representing a query result of machines.

JSON Example
{
    "content": [
        {
            "id": "9.0E49",
            "createdAt": "2012-09-27",
            "updatedAt": "2012-09-27",
            "owner": "[email protected]",
            "ownerType": "ad_group",
            "orgId": "42413b31-1716-477e-9a88-9dc1c3cb1cdf",
            "_links": {
                "empty": false
            },
            "name": "my-name",
            "description": "my-description",
            "externalId": "i-cfe4-e241-e53b-756a9a2e25d2",
            "projectId": "9.0E49",
            "externalZoneId": "us-east-1a",
            "externalRegionId": "us-east-1",
            "cloudAccountIds": [
                9e+49
            ],
            "deploymentId": "123e4567-e89b-12d3-a456-426655440000",
            "provisioningStatus": "string",
            "tags": [
                {
                    "key": "ownedBy",
                    "value": "Rainpole"
                }
            ],
            "customProperties": {
                "property": "value"
            },
            "powerState": "ON, OFF",
            "address": "34.242.21.5",
            "hostname": "string",
            "bootConfig": {
                "content": "#cloud-config\nrepo_update: true\nrepo_upgrade: all\n\npackages:\n - mysql-server\n\nruncmd:\n - sed -e '/bind-address/ s/^#*/#/' -i /etc/mysql/mysql.conf.d/mysqld.cnf\n - service mysql restart\n - mysql -e \"GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'mysqlpassword';\"\n - mysql -e \"FLUSH PRIVILEGES;\"\n"
            },
            "saltConfiguration": {
                "masterId": "string",
                "minionId": "string",
                "saltEnvironment": "string",
                "pillarEnvironment": "string",
                "installerFileName": "string",
                "stateFiles": [
                    "string"
                ],
                "variables": {
                    "variables": "string"
                },
                "additionalAuthParams": {
                    "additionalAuthParams": "string"
                },
                "additionalMinionParams": {
                    "additionalMinionParams": "string"
                }
            }
        }
    ],
    "totalElements": 1,
    "numberOfElements": 1
}
array of Machine
content
Read-Only  

List of content items

integer As int64 As int64
totalElements
Read-Only  

Total number of elements. In some cases the field may not be populated

integer As int64 As int64
numberOfElements
Read-Only  

Number of elements in the current page

Returned By