Cloud.Machine
Request schema for provisioning of any prelude machine resource
{
"account": "string",
"address": "string",
"attachedDisks": [
{
"source": "string"
}
],
"autoScaleConfiguration": {
"desiredCapacity": 0,
"maxSize": 0,
"metricScaleRules": [
{
"action": {
"cooldown": 0,
"type": "string",
"value": 0
},
"trigger": {
"evaluationPeriods": 0,
"metric": "string",
"operator": "string",
"period": 0,
"statistic": "string",
"threshold": "number"
}
}
],
"minSize": 0,
"policy": "string",
"scheduledScaleRules": [
{
"desiredCapacity": 0,
"maxSize": 0,
"minSize": 0,
"recurrence": "string"
}
]
},
"cloudConfig": "string",
"cloudConfigSettings": {
"phoneHomeFailOnTimeout": false,
"phoneHomeShouldWait": false,
"phoneHomeTimeoutSeconds": 0
},
"constraints": [
{
"tag": "string"
}
],
"endpointType": "string",
"externalLink": "string",
"flavor": "string",
"image": "string",
"imageRef": "string",
"name": "string",
"networks": [
{
"address": "string",
"assignPublicIpAddress": false,
"assignment": "string",
"deviceIndex": 0,
"name": "string",
"network": "string",
"ports": "string",
"securityGroups": [
"string"
],
"tags": [
{
"key": "string",
"value": "string"
}
]
}
],
"osType": "string",
"powerState": "string",
"project": "string",
"region": "string",
"remoteAccess": {
"authentication": "string",
"keyPair": "string",
"password": "string",
"privateKey": "string",
"sshKey": "string",
"username": "string"
},
"resourceGroupName": "string",
"storage": {
"bootDiskCapacityInGB": 0,
"constraints": [
{
"tag": "string"
}
],
"maxDiskCapacityInGB": 0
},
"tags": [
{
"key": "string",
"value": "string"
}
],
"zone": "string"
}
Cloud Account indicates the name of the endpoint used to provision this machine.
Machine IP address, populated by discovery or provisioning.
List of disks to attach to the machine.
Settings for an auto scaling group for this machine, which automatically increases or decreases resources based on policies.
When provisioning an instance, machine cloud-init startup instructions from user data fields. Sample cloud config instructions:
#cloud-config
repo_update: true
repo_upgrade: all
packages:
- httpd
- mariadb-server
runcmd:
- [ sh, -c, "amazon-linux-extras install -y lamp-mariadb10.2-php7.2 php7.2" ]
- systemctl start httpd
- sudo systemctl enable httpd
Specify how the provided Cloud Config should be handled
To target the correct resources, blueprint constraints are matched against infrastructure capability tags. Constraints must include the key name. Options include value, negative[!], and hard or soft requirement.
Cloud provider, AWS, Azure, or vSphere.
URL to the machine on the AWS console or Azure management dashboard.
Generic types of compute resources, mapped in an environment to specific types of compute resources.
Generic compute images, mapped in an environment to specific compute resource images.
Image used for creating the machine. Examples include templates, OVA or OVF links, snapshots, content libraries, Amazon machine images, and Azure images.
Machine name.
Networks to attach to the machine. Multiple network interfaces are allowed.
Operating system of the machine, populated by discovery or provisioning. Values include WINDOWS and LINUX.
Machine power state of ON, OFF, GUEST_OFF, UNKNOWN, or SUSPEND.
Cloud Assembly project under which the machine is provisioned.
Region name where machine landed.
Settings to remotely connect to the provisioned machine, by public/private key pair or username/password authentication. AWS and vSphere support key pair. Azure supports key pair or username/password.
Name of the existing Azure resource group into which the machine will be provisioned.
Settings for constraining to the correct storage at provisioning time.
Resource categorization, in case-sensitive key names, or in key-value pairs.
Zone name where machine landed