Create Machine
Create machine
The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about
Machine Specification instance
"MachineSpecification Object"
Type of image used for this machine.
A set of disk specifications for this machine.
Constraints that are used to drive placement policies for the image disk. Constraint expressions are matched against tags on existing placement targets.
Describes machine within the scope of your organization and is not propagated to the cloud
Number of machines to provision - default 1.
Constraints that are used to drive placement policies for the virtual machine that is produced from this specification. Constraint expressions are matched against tags on existing placement targets.
A set of tag keys and optional values that should be set on any resource that is produced from this specification.
Flavor of machine instance.
Additional custom properties that may be used to extend the machine.
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.
A human-friendly name used as an identifier in APIs that support this option.
A set of network interface controller specifications for this machine. If not specified, then a default network connection will be created.
Direct image reference used for this machine (name, path, location, uri, etc.). Valid if no image property is provided
The id of the project the current user belongs to.
successful operation
{
"name": "Power-off",
"progress": 90,
"resources": [
"string"
],
"id": "we655aew4e8e",
"message": "In Progress",
"status": "FINISHED",
"selfLink": "/.../request-tracker/we655aew4e8e"
}
Name of the operation.
Progress of the request as percentage.
Collection of resources.
ID of this request.
Status message of the request.
Status of the request.
Self link of this request.
Invalid Request - bad data
Forbidden
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/iaas/api/machines