Cloud.Azure.Machine
Request schema for provisioning of an Azure machine resource
{
"account": "string",
"activeDirectory": {
"relativeDN": "string"
},
"address": "string",
"attachedDisks": [
{
"source": "string"
}
],
"cloudConfig": "string",
"cloudConfigSettings": {
"phoneHomeFailOnTimeout": false,
"phoneHomeShouldWait": false,
"phoneHomeTimeoutSeconds": 0
},
"constraints": [
{
"tag": "string"
}
],
"count": 0,
"extensions": [
{
"autoUpgradeMinorVersion": false,
"name": "string",
"publisher": "string",
"type": "string",
"typeHandlerVersion": "string"
}
],
"flavor": "string",
"ignoreActiveDirectory": "string",
"image": "string",
"imageRef": "string",
"name": "string",
"networks": [
{
"address": "string",
"assignPublicIpAddress": false,
"assignment": "string",
"deviceIndex": 0,
"network": "string"
}
],
"osType": "string",
"powerState": "string",
"project": "string",
"providerId": "string",
"region": "string",
"remoteAccess": {
"authentication": "string",
"password": "string",
"privateKey": "string",
"sshKey": "string",
"username": "string"
},
"resourceGroupName": "string",
"storage": {
"bootDiskCapacityInGB": 0,
"constraints": [
{
"tag": "string"
}
],
"managedDiskType": "string",
"maxDiskCapacityInGB": 0,
"storageAccountName": "string"
},
"tags": [
{
"key": "string",
"value": "string"
}
]
}
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
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.
The number of resource instances to be created.
Azure VM extensions to be created and attached when provisioning this machine. There are three properties that uniquely identify the Azure Extension - "publisher", "type" and "typeHandlerVersion". For the list of available Azure extensions see: https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/features-windows#common-vm-extensions-reference and https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/features-linux#common-vm-extension-reference.
Azure instance type.
Indicates that the machine is not added to Active Directory by a policy. It skips the Active Directory policy.
Generic machine images, mapped in an environment to specific compute resource images.
Azure machine image used to create the instance.
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. Indicates project ID.
A unique identifier of the resource in the context of the provider.
Location where the machine landed.
Settings to remotely connect to the provisioned machine, by public/private key pair or username/password authentication.
Name of the resource group that holds all related resources.
Settings for constraining to the correct storage at provisioning time.
Resource categorization, in case-sensitive key names, or in key-value pairs.