Machine
Represents a cloud agnostic machine.
HATEOAS links:
operations - array[String] - Supported operations for the machine.
network-interfaces - array[NetworkInterface] - Network interfaces for the machine.
disks - array[MachineDisk] - disks for the machine.
deployment - Deployment - Deployment that this machine is part of.
cloud-accounts - array[CloudAccount] - Cloud accounts where this machine is provisioned.
self - Machine - Self link to this machine
{
"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"
}
}
}
The id of this resource instance
Date when the entity was created. The date is in ISO 8601 and UTC.
Date when the entity was last updated. The date is ISO 8601 and UTC.
Email of the user or display name of the group that owns the entity.
Type of a owner(user/ad_group) that owns the entity.
The id of the organization this entity belongs to.
HATEOAS of the entity
A human-friendly name used as an identifier in APIs that support this option.
A human-friendly description.
External entity Id on the provider side.
The id of the project this resource belongs to.
The external zoneId of the resource.
The external regionId of the resource.
Set of ids of the cloud accounts this resource belongs to.
Deployment id that is associated with this resource.
The provisioning status of the resource. One of three provisioning statuses.
PROVISIONING
: The resource is being provisioned.
READY
: The resource is already provisioned.
SUSPEND
: The resource is being destroyed.
Additional properties that may be used to extend the base resource.
Power state of machine.
Primary address allocated or in use by this machine. The actual type of the address depends on the adapter type. Typically it is either the public or the external IP address.
Hostname associated with this machine instance.
Machine boot config that will be passed to the instance that can be used to perform common automated configuration tasks and even run scripts after the instance starts.
Represents salt configuration settings that has to be applied on the machine. To successfully apply the configurations, remoteAccess property is mandatory.The supported remoteAccess authentication types are usernamePassword and generatedPublicPrivateKey