Cloud.GCP.Machine
Request schema for provisioning of GCP machine resource
{
"account": "string",
"activeDirectory": {
"relativeDN": "string"
},
"address": "string",
"attachedDisks": [
{
"source": "string"
}
],
"cloudConfig": "string",
"constraints": [
{
"tag": "string"
}
],
"count": 0,
"externalLink": "string",
"flavor": "string",
"ignoreActiveDirectory": "string",
"image": "string",
"imageRef": "string",
"name": "string",
"networks": [
{
"address": "string",
"assignPublicIpAddress": false,
"assignment": "string",
"deviceIndex": 0,
"network": "string"
}
],
"powerState": "string",
"project": "string",
"providerId": "string",
"region": "string",
"storage": {
"bootDiskCapacityInGB": 0,
"constraints": [
{
"tag": "string"
}
],
"maxDiskCapacityInGB": 0
},
"tags": [
{
"key": "string",
"value": "string"
}
],
"useSoleTenant": false
}
Cloud Account indicates the name of the endpoint used to provision this machine.
Active Directory Configuration
Machine IP address, populated by discovery or provisioning.
List of disks to attach to the machine.
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
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.
The number of resource instances to be created.
URL to the machine on the GCP console.
Generic types of compute resources, mapped in an environment to specific types of compute resources.
Indicates that the machine is not added to Active Directory by a policy. It skips the Active Directory policy.
Generic compute images, mapped in an environment to specific compute resource images.
GCP image used for creating the instance.
Machine name.
Networks to attach to the machine. Multiple network interfaces are allowed.
Machine power state of ON, OFF, GUEST_OFF, UNKNOWN, or SUSPEND.
Cloud Assembly project under which the machine is provisioned. Indicates project ID.
A unique identifier of the resource in the context of the provider.
Location where the machine landed.
Settings for constraining to the correct storage at provisioning time.
Resource categorization, in case-sensitive key names, or in key-value pairs.
Indicates user intent whether to deploy Machine on GCP sole-tenant node or not. This property needs to be used in conjunction with constraint tags on machine. The machine constraint tags should be exactly same as the node affinity labels defined by the user in GCP node templates. These tags will lead to the placement of machine in a GCP node group. User defined Node Affinity Labels are automatically discovered on GCP and applied as tags on vRA Availability zones.