Cloud.vSphere.Machine
Request schema for provisioning of a vSphere machine resource
{
"account": "string",
"address": "string",
"attachedDisks": [
{
"source": "string"
}
],
"checkImageSSLCertificate": false,
"cloudConfig": "string",
"cloudConfigSettings": {
"phoneHomeFailOnTimeout": false,
"phoneHomeShouldWait": false,
"phoneHomeTimeoutSeconds": 0
},
"constraints": [
{
"tag": "string"
}
],
"cpuCount": 0,
"customizationSpec": "string",
"flavor": "string",
"folderName": "string",
"groupPlacement": "string",
"image": "string",
"imageRef": "string",
"name": "string",
"networks": [
{
"address": "string",
"assignIPv6Address": false,
"assignPublicIpAddress": false,
"assignment": "string",
"deviceIndex": 0,
"name": "string",
"network": "string",
"tags": [
{
"key": "string",
"value": "string"
}
]
}
],
"osType": "string",
"ovfProperties": [
{
"key": "string",
"value": "string"
}
],
"powerState": "string",
"project": "string",
"region": "string",
"remoteAccess": {
"authentication": "string",
"password": "string",
"privateKey": "string",
"sshKey": "string",
"username": "string"
},
"snapshotLimit": 0,
"storage": {
"bootDiskCapacityInGB": 0,
"constraints": [
{
"tag": "string"
}
],
"maxDiskCapacityInGB": 0
},
"tags": [
{
"key": "string",
"value": "string"
}
],
"totalMemoryMB": 0
}
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.
The purpose of this boolean property is whether to skip or validate SSL/TLS certificate when streaming OVF or OVA.
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.
Number of virtual processors to assign to this machine. The default is 1.
If machine settings from a vSphere customization spec need to be applied upon creation, the name of the customization spec to use, which must exist on the endpoint. Example customizations include host, network, and licensing settings.
Generic types of compute resources, mapped in an environment to specific types of compute resources.
The path to the folder where the virtual machine is provisioned, relative to the datacenter that the resource pool is in.
Group Placement
Generic compute images, mapped in an environment to specific compute resource images.
vSphere image used for creating the machine. Examples include templates, OVA or OVF links, snapshots, and content libraries.
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.
Map of key, value pairs. key is the ovf key for a property in an OVF package. value is the ovf value for a property in an ovf package.
Machine power state of ON, OFF, GUEST_OFF, UNKNOWN, or SUSPEND.
Cloud Assembly project under which the machine is provisioned.
Datacenter name where the machine landed.
Settings to remotely connect to the provisioned machine, by public/private key pair or username/password authentication. vSphere supports key pair but not username/password.
Maximum number of snapshots allowed for the machine.
Settings for constraining to the correct storage at provisioning time.
Resource categorization, in case-sensitive key names, or in key-value pairs.
Machine virtual memory size in megabytes. The default is 1024 MB (1GB).