Cloud.Azure.Machine
Request schema for provisioning of an Azure machine resource
{
"account": "string",
"activeDirectory": {
"relativeDN": "string"
},
"address": "string",
"attachedDisks": [
{
"source": "string"
}
],
"availabilitySetName": "string",
"bootDiagnostics": false,
"cloudConfig": "string",
"cloudConfigSettings": {
"phoneHomeFailOnTimeout": false,
"phoneHomeShouldWait": false,
"phoneHomeTimeoutSeconds": 0
},
"constraints": [
{
"tag": "string"
}
],
"count": 0,
"doNotAttachAvailabilitySet": false,
"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",
"resourceName": "string",
"saltConfiguration": {
"installerFileName": "string",
"masterId": "string",
"minionId": "string",
"pillarEnvironment": "string",
"saltEnvironment": "string",
"stateFiles": [
"string"
]
},
"storage": {
"bootDiskCapacityInGB": 0,
"bootDiskName": "string",
"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.
Name of the availability set that this machine is going to be part of.
Boot diagnostics is a debugging feature for Azure virtual machines (VM) that allows diagnosis of VM boot failures. Boot diagnostics enables a user to observe the state of their VM as it is booting up by collecting serial log information and screenshots.
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.
If this property is true, the machine is not going to be created within an availability set (the default value is false)
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.
The actual name of the machine determined after the allocation.
Specify Salt configuration to be applied on the target host
Settings for constraining to the correct storage at provisioning time.
Resource categorization, in case-sensitive key names, or in key-value pairs.