Cloud.Azure.Machine
Request schema for provisioning of an Azure machine resource
{
"account": "string",
"activeDirectory": {
"finalRelativeDN": "string",
"relativeDN": "string",
"securityGroup": "string"
},
"address": "string",
"attachAvailabilityZone": false,
"attachedDisks": [
{
"source": "string"
}
],
"automaticOSPatchUpdate": false,
"availabilitySetName": "string",
"bootDiagnostics": false,
"cloudConfig": "string",
"cloudConfigSettings": {
"deploymentFailOnCloudConfigRuntimeError": false,
"phoneHomeFailOnTimeout": false,
"phoneHomeShouldWait": false,
"phoneHomeTimeoutSeconds": 0
},
"constraints": [
{
"tag": "string"
}
],
"count": 0,
"doNotAttachAvailabilitySet": false,
"extensions": [
{
"autoUpgradeMinorVersion": false,
"name": "string",
"protectedSettings": {},
"publisher": "string",
"settings": {},
"type": "string",
"typeHandlerVersion": "string"
}
],
"flavor": "string",
"flavorRef": "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",
"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.
If this property is true, the machine is going to be placed on availability zone if supported by the cloud
List of disks to attach to the machine.
If this property is false, the machine needs manual effort to update OS patches
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.
Provider specific flavor reference. Valid if no flavor property is provided.
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.
VMware Aria Automation Assembler 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.
Settings for constraining to the correct storage at provisioning time.
Resource categorization, in case-sensitive key names, or in key-value pairs.