linkThe machine object
Below you will find the various attributes for the machine resource, as well as the machine resource's relationships. Machines can be used to track and manage where your users are allowed to use your product.
linkAttributes
linkdata.attributes.fingerprint
stringThe fingerprint of the machine. This can be an arbitrary string, but must be unique within the scope of the license it belongs to.
linkdata.attributes.maxProcesses
integerread onlyThe maximum number of processes the machine can have associated with it. Inherited from its license.
linkdata.attributes.requireHeartbeat
booleanread onlyWhether or not the machine requires heartbeat pings, i.e. the policy requires heartbeats, or the machine has an active heartbeat monitor.
linkdata.attributes.heartbeatStatus
stringread onlyThe status of the machine's heartbeat. One of:
NOT_STARTED
,ALIVE
,DEAD
, orRESURRECTED
.linkdata.attributes.heartbeatDuration
integerread onlyThe policy's heartbeat duration. When a heartbeat monitor is active, the machine must send a heartbeat ping within this timeframe to remain activated.
linkdata.attributes.lastHeartbeat
timestamp (iso8601)read onlyWhen the machine last sent a heartbeat ping. This is
null
if the machine does not require a heartbeat.linkdata.attributes.nextHeartbeat
timestamp (iso8601)read onlyThe time at which the machine is required to send a heartbeat ping by. This is
null
if the machine does not require a heartbeat.
linkRelationships
Example object
{ "data": { "id": "9c4c90c8-d4d3-4571-9363-4c7b0332a6a4", "type": "machines", "links": { "self": "/v1/accounts/<account>/machines/9c4c90c8-d4d3-4571-9363-4c7b0332a6a4" }, "attributes": { "fingerprint": "4d:Eq:UV:D3:XZ:tL:WN:Bz:mA:Eg:E6:Mk:YX:dK:NC", "cores": null, "ip": null, "hostname": null, "platform": "macOS", "name": "Office MacBook Pro", "maxProcesses": null, "requireHeartbeat": false, "heartbeatStatus": "NOT_STARTED", "heartbeatDuration": 600, "lastHeartbeat": null, "nextHeartbeat": null, "lastCheckOut": null, "metadata": {}, "created": "2017-01-02T20:26:53.464Z", "updated": "2017-01-02T20:26:53.464Z" }, "relationships": { "account": { "links": { "related": "/v1/accounts/<account>" }, "data": { "type": "accounts", "id": "<account>" } }, "product": { "links": { "related": "/v1/accounts/<account>/machines/9c4c90c8-d4d3-4571-9363-4c7b0332a6a4/product" }, "data": { "type": "products", "id": "22b78db6-6a2e-4a7f-9369-157976148c4c" } }, "license": { "links": { "related": "/v1/accounts/<account>/machines/9c4c90c8-d4d3-4571-9363-4c7b0332a6a4/license" }, "data": { "type": "licenses", "id": "4097d726-6cc5-4156-8575-3a96387e19b4" } }, "group": { "links": { "related": "/v1/accounts/<account>/machines/9c4c90c8-d4d3-4571-9363-4c7b0332a6a4/group" }, "data": null }, "owner": { "links": { "related": "/v1/accounts/<account>/machines/9c4c90c8-d4d3-4571-9363-4c7b0332a6a4/owner" }, "data": { "type": "users", "id": "15ad7012-b570-48b7-88c1-fbab68be9d05" } }, "components": { "links": { "related": "/v1/accounts/<account>/machines/9c4c90c8-d4d3-4571-9363-4c7b0332a6a4/components" } }, "processes": { "links": { "related": "/v1/accounts/<account>/machines/9c4c90c8-d4d3-4571-9363-4c7b0332a6a4/processes" } } } }}