diff --git a/schemas/2015-06-15/Microsoft.Compute.json b/schemas/2015-06-15/Microsoft.Compute.json
deleted file mode 100644
index 0c5d5d72a6..0000000000
--- a/schemas/2015-06-15/Microsoft.Compute.json
+++ /dev/null
@@ -1,2196 +0,0 @@
-{
- "id": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.json#",
- "title": "Microsoft.Compute",
- "description": "Microsoft Compute Resource Types",
- "$schema": "http://json-schema.org/draft-04/schema#",
- "resourceDefinitions": {
- "availabilitySets": {
- "description": "Microsoft.Compute/availabilitySets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2015-06-15"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the availability set.",
- "type": "string"
- },
- "properties": {
- "description": "The instance view of a resource.",
- "oneOf": [
- {
- "$ref": "#/definitions/AvailabilitySetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/availabilitySets"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets": {
- "description": "Microsoft.Compute/virtualMachineScaleSets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2015-06-15"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the VM scale set to create or update.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Scale Set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "The virtual machine scale set sku.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines": {
- "description": "Microsoft.Compute/virtualMachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2015-06-15"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachines_extensions_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachines"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- },
- "definitions": {
- "AdditionalUnattendContent": {
- "description": "Specifies additional XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is applied.",
- "properties": {
- "componentName": {
- "description": "The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup.",
- "oneOf": [
- {
- "enum": [
- "Microsoft-Windows-Shell-Setup"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "content": {
- "description": "Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted.",
- "type": "string"
- },
- "passName": {
- "description": "The pass name. Currently, the only allowable value is OobeSystem.",
- "oneOf": [
- {
- "enum": [
- "OobeSystem"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "settingName": {
- "description": "Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon.",
- "oneOf": [
- {
- "enum": [
- "AutoLogon",
- "FirstLogonCommands"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ApiEntityReference": {
- "description": "The API entity reference.",
- "properties": {
- "id": {
- "description": "The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...",
- "type": "string"
- }
- },
- "type": "object"
- },
- "AvailabilitySetProperties": {
- "description": "The instance view of a resource.",
- "properties": {
- "platformFaultDomainCount": {
- "description": "Fault Domain count.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformUpdateDomainCount": {
- "description": "Update Domain count.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "virtualMachines": {
- "description": "A list of references to all virtual machines in the availability set.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "BootDiagnostics": {
- "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.",
- "properties": {
- "enabled": {
- "description": "Whether boot diagnostics should be enabled on the Virtual Machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageUri": {
- "description": "Uri of the storage account to use for placing the console output and screenshot.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "DataDisk": {
- "description": "Describes a data disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machine should be created.
Possible values are:
**Attach** \\u2013 This value is used when you are using a specialized disk to create the virtual machine.
**FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "vhd": {
- "description": "The virtual hard disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun",
- "name",
- "vhd",
- "createOption"
- ],
- "type": "object"
- },
- "DiagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "properties": {
- "bootDiagnostics": {
- "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.",
- "oneOf": [
- {
- "$ref": "#/definitions/BootDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiskEncryptionSettings": {
- "description": "Describes a Encryption Settings for a Disk",
- "properties": {
- "diskEncryptionKey": {
- "description": "Specifies the location of the disk encryption key, which is a Key Vault Secret.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enabled": {
- "description": "Specifies whether disk encryption should be enabled on the virtual machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "keyEncryptionKey": {
- "description": "Specifies the location of the key encryption key in Key Vault.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultKeyReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "diskEncryptionKey"
- ],
- "type": "object"
- },
- "HardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "properties": {
- "vmSize": {
- "description": "Specifies the size of the virtual machine. For more information about virtual machine sizes, see [Sizes for virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-sizes?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
The available VM sizes depend on region and availability set. For a list of available sizes use these APIs:
[List all available virtual machine sizes in an availability set](https://docs.microsoft.com/rest/api/compute/availabilitysets/listavailablesizes)
[List all available virtual machine sizes in a region](https://docs.microsoft.com/rest/api/compute/virtualmachinesizes/list)
[List all available virtual machine sizes for resizing](https://docs.microsoft.com/rest/api/compute/virtualmachines/listavailablesizes)",
- "oneOf": [
- {
- "enum": [
- "Basic_A0",
- "Basic_A1",
- "Basic_A2",
- "Basic_A3",
- "Basic_A4",
- "Standard_A0",
- "Standard_A1",
- "Standard_A2",
- "Standard_A3",
- "Standard_A4",
- "Standard_A5",
- "Standard_A6",
- "Standard_A7",
- "Standard_A8",
- "Standard_A9",
- "Standard_A10",
- "Standard_A11",
- "Standard_D1",
- "Standard_D2",
- "Standard_D3",
- "Standard_D4",
- "Standard_D11",
- "Standard_D12",
- "Standard_D13",
- "Standard_D14",
- "Standard_D1_v2",
- "Standard_D2_v2",
- "Standard_D3_v2",
- "Standard_D4_v2",
- "Standard_D5_v2",
- "Standard_D11_v2",
- "Standard_D12_v2",
- "Standard_D13_v2",
- "Standard_D14_v2",
- "Standard_DS1",
- "Standard_DS2",
- "Standard_DS3",
- "Standard_DS4",
- "Standard_DS11",
- "Standard_DS12",
- "Standard_DS13",
- "Standard_DS14",
- "Standard_G1",
- "Standard_G2",
- "Standard_G3",
- "Standard_G4",
- "Standard_G5",
- "Standard_GS1",
- "Standard_GS2",
- "Standard_GS3",
- "Standard_GS4",
- "Standard_GS5"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. NOTE: Image reference publisher and offer can only be set when you create the scale set.",
- "properties": {
- "offer": {
- "description": "Specifies the offer of the platform image or marketplace image used to create the virtual machine.",
- "type": "string"
- },
- "publisher": {
- "description": "The image publisher.",
- "type": "string"
- },
- "sku": {
- "description": "The image SKU.",
- "type": "string"
- },
- "version": {
- "description": "Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "InstanceViewStatus": {
- "description": "Instance view status.",
- "properties": {
- "code": {
- "description": "The status code.",
- "type": "string"
- },
- "displayStatus": {
- "description": "The short localizable label for the status.",
- "type": "string"
- },
- "level": {
- "description": "The level code.",
- "oneOf": [
- {
- "enum": [
- "Info",
- "Warning",
- "Error"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "message": {
- "description": "The detailed status message, including for alerts and error messages.",
- "type": "string"
- },
- "time": {
- "description": "The time of the status.",
- "format": "date-time",
- "type": "string"
- }
- },
- "type": "object"
- },
- "KeyVaultKeyReference": {
- "description": "Describes a reference to Key Vault Key",
- "properties": {
- "keyUrl": {
- "description": "The URL referencing a key encryption key in Key Vault.",
- "type": "string"
- },
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing the key.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "keyUrl",
- "sourceVault"
- ],
- "type": "object"
- },
- "KeyVaultSecretReference": {
- "description": "Describes a reference to Key Vault Secret",
- "properties": {
- "secretUrl": {
- "description": "The URL referencing a secret in a Key Vault.",
- "type": "string"
- },
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing the secret.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "secretUrl",
- "sourceVault"
- ],
- "type": "object"
- },
- "LinuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).",
- "properties": {
- "disablePasswordAuthentication": {
- "description": "Specifies whether password authentication should be disabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ssh": {
- "description": "Specifies the ssh key configuration for a Linux OS.",
- "oneOf": [
- {
- "$ref": "#/definitions/SshConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkInterfaceReference": {
- "description": "Describes a network interface reference.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "properties": {
- "description": "Describes a network interface reference properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkInterfaceReferenceProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkInterfaceReferenceProperties": {
- "description": "Describes a network interface reference properties.",
- "properties": {
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "properties": {
- "networkInterfaces": {
- "description": "Specifies the list of resource Ids for the network interfaces associated with the virtual machine.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/NetworkInterfaceReference"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "OSDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machine should be created.
Possible values are:
**Attach** \\u2013 This value is used when you are using a specialized disk to create the virtual machine.
**FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettings": {
- "description": "Specifies the encryption settings for the OS Disk.
Minimum api-version: 2015-06-15",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhd": {
- "description": "The virtual hard disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "vhd",
- "createOption"
- ],
- "type": "object"
- },
- "OSProfile": {
- "description": "Specifies the operating system settings for the virtual machine.",
- "properties": {
- "adminPassword": {
- "description": "Specifies the password of the administrator account.
**Minimum-length (Windows):** 8 characters
**Minimum-length (Linux):** 6 characters
**Max-length (Windows):** 123 characters
**Max-length (Linux):** 72 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])
**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"
For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-reset-rdp?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-vmaccess-extension?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#reset-root-password)",
- "type": "string"
- },
- "adminUsername": {
- "description": "Specifies the name of the administrator account.
**Windows-only restriction:** Cannot end in \".\"
**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters
For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)",
- "type": "string"
- },
- "computerName": {
- "description": "Specifies the host OS name of the virtual machine.
This name cannot be updated after the VM is created.
**Max-length (Windows):** 15 characters
**Max-length (Linux):** 64 characters.
For naming conventions and restrictions see [Azure infrastructure services implementation guidelines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-infrastructure-subscription-accounts-guidelines?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#1-naming-conventions).",
- "type": "string"
- },
- "customData": {
- "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes.
For using cloud-init for your VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)",
- "type": "string"
- },
- "linuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "secrets": {
- "description": "Specifies set of certificates that should be installed onto the virtual machine.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultSecretGroup"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "windowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/WindowsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "properties": {
- "name": {
- "description": "The plan ID.",
- "type": "string"
- },
- "product": {
- "description": "Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.",
- "type": "string"
- },
- "promotionCode": {
- "description": "The promotion code.",
- "type": "string"
- },
- "publisher": {
- "description": "The publisher ID.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Sku": {
- "description": "Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name.",
- "properties": {
- "capacity": {
- "description": "Specifies the number of virtual machines in the scale set.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The sku name.",
- "type": "string"
- },
- "tier": {
- "description": "Specifies the tier of virtual machines in a scale set.
Possible Values:
**Standard**
**Basic**",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SshConfiguration": {
- "description": "SSH configuration for Linux based VMs running on Azure",
- "properties": {
- "publicKeys": {
- "description": "The list of SSH public keys used to authenticate with linux based VMs.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SshPublicKey"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SshPublicKey": {
- "description": "Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed.",
- "properties": {
- "keyData": {
- "description": "SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format.
For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-mac-create-ssh-keys?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).",
- "type": "string"
- },
- "path": {
- "description": "Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys",
- "type": "string"
- }
- },
- "type": "object"
- },
- "StorageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add a data disk to a virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/DataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/OSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SubResource": {
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "UpgradePolicy": {
- "description": "Describes an upgrade policy - automatic or manual.",
- "properties": {
- "mode": {
- "description": "Specifies the mode of an upgrade to virtual machines in the scale set.
Possible values are:
**Manual** - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.
**Automatic** - All virtual machines in the scale set are automatically updated at the same time.",
- "oneOf": [
- {
- "enum": [
- "Automatic",
- "Manual"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VaultCertificate": {
- "description": "Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM.",
- "properties": {
- "certificateStore": {
- "description": "For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account.
For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of these files are .pem formatted.",
- "type": "string"
- },
- "certificateUrl": {
- "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:
{
\"data\":\"\",
\"dataType\":\"pfx\",
\"password\":\"\"
}",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VaultSecretGroup": {
- "description": "Describes a set of certificates which are all in the same Key Vault.",
- "properties": {
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing all of the certificates in VaultCertificates.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vaultCertificates": {
- "description": "The list of key vault references in SourceVault which contain certificates.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultCertificate"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualHardDisk": {
- "description": "Describes the uri of a disk.",
- "properties": {
- "uri": {
- "description": "Specifies the virtual hard disk's uri.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineExtensionInstanceView": {
- "description": "The instance view of a virtual machine extension.",
- "properties": {
- "name": {
- "description": "The virtual machine extension name.",
- "type": "string"
- },
- "statuses": {
- "description": "The resource status information.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "substatuses": {
- "description": "The resource status information.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineExtensionProperties": {
- "description": "Describes the properties of a Virtual Machine Extension.",
- "properties": {
- "autoUpgradeMinorVersion": {
- "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "forceUpdateTag": {
- "description": "How the extension handler should be forced to update even if the extension configuration has not changed.",
- "type": "string"
- },
- "instanceView": {
- "description": "The virtual machine extension instance view.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionInstanceView"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedSettings": {
- "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publisher": {
- "description": "The name of the extension handler publisher.",
- "type": "string"
- },
- "settings": {
- "description": "Json formatted public settings for the extension.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineProperties": {
- "description": "Describes the properties of a Virtual Machine.",
- "properties": {
- "availabilitySet": {
- "description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/HardwareProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises. This element is only used for images that contain the Windows Server operating system.
Possible values are:
Windows_Client
Windows_Server
If this element is included in a request for an update, the value must match the initial value. This value cannot be updated.
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/StorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetExtension": {
- "description": "Describes a Virtual Machine Scale Set Extension.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "name": {
- "description": "The name of the extension.",
- "type": "string"
- },
- "properties": {
- "anyOf": [
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/genericExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/bgInfo"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/dscExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/acronisBackup"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/chefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/dockerExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/eset"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/puppetAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/customScript"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetExtensionProfile": {
- "description": "Describes a virtual machine scale set extension profile.",
- "properties": {
- "extensions": {
- "description": "The virtual machine scale set child extension resources.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetExtension"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetExtensionProperties": {
- "description": "Describes the properties of a Virtual Machine Scale Set Extension.",
- "properties": {
- "autoUpgradeMinorVersion": {
- "description": "Whether the extension handler should be automatically upgraded across minor versions.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedSettings": {
- "description": "Json formatted protected settings for the extension.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publisher": {
- "description": "The name of the extension handler publisher.",
- "type": "string"
- },
- "settings": {
- "description": "Json formatted public settings for the extension.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "The type of the extension handler.",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "The type version of the extension handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIPConfiguration": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "name": {
- "description": "The IP configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetIPConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetIPConfigurationProperties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration properties.",
- "properties": {
- "loadBalancerBackendAddressPools": {
- "description": "The load balancer backend address pools.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerInboundNatPools": {
- "description": "The load balancer inbound nat pools.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "subnet": {
- "description": "The subnet.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApiEntityReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "subnet"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfiguration": {
- "description": "Describes a virtual machine scale set network profile's network configurations.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "name": {
- "description": "The network configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfigurationProperties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "properties": {
- "ipConfigurations": {
- "description": "The virtual machine scale set IP Configuration.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetIPConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Whether this is a primary NIC on a virtual machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "ipConfigurations"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkProfile": {
- "description": "Describes a virtual machine scale set network profile.",
- "properties": {
- "networkInterfaceConfigurations": {
- "description": "The list of network configurations.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetOSDisk": {
- "description": "Describes a virtual machine scale set operating system disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machines in the scale set should be created.
The only allowed value is: **FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "The Source User Image VirtualHardDisk. This VirtualHardDisk will be copied before using it to attach to the Virtual Machine. If SourceImage is provided, the destination VirtualHardDisk should not exist.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhdContainers": {
- "description": "The list of virtual hard disk container uris.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "createOption"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetOSProfile": {
- "description": "Describes a virtual machine scale set OS profile.",
- "properties": {
- "adminPassword": {
- "description": "Specifies the password of the administrator account.
**Minimum-length (Windows):** 8 characters
**Minimum-length (Linux):** 6 characters
**Max-length (Windows):** 123 characters
**Max-length (Linux):** 72 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])
**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"
For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-reset-rdp?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-vmaccess-extension?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#reset-root-password)",
- "type": "string"
- },
- "adminUsername": {
- "description": "Specifies the name of the administrator account.
**Windows-only restriction:** Cannot end in \".\"
**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters
For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)",
- "type": "string"
- },
- "computerNamePrefix": {
- "description": "Specifies the computer name prefix for all of the virtual machines in the scale set. Computer name prefixes must be 1 to 15 characters long.",
- "type": "string"
- },
- "customData": {
- "description": "A base-64 encoded string of custom data.",
- "type": "string"
- },
- "linuxConfiguration": {
- "description": "The Linux Configuration of the OS profile.",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "secrets": {
- "description": "The List of certificates for addition to the VM.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultSecretGroup"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "windowsConfiguration": {
- "description": "The Windows Configuration of the OS profile.",
- "oneOf": [
- {
- "$ref": "#/definitions/WindowsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetProperties": {
- "description": "Describes the properties of a Virtual Machine Scale Set.",
- "properties": {
- "overProvision": {
- "description": "Specifies whether the Virtual Machine Scale Set should be overprovisioned.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisioningState": {
- "description": "The provisioning state, which only appears in the response.",
- "type": "string"
- },
- "upgradePolicy": {
- "description": "The upgrade policy.",
- "oneOf": [
- {
- "$ref": "#/definitions/UpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "virtualMachineProfile": {
- "description": "The virtual machine profile.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetStorageProfile": {
- "description": "Describes a virtual machine scale set storage profile.",
- "properties": {
- "imageReference": {
- "description": "The image reference.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "The OS disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetOSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProfile": {
- "description": "Describes a virtual machine scale set virtual machine profile.",
- "properties": {
- "extensionProfile": {
- "description": "The virtual machine scale set extension profile.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetExtensionProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkProfile": {
- "description": "The virtual machine scale set network profile.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "The virtual machine scale set OS profile.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetOSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "The virtual machine scale set storage profile.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WinRMConfiguration": {
- "description": "Describes Windows Remote Management configuration of the VM",
- "properties": {
- "listeners": {
- "description": "The list of Windows Remote Management listeners",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/WinRMListener"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WinRMListener": {
- "description": "Describes Protocol and thumbprint of Windows Remote Management listener",
- "properties": {
- "certificateUrl": {
- "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:
{
\"data\":\"\",
\"dataType\":\"pfx\",
\"password\":\"\"
}",
- "type": "string"
- },
- "protocol": {
- "description": "Specifies the protocol of listener.
Possible values are:
**http**
**https**",
- "oneOf": [
- {
- "enum": [
- "Http",
- "Https"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WindowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "properties": {
- "additionalUnattendContent": {
- "description": "Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/AdditionalUnattendContent"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticUpdates": {
- "description": "Indicates whether virtual machine is enabled for automatic updates.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionVMAgent": {
- "description": "Indicates whether virtual machine agent should be provisioned on the virtual machine.
When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "timeZone": {
- "description": "Specifies the time zone of the virtual machine. e.g. \"Pacific Standard Time\"",
- "type": "string"
- },
- "winRM": {
- "description": "Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.",
- "oneOf": [
- {
- "$ref": "#/definitions/WinRMConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "virtualMachines_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachines/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2015-06-15"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine extension.",
- "type": "string"
- },
- "properties": {
- "anyOf": [
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/genericExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/bgInfo"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/dscExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/acronisBackup"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/chefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/dockerExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/eset"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/puppetAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/customScript"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- }
-}
\ No newline at end of file
diff --git a/schemas/2016-03-30/Microsoft.Compute.json b/schemas/2016-03-30/Microsoft.Compute.json
deleted file mode 100644
index 82372b625f..0000000000
--- a/schemas/2016-03-30/Microsoft.Compute.json
+++ /dev/null
@@ -1,2276 +0,0 @@
-{
- "id": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.json#",
- "title": "Microsoft.Compute",
- "description": "Microsoft Compute Resource Types",
- "$schema": "http://json-schema.org/draft-04/schema#",
- "resourceDefinitions": {
- "availabilitySets": {
- "description": "Microsoft.Compute/availabilitySets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2016-03-30"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the availability set.",
- "type": "string"
- },
- "properties": {
- "description": "The instance view of a resource.",
- "oneOf": [
- {
- "$ref": "#/definitions/AvailabilitySetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/availabilitySets"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets": {
- "description": "Microsoft.Compute/virtualMachineScaleSets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2016-03-30"
- ],
- "type": "string"
- },
- "identity": {
- "description": "The identity of the virtual machine scale set, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the VM scale set to create or update.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Scale Set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "The virtual machine scale set sku.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines": {
- "description": "Microsoft.Compute/virtualMachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2016-03-30"
- ],
- "type": "string"
- },
- "identity": {
- "description": "The identity of the virtual machine, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachines_extensions_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachines"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- },
- "definitions": {
- "AdditionalUnattendContent": {
- "description": "Specifies additional XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is applied.",
- "properties": {
- "componentName": {
- "description": "The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup.",
- "oneOf": [
- {
- "enum": [
- "Microsoft-Windows-Shell-Setup"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "content": {
- "description": "Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted.",
- "type": "string"
- },
- "passName": {
- "description": "The pass name. Currently, the only allowable value is OobeSystem.",
- "oneOf": [
- {
- "enum": [
- "OobeSystem"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "settingName": {
- "description": "Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon.",
- "oneOf": [
- {
- "enum": [
- "AutoLogon",
- "FirstLogonCommands"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ApiEntityReference": {
- "description": "The API entity reference.",
- "properties": {
- "id": {
- "description": "The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...",
- "type": "string"
- }
- },
- "type": "object"
- },
- "AvailabilitySetProperties": {
- "description": "The instance view of a resource.",
- "properties": {
- "platformFaultDomainCount": {
- "description": "Fault Domain count.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformUpdateDomainCount": {
- "description": "Update Domain count.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "virtualMachines": {
- "description": "A list of references to all virtual machines in the availability set.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "BootDiagnostics": {
- "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.",
- "properties": {
- "enabled": {
- "description": "Whether boot diagnostics should be enabled on the Virtual Machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageUri": {
- "description": "Uri of the storage account to use for placing the console output and screenshot.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "DataDisk": {
- "description": "Describes a data disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machine should be created.
Possible values are:
**Attach** \\u2013 This value is used when you are using a specialized disk to create the virtual machine.
**FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "vhd": {
- "description": "The virtual hard disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun",
- "name",
- "vhd",
- "createOption"
- ],
- "type": "object"
- },
- "DiagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "properties": {
- "bootDiagnostics": {
- "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.",
- "oneOf": [
- {
- "$ref": "#/definitions/BootDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiskEncryptionSettings": {
- "description": "Describes a Encryption Settings for a Disk",
- "properties": {
- "diskEncryptionKey": {
- "description": "Specifies the location of the disk encryption key, which is a Key Vault Secret.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enabled": {
- "description": "Specifies whether disk encryption should be enabled on the virtual machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "keyEncryptionKey": {
- "description": "Specifies the location of the key encryption key in Key Vault.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultKeyReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "HardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "properties": {
- "vmSize": {
- "description": "Specifies the size of the virtual machine. For more information about virtual machine sizes, see [Sizes for virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-sizes?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
The available VM sizes depend on region and availability set. For a list of available sizes use these APIs:
[List all available virtual machine sizes in an availability set](https://docs.microsoft.com/rest/api/compute/availabilitysets/listavailablesizes)
[List all available virtual machine sizes in a region](https://docs.microsoft.com/rest/api/compute/virtualmachinesizes/list)
[List all available virtual machine sizes for resizing](https://docs.microsoft.com/rest/api/compute/virtualmachines/listavailablesizes)",
- "oneOf": [
- {
- "enum": [
- "Basic_A0",
- "Basic_A1",
- "Basic_A2",
- "Basic_A3",
- "Basic_A4",
- "Standard_A0",
- "Standard_A1",
- "Standard_A2",
- "Standard_A3",
- "Standard_A4",
- "Standard_A5",
- "Standard_A6",
- "Standard_A7",
- "Standard_A8",
- "Standard_A9",
- "Standard_A10",
- "Standard_A11",
- "Standard_D1",
- "Standard_D2",
- "Standard_D3",
- "Standard_D4",
- "Standard_D11",
- "Standard_D12",
- "Standard_D13",
- "Standard_D14",
- "Standard_D1_v2",
- "Standard_D2_v2",
- "Standard_D3_v2",
- "Standard_D4_v2",
- "Standard_D5_v2",
- "Standard_D11_v2",
- "Standard_D12_v2",
- "Standard_D13_v2",
- "Standard_D14_v2",
- "Standard_D15_v2",
- "Standard_DS1",
- "Standard_DS2",
- "Standard_DS3",
- "Standard_DS4",
- "Standard_DS11",
- "Standard_DS12",
- "Standard_DS13",
- "Standard_DS14",
- "Standard_DS1_v2",
- "Standard_DS2_v2",
- "Standard_DS3_v2",
- "Standard_DS4_v2",
- "Standard_DS5_v2",
- "Standard_DS11_v2",
- "Standard_DS12_v2",
- "Standard_DS13_v2",
- "Standard_DS14_v2",
- "Standard_DS15_v2",
- "Standard_G1",
- "Standard_G2",
- "Standard_G3",
- "Standard_G4",
- "Standard_G5",
- "Standard_GS1",
- "Standard_GS2",
- "Standard_GS3",
- "Standard_GS4",
- "Standard_GS5"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. NOTE: Image reference publisher and offer can only be set when you create the scale set.",
- "properties": {
- "offer": {
- "description": "Specifies the offer of the platform image or marketplace image used to create the virtual machine.",
- "type": "string"
- },
- "publisher": {
- "description": "The image publisher.",
- "type": "string"
- },
- "sku": {
- "description": "The image SKU.",
- "type": "string"
- },
- "version": {
- "description": "Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "InstanceViewStatus": {
- "description": "Instance view status.",
- "properties": {
- "code": {
- "description": "The status code.",
- "type": "string"
- },
- "displayStatus": {
- "description": "The short localizable label for the status.",
- "type": "string"
- },
- "level": {
- "description": "The level code.",
- "oneOf": [
- {
- "enum": [
- "Info",
- "Warning",
- "Error"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "message": {
- "description": "The detailed status message, including for alerts and error messages.",
- "type": "string"
- },
- "time": {
- "description": "The time of the status.",
- "format": "date-time",
- "type": "string"
- }
- },
- "type": "object"
- },
- "KeyVaultKeyReference": {
- "description": "Describes a reference to Key Vault Key",
- "properties": {
- "keyUrl": {
- "description": "The URL referencing a key encryption key in Key Vault.",
- "type": "string"
- },
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing the key.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "keyUrl",
- "sourceVault"
- ],
- "type": "object"
- },
- "KeyVaultSecretReference": {
- "description": "Describes a reference to Key Vault Secret",
- "properties": {
- "secretUrl": {
- "description": "The URL referencing a secret in a Key Vault.",
- "type": "string"
- },
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing the secret.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "secretUrl",
- "sourceVault"
- ],
- "type": "object"
- },
- "LinuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).",
- "properties": {
- "disablePasswordAuthentication": {
- "description": "Specifies whether password authentication should be disabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ssh": {
- "description": "Specifies the ssh key configuration for a Linux OS.",
- "oneOf": [
- {
- "$ref": "#/definitions/SshConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkInterfaceReference": {
- "description": "Describes a network interface reference.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "properties": {
- "description": "Describes a network interface reference properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkInterfaceReferenceProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkInterfaceReferenceProperties": {
- "description": "Describes a network interface reference properties.",
- "properties": {
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "properties": {
- "networkInterfaces": {
- "description": "Specifies the list of resource Ids for the network interfaces associated with the virtual machine.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/NetworkInterfaceReference"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "OSDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machine should be created.
Possible values are:
**Attach** \\u2013 This value is used when you are using a specialized disk to create the virtual machine.
**FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettings": {
- "description": "Specifies the encryption settings for the OS Disk.
Minimum api-version: 2015-06-15",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhd": {
- "description": "The virtual hard disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "vhd",
- "createOption"
- ],
- "type": "object"
- },
- "OSProfile": {
- "description": "Specifies the operating system settings for the virtual machine.",
- "properties": {
- "adminPassword": {
- "description": "Specifies the password of the administrator account.
**Minimum-length (Windows):** 8 characters
**Minimum-length (Linux):** 6 characters
**Max-length (Windows):** 123 characters
**Max-length (Linux):** 72 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])
**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"
For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-reset-rdp?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-vmaccess-extension?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#reset-root-password)",
- "type": "string"
- },
- "adminUsername": {
- "description": "Specifies the name of the administrator account.
**Windows-only restriction:** Cannot end in \".\"
**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters
For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)",
- "type": "string"
- },
- "computerName": {
- "description": "Specifies the host OS name of the virtual machine.
This name cannot be updated after the VM is created.
**Max-length (Windows):** 15 characters
**Max-length (Linux):** 64 characters.
For naming conventions and restrictions see [Azure infrastructure services implementation guidelines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-infrastructure-subscription-accounts-guidelines?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#1-naming-conventions).",
- "type": "string"
- },
- "customData": {
- "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes.
For using cloud-init for your VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)",
- "type": "string"
- },
- "linuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "secrets": {
- "description": "Specifies set of certificates that should be installed onto the virtual machine.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultSecretGroup"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "windowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/WindowsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "properties": {
- "name": {
- "description": "The plan ID.",
- "type": "string"
- },
- "product": {
- "description": "Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.",
- "type": "string"
- },
- "promotionCode": {
- "description": "The promotion code.",
- "type": "string"
- },
- "publisher": {
- "description": "The publisher ID.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Sku": {
- "description": "Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name.",
- "properties": {
- "capacity": {
- "description": "Specifies the number of virtual machines in the scale set.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The sku name.",
- "type": "string"
- },
- "tier": {
- "description": "Specifies the tier of virtual machines in a scale set.
Possible Values:
**Standard**
**Basic**",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SshConfiguration": {
- "description": "SSH configuration for Linux based VMs running on Azure",
- "properties": {
- "publicKeys": {
- "description": "The list of SSH public keys used to authenticate with linux based VMs.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SshPublicKey"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SshPublicKey": {
- "description": "Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed.",
- "properties": {
- "keyData": {
- "description": "SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format.
For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-mac-create-ssh-keys?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).",
- "type": "string"
- },
- "path": {
- "description": "Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys",
- "type": "string"
- }
- },
- "type": "object"
- },
- "StorageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add a data disk to a virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/DataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/OSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SubResource": {
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "UpgradePolicy": {
- "description": "Describes an upgrade policy - automatic or manual.",
- "properties": {
- "mode": {
- "description": "Specifies the mode of an upgrade to virtual machines in the scale set.
Possible values are:
**Manual** - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.
**Automatic** - All virtual machines in the scale set are automatically updated at the same time.",
- "oneOf": [
- {
- "enum": [
- "Automatic",
- "Manual"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VaultCertificate": {
- "description": "Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM.",
- "properties": {
- "certificateStore": {
- "description": "For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account.
For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of these files are .pem formatted.",
- "type": "string"
- },
- "certificateUrl": {
- "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:
{
\"data\":\"\",
\"dataType\":\"pfx\",
\"password\":\"\"
}",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VaultSecretGroup": {
- "description": "Describes a set of certificates which are all in the same Key Vault.",
- "properties": {
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing all of the certificates in VaultCertificates.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vaultCertificates": {
- "description": "The list of key vault references in SourceVault which contain certificates.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultCertificate"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualHardDisk": {
- "description": "Describes the uri of a disk.",
- "properties": {
- "uri": {
- "description": "Specifies the virtual hard disk's uri.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineExtensionInstanceView": {
- "description": "The instance view of a virtual machine extension.",
- "properties": {
- "name": {
- "description": "The virtual machine extension name.",
- "type": "string"
- },
- "statuses": {
- "description": "The resource status information.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "substatuses": {
- "description": "The resource status information.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineExtensionProperties": {
- "description": "Describes the properties of a Virtual Machine Extension.",
- "properties": {
- "autoUpgradeMinorVersion": {
- "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "forceUpdateTag": {
- "description": "How the extension handler should be forced to update even if the extension configuration has not changed.",
- "type": "string"
- },
- "instanceView": {
- "description": "The virtual machine extension instance view.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionInstanceView"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedSettings": {
- "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publisher": {
- "description": "The name of the extension handler publisher.",
- "type": "string"
- },
- "settings": {
- "description": "Json formatted public settings for the extension.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineIdentity": {
- "description": "Identity for the virtual machine.",
- "properties": {
- "type": {
- "description": "The type of identity used for the virtual machine. Currently, the only supported type is 'SystemAssigned', which implicitly creates an identity.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineProperties": {
- "description": "Describes the properties of a Virtual Machine.",
- "properties": {
- "availabilitySet": {
- "description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/HardwareProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises. This element is only used for images that contain the Windows Server operating system.
Possible values are:
Windows_Client
Windows_Server
If this element is included in a request for an update, the value must match the initial value. This value cannot be updated.
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/StorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetExtension": {
- "description": "Describes a Virtual Machine Scale Set Extension.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "name": {
- "description": "The name of the extension.",
- "type": "string"
- },
- "properties": {
- "anyOf": [
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/genericExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/bgInfo"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/dscExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/acronisBackup"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/chefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/dockerExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/eset"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/puppetAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/customScript"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetExtensionProfile": {
- "description": "Describes a virtual machine scale set extension profile.",
- "properties": {
- "extensions": {
- "description": "The virtual machine scale set child extension resources.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetExtension"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetExtensionProperties": {
- "description": "Describes the properties of a Virtual Machine Scale Set Extension.",
- "properties": {
- "autoUpgradeMinorVersion": {
- "description": "Whether the extension handler should be automatically upgraded across minor versions.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedSettings": {
- "description": "Json formatted protected settings for the extension.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publisher": {
- "description": "The name of the extension handler publisher.",
- "type": "string"
- },
- "settings": {
- "description": "Json formatted public settings for the extension.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "The type of the extension handler.",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "The type version of the extension handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIPConfiguration": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "name": {
- "description": "The IP configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetIPConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetIPConfigurationProperties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration properties.",
- "properties": {
- "applicationGatewayBackendAddressPools": {
- "description": "The application gateway backend address pools.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerBackendAddressPools": {
- "description": "The load balancer backend address pools.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerInboundNatPools": {
- "description": "The load balancer inbound nat pools.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "subnet": {
- "description": "The subnet.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApiEntityReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "subnet"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetIdentity": {
- "description": "Identity for the virtual machine scale set.",
- "properties": {
- "type": {
- "description": "The type of identity used for the virtual machine scale set. Currently, the only supported type is 'SystemAssigned', which implicitly creates an identity.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfiguration": {
- "description": "Describes a virtual machine scale set network profile's network configurations.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "name": {
- "description": "The network configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfigurationProperties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "properties": {
- "ipConfigurations": {
- "description": "The virtual machine scale set IP Configuration.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetIPConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Whether this is a primary NIC on a virtual machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "ipConfigurations"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkProfile": {
- "description": "Describes a virtual machine scale set network profile.",
- "properties": {
- "networkInterfaceConfigurations": {
- "description": "The list of network configurations.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetOSDisk": {
- "description": "Describes a virtual machine scale set operating system disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machines in the scale set should be created.
The only allowed value is: **FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "The Source User Image VirtualHardDisk. This VirtualHardDisk will be copied before using it to attach to the Virtual Machine. If SourceImage is provided, the destination VirtualHardDisk should not exist.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhdContainers": {
- "description": "The list of virtual hard disk container uris.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "createOption"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetOSProfile": {
- "description": "Describes a virtual machine scale set OS profile.",
- "properties": {
- "adminPassword": {
- "description": "Specifies the password of the administrator account.
**Minimum-length (Windows):** 8 characters
**Minimum-length (Linux):** 6 characters
**Max-length (Windows):** 123 characters
**Max-length (Linux):** 72 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])
**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"
For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-reset-rdp?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-vmaccess-extension?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#reset-root-password)",
- "type": "string"
- },
- "adminUsername": {
- "description": "Specifies the name of the administrator account.
**Windows-only restriction:** Cannot end in \".\"
**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters
For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)",
- "type": "string"
- },
- "computerNamePrefix": {
- "description": "Specifies the computer name prefix for all of the virtual machines in the scale set. Computer name prefixes must be 1 to 15 characters long.",
- "type": "string"
- },
- "customData": {
- "description": "A base-64 encoded string of custom data.",
- "type": "string"
- },
- "linuxConfiguration": {
- "description": "The Linux Configuration of the OS profile.",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "secrets": {
- "description": "The List of certificates for addition to the VM.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultSecretGroup"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "windowsConfiguration": {
- "description": "The Windows Configuration of the OS profile.",
- "oneOf": [
- {
- "$ref": "#/definitions/WindowsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetProperties": {
- "description": "Describes the properties of a Virtual Machine Scale Set.",
- "properties": {
- "overProvision": {
- "description": "Specifies whether the Virtual Machine Scale Set should be overprovisioned.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "upgradePolicy": {
- "description": "The upgrade policy.",
- "oneOf": [
- {
- "$ref": "#/definitions/UpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "virtualMachineProfile": {
- "description": "The virtual machine profile.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetStorageProfile": {
- "description": "Describes a virtual machine scale set storage profile.",
- "properties": {
- "imageReference": {
- "description": "The image reference.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "The OS disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetOSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProfile": {
- "description": "Describes a virtual machine scale set virtual machine profile.",
- "properties": {
- "extensionProfile": {
- "description": "The virtual machine scale set extension profile.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetExtensionProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkProfile": {
- "description": "The virtual machine scale set network profile.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "The virtual machine scale set OS profile.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetOSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "The virtual machine scale set storage profile.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WinRMConfiguration": {
- "description": "Describes Windows Remote Management configuration of the VM",
- "properties": {
- "listeners": {
- "description": "The list of Windows Remote Management listeners",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/WinRMListener"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WinRMListener": {
- "description": "Describes Protocol and thumbprint of Windows Remote Management listener",
- "properties": {
- "certificateUrl": {
- "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:
{
\"data\":\"\",
\"dataType\":\"pfx\",
\"password\":\"\"
}",
- "type": "string"
- },
- "protocol": {
- "description": "Specifies the protocol of listener.
Possible values are:
**http**
**https**",
- "oneOf": [
- {
- "enum": [
- "Http",
- "Https"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WindowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "properties": {
- "additionalUnattendContent": {
- "description": "Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/AdditionalUnattendContent"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticUpdates": {
- "description": "Indicates whether virtual machine is enabled for automatic updates.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionVMAgent": {
- "description": "Indicates whether virtual machine agent should be provisioned on the virtual machine.
When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "timeZone": {
- "description": "Specifies the time zone of the virtual machine. e.g. \"Pacific Standard Time\"",
- "type": "string"
- },
- "winRM": {
- "description": "Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.",
- "oneOf": [
- {
- "$ref": "#/definitions/WinRMConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "virtualMachines_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachines/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2016-03-30"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine extension.",
- "type": "string"
- },
- "properties": {
- "anyOf": [
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/genericExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/bgInfo"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/dscExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/acronisBackup"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/chefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/dockerExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/eset"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/puppetAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/customScript"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- }
-}
\ No newline at end of file
diff --git a/schemas/2016-04-30-preview/Microsoft.Compute.json b/schemas/2016-04-30-preview/Microsoft.Compute.json
deleted file mode 100644
index ee4606dc2c..0000000000
--- a/schemas/2016-04-30-preview/Microsoft.Compute.json
+++ /dev/null
@@ -1,3135 +0,0 @@
-{
- "id": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.json#",
- "title": "Microsoft.Compute",
- "description": "Microsoft Compute Resource Types",
- "$schema": "http://json-schema.org/draft-04/schema#",
- "resourceDefinitions": {
- "availabilitySets": {
- "description": "Microsoft.Compute/availabilitySets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2016-04-30-preview"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the availability set.",
- "type": "string"
- },
- "properties": {
- "description": "The instance view of a resource.",
- "oneOf": [
- {
- "$ref": "#/definitions/AvailabilitySetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "Sku of the availability set",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/availabilitySets"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "disks": {
- "description": "Microsoft.Compute/disks",
- "properties": {
- "apiVersion": {
- "enum": [
- "2016-04-30-preview"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Disk resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/disks"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "images": {
- "description": "Microsoft.Compute/images",
- "properties": {
- "apiVersion": {
- "enum": [
- "2016-04-30-preview"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the image.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of an Image.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/images"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "snapshots": {
- "description": "Microsoft.Compute/snapshots",
- "properties": {
- "apiVersion": {
- "enum": [
- "2016-04-30-preview"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the snapshot within the given subscription and resource group.",
- "type": "string"
- },
- "properties": {
- "description": "Disk resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/snapshots"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets": {
- "description": "Microsoft.Compute/virtualMachineScaleSets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2016-04-30-preview"
- ],
- "type": "string"
- },
- "identity": {
- "description": "The identity of the virtual machine scale set, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the VM scale set to create or update.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Scale Set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "The virtual machine scale set sku.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines": {
- "description": "Microsoft.Compute/virtualMachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2016-04-30-preview"
- ],
- "type": "string"
- },
- "identity": {
- "description": "The identity of the virtual machine, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachines_extensions_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachines"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- },
- "definitions": {
- "AdditionalUnattendContent": {
- "description": "Specifies additional XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is applied.",
- "properties": {
- "componentName": {
- "description": "The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup.",
- "oneOf": [
- {
- "enum": [
- "Microsoft-Windows-Shell-Setup"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "content": {
- "description": "Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted.",
- "type": "string"
- },
- "passName": {
- "description": "The pass name. Currently, the only allowable value is OobeSystem.",
- "oneOf": [
- {
- "enum": [
- "OobeSystem"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "settingName": {
- "description": "Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon.",
- "oneOf": [
- {
- "enum": [
- "AutoLogon",
- "FirstLogonCommands"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ApiEntityReference": {
- "description": "The API entity reference.",
- "properties": {
- "id": {
- "description": "The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...",
- "type": "string"
- }
- },
- "type": "object"
- },
- "AvailabilitySetProperties": {
- "description": "The instance view of a resource.",
- "properties": {
- "managed": {
- "description": "If the availability set supports managed disks.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformFaultDomainCount": {
- "description": "Fault Domain count.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformUpdateDomainCount": {
- "description": "Update Domain count.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "virtualMachines": {
- "description": "A list of references to all virtual machines in the availability set.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "BootDiagnostics": {
- "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.",
- "properties": {
- "enabled": {
- "description": "Whether boot diagnostics should be enabled on the Virtual Machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageUri": {
- "description": "Uri of the storage account to use for placing the console output and screenshot.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "CreationData": {
- "description": "Data used when creating a disk.",
- "properties": {
- "createOption": {
- "description": "This enumerates the possible sources of a disk's creation.",
- "oneOf": [
- {
- "enum": [
- "Empty",
- "Attach",
- "FromImage",
- "Import",
- "Copy",
- "Restore"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Disk source information.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageDiskReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sourceResourceId": {
- "description": "If createOption is Copy, this is the ARM id of the source snapshot or disk. If createOption is Restore, this is the ARM-like id of the source disk restore point.",
- "type": "string"
- },
- "sourceUri": {
- "description": "If createOption is Import, this is a SAS URI to a blob to be imported into a managed disk. If createOption is Copy, this is a relative Uri containing the id of the source snapshot to be copied into a managed disk.",
- "type": "string"
- },
- "storageAccountId": {
- "description": "If createOption is Import, the Azure Resource Manager identifier of the storage account containing the blob to import as a disk. Required only if the blob is in a different subscription",
- "type": "string"
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "DataDisk": {
- "description": "Describes a data disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machine should be created.
Possible values are:
**Attach** \\u2013 This value is used when you are using a specialized disk to create the virtual machine.
**FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/ManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "vhd": {
- "description": "The virtual hard disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun",
- "createOption"
- ],
- "type": "object"
- },
- "DiagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "properties": {
- "bootDiagnostics": {
- "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.",
- "oneOf": [
- {
- "$ref": "#/definitions/BootDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiskEncryptionSettings": {
- "description": "Describes a Encryption Settings for a Disk",
- "properties": {
- "diskEncryptionKey": {
- "description": "Specifies the location of the disk encryption key, which is a Key Vault Secret.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enabled": {
- "description": "Specifies whether disk encryption should be enabled on the virtual machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "keyEncryptionKey": {
- "description": "Specifies the location of the key encryption key in Key Vault.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultKeyReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiskProperties": {
- "description": "Disk resource properties.",
- "properties": {
- "accountType": {
- "description": "the storage account type of the disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "creationData": {
- "description": "Disk source information. CreationData information cannot be changed after the disk has been created.",
- "oneOf": [
- {
- "$ref": "#/definitions/CreationData"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "If creationData.createOption is Empty, this field is mandatory and it indicates the size of the VHD to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettings": {
- "description": "Encryption settings for disk or snapshot",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "The Operating System type.",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "creationData"
- ],
- "type": "object"
- },
- "EncryptionSettings": {
- "description": "Encryption settings for disk or snapshot",
- "properties": {
- "diskEncryptionKey": {
- "description": "Key Vault Secret Url and vault id of the disk encryption key",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultAndSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enabled": {
- "description": "Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "keyEncryptionKey": {
- "description": "Key Vault Key Url and vault id of the key encryption key",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultAndKeyReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "HardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "properties": {
- "vmSize": {
- "description": "Specifies the size of the virtual machine. For more information about virtual machine sizes, see [Sizes for virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-sizes?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
The available VM sizes depend on region and availability set. For a list of available sizes use these APIs:
[List all available virtual machine sizes in an availability set](virtualmachines-list-sizes-availability-set.md)
[List all available virtual machine sizes in a region](virtualmachines-list-sizes-region.md)
[List all available virtual machine sizes for resizing](virtualmachines-list-sizes-for-resizing.md)",
- "oneOf": [
- {
- "enum": [
- "Basic_A0",
- "Basic_A1",
- "Basic_A2",
- "Basic_A3",
- "Basic_A4",
- "Standard_A0",
- "Standard_A1",
- "Standard_A2",
- "Standard_A3",
- "Standard_A4",
- "Standard_A5",
- "Standard_A6",
- "Standard_A7",
- "Standard_A8",
- "Standard_A9",
- "Standard_A10",
- "Standard_A11",
- "Standard_D1",
- "Standard_D2",
- "Standard_D3",
- "Standard_D4",
- "Standard_D11",
- "Standard_D12",
- "Standard_D13",
- "Standard_D14",
- "Standard_D1_v2",
- "Standard_D2_v2",
- "Standard_D3_v2",
- "Standard_D4_v2",
- "Standard_D5_v2",
- "Standard_D11_v2",
- "Standard_D12_v2",
- "Standard_D13_v2",
- "Standard_D14_v2",
- "Standard_D15_v2",
- "Standard_DS1",
- "Standard_DS2",
- "Standard_DS3",
- "Standard_DS4",
- "Standard_DS11",
- "Standard_DS12",
- "Standard_DS13",
- "Standard_DS14",
- "Standard_DS1_v2",
- "Standard_DS2_v2",
- "Standard_DS3_v2",
- "Standard_DS4_v2",
- "Standard_DS5_v2",
- "Standard_DS11_v2",
- "Standard_DS12_v2",
- "Standard_DS13_v2",
- "Standard_DS14_v2",
- "Standard_DS15_v2",
- "Standard_G1",
- "Standard_G2",
- "Standard_G3",
- "Standard_G4",
- "Standard_G5",
- "Standard_GS1",
- "Standard_GS2",
- "Standard_GS3",
- "Standard_GS4",
- "Standard_GS5"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImageDataDisk": {
- "description": "Describes a data disk.",
- "properties": {
- "blobUri": {
- "description": "The Virtual Hard Disk.",
- "type": "string"
- },
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managedDisk.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "snapshot": {
- "description": "The snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun"
- ],
- "type": "object"
- },
- "ImageDiskReference": {
- "description": "The source image used for creating the disk.",
- "properties": {
- "id": {
- "description": "A relative uri containing either a Platform Image Repository or user image reference.",
- "type": "string"
- },
- "lun": {
- "description": "If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "id"
- ],
- "type": "object"
- },
- "ImageOSDisk": {
- "description": "Describes an Operating System disk.",
- "properties": {
- "blobUri": {
- "description": "The Virtual Hard Disk.",
- "type": "string"
- },
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managedDisk.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osState": {
- "description": "The OS State.",
- "oneOf": [
- {
- "enum": [
- "Generalized",
- "Specialized"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from a custom image.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "snapshot": {
- "description": "The snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "osType",
- "osState"
- ],
- "type": "object"
- },
- "ImageProperties": {
- "description": "Describes the properties of an Image.",
- "properties": {
- "sourceVirtualMachine": {
- "description": "The source virtual machine from which Image is created.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "offer": {
- "description": "Specifies the offer of the platform image or marketplace image used to create the virtual machine.",
- "type": "string"
- },
- "publisher": {
- "description": "The image publisher.",
- "type": "string"
- },
- "sku": {
- "description": "The image SKU.",
- "type": "string"
- },
- "version": {
- "description": "Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ImageStorageProfile": {
- "description": "Describes a storage profile.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add a data disk to a virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/ImageDataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageOSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "osDisk"
- ],
- "type": "object"
- },
- "InstanceViewStatus": {
- "description": "Instance view status.",
- "properties": {
- "code": {
- "description": "The status code.",
- "type": "string"
- },
- "displayStatus": {
- "description": "The short localizable label for the status.",
- "type": "string"
- },
- "level": {
- "description": "The level code.",
- "oneOf": [
- {
- "enum": [
- "Info",
- "Warning",
- "Error"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "message": {
- "description": "The detailed status message, including for alerts and error messages.",
- "type": "string"
- },
- "time": {
- "description": "The time of the status.",
- "format": "date-time",
- "type": "string"
- }
- },
- "type": "object"
- },
- "KeyVaultAndKeyReference": {
- "description": "Key Vault Key Url and vault id of KeK, KeK is optional and when provided is used to unwrap the encryptionKey",
- "properties": {
- "keyUrl": {
- "description": "Url pointing to a key or secret in KeyVault",
- "type": "string"
- },
- "sourceVault": {
- "description": "Resource id of the KeyVault containing the key or secret",
- "oneOf": [
- {
- "$ref": "#/definitions/SourceVault"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "sourceVault",
- "keyUrl"
- ],
- "type": "object"
- },
- "KeyVaultAndSecretReference": {
- "description": "Key Vault Secret Url and vault id of the encryption key ",
- "properties": {
- "secretUrl": {
- "description": "Url pointing to a key or secret in KeyVault",
- "type": "string"
- },
- "sourceVault": {
- "description": "Resource id of the KeyVault containing the key or secret",
- "oneOf": [
- {
- "$ref": "#/definitions/SourceVault"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "sourceVault",
- "secretUrl"
- ],
- "type": "object"
- },
- "KeyVaultKeyReference": {
- "description": "Describes a reference to Key Vault Key",
- "properties": {
- "keyUrl": {
- "description": "The URL referencing a key encryption key in Key Vault.",
- "type": "string"
- },
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing the key.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "keyUrl",
- "sourceVault"
- ],
- "type": "object"
- },
- "KeyVaultSecretReference": {
- "description": "Describes a reference to Key Vault Secret",
- "properties": {
- "secretUrl": {
- "description": "The URL referencing a secret in a Key Vault.",
- "type": "string"
- },
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing the secret.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "secretUrl",
- "sourceVault"
- ],
- "type": "object"
- },
- "LinuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).",
- "properties": {
- "disablePasswordAuthentication": {
- "description": "Specifies whether password authentication should be disabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ssh": {
- "description": "Specifies the ssh key configuration for a Linux OS.",
- "oneOf": [
- {
- "$ref": "#/definitions/SshConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ManagedDiskParameters": {
- "description": "The parameters of a managed disk.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. Possible values are: Standard_LRS or Premium_LRS.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkInterfaceReference": {
- "description": "Describes a network interface reference.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "properties": {
- "description": "Describes a network interface reference properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkInterfaceReferenceProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkInterfaceReferenceProperties": {
- "description": "Describes a network interface reference properties.",
- "properties": {
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "properties": {
- "networkInterfaces": {
- "description": "Specifies the list of resource Ids for the network interfaces associated with the virtual machine.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/NetworkInterfaceReference"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "OSDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machine should be created.
Possible values are:
**Attach** \\u2013 This value is used when you are using a specialized disk to create the virtual machine.
**FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettings": {
- "description": "Specifies the encryption settings for the OS Disk.
Minimum api-version: 2015-06-15",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/ManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhd": {
- "description": "The virtual hard disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "OSProfile": {
- "description": "Specifies the operating system settings for the virtual machine.",
- "properties": {
- "adminPassword": {
- "description": "Specifies the password of the administrator account.
**Minimum-length (Windows):** 8 characters
**Minimum-length (Linux):** 6 characters
**Max-length (Windows):** 123 characters
**Max-length (Linux):** 72 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])
**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"
For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-reset-rdp?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-vmaccess-extension?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#reset-root-password)",
- "type": "string"
- },
- "adminUsername": {
- "description": "Specifies the name of the administrator account.
**Windows-only restriction:** Cannot end in \".\"
**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters
For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)",
- "type": "string"
- },
- "computerName": {
- "description": "Specifies the host OS name of the virtual machine.
This name cannot be updated after the VM is created.
**Max-length (Windows):** 15 characters
**Max-length (Linux):** 64 characters.
For naming conventions and restrictions see [Azure infrastructure services implementation guidelines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-infrastructure-subscription-accounts-guidelines?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#1-naming-conventions).",
- "type": "string"
- },
- "customData": {
- "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes.
For using cloud-init for your VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)",
- "type": "string"
- },
- "linuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "secrets": {
- "description": "Specifies set of certificates that should be installed onto the virtual machine.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultSecretGroup"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "windowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/WindowsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "properties": {
- "name": {
- "description": "The plan ID.",
- "type": "string"
- },
- "product": {
- "description": "Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.",
- "type": "string"
- },
- "promotionCode": {
- "description": "The promotion code.",
- "type": "string"
- },
- "publisher": {
- "description": "The publisher ID.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Sku": {
- "description": "Describes a virtual machine scale set sku.",
- "properties": {
- "capacity": {
- "description": "Specifies the number of virtual machines in the scale set.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The sku name.",
- "type": "string"
- },
- "tier": {
- "description": "Specifies the tier of virtual machines in a scale set.
Possible Values:
**Standard**
**Basic**",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SourceVault": {
- "description": "The vault id is an Azure Resource Manager Resource id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SshConfiguration": {
- "description": "SSH configuration for Linux based VMs running on Azure",
- "properties": {
- "publicKeys": {
- "description": "The list of SSH public keys used to authenticate with linux based VMs.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SshPublicKey"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SshPublicKey": {
- "description": "Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed.",
- "properties": {
- "keyData": {
- "description": "SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format.
For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-mac-create-ssh-keys?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).",
- "type": "string"
- },
- "path": {
- "description": "Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys",
- "type": "string"
- }
- },
- "type": "object"
- },
- "StorageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add a data disk to a virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/DataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/OSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SubResource": {
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "UpgradePolicy": {
- "description": "Describes an upgrade policy - automatic or manual.",
- "properties": {
- "mode": {
- "description": "Specifies the mode of an upgrade to virtual machines in the scale set.
Possible values are:
**Manual** - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.
**Automatic** - All virtual machines in the scale set are automatically updated at the same time.",
- "oneOf": [
- {
- "enum": [
- "Automatic",
- "Manual"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VaultCertificate": {
- "description": "Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM.",
- "properties": {
- "certificateStore": {
- "description": "For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account.
For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name .crt for the X509 certificate file and .prv for private key. Both of these files are .pem formatted.",
- "type": "string"
- },
- "certificateUrl": {
- "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:
{
\"data\":\"\",
\"dataType\":\"pfx\",
\"password\":\"\"
}",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VaultSecretGroup": {
- "description": "Describes a set of certificates which are all in the same Key Vault.",
- "properties": {
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing all of the certificates in VaultCertificates.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vaultCertificates": {
- "description": "The list of key vault references in SourceVault which contain certificates.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultCertificate"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualHardDisk": {
- "description": "Describes the uri of a disk.",
- "properties": {
- "uri": {
- "description": "Specifies the virtual hard disk's uri.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineExtensionInstanceView": {
- "description": "The instance view of a virtual machine extension.",
- "properties": {
- "name": {
- "description": "The virtual machine extension name.",
- "type": "string"
- },
- "statuses": {
- "description": "The resource status information.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "substatuses": {
- "description": "The resource status information.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineExtensionProperties": {
- "description": "Describes the properties of a Virtual Machine Extension.",
- "properties": {
- "autoUpgradeMinorVersion": {
- "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "forceUpdateTag": {
- "description": "How the extension handler should be forced to update even if the extension configuration has not changed.",
- "type": "string"
- },
- "instanceView": {
- "description": "The virtual machine extension instance view.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionInstanceView"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedSettings": {
- "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publisher": {
- "description": "The name of the extension handler publisher.",
- "type": "string"
- },
- "settings": {
- "description": "Json formatted public settings for the extension.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineIdentity": {
- "description": "Identity for the virtual machine.",
- "properties": {
- "type": {
- "description": "The type of identity used for the virtual machine. Currently, the only supported type is 'SystemAssigned', which implicitly creates an identity.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineProperties": {
- "description": "Describes the properties of a Virtual Machine.",
- "properties": {
- "availabilitySet": {
- "description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/HardwareProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises. This element is only used for images that contain the Windows Server operating system.
Possible values are:
Windows_Client
Windows_Server
If this element is included in a request for an update, the value must match the initial value. This value cannot be updated.
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/StorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetDataDisk": {
- "description": "Describes a virtual machine scale set data disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "The create option.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- }
- },
- "required": [
- "lun",
- "createOption"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetExtension": {
- "description": "Describes a Virtual Machine Scale Set Extension.",
- "properties": {
- "name": {
- "description": "The name of the extension.",
- "type": "string"
- },
- "properties": {
- "anyOf": [
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/genericExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/bgInfo"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/dscExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/acronisBackup"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/chefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/dockerExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/eset"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/puppetAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/customScript"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetExtensionProfile": {
- "description": "Describes a virtual machine scale set extension profile.",
- "properties": {
- "extensions": {
- "description": "The virtual machine scale set child extension resources.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetExtension"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetExtensionProperties": {
- "description": "Describes the properties of a Virtual Machine Scale Set Extension.",
- "properties": {
- "autoUpgradeMinorVersion": {
- "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedSettings": {
- "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publisher": {
- "description": "The name of the extension handler publisher.",
- "type": "string"
- },
- "settings": {
- "description": "Json formatted public settings for the extension.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIPConfiguration": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "name": {
- "description": "The IP configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetIPConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetIPConfigurationProperties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration properties.",
- "properties": {
- "applicationGatewayBackendAddressPools": {
- "description": "The application gateway backend address pools.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerBackendAddressPools": {
- "description": "The load balancer backend address pools.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerInboundNatPools": {
- "description": "The load balancer inbound nat pools.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "subnet": {
- "description": "The subnet.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApiEntityReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "subnet"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetIdentity": {
- "description": "Identity for the virtual machine scale set.",
- "properties": {
- "type": {
- "description": "The type of identity used for the virtual machine scale set. Currently, the only supported type is 'SystemAssigned', which implicitly creates an identity.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetManagedDiskParameters": {
- "description": "Describes the parameters of a ScaleSet managed disk.",
- "properties": {
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. Possible values are: Standard_LRS or Premium_LRS.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfiguration": {
- "description": "Describes a virtual machine scale set network profile's network configurations.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "name": {
- "description": "The network configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfigurationProperties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "properties": {
- "ipConfigurations": {
- "description": "The virtual machine scale set IP Configuration.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetIPConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Whether this is a primary NIC on a virtual machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "ipConfigurations"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkProfile": {
- "description": "Describes a virtual machine scale set network profile.",
- "properties": {
- "networkInterfaceConfigurations": {
- "description": "The list of network configurations.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetOSDisk": {
- "description": "Describes a virtual machine scale set operating system disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machines in the scale set should be created.
The only allowed value is: **FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "The Source User Image VirtualHardDisk. This VirtualHardDisk will be copied before using it to attach to the Virtual Machine. If SourceImage is provided, the destination VirtualHardDisk should not exist.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhdContainers": {
- "description": "The list of virtual hard disk container uris.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetOSProfile": {
- "description": "Describes a virtual machine scale set OS profile.",
- "properties": {
- "adminPassword": {
- "description": "Specifies the password of the administrator account.
**Minimum-length (Windows):** 8 characters
**Minimum-length (Linux):** 6 characters
**Max-length (Windows):** 123 characters
**Max-length (Linux):** 72 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])
**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"
For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-reset-rdp?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-vmaccess-extension?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#reset-root-password)",
- "type": "string"
- },
- "adminUsername": {
- "description": "Specifies the name of the administrator account.
**Windows-only restriction:** Cannot end in \".\"
**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters
For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)",
- "type": "string"
- },
- "computerNamePrefix": {
- "description": "Specifies the computer name prefix for all of the virtual machines in the scale set. Computer name prefixes must be 1 to 15 characters long.",
- "type": "string"
- },
- "customData": {
- "description": "A base-64 encoded string of custom data.",
- "type": "string"
- },
- "linuxConfiguration": {
- "description": "The Linux Configuration of the OS profile.",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "secrets": {
- "description": "The List of certificates for addition to the VM.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultSecretGroup"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "windowsConfiguration": {
- "description": "The Windows Configuration of the OS profile.",
- "oneOf": [
- {
- "$ref": "#/definitions/WindowsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetProperties": {
- "description": "Describes the properties of a Virtual Machine Scale Set.",
- "properties": {
- "overProvision": {
- "description": "Specifies whether the Virtual Machine Scale Set should be overprovisioned.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "singlePlacementGroup": {
- "description": "When true this limits the scale set to a single placement group, of max size 100 virtual machines.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "upgradePolicy": {
- "description": "The upgrade policy.",
- "oneOf": [
- {
- "$ref": "#/definitions/UpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "virtualMachineProfile": {
- "description": "The virtual machine profile.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetStorageProfile": {
- "description": "Describes a virtual machine scale set storage profile.",
- "properties": {
- "dataDisks": {
- "description": "The data disks.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetDataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "The image reference.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "The OS disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetOSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProfile": {
- "description": "Describes a virtual machine scale set virtual machine profile.",
- "properties": {
- "extensionProfile": {
- "description": "The virtual machine scale set extension profile.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetExtensionProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkProfile": {
- "description": "The virtual machine scale set network profile.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "The virtual machine scale set OS profile.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetOSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "The virtual machine scale set storage profile.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WinRMConfiguration": {
- "description": "Describes Windows Remote Management configuration of the VM",
- "properties": {
- "listeners": {
- "description": "The list of Windows Remote Management listeners",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/WinRMListener"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WinRMListener": {
- "description": "Describes Protocol and thumbprint of Windows Remote Management listener",
- "properties": {
- "certificateUrl": {
- "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:
{
\"data\":\"\",
\"dataType\":\"pfx\",
\"password\":\"\"
}",
- "type": "string"
- },
- "protocol": {
- "description": "Specifies the protocol of listener.
Possible values are:
**http**
**https**",
- "oneOf": [
- {
- "enum": [
- "Http",
- "Https"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WindowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "properties": {
- "additionalUnattendContent": {
- "description": "Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/AdditionalUnattendContent"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticUpdates": {
- "description": "Indicates whether virtual machine is enabled for automatic updates.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionVMAgent": {
- "description": "Indicates whether virtual machine agent should be provisioned on the virtual machine.
When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "timeZone": {
- "description": "Specifies the time zone of the virtual machine. e.g. \"Pacific Standard Time\"",
- "type": "string"
- },
- "winRM": {
- "description": "Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.",
- "oneOf": [
- {
- "$ref": "#/definitions/WinRMConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "virtualMachines_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachines/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2016-04-30-preview"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine extension.",
- "type": "string"
- },
- "properties": {
- "anyOf": [
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/genericExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/bgInfo"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/dscExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/acronisBackup"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/chefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/dockerExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/eset"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/puppetAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/customScript"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2016-04-30-preview/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- }
-}
\ No newline at end of file
diff --git a/schemas/2017-03-30/Microsoft.Compute.json b/schemas/2017-03-30/Microsoft.Compute.json
deleted file mode 100644
index 9cc6d57625..0000000000
--- a/schemas/2017-03-30/Microsoft.Compute.json
+++ /dev/null
@@ -1,3560 +0,0 @@
-{
- "id": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.json#",
- "title": "Microsoft.Compute",
- "description": "Microsoft Compute Resource Types",
- "$schema": "http://json-schema.org/draft-04/schema#",
- "resourceDefinitions": {
- "availabilitySets": {
- "description": "Microsoft.Compute/availabilitySets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2017-03-30"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the availability set.",
- "type": "string"
- },
- "properties": {
- "description": "The instance view of a resource.",
- "oneOf": [
- {
- "$ref": "#/definitions/AvailabilitySetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "Sku of the availability set",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/availabilitySets"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "disks": {
- "description": "Microsoft.Compute/disks",
- "properties": {
- "apiVersion": {
- "enum": [
- "2017-03-30"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Disk resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "The disks and snapshots sku name. Can be Standard_LRS or Premium_LRS.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/disks"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The Logical zone list for Disk.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "images": {
- "description": "Microsoft.Compute/images",
- "properties": {
- "apiVersion": {
- "enum": [
- "2017-03-30"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the image.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of an Image.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/images"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "snapshots": {
- "description": "Microsoft.Compute/snapshots",
- "properties": {
- "apiVersion": {
- "enum": [
- "2017-03-30"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Disk resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "The disks and snapshots sku name. Can be Standard_LRS or Premium_LRS.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/snapshots"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets": {
- "description": "Microsoft.Compute/virtualMachineScaleSets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2017-03-30"
- ],
- "type": "string"
- },
- "identity": {
- "description": "The identity of the virtual machine scale set, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the VM scale set to create or update.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Scale Set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachineScaleSets_extensions_childResource"
- }
- ]
- },
- "type": "array"
- },
- "sku": {
- "description": "The virtual machine scale set sku.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The virtual machine scale set zones. NOTE: Availability zones can only be set when you create the scale set.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines": {
- "description": "Microsoft.Compute/virtualMachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2017-03-30"
- ],
- "type": "string"
- },
- "identity": {
- "description": "The identity of the virtual machine, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachines_extensions_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachines"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The virtual machine zones.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- },
- "definitions": {
- "AdditionalUnattendContent": {
- "description": "Specifies additional XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is applied.",
- "properties": {
- "componentName": {
- "description": "The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup.",
- "oneOf": [
- {
- "enum": [
- "Microsoft-Windows-Shell-Setup"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "content": {
- "description": "Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted.",
- "type": "string"
- },
- "passName": {
- "description": "The pass name. Currently, the only allowable value is OobeSystem.",
- "oneOf": [
- {
- "enum": [
- "OobeSystem"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "settingName": {
- "description": "Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon.",
- "oneOf": [
- {
- "enum": [
- "AutoLogon",
- "FirstLogonCommands"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ApiEntityReference": {
- "description": "The API entity reference.",
- "properties": {
- "id": {
- "description": "The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...",
- "type": "string"
- }
- },
- "type": "object"
- },
- "AvailabilitySetProperties": {
- "description": "The instance view of a resource.",
- "properties": {
- "platformFaultDomainCount": {
- "description": "Fault Domain count.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformUpdateDomainCount": {
- "description": "Update Domain count.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "virtualMachines": {
- "description": "A list of references to all virtual machines in the availability set.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "BootDiagnostics": {
- "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.",
- "properties": {
- "enabled": {
- "description": "Whether boot diagnostics should be enabled on the Virtual Machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageUri": {
- "description": "Uri of the storage account to use for placing the console output and screenshot.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "CreationData": {
- "description": "Data used when creating a disk.",
- "properties": {
- "createOption": {
- "description": "This enumerates the possible sources of a disk's creation.",
- "oneOf": [
- {
- "enum": [
- "Empty",
- "Attach",
- "FromImage",
- "Import",
- "Copy"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Disk source information.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageDiskReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sourceResourceId": {
- "description": "If createOption is Copy, this is the ARM id of the source snapshot or disk.",
- "type": "string"
- },
- "sourceUri": {
- "description": "If createOption is Import, this is the URI of a blob to be imported into a managed disk.",
- "type": "string"
- },
- "storageAccountId": {
- "description": "If createOption is Import, the Azure Resource Manager identifier of the storage account containing the blob to import as a disk. Required only if the blob is in a different subscription",
- "type": "string"
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "DataDisk": {
- "description": "Describes a data disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machine should be created.
Possible values are:
**Attach** \\u2013 This value is used when you are using a specialized disk to create the virtual machine.
**FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/ManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "vhd": {
- "description": "The virtual hard disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun",
- "createOption"
- ],
- "type": "object"
- },
- "DiagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "properties": {
- "bootDiagnostics": {
- "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.",
- "oneOf": [
- {
- "$ref": "#/definitions/BootDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiskEncryptionSettings": {
- "description": "Describes a Encryption Settings for a Disk",
- "properties": {
- "diskEncryptionKey": {
- "description": "Specifies the location of the disk encryption key, which is a Key Vault Secret.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enabled": {
- "description": "Specifies whether disk encryption should be enabled on the virtual machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "keyEncryptionKey": {
- "description": "Specifies the location of the key encryption key in Key Vault.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultKeyReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiskProperties": {
- "description": "Disk resource properties.",
- "properties": {
- "creationData": {
- "description": "Disk source information. CreationData information cannot be changed after the disk has been created.",
- "oneOf": [
- {
- "$ref": "#/definitions/CreationData"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "If creationData.createOption is Empty, this field is mandatory and it indicates the size of the VHD to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettings": {
- "description": "Encryption settings for disk or snapshot",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "The Operating System type.",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "creationData"
- ],
- "type": "object"
- },
- "DiskSku": {
- "description": "The disks and snapshots sku name. Can be Standard_LRS or Premium_LRS.",
- "properties": {
- "name": {
- "description": "The sku name.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "EncryptionSettings": {
- "description": "Encryption settings for disk or snapshot",
- "properties": {
- "diskEncryptionKey": {
- "description": "Key Vault Secret Url and vault id of the disk encryption key",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultAndSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enabled": {
- "description": "Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "keyEncryptionKey": {
- "description": "Key Vault Key Url and vault id of the key encryption key",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultAndKeyReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "HardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "properties": {
- "vmSize": {
- "description": "Specifies the size of the virtual machine. For more information about virtual machine sizes, see [Sizes for virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-sizes?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
The available VM sizes depend on region and availability set. For a list of available sizes use these APIs:
[List all available virtual machine sizes in an availability set](https://docs.microsoft.com/rest/api/compute/availabilitysets/listavailablesizes)
[List all available virtual machine sizes in a region](https://docs.microsoft.com/rest/api/compute/virtualmachinesizes/list)
[List all available virtual machine sizes for resizing](https://docs.microsoft.com/rest/api/compute/virtualmachines/listavailablesizes)",
- "oneOf": [
- {
- "enum": [
- "Basic_A0",
- "Basic_A1",
- "Basic_A2",
- "Basic_A3",
- "Basic_A4",
- "Standard_A0",
- "Standard_A1",
- "Standard_A2",
- "Standard_A3",
- "Standard_A4",
- "Standard_A5",
- "Standard_A6",
- "Standard_A7",
- "Standard_A8",
- "Standard_A9",
- "Standard_A10",
- "Standard_A11",
- "Standard_A1_v2",
- "Standard_A2_v2",
- "Standard_A4_v2",
- "Standard_A8_v2",
- "Standard_A2m_v2",
- "Standard_A4m_v2",
- "Standard_A8m_v2",
- "Standard_D1",
- "Standard_D2",
- "Standard_D3",
- "Standard_D4",
- "Standard_D11",
- "Standard_D12",
- "Standard_D13",
- "Standard_D14",
- "Standard_D1_v2",
- "Standard_D2_v2",
- "Standard_D3_v2",
- "Standard_D4_v2",
- "Standard_D5_v2",
- "Standard_D11_v2",
- "Standard_D12_v2",
- "Standard_D13_v2",
- "Standard_D14_v2",
- "Standard_D15_v2",
- "Standard_DS1",
- "Standard_DS2",
- "Standard_DS3",
- "Standard_DS4",
- "Standard_DS11",
- "Standard_DS12",
- "Standard_DS13",
- "Standard_DS14",
- "Standard_DS1_v2",
- "Standard_DS2_v2",
- "Standard_DS3_v2",
- "Standard_DS4_v2",
- "Standard_DS5_v2",
- "Standard_DS11_v2",
- "Standard_DS12_v2",
- "Standard_DS13_v2",
- "Standard_DS14_v2",
- "Standard_DS15_v2",
- "Standard_F1",
- "Standard_F2",
- "Standard_F4",
- "Standard_F8",
- "Standard_F16",
- "Standard_F1s",
- "Standard_F2s",
- "Standard_F4s",
- "Standard_F8s",
- "Standard_F16s",
- "Standard_G1",
- "Standard_G2",
- "Standard_G3",
- "Standard_G4",
- "Standard_G5",
- "Standard_GS1",
- "Standard_GS2",
- "Standard_GS3",
- "Standard_GS4",
- "Standard_GS5",
- "Standard_H8",
- "Standard_H16",
- "Standard_H8m",
- "Standard_H16m",
- "Standard_H16r",
- "Standard_H16mr",
- "Standard_L4s",
- "Standard_L8s",
- "Standard_L16s",
- "Standard_L32s",
- "Standard_NC6",
- "Standard_NC12",
- "Standard_NC24",
- "Standard_NC24r",
- "Standard_NV6",
- "Standard_NV12",
- "Standard_NV24"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImageDataDisk": {
- "description": "Describes a data disk.",
- "properties": {
- "blobUri": {
- "description": "The Virtual Hard Disk.",
- "type": "string"
- },
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managedDisk.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "snapshot": {
- "description": "The snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. Possible values are: Standard_LRS or Premium_LRS.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun"
- ],
- "type": "object"
- },
- "ImageDiskReference": {
- "description": "The source image used for creating the disk.",
- "properties": {
- "id": {
- "description": "A relative uri containing either a Platform Image Repository or user image reference.",
- "type": "string"
- },
- "lun": {
- "description": "If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "id"
- ],
- "type": "object"
- },
- "ImageOSDisk": {
- "description": "Describes an Operating System disk.",
- "properties": {
- "blobUri": {
- "description": "The Virtual Hard Disk.",
- "type": "string"
- },
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managedDisk.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osState": {
- "description": "The OS State.",
- "oneOf": [
- {
- "enum": [
- "Generalized",
- "Specialized"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from a custom image.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "snapshot": {
- "description": "The snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. Possible values are: Standard_LRS or Premium_LRS.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "osType",
- "osState"
- ],
- "type": "object"
- },
- "ImageProperties": {
- "description": "Describes the properties of an Image.",
- "properties": {
- "sourceVirtualMachine": {
- "description": "The source virtual machine from which Image is created.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. NOTE: Image reference publisher and offer can only be set when you create the scale set.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "offer": {
- "description": "Specifies the offer of the platform image or marketplace image used to create the virtual machine.",
- "type": "string"
- },
- "publisher": {
- "description": "The image publisher.",
- "type": "string"
- },
- "sku": {
- "description": "The image SKU.",
- "type": "string"
- },
- "version": {
- "description": "Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ImageStorageProfile": {
- "description": "Describes a storage profile.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add a data disk to a virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/ImageDataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageOSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "osDisk"
- ],
- "type": "object"
- },
- "InstanceViewStatus": {
- "description": "Instance view status.",
- "properties": {
- "code": {
- "description": "The status code.",
- "type": "string"
- },
- "displayStatus": {
- "description": "The short localizable label for the status.",
- "type": "string"
- },
- "level": {
- "description": "The level code.",
- "oneOf": [
- {
- "enum": [
- "Info",
- "Warning",
- "Error"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "message": {
- "description": "The detailed status message, including for alerts and error messages.",
- "type": "string"
- },
- "time": {
- "description": "The time of the status.",
- "format": "date-time",
- "type": "string"
- }
- },
- "type": "object"
- },
- "KeyVaultAndKeyReference": {
- "description": "Key Vault Key Url and vault id of KeK, KeK is optional and when provided is used to unwrap the encryptionKey",
- "properties": {
- "keyUrl": {
- "description": "Url pointing to a key or secret in KeyVault",
- "type": "string"
- },
- "sourceVault": {
- "description": "Resource id of the KeyVault containing the key or secret",
- "oneOf": [
- {
- "$ref": "#/definitions/SourceVault"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "sourceVault",
- "keyUrl"
- ],
- "type": "object"
- },
- "KeyVaultAndSecretReference": {
- "description": "Key Vault Secret Url and vault id of the encryption key ",
- "properties": {
- "secretUrl": {
- "description": "Url pointing to a key or secret in KeyVault",
- "type": "string"
- },
- "sourceVault": {
- "description": "Resource id of the KeyVault containing the key or secret",
- "oneOf": [
- {
- "$ref": "#/definitions/SourceVault"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "sourceVault",
- "secretUrl"
- ],
- "type": "object"
- },
- "KeyVaultKeyReference": {
- "description": "Describes a reference to Key Vault Key",
- "properties": {
- "keyUrl": {
- "description": "The URL referencing a key encryption key in Key Vault.",
- "type": "string"
- },
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing the key.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "keyUrl",
- "sourceVault"
- ],
- "type": "object"
- },
- "KeyVaultSecretReference": {
- "description": "Describes a reference to Key Vault Secret",
- "properties": {
- "secretUrl": {
- "description": "The URL referencing a secret in a Key Vault.",
- "type": "string"
- },
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing the secret.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "secretUrl",
- "sourceVault"
- ],
- "type": "object"
- },
- "LinuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).",
- "properties": {
- "disablePasswordAuthentication": {
- "description": "Specifies whether password authentication should be disabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ssh": {
- "description": "Specifies the ssh key configuration for a Linux OS.",
- "oneOf": [
- {
- "$ref": "#/definitions/SshConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ManagedDiskParameters": {
- "description": "The parameters of a managed disk.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. Possible values are: Standard_LRS or Premium_LRS.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkInterfaceReference": {
- "description": "Describes a network interface reference.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "properties": {
- "description": "Describes a network interface reference properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkInterfaceReferenceProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkInterfaceReferenceProperties": {
- "description": "Describes a network interface reference properties.",
- "properties": {
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "properties": {
- "networkInterfaces": {
- "description": "Specifies the list of resource Ids for the network interfaces associated with the virtual machine.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/NetworkInterfaceReference"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "OSDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machine should be created.
Possible values are:
**Attach** \\u2013 This value is used when you are using a specialized disk to create the virtual machine.
**FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettings": {
- "description": "Specifies the encryption settings for the OS Disk.
Minimum api-version: 2015-06-15",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/ManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhd": {
- "description": "The virtual hard disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "OSProfile": {
- "description": "Specifies the operating system settings for the virtual machine.",
- "properties": {
- "adminPassword": {
- "description": "Specifies the password of the administrator account.
**Minimum-length (Windows):** 8 characters
**Minimum-length (Linux):** 6 characters
**Max-length (Windows):** 123 characters
**Max-length (Linux):** 72 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])
**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"
For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-reset-rdp?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-vmaccess-extension?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#reset-root-password)",
- "type": "string"
- },
- "adminUsername": {
- "description": "Specifies the name of the administrator account.
**Windows-only restriction:** Cannot end in \".\"
**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters
For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)",
- "type": "string"
- },
- "computerName": {
- "description": "Specifies the host OS name of the virtual machine.
This name cannot be updated after the VM is created.
**Max-length (Windows):** 15 characters
**Max-length (Linux):** 64 characters.
For naming conventions and restrictions see [Azure infrastructure services implementation guidelines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-infrastructure-subscription-accounts-guidelines?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#1-naming-conventions).",
- "type": "string"
- },
- "customData": {
- "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes.
For using cloud-init for your VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)",
- "type": "string"
- },
- "linuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "secrets": {
- "description": "Specifies set of certificates that should be installed onto the virtual machine.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultSecretGroup"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "windowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/WindowsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "properties": {
- "name": {
- "description": "The plan ID.",
- "type": "string"
- },
- "product": {
- "description": "Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.",
- "type": "string"
- },
- "promotionCode": {
- "description": "The promotion code.",
- "type": "string"
- },
- "publisher": {
- "description": "The publisher ID.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "RollingUpgradePolicy": {
- "description": "The configuration parameters used while performing a rolling upgrade.",
- "properties": {
- "maxBatchInstancePercent": {
- "description": "The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 5,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxUnhealthyInstancePercent": {
- "description": "The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 5,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxUnhealthyUpgradedInstancePercent": {
- "description": "The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "pauseTimeBetweenBatches": {
- "description": "The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format. The default value is 0 seconds (PT0S).",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Sku": {
- "description": "Describes a virtual machine scale set sku.",
- "properties": {
- "capacity": {
- "description": "Specifies the number of virtual machines in the scale set. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The sku name.",
- "type": "string"
- },
- "tier": {
- "description": "Specifies the tier of virtual machines in a scale set.
Possible Values:
**Standard**
**Basic**",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SourceVault": {
- "description": "The vault id is an Azure Resource Manager Resource id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SshConfiguration": {
- "description": "SSH configuration for Linux based VMs running on Azure",
- "properties": {
- "publicKeys": {
- "description": "The list of SSH public keys used to authenticate with linux based VMs.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SshPublicKey"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SshPublicKey": {
- "description": "Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed.",
- "properties": {
- "keyData": {
- "description": "SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format.
For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-mac-create-ssh-keys?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).",
- "type": "string"
- },
- "path": {
- "description": "Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys",
- "type": "string"
- }
- },
- "type": "object"
- },
- "StorageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add a data disk to a virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/DataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/OSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SubResource": {
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "UpgradePolicy": {
- "description": "Describes an upgrade policy - automatic, manual, or rolling.",
- "properties": {
- "automaticOSUpgrade": {
- "description": "Whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the image becomes available.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "mode": {
- "description": "Specifies the mode of an upgrade to virtual machines in the scale set.
Possible values are:
**Manual** - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.
**Automatic** - All virtual machines in the scale set are automatically updated at the same time.",
- "oneOf": [
- {
- "enum": [
- "Automatic",
- "Manual",
- "Rolling"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "rollingUpgradePolicy": {
- "description": "The configuration parameters used while performing a rolling upgrade.",
- "oneOf": [
- {
- "$ref": "#/definitions/RollingUpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VaultCertificate": {
- "description": "Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM.",
- "properties": {
- "certificateStore": {
- "description": "For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account.
For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of these files are .pem formatted.",
- "type": "string"
- },
- "certificateUrl": {
- "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:
{
\"data\":\"\",
\"dataType\":\"pfx\",
\"password\":\"\"
}",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VaultSecretGroup": {
- "description": "Describes a set of certificates which are all in the same Key Vault.",
- "properties": {
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing all of the certificates in VaultCertificates.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vaultCertificates": {
- "description": "The list of key vault references in SourceVault which contain certificates.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultCertificate"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualHardDisk": {
- "description": "Describes the uri of a disk.",
- "properties": {
- "uri": {
- "description": "Specifies the virtual hard disk's uri.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineExtensionInstanceView": {
- "description": "The instance view of a virtual machine extension.",
- "properties": {
- "name": {
- "description": "The virtual machine extension name.",
- "type": "string"
- },
- "statuses": {
- "description": "The resource status information.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "substatuses": {
- "description": "The resource status information.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineExtensionProperties": {
- "description": "Describes the properties of a Virtual Machine Extension.",
- "properties": {
- "autoUpgradeMinorVersion": {
- "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "forceUpdateTag": {
- "description": "How the extension handler should be forced to update even if the extension configuration has not changed.",
- "type": "string"
- },
- "instanceView": {
- "description": "The virtual machine extension instance view.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionInstanceView"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedSettings": {
- "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publisher": {
- "description": "The name of the extension handler publisher.",
- "type": "string"
- },
- "settings": {
- "description": "Json formatted public settings for the extension.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineIdentity": {
- "description": "Identity for the virtual machine.",
- "properties": {
- "type": {
- "description": "The type of identity used for the virtual machine. Currently, the only supported type is 'SystemAssigned', which implicitly creates an identity.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineProperties": {
- "description": "Describes the properties of a Virtual Machine.",
- "properties": {
- "availabilitySet": {
- "description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/HardwareProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises. This element is only used for images that contain the Windows Server operating system.
Possible values are:
Windows_Client
Windows_Server
If this element is included in a request for an update, the value must match the initial value. This value cannot be updated.
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/StorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetDataDisk": {
- "description": "Describes a virtual machine scale set data disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "The create option.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- }
- },
- "required": [
- "lun",
- "createOption"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetExtension": {
- "description": "Describes a Virtual Machine Scale Set Extension.",
- "properties": {
- "name": {
- "description": "The name of the extension.",
- "type": "string"
- },
- "properties": {
- "anyOf": [
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/genericExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/bgInfo"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/dscExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/acronisBackup"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/chefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/dockerExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/eset"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/puppetAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/customScript"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetExtensionProfile": {
- "description": "Describes a virtual machine scale set extension profile.",
- "properties": {
- "extensions": {
- "description": "The virtual machine scale set child extension resources.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetExtension"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetExtensionProperties": {
- "description": "Describes the properties of a Virtual Machine Scale Set Extension.",
- "properties": {
- "autoUpgradeMinorVersion": {
- "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "forceUpdateTag": {
- "description": "If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.",
- "type": "string"
- },
- "protectedSettings": {
- "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publisher": {
- "description": "The name of the extension handler publisher.",
- "type": "string"
- },
- "settings": {
- "description": "Json formatted public settings for the extension.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIPConfiguration": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "name": {
- "description": "The IP configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetIPConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetIPConfigurationProperties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration properties.",
- "properties": {
- "applicationGatewayBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of application gateways. A scale set can reference backend address pools of multiple application gateways. Multiple scale sets cannot use the same application gateway.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of load balancers. A scale set can reference backend address pools of one public and one internal load balancer. Multiple scale sets cannot use the same load balancer.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerInboundNatPools": {
- "description": "Specifies an array of references to inbound Nat pools of the load balancers. A scale set can reference inbound nat pools of one public and one internal load balancer. Multiple scale sets cannot use the same load balancer",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "privateIPAddressVersion": {
- "description": "Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressConfiguration": {
- "description": "The publicIPAddressConfiguration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "subnet": {
- "description": "Specifies the identifier of the subnet.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApiEntityReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIdentity": {
- "description": "Identity for the virtual machine scale set.",
- "properties": {
- "type": {
- "description": "The type of identity used for the virtual machine scale set. Currently, the only supported type is 'SystemAssigned', which implicitly creates an identity.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetManagedDiskParameters": {
- "description": "Describes the parameters of a ScaleSet managed disk.",
- "properties": {
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. Managed OS disk storage account type can only be set when you create the scale set. Possible values are: Standard_LRS or Premium_LRS.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfiguration": {
- "description": "Describes a virtual machine scale set network profile's network configurations.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "name": {
- "description": "The network configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfigurationDnsSettings": {
- "description": "Describes a virtual machines scale sets network configuration's DNS settings.",
- "properties": {
- "dnsServers": {
- "description": "List of DNS servers IP addresses",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfigurationProperties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "properties": {
- "dnsSettings": {
- "description": "The dns settings to be applied on the network interfaces.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationDnsSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAcceleratedNetworking": {
- "description": "Specifies whether the network interface is accelerated networking-enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipConfigurations": {
- "description": "Specifies the IP configurations of the network interface.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetIPConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkSecurityGroup": {
- "description": "The network security group.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "ipConfigurations"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkProfile": {
- "description": "Describes a virtual machine scale set network profile.",
- "properties": {
- "healthProbe": {
- "description": "A reference to a load balancer probe used to determine the health of an instance in the virtual machine scale set. The reference will be in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApiEntityReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkInterfaceConfigurations": {
- "description": "The list of network configurations.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetOSDisk": {
- "description": "Describes a virtual machine scale set operating system disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machines in the scale set should be created.
The only allowed value is: **FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "Specifies information about the unmanaged user image to base the scale set on.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhdContainers": {
- "description": "Specifies the container urls that are used to store operating system disks for the scale set.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetOSProfile": {
- "description": "Describes a virtual machine scale set OS profile.",
- "properties": {
- "adminPassword": {
- "description": "Specifies the password of the administrator account.
**Minimum-length (Windows):** 8 characters
**Minimum-length (Linux):** 6 characters
**Max-length (Windows):** 123 characters
**Max-length (Linux):** 72 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])
**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"
For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-reset-rdp?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-vmaccess-extension?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#reset-root-password)",
- "type": "string"
- },
- "adminUsername": {
- "description": "Specifies the name of the administrator account.
**Windows-only restriction:** Cannot end in \".\"
**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters
For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)",
- "type": "string"
- },
- "computerNamePrefix": {
- "description": "Specifies the computer name prefix for all of the virtual machines in the scale set. Computer name prefixes must be 1 to 15 characters long.",
- "type": "string"
- },
- "customData": {
- "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes.
For using cloud-init for your VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)",
- "type": "string"
- },
- "linuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "secrets": {
- "description": "Specifies set of certificates that should be installed onto the virtual machines in the scale set.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultSecretGroup"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "windowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/WindowsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetProperties": {
- "description": "Describes the properties of a Virtual Machine Scale Set.",
- "properties": {
- "overprovision": {
- "description": "Specifies whether the Virtual Machine Scale Set should be overprovisioned.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "singlePlacementGroup": {
- "description": "When true this limits the scale set to a single placement group, of max size 100 virtual machines.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "upgradePolicy": {
- "description": "The upgrade policy.",
- "oneOf": [
- {
- "$ref": "#/definitions/UpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "virtualMachineProfile": {
- "description": "The virtual machine profile.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfiguration": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "properties": {
- "name": {
- "description": "The publicIP address configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings": {
- "description": "Describes a virtual machines scale sets network configuration's DNS settings.",
- "properties": {
- "domainNameLabel": {
- "description": "The Domain name label.The concatenation of the domain name label and vm index will be the domain name labels of the PublicIPAddress resources that will be created",
- "type": "string"
- }
- },
- "required": [
- "domainNameLabel"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfigurationProperties": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "properties": {
- "dnsSettings": {
- "description": "The dns settings to be applied on the publicIP addresses .",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "idleTimeoutInMinutes": {
- "description": "The idle timeout of the public IP address.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetStorageProfile": {
- "description": "Describes a virtual machine scale set storage profile.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add data disks to the virtual machines in the scale set.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetDataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machines in the scale set.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetOSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProfile": {
- "description": "Describes a virtual machine scale set virtual machine profile.",
- "properties": {
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extensionProfile": {
- "description": "Specifies a collection of settings for extensions installed on virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetExtensionProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises. This element is only used for images that contain the Windows Server operating system.
Possible values are:
Windows_Client
Windows_Server
If this element is included in a request for an update, the value must match the initial value. This value cannot be updated.
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies properties of the network interfaces of the virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings for the virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetOSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WinRMConfiguration": {
- "description": "Describes Windows Remote Management configuration of the VM",
- "properties": {
- "listeners": {
- "description": "The list of Windows Remote Management listeners",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/WinRMListener"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WinRMListener": {
- "description": "Describes Protocol and thumbprint of Windows Remote Management listener",
- "properties": {
- "certificateUrl": {
- "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:
{
\"data\":\"\",
\"dataType\":\"pfx\",
\"password\":\"\"
}",
- "type": "string"
- },
- "protocol": {
- "description": "Specifies the protocol of listener.
Possible values are:
**http**
**https**",
- "oneOf": [
- {
- "enum": [
- "Http",
- "Https"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WindowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "properties": {
- "additionalUnattendContent": {
- "description": "Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/AdditionalUnattendContent"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticUpdates": {
- "description": "Indicates whether virtual machine is enabled for automatic updates.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionVMAgent": {
- "description": "Indicates whether virtual machine agent should be provisioned on the virtual machine.
When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "timeZone": {
- "description": "Specifies the time zone of the virtual machine. e.g. \"Pacific Standard Time\"",
- "type": "string"
- },
- "winRM": {
- "description": "Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.",
- "oneOf": [
- {
- "$ref": "#/definitions/WinRMConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "virtualMachineScaleSets_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2017-03-30"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the VM scale set extension.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Scale Set Extension.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetExtensionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachines/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2017-03-30"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine extension.",
- "type": "string"
- },
- "properties": {
- "anyOf": [
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/genericExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/bgInfo"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/dscExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/acronisBackup"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/chefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/dockerExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/eset"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/puppetAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/customScript"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-03-30/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- }
-}
\ No newline at end of file
diff --git a/schemas/2017-12-01/Microsoft.Compute.json b/schemas/2017-12-01/Microsoft.Compute.json
deleted file mode 100644
index 80237f2313..0000000000
--- a/schemas/2017-12-01/Microsoft.Compute.json
+++ /dev/null
@@ -1,3620 +0,0 @@
-{
- "id": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.json#",
- "title": "Microsoft.Compute",
- "description": "Microsoft Compute Resource Types",
- "$schema": "http://json-schema.org/draft-04/schema#",
- "resourceDefinitions": {
- "availabilitySets": {
- "description": "Microsoft.Compute/availabilitySets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2017-12-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the availability set.",
- "type": "string"
- },
- "properties": {
- "description": "The instance view of a resource.",
- "oneOf": [
- {
- "$ref": "#/definitions/AvailabilitySetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "Sku of the availability set",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/availabilitySets"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "images": {
- "description": "Microsoft.Compute/images",
- "properties": {
- "apiVersion": {
- "enum": [
- "2017-12-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the image.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of an Image.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/images"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets": {
- "description": "Microsoft.Compute/virtualMachineScaleSets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2017-12-01"
- ],
- "type": "string"
- },
- "identity": {
- "description": "The identity of the virtual machine scale set, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the VM scale set to create or update.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Scale Set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachineScaleSets_extensions_childResource"
- },
- {
- "$ref": "#/definitions/virtualMachineScaleSets_virtualmachines_childResource"
- }
- ]
- },
- "type": "array"
- },
- "sku": {
- "description": "The virtual machine scale set sku.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The virtual machine scale set zones. NOTE: Availability zones can only be set when you create the scale set.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualmachines": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualmachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2017-12-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The instance ID of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets/virtualmachines"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines": {
- "description": "Microsoft.Compute/virtualMachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2017-12-01"
- ],
- "type": "string"
- },
- "identity": {
- "description": "The identity of the virtual machine, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachines_extensions_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachines"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The virtual machine zones.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- },
- "definitions": {
- "AdditionalUnattendContent": {
- "description": "Specifies additional XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is applied.",
- "properties": {
- "componentName": {
- "description": "The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup.",
- "oneOf": [
- {
- "enum": [
- "Microsoft-Windows-Shell-Setup"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "content": {
- "description": "Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted.",
- "type": "string"
- },
- "passName": {
- "description": "The pass name. Currently, the only allowable value is OobeSystem.",
- "oneOf": [
- {
- "enum": [
- "OobeSystem"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "settingName": {
- "description": "Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon.",
- "oneOf": [
- {
- "enum": [
- "AutoLogon",
- "FirstLogonCommands"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ApiEntityReference": {
- "description": "The API entity reference.",
- "properties": {
- "id": {
- "description": "The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...",
- "type": "string"
- }
- },
- "type": "object"
- },
- "AutoOSUpgradePolicy": {
- "description": "The configuration parameters used for performing automatic OS upgrade.",
- "properties": {
- "disableAutoRollback": {
- "description": "Whether OS image rollback feature should be disabled. Default value is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "AvailabilitySetProperties": {
- "description": "The instance view of a resource.",
- "properties": {
- "platformFaultDomainCount": {
- "description": "Fault Domain count.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformUpdateDomainCount": {
- "description": "Update Domain count.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "virtualMachines": {
- "description": "A list of references to all virtual machines in the availability set.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "BootDiagnostics": {
- "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.",
- "properties": {
- "enabled": {
- "description": "Whether boot diagnostics should be enabled on the Virtual Machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageUri": {
- "description": "Uri of the storage account to use for placing the console output and screenshot.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "DataDisk": {
- "description": "Describes a data disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machine should be created.
Possible values are:
**Attach** \\u2013 This value is used when you are using a specialized disk to create the virtual machine.
**FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/ManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "vhd": {
- "description": "The virtual hard disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun",
- "createOption"
- ],
- "type": "object"
- },
- "DiagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "properties": {
- "bootDiagnostics": {
- "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.",
- "oneOf": [
- {
- "$ref": "#/definitions/BootDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiskEncryptionSettings": {
- "description": "Describes a Encryption Settings for a Disk",
- "properties": {
- "diskEncryptionKey": {
- "description": "Specifies the location of the disk encryption key, which is a Key Vault Secret.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enabled": {
- "description": "Specifies whether disk encryption should be enabled on the virtual machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "keyEncryptionKey": {
- "description": "Specifies the location of the key encryption key in Key Vault.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultKeyReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "HardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "properties": {
- "vmSize": {
- "description": "Specifies the size of the virtual machine. For more information about virtual machine sizes, see [Sizes for virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-sizes?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
The available VM sizes depend on region and availability set. For a list of available sizes use these APIs:
[List all available virtual machine sizes in an availability set](https://docs.microsoft.com/rest/api/compute/availabilitysets/listavailablesizes)
[List all available virtual machine sizes in a region](https://docs.microsoft.com/rest/api/compute/virtualmachinesizes/list)
[List all available virtual machine sizes for resizing](https://docs.microsoft.com/rest/api/compute/virtualmachines/listavailablesizes)",
- "oneOf": [
- {
- "enum": [
- "Basic_A0",
- "Basic_A1",
- "Basic_A2",
- "Basic_A3",
- "Basic_A4",
- "Standard_A0",
- "Standard_A1",
- "Standard_A2",
- "Standard_A3",
- "Standard_A4",
- "Standard_A5",
- "Standard_A6",
- "Standard_A7",
- "Standard_A8",
- "Standard_A9",
- "Standard_A10",
- "Standard_A11",
- "Standard_A1_v2",
- "Standard_A2_v2",
- "Standard_A4_v2",
- "Standard_A8_v2",
- "Standard_A2m_v2",
- "Standard_A4m_v2",
- "Standard_A8m_v2",
- "Standard_B1s",
- "Standard_B1ms",
- "Standard_B2s",
- "Standard_B2ms",
- "Standard_B4ms",
- "Standard_B8ms",
- "Standard_D1",
- "Standard_D2",
- "Standard_D3",
- "Standard_D4",
- "Standard_D11",
- "Standard_D12",
- "Standard_D13",
- "Standard_D14",
- "Standard_D1_v2",
- "Standard_D2_v2",
- "Standard_D3_v2",
- "Standard_D4_v2",
- "Standard_D5_v2",
- "Standard_D2_v3",
- "Standard_D4_v3",
- "Standard_D8_v3",
- "Standard_D16_v3",
- "Standard_D32_v3",
- "Standard_D64_v3",
- "Standard_D2s_v3",
- "Standard_D4s_v3",
- "Standard_D8s_v3",
- "Standard_D16s_v3",
- "Standard_D32s_v3",
- "Standard_D64s_v3",
- "Standard_D11_v2",
- "Standard_D12_v2",
- "Standard_D13_v2",
- "Standard_D14_v2",
- "Standard_D15_v2",
- "Standard_DS1",
- "Standard_DS2",
- "Standard_DS3",
- "Standard_DS4",
- "Standard_DS11",
- "Standard_DS12",
- "Standard_DS13",
- "Standard_DS14",
- "Standard_DS1_v2",
- "Standard_DS2_v2",
- "Standard_DS3_v2",
- "Standard_DS4_v2",
- "Standard_DS5_v2",
- "Standard_DS11_v2",
- "Standard_DS12_v2",
- "Standard_DS13_v2",
- "Standard_DS14_v2",
- "Standard_DS15_v2",
- "Standard_DS13-4_v2",
- "Standard_DS13-2_v2",
- "Standard_DS14-8_v2",
- "Standard_DS14-4_v2",
- "Standard_E2_v3",
- "Standard_E4_v3",
- "Standard_E8_v3",
- "Standard_E16_v3",
- "Standard_E32_v3",
- "Standard_E64_v3",
- "Standard_E2s_v3",
- "Standard_E4s_v3",
- "Standard_E8s_v3",
- "Standard_E16s_v3",
- "Standard_E32s_v3",
- "Standard_E64s_v3",
- "Standard_E32-16_v3",
- "Standard_E32-8s_v3",
- "Standard_E64-32s_v3",
- "Standard_E64-16s_v3",
- "Standard_F1",
- "Standard_F2",
- "Standard_F4",
- "Standard_F8",
- "Standard_F16",
- "Standard_F1s",
- "Standard_F2s",
- "Standard_F4s",
- "Standard_F8s",
- "Standard_F16s",
- "Standard_F2s_v2",
- "Standard_F4s_v2",
- "Standard_F8s_v2",
- "Standard_F16s_v2",
- "Standard_F32s_v2",
- "Standard_F64s_v2",
- "Standard_F72s_v2",
- "Standard_G1",
- "Standard_G2",
- "Standard_G3",
- "Standard_G4",
- "Standard_G5",
- "Standard_GS1",
- "Standard_GS2",
- "Standard_GS3",
- "Standard_GS4",
- "Standard_GS5",
- "Standard_GS4-8",
- "Standard_GS4-4",
- "Standard_GS5-16",
- "Standard_GS5-8",
- "Standard_H8",
- "Standard_H16",
- "Standard_H8m",
- "Standard_H16m",
- "Standard_H16r",
- "Standard_H16mr",
- "Standard_L4s",
- "Standard_L8s",
- "Standard_L16s",
- "Standard_L32s",
- "Standard_M64s",
- "Standard_M64ms",
- "Standard_M128s",
- "Standard_M128ms",
- "Standard_M64-32ms",
- "Standard_M64-16ms",
- "Standard_M128-64ms",
- "Standard_M128-32ms",
- "Standard_NC6",
- "Standard_NC12",
- "Standard_NC24",
- "Standard_NC24r",
- "Standard_NC6s_v2",
- "Standard_NC12s_v2",
- "Standard_NC24s_v2",
- "Standard_NC24rs_v2",
- "Standard_NC6s_v3",
- "Standard_NC12s_v3",
- "Standard_NC24s_v3",
- "Standard_NC24rs_v3",
- "Standard_ND6s",
- "Standard_ND12s",
- "Standard_ND24s",
- "Standard_ND24rs",
- "Standard_NV6",
- "Standard_NV12",
- "Standard_NV24"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImageDataDisk": {
- "description": "Describes a data disk.",
- "properties": {
- "blobUri": {
- "description": "The Virtual Hard Disk.",
- "type": "string"
- },
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managedDisk.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "snapshot": {
- "description": "The snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. Possible values are: Standard_LRS or Premium_LRS.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun"
- ],
- "type": "object"
- },
- "ImageOSDisk": {
- "description": "Describes an Operating System disk.",
- "properties": {
- "blobUri": {
- "description": "The Virtual Hard Disk.",
- "type": "string"
- },
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managedDisk.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osState": {
- "description": "The OS State.",
- "oneOf": [
- {
- "enum": [
- "Generalized",
- "Specialized"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from a custom image.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "snapshot": {
- "description": "The snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. Possible values are: Standard_LRS or Premium_LRS.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "osType",
- "osState"
- ],
- "type": "object"
- },
- "ImageProperties": {
- "description": "Describes the properties of an Image.",
- "properties": {
- "sourceVirtualMachine": {
- "description": "The source virtual machine from which Image is created.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. NOTE: Image reference publisher and offer can only be set when you create the scale set.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "offer": {
- "description": "Specifies the offer of the platform image or marketplace image used to create the virtual machine.",
- "type": "string"
- },
- "publisher": {
- "description": "The image publisher.",
- "type": "string"
- },
- "sku": {
- "description": "The image SKU.",
- "type": "string"
- },
- "version": {
- "description": "Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ImageStorageProfile": {
- "description": "Describes a storage profile.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add a data disk to a virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/ImageDataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageOSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "zoneResilient": {
- "description": "Specifies whether an image is zone resilient or not. Default is false. Zone resilient images can be created only in regions that provide Zone Redundant Storage (ZRS).",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "InstanceViewStatus": {
- "description": "Instance view status.",
- "properties": {
- "code": {
- "description": "The status code.",
- "type": "string"
- },
- "displayStatus": {
- "description": "The short localizable label for the status.",
- "type": "string"
- },
- "level": {
- "description": "The level code.",
- "oneOf": [
- {
- "enum": [
- "Info",
- "Warning",
- "Error"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "message": {
- "description": "The detailed status message, including for alerts and error messages.",
- "type": "string"
- },
- "time": {
- "description": "The time of the status.",
- "format": "date-time",
- "type": "string"
- }
- },
- "type": "object"
- },
- "KeyVaultKeyReference": {
- "description": "Describes a reference to Key Vault Key",
- "properties": {
- "keyUrl": {
- "description": "The URL referencing a key encryption key in Key Vault.",
- "type": "string"
- },
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing the key.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "keyUrl",
- "sourceVault"
- ],
- "type": "object"
- },
- "KeyVaultSecretReference": {
- "description": "Describes a reference to Key Vault Secret",
- "properties": {
- "secretUrl": {
- "description": "The URL referencing a secret in a Key Vault.",
- "type": "string"
- },
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing the secret.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "secretUrl",
- "sourceVault"
- ],
- "type": "object"
- },
- "LinuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).",
- "properties": {
- "disablePasswordAuthentication": {
- "description": "Specifies whether password authentication should be disabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ssh": {
- "description": "Specifies the ssh key configuration for a Linux OS.",
- "oneOf": [
- {
- "$ref": "#/definitions/SshConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ManagedDiskParameters": {
- "description": "The parameters of a managed disk.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. Possible values are: Standard_LRS or Premium_LRS.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkInterfaceReference": {
- "description": "Describes a network interface reference.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "properties": {
- "description": "Describes a network interface reference properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkInterfaceReferenceProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkInterfaceReferenceProperties": {
- "description": "Describes a network interface reference properties.",
- "properties": {
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "properties": {
- "networkInterfaces": {
- "description": "Specifies the list of resource Ids for the network interfaces associated with the virtual machine.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/NetworkInterfaceReference"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "OSDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machine should be created.
Possible values are:
**Attach** \\u2013 This value is used when you are using a specialized disk to create the virtual machine.
**FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettings": {
- "description": "Specifies the encryption settings for the OS Disk.
Minimum api-version: 2015-06-15",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/ManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhd": {
- "description": "The virtual hard disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "OSProfile": {
- "description": "Specifies the operating system settings for the virtual machine.",
- "properties": {
- "adminPassword": {
- "description": "Specifies the password of the administrator account.
**Minimum-length (Windows):** 8 characters
**Minimum-length (Linux):** 6 characters
**Max-length (Windows):** 123 characters
**Max-length (Linux):** 72 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])
**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"
For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-reset-rdp?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-vmaccess-extension?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#reset-root-password)",
- "type": "string"
- },
- "adminUsername": {
- "description": "Specifies the name of the administrator account.
**Windows-only restriction:** Cannot end in \".\"
**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters
For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)",
- "type": "string"
- },
- "computerName": {
- "description": "Specifies the host OS name of the virtual machine.
This name cannot be updated after the VM is created.
**Max-length (Windows):** 15 characters
**Max-length (Linux):** 64 characters.
For naming conventions and restrictions see [Azure infrastructure services implementation guidelines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-infrastructure-subscription-accounts-guidelines?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#1-naming-conventions).",
- "type": "string"
- },
- "customData": {
- "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes.
For using cloud-init for your VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)",
- "type": "string"
- },
- "linuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "secrets": {
- "description": "Specifies set of certificates that should be installed onto the virtual machine.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultSecretGroup"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "windowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/WindowsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "properties": {
- "name": {
- "description": "The plan ID.",
- "type": "string"
- },
- "product": {
- "description": "Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.",
- "type": "string"
- },
- "promotionCode": {
- "description": "The promotion code.",
- "type": "string"
- },
- "publisher": {
- "description": "The publisher ID.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "RollingUpgradePolicy": {
- "description": "The configuration parameters used while performing a rolling upgrade.",
- "properties": {
- "maxBatchInstancePercent": {
- "description": "The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 5,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxUnhealthyInstancePercent": {
- "description": "The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 5,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxUnhealthyUpgradedInstancePercent": {
- "description": "The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "pauseTimeBetweenBatches": {
- "description": "The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format. The default value is 0 seconds (PT0S).",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Sku": {
- "description": "Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name.",
- "properties": {
- "capacity": {
- "description": "Specifies the number of virtual machines in the scale set.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The sku name.",
- "type": "string"
- },
- "tier": {
- "description": "Specifies the tier of virtual machines in a scale set.
Possible Values:
**Standard**
**Basic**",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SshConfiguration": {
- "description": "SSH configuration for Linux based VMs running on Azure",
- "properties": {
- "publicKeys": {
- "description": "The list of SSH public keys used to authenticate with linux based VMs.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SshPublicKey"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SshPublicKey": {
- "description": "Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed.",
- "properties": {
- "keyData": {
- "description": "SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format.
For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-mac-create-ssh-keys?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).",
- "type": "string"
- },
- "path": {
- "description": "Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys",
- "type": "string"
- }
- },
- "type": "object"
- },
- "StorageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add a data disk to a virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/DataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/OSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SubResource": {
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "UpgradePolicy": {
- "description": "Describes an upgrade policy - automatic, manual, or rolling.",
- "properties": {
- "autoOSUpgradePolicy": {
- "description": "Configuration parameters used for performing automatic OS Upgrade.",
- "oneOf": [
- {
- "$ref": "#/definitions/AutoOSUpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "automaticOSUpgrade": {
- "description": "Whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the image becomes available.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "mode": {
- "description": "Specifies the mode of an upgrade to virtual machines in the scale set.
Possible values are:
**Manual** - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.
**Automatic** - All virtual machines in the scale set are automatically updated at the same time.",
- "oneOf": [
- {
- "enum": [
- "Automatic",
- "Manual",
- "Rolling"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "rollingUpgradePolicy": {
- "description": "The configuration parameters used while performing a rolling upgrade.",
- "oneOf": [
- {
- "$ref": "#/definitions/RollingUpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VaultCertificate": {
- "description": "Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM.",
- "properties": {
- "certificateStore": {
- "description": "For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account.
For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of these files are .pem formatted.",
- "type": "string"
- },
- "certificateUrl": {
- "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:
{
\"data\":\"\",
\"dataType\":\"pfx\",
\"password\":\"\"
}",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VaultSecretGroup": {
- "description": "Describes a set of certificates which are all in the same Key Vault.",
- "properties": {
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing all of the certificates in VaultCertificates.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vaultCertificates": {
- "description": "The list of key vault references in SourceVault which contain certificates.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultCertificate"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualHardDisk": {
- "description": "Describes the uri of a disk.",
- "properties": {
- "uri": {
- "description": "Specifies the virtual hard disk's uri.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineExtensionInstanceView": {
- "description": "The instance view of a virtual machine extension.",
- "properties": {
- "name": {
- "description": "The virtual machine extension name.",
- "type": "string"
- },
- "statuses": {
- "description": "The resource status information.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "substatuses": {
- "description": "The resource status information.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineExtensionProperties": {
- "description": "Describes the properties of a Virtual Machine Extension.",
- "properties": {
- "autoUpgradeMinorVersion": {
- "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "forceUpdateTag": {
- "description": "How the extension handler should be forced to update even if the extension configuration has not changed.",
- "type": "string"
- },
- "instanceView": {
- "description": "The virtual machine extension instance view.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionInstanceView"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedSettings": {
- "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publisher": {
- "description": "The name of the extension handler publisher.",
- "type": "string"
- },
- "settings": {
- "description": "Json formatted public settings for the extension.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineIdentity": {
- "description": "Identity for the virtual machine.",
- "properties": {
- "identityIds": {
- "description": "The list of user identities associated with the Virtual Machine. The user identity references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/identities/{identityName}'.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "The type of identity used for the virtual machine. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned",
- "UserAssigned",
- "SystemAssigned, UserAssigned",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineProperties": {
- "description": "Describes the properties of a Virtual Machine.",
- "properties": {
- "availabilitySet": {
- "description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/HardwareProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises. This element is only used for images that contain the Windows Server operating system.
Possible values are:
Windows_Client
Windows_Server
If this element is included in a request for an update, the value must match the initial value. This value cannot be updated.
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/StorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetDataDisk": {
- "description": "Describes a virtual machine scale set data disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "The create option.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun",
- "createOption"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetExtension": {
- "description": "Describes a Virtual Machine Scale Set Extension.",
- "properties": {
- "name": {
- "description": "The name of the extension.",
- "type": "string"
- },
- "properties": {
- "anyOf": [
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/genericExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/bgInfo"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/dscExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackup"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/chefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/dockerExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/eset"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/puppetAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/customScript"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetExtensionProfile": {
- "description": "Describes a virtual machine scale set extension profile.",
- "properties": {
- "extensions": {
- "description": "The virtual machine scale set child extension resources.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetExtension"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetExtensionProperties": {
- "description": "Describes the properties of a Virtual Machine Scale Set Extension.",
- "properties": {
- "autoUpgradeMinorVersion": {
- "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "forceUpdateTag": {
- "description": "If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.",
- "type": "string"
- },
- "protectedSettings": {
- "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publisher": {
- "description": "The name of the extension handler publisher.",
- "type": "string"
- },
- "settings": {
- "description": "Json formatted public settings for the extension.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIPConfiguration": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "name": {
- "description": "The IP configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetIPConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetIPConfigurationProperties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration properties.",
- "properties": {
- "applicationGatewayBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of application gateways. A scale set can reference backend address pools of multiple application gateways. Multiple scale sets cannot use the same application gateway.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of load balancers. A scale set can reference backend address pools of one public and one internal load balancer. Multiple scale sets cannot use the same load balancer.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerInboundNatPools": {
- "description": "Specifies an array of references to inbound Nat pools of the load balancers. A scale set can reference inbound nat pools of one public and one internal load balancer. Multiple scale sets cannot use the same load balancer",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "privateIPAddressVersion": {
- "description": "Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressConfiguration": {
- "description": "The publicIPAddressConfiguration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "subnet": {
- "description": "Specifies the identifier of the subnet.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApiEntityReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIdentity": {
- "description": "Identity for the virtual machine scale set.",
- "properties": {
- "identityIds": {
- "description": "The list of user identities associated with the virtual machine scale set. The user identity references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/identities/{identityName}'.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "The type of identity used for the virtual machine scale set. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine scale set.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned",
- "UserAssigned",
- "SystemAssigned, UserAssigned",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetManagedDiskParameters": {
- "description": "Describes the parameters of a ScaleSet managed disk.",
- "properties": {
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. Managed OS disk storage account type can only be set when you create the scale set. Possible values are: Standard_LRS or Premium_LRS.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfiguration": {
- "description": "Describes a virtual machine scale set network profile's network configurations.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "name": {
- "description": "The network configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfigurationDnsSettings": {
- "description": "Describes a virtual machines scale sets network configuration's DNS settings.",
- "properties": {
- "dnsServers": {
- "description": "List of DNS servers IP addresses",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfigurationProperties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "properties": {
- "dnsSettings": {
- "description": "The dns settings to be applied on the network interfaces.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationDnsSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAcceleratedNetworking": {
- "description": "Specifies whether the network interface is accelerated networking-enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableIPForwarding": {
- "description": "Whether IP forwarding enabled on this NIC.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipConfigurations": {
- "description": "Specifies the IP configurations of the network interface.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetIPConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkSecurityGroup": {
- "description": "The network security group.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "ipConfigurations"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkProfile": {
- "description": "Describes a virtual machine scale set network profile.",
- "properties": {
- "healthProbe": {
- "description": "A reference to a load balancer probe used to determine the health of an instance in the virtual machine scale set. The reference will be in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApiEntityReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkInterfaceConfigurations": {
- "description": "The list of network configurations.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetOSDisk": {
- "description": "Describes a virtual machine scale set operating system disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machines in the scale set should be created.
The only allowed value is: **FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "Specifies information about the unmanaged user image to base the scale set on.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhdContainers": {
- "description": "Specifies the container urls that are used to store operating system disks for the scale set.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetOSProfile": {
- "description": "Describes a virtual machine scale set OS profile.",
- "properties": {
- "adminPassword": {
- "description": "Specifies the password of the administrator account.
**Minimum-length (Windows):** 8 characters
**Minimum-length (Linux):** 6 characters
**Max-length (Windows):** 123 characters
**Max-length (Linux):** 72 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])
**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"
For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-reset-rdp?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-vmaccess-extension?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#reset-root-password)",
- "type": "string"
- },
- "adminUsername": {
- "description": "Specifies the name of the administrator account.
**Windows-only restriction:** Cannot end in \".\"
**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters
For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)",
- "type": "string"
- },
- "computerNamePrefix": {
- "description": "Specifies the computer name prefix for all of the virtual machines in the scale set. Computer name prefixes must be 1 to 15 characters long.",
- "type": "string"
- },
- "customData": {
- "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes.
For using cloud-init for your VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)",
- "type": "string"
- },
- "linuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "secrets": {
- "description": "Specifies set of certificates that should be installed onto the virtual machines in the scale set.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultSecretGroup"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "windowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/WindowsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetProperties": {
- "description": "Describes the properties of a Virtual Machine Scale Set.",
- "properties": {
- "overprovision": {
- "description": "Specifies whether the Virtual Machine Scale Set should be overprovisioned.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformFaultDomainCount": {
- "description": "Fault Domain count for each placement group.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "singlePlacementGroup": {
- "description": "When true this limits the scale set to a single placement group, of max size 100 virtual machines.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "upgradePolicy": {
- "description": "The upgrade policy.",
- "oneOf": [
- {
- "$ref": "#/definitions/UpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "virtualMachineProfile": {
- "description": "The virtual machine profile.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "zoneBalance": {
- "description": "Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfiguration": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "properties": {
- "name": {
- "description": "The publicIP address configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings": {
- "description": "Describes a virtual machines scale sets network configuration's DNS settings.",
- "properties": {
- "domainNameLabel": {
- "description": "The Domain name label.The concatenation of the domain name label and vm index will be the domain name labels of the PublicIPAddress resources that will be created",
- "type": "string"
- }
- },
- "required": [
- "domainNameLabel"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfigurationProperties": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "properties": {
- "dnsSettings": {
- "description": "The dns settings to be applied on the publicIP addresses .",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "idleTimeoutInMinutes": {
- "description": "The idle timeout of the public IP address.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetStorageProfile": {
- "description": "Describes a virtual machine scale set storage profile.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add data disks to the virtual machines in the scale set.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetDataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machines in the scale set.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetOSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProfile": {
- "description": "Describes a virtual machine scale set virtual machine profile.",
- "properties": {
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "evictionPolicy": {
- "description": "Specifies the eviction policy for virtual machines in a low priority scale set.
Minimum api-version: 2017-10-30-preview",
- "oneOf": [
- {
- "enum": [
- "Deallocate",
- "Delete"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extensionProfile": {
- "description": "Specifies a collection of settings for extensions installed on virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetExtensionProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises. This element is only used for images that contain the Windows Server operating system.
Possible values are:
Windows_Client
Windows_Server
If this element is included in a request for an update, the value must match the initial value. This value cannot be updated.
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies properties of the network interfaces of the virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings for the virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetOSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "priority": {
- "description": "Specifies the priority for the virtual machines in the scale set.
Minimum api-version: 2017-10-30-preview",
- "oneOf": [
- {
- "enum": [
- "Regular",
- "Low"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProperties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "properties": {
- "availabilitySet": {
- "description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/HardwareProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises. This element is only used for images that contain the Windows Server operating system.
Possible values are:
Windows_Client
Windows_Server
If this element is included in a request for an update, the value must match the initial value. This value cannot be updated.
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/StorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WinRMConfiguration": {
- "description": "Describes Windows Remote Management configuration of the VM",
- "properties": {
- "listeners": {
- "description": "The list of Windows Remote Management listeners",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/WinRMListener"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WinRMListener": {
- "description": "Describes Protocol and thumbprint of Windows Remote Management listener",
- "properties": {
- "certificateUrl": {
- "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:
{
\"data\":\"\",
\"dataType\":\"pfx\",
\"password\":\"\"
}",
- "type": "string"
- },
- "protocol": {
- "description": "Specifies the protocol of listener.
Possible values are:
**http**
**https**",
- "oneOf": [
- {
- "enum": [
- "Http",
- "Https"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WindowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "properties": {
- "additionalUnattendContent": {
- "description": "Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/AdditionalUnattendContent"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticUpdates": {
- "description": "Indicates whether virtual machine is enabled for automatic updates.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionVMAgent": {
- "description": "Indicates whether virtual machine agent should be provisioned on the virtual machine.
When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "timeZone": {
- "description": "Specifies the time zone of the virtual machine. e.g. \"Pacific Standard Time\"",
- "type": "string"
- },
- "winRM": {
- "description": "Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.",
- "oneOf": [
- {
- "$ref": "#/definitions/WinRMConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "virtualMachineScaleSets_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2017-12-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the VM scale set extension.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Scale Set Extension.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetExtensionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualmachines_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualmachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2017-12-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The instance ID of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "virtualmachines"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachines/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2017-12-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine extension.",
- "type": "string"
- },
- "properties": {
- "anyOf": [
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/genericExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/bgInfo"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/dscExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackup"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/chefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/dockerExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/eset"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/puppetAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/customScript"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- }
-}
\ No newline at end of file
diff --git a/schemas/2018-04-01/Microsoft.Compute.json b/schemas/2018-04-01/Microsoft.Compute.json
deleted file mode 100644
index 937397ccfe..0000000000
--- a/schemas/2018-04-01/Microsoft.Compute.json
+++ /dev/null
@@ -1,4202 +0,0 @@
-{
- "id": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.json#",
- "title": "Microsoft.Compute",
- "description": "Microsoft Compute Resource Types",
- "$schema": "http://json-schema.org/draft-04/schema#",
- "resourceDefinitions": {
- "availabilitySets": {
- "description": "Microsoft.Compute/availabilitySets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2018-04-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the availability set.",
- "type": "string"
- },
- "properties": {
- "description": "The instance view of a resource.",
- "oneOf": [
- {
- "$ref": "#/definitions/AvailabilitySetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "Sku of the availability set",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/availabilitySets"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "disks": {
- "description": "Microsoft.Compute/disks",
- "properties": {
- "apiVersion": {
- "enum": [
- "2018-04-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Disk resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "The disks sku name. Can be Standard_LRS, Premium_LRS, or StandardSSD_LRS.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/disks"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The Logical zone list for Disk.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "images": {
- "description": "Microsoft.Compute/images",
- "properties": {
- "apiVersion": {
- "enum": [
- "2018-04-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the image.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of an Image.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/images"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "proximityPlacementGroups": {
- "description": "Microsoft.Compute/proximityPlacementGroups",
- "properties": {
- "apiVersion": {
- "enum": [
- "2018-04-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the proximity placement group.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Proximity Placement Group.",
- "oneOf": [
- {
- "$ref": "#/definitions/ProximityPlacementGroupProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/proximityPlacementGroups"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "snapshots": {
- "description": "Microsoft.Compute/snapshots",
- "properties": {
- "apiVersion": {
- "enum": [
- "2018-04-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Disk resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS.",
- "oneOf": [
- {
- "$ref": "#/definitions/SnapshotSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/snapshots"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets": {
- "description": "Microsoft.Compute/virtualMachineScaleSets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2018-04-01"
- ],
- "type": "string"
- },
- "identity": {
- "description": "The identity of the virtual machine scale set, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the VM scale set to create or update.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Scale Set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachineScaleSets_extensions_childResource"
- },
- {
- "$ref": "#/definitions/virtualMachineScaleSets_virtualmachines_childResource"
- }
- ]
- },
- "type": "array"
- },
- "sku": {
- "description": "The virtual machine scale set sku.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The virtual machine scale set zones. NOTE: Availability zones can only be set when you create the scale set.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualmachines": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualmachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2018-04-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The instance ID of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets/virtualmachines"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines": {
- "description": "Microsoft.Compute/virtualMachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2018-04-01"
- ],
- "type": "string"
- },
- "identity": {
- "description": "The identity of the virtual machine, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachines_extensions_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachines"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The virtual machine zones.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- },
- "definitions": {
- "AdditionalUnattendContent": {
- "description": "Specifies additional XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is applied.",
- "properties": {
- "componentName": {
- "description": "The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup.",
- "oneOf": [
- {
- "enum": [
- "Microsoft-Windows-Shell-Setup"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "content": {
- "description": "Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted.",
- "type": "string"
- },
- "passName": {
- "description": "The pass name. Currently, the only allowable value is OobeSystem.",
- "oneOf": [
- {
- "enum": [
- "OobeSystem"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "settingName": {
- "description": "Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon.",
- "oneOf": [
- {
- "enum": [
- "AutoLogon",
- "FirstLogonCommands"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ApiEntityReference": {
- "description": "The API entity reference.",
- "properties": {
- "id": {
- "description": "The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...",
- "type": "string"
- }
- },
- "type": "object"
- },
- "AutoOSUpgradePolicy": {
- "description": "The configuration parameters used for performing automatic OS upgrade.",
- "properties": {
- "disableAutoRollback": {
- "description": "Whether OS image rollback feature should be disabled. Default value is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "AvailabilitySetProperties": {
- "description": "The instance view of a resource.",
- "properties": {
- "platformFaultDomainCount": {
- "description": "Fault Domain count.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformUpdateDomainCount": {
- "description": "Update Domain count.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the availability set should be assigned to.
Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "virtualMachines": {
- "description": "A list of references to all virtual machines in the availability set.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "BootDiagnostics": {
- "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.",
- "properties": {
- "enabled": {
- "description": "Whether boot diagnostics should be enabled on the Virtual Machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageUri": {
- "description": "Uri of the storage account to use for placing the console output and screenshot.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "CreationData": {
- "description": "Data used when creating a disk.",
- "properties": {
- "createOption": {
- "description": "This enumerates the possible sources of a disk's creation.",
- "oneOf": [
- {
- "enum": [
- "Empty",
- "Attach",
- "FromImage",
- "Import",
- "Copy",
- "Restore"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Disk source information.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageDiskReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sourceResourceId": {
- "description": "If createOption is Copy, this is the ARM id of the source snapshot or disk.",
- "type": "string"
- },
- "sourceUri": {
- "description": "If createOption is Import, this is the URI of a blob to be imported into a managed disk.",
- "type": "string"
- },
- "storageAccountId": {
- "description": "If createOption is Import, the Azure Resource Manager identifier of the storage account containing the blob to import as a disk. Required only if the blob is in a different subscription",
- "type": "string"
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "DataDisk": {
- "description": "Describes a data disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machine should be created.
Possible values are:
**Attach** \\u2013 This value is used when you are using a specialized disk to create the virtual machine.
**FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/ManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "vhd": {
- "description": "The virtual hard disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun",
- "createOption"
- ],
- "type": "object"
- },
- "DiagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "properties": {
- "bootDiagnostics": {
- "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.",
- "oneOf": [
- {
- "$ref": "#/definitions/BootDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiskEncryptionSettings": {
- "description": "Describes a Encryption Settings for a Disk",
- "properties": {
- "diskEncryptionKey": {
- "description": "Specifies the location of the disk encryption key, which is a Key Vault Secret.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enabled": {
- "description": "Specifies whether disk encryption should be enabled on the virtual machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "keyEncryptionKey": {
- "description": "Specifies the location of the key encryption key in Key Vault.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultKeyReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiskProperties": {
- "description": "Disk resource properties.",
- "properties": {
- "creationData": {
- "description": "Disk source information. CreationData information cannot be changed after the disk has been created.",
- "oneOf": [
- {
- "$ref": "#/definitions/CreationData"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "If creationData.createOption is Empty, this field is mandatory and it indicates the size of the VHD to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettings": {
- "description": "Encryption settings for disk or snapshot",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "The Operating System type.",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "creationData"
- ],
- "type": "object"
- },
- "DiskSku": {
- "description": "The disks sku name. Can be Standard_LRS, Premium_LRS, or StandardSSD_LRS.",
- "properties": {
- "name": {
- "description": "The sku name.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "EncryptionSettings": {
- "description": "Encryption settings for disk or snapshot",
- "properties": {
- "diskEncryptionKey": {
- "description": "Key Vault Secret Url and vault id of the disk encryption key",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultAndSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enabled": {
- "description": "Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "keyEncryptionKey": {
- "description": "Key Vault Key Url and vault id of the key encryption key",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultAndKeyReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "HardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "properties": {
- "vmSize": {
- "description": "Specifies the size of the virtual machine. For more information about virtual machine sizes, see [Sizes for virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-sizes?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
The available VM sizes depend on region and availability set. For a list of available sizes use these APIs:
[List all available virtual machine sizes in an availability set](https://docs.microsoft.com/rest/api/compute/availabilitysets/listavailablesizes)
[List all available virtual machine sizes in a region](https://docs.microsoft.com/rest/api/compute/virtualmachinesizes/list)
[List all available virtual machine sizes for resizing](https://docs.microsoft.com/rest/api/compute/virtualmachines/listavailablesizes)",
- "oneOf": [
- {
- "enum": [
- "Basic_A0",
- "Basic_A1",
- "Basic_A2",
- "Basic_A3",
- "Basic_A4",
- "Standard_A0",
- "Standard_A1",
- "Standard_A2",
- "Standard_A3",
- "Standard_A4",
- "Standard_A5",
- "Standard_A6",
- "Standard_A7",
- "Standard_A8",
- "Standard_A9",
- "Standard_A10",
- "Standard_A11",
- "Standard_A1_v2",
- "Standard_A2_v2",
- "Standard_A4_v2",
- "Standard_A8_v2",
- "Standard_A2m_v2",
- "Standard_A4m_v2",
- "Standard_A8m_v2",
- "Standard_B1s",
- "Standard_B1ms",
- "Standard_B2s",
- "Standard_B2ms",
- "Standard_B4ms",
- "Standard_B8ms",
- "Standard_D1",
- "Standard_D2",
- "Standard_D3",
- "Standard_D4",
- "Standard_D11",
- "Standard_D12",
- "Standard_D13",
- "Standard_D14",
- "Standard_D1_v2",
- "Standard_D2_v2",
- "Standard_D3_v2",
- "Standard_D4_v2",
- "Standard_D5_v2",
- "Standard_D2_v3",
- "Standard_D4_v3",
- "Standard_D8_v3",
- "Standard_D16_v3",
- "Standard_D32_v3",
- "Standard_D64_v3",
- "Standard_D2s_v3",
- "Standard_D4s_v3",
- "Standard_D8s_v3",
- "Standard_D16s_v3",
- "Standard_D32s_v3",
- "Standard_D64s_v3",
- "Standard_D11_v2",
- "Standard_D12_v2",
- "Standard_D13_v2",
- "Standard_D14_v2",
- "Standard_D15_v2",
- "Standard_DS1",
- "Standard_DS2",
- "Standard_DS3",
- "Standard_DS4",
- "Standard_DS11",
- "Standard_DS12",
- "Standard_DS13",
- "Standard_DS14",
- "Standard_DS1_v2",
- "Standard_DS2_v2",
- "Standard_DS3_v2",
- "Standard_DS4_v2",
- "Standard_DS5_v2",
- "Standard_DS11_v2",
- "Standard_DS12_v2",
- "Standard_DS13_v2",
- "Standard_DS14_v2",
- "Standard_DS15_v2",
- "Standard_DS13-4_v2",
- "Standard_DS13-2_v2",
- "Standard_DS14-8_v2",
- "Standard_DS14-4_v2",
- "Standard_E2_v3",
- "Standard_E4_v3",
- "Standard_E8_v3",
- "Standard_E16_v3",
- "Standard_E32_v3",
- "Standard_E64_v3",
- "Standard_E2s_v3",
- "Standard_E4s_v3",
- "Standard_E8s_v3",
- "Standard_E16s_v3",
- "Standard_E32s_v3",
- "Standard_E64s_v3",
- "Standard_E32-16_v3",
- "Standard_E32-8s_v3",
- "Standard_E64-32s_v3",
- "Standard_E64-16s_v3",
- "Standard_F1",
- "Standard_F2",
- "Standard_F4",
- "Standard_F8",
- "Standard_F16",
- "Standard_F1s",
- "Standard_F2s",
- "Standard_F4s",
- "Standard_F8s",
- "Standard_F16s",
- "Standard_F2s_v2",
- "Standard_F4s_v2",
- "Standard_F8s_v2",
- "Standard_F16s_v2",
- "Standard_F32s_v2",
- "Standard_F64s_v2",
- "Standard_F72s_v2",
- "Standard_G1",
- "Standard_G2",
- "Standard_G3",
- "Standard_G4",
- "Standard_G5",
- "Standard_GS1",
- "Standard_GS2",
- "Standard_GS3",
- "Standard_GS4",
- "Standard_GS5",
- "Standard_GS4-8",
- "Standard_GS4-4",
- "Standard_GS5-16",
- "Standard_GS5-8",
- "Standard_H8",
- "Standard_H16",
- "Standard_H8m",
- "Standard_H16m",
- "Standard_H16r",
- "Standard_H16mr",
- "Standard_L4s",
- "Standard_L8s",
- "Standard_L16s",
- "Standard_L32s",
- "Standard_M64s",
- "Standard_M64ms",
- "Standard_M128s",
- "Standard_M128ms",
- "Standard_M64-32ms",
- "Standard_M64-16ms",
- "Standard_M128-64ms",
- "Standard_M128-32ms",
- "Standard_NC6",
- "Standard_NC12",
- "Standard_NC24",
- "Standard_NC24r",
- "Standard_NC6s_v2",
- "Standard_NC12s_v2",
- "Standard_NC24s_v2",
- "Standard_NC24rs_v2",
- "Standard_NC6s_v3",
- "Standard_NC12s_v3",
- "Standard_NC24s_v3",
- "Standard_NC24rs_v3",
- "Standard_ND6s",
- "Standard_ND12s",
- "Standard_ND24s",
- "Standard_ND24rs",
- "Standard_NV6",
- "Standard_NV12",
- "Standard_NV24"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImageDataDisk": {
- "description": "Describes a data disk.",
- "properties": {
- "blobUri": {
- "description": "The Virtual Hard Disk.",
- "type": "string"
- },
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managedDisk.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "snapshot": {
- "description": "The snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. Possible values are: Standard_LRS, Premium_LRS, and StandardSSD_LRS.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun"
- ],
- "type": "object"
- },
- "ImageDiskReference": {
- "description": "The source image used for creating the disk.",
- "properties": {
- "id": {
- "description": "A relative uri containing either a Platform Image Repository or user image reference.",
- "type": "string"
- },
- "lun": {
- "description": "If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "id"
- ],
- "type": "object"
- },
- "ImageOSDisk": {
- "description": "Describes an Operating System disk.",
- "properties": {
- "blobUri": {
- "description": "The Virtual Hard Disk.",
- "type": "string"
- },
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managedDisk.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osState": {
- "description": "The OS State.",
- "oneOf": [
- {
- "enum": [
- "Generalized",
- "Specialized"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from a custom image.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "snapshot": {
- "description": "The snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. Possible values are: Standard_LRS, Premium_LRS, and StandardSSD_LRS.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "osType",
- "osState"
- ],
- "type": "object"
- },
- "ImageProperties": {
- "description": "Describes the properties of an Image.",
- "properties": {
- "sourceVirtualMachine": {
- "description": "The source virtual machine from which Image is created.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. NOTE: Image reference publisher and offer can only be set when you create the scale set.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "offer": {
- "description": "Specifies the offer of the platform image or marketplace image used to create the virtual machine.",
- "type": "string"
- },
- "publisher": {
- "description": "The image publisher.",
- "type": "string"
- },
- "sku": {
- "description": "The image SKU.",
- "type": "string"
- },
- "version": {
- "description": "Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ImageStorageProfile": {
- "description": "Describes a storage profile.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add a data disk to a virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/ImageDataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageOSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "zoneResilient": {
- "description": "Specifies whether an image is zone resilient or not. Default is false. Zone resilient images can be created only in regions that provide Zone Redundant Storage (ZRS).",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "InstanceViewStatus": {
- "description": "Instance view status.",
- "properties": {
- "code": {
- "description": "The status code.",
- "type": "string"
- },
- "displayStatus": {
- "description": "The short localizable label for the status.",
- "type": "string"
- },
- "level": {
- "description": "The level code.",
- "oneOf": [
- {
- "enum": [
- "Info",
- "Warning",
- "Error"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "message": {
- "description": "The detailed status message, including for alerts and error messages.",
- "type": "string"
- },
- "time": {
- "description": "The time of the status.",
- "format": "date-time",
- "type": "string"
- }
- },
- "type": "object"
- },
- "KeyVaultAndKeyReference": {
- "description": "Key Vault Key Url and vault id of KeK, KeK is optional and when provided is used to unwrap the encryptionKey",
- "properties": {
- "keyUrl": {
- "description": "Url pointing to a key or secret in KeyVault",
- "type": "string"
- },
- "sourceVault": {
- "description": "Resource id of the KeyVault containing the key or secret",
- "oneOf": [
- {
- "$ref": "#/definitions/SourceVault"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "sourceVault",
- "keyUrl"
- ],
- "type": "object"
- },
- "KeyVaultAndSecretReference": {
- "description": "Key Vault Secret Url and vault id of the encryption key ",
- "properties": {
- "secretUrl": {
- "description": "Url pointing to a key or secret in KeyVault",
- "type": "string"
- },
- "sourceVault": {
- "description": "Resource id of the KeyVault containing the key or secret",
- "oneOf": [
- {
- "$ref": "#/definitions/SourceVault"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "sourceVault",
- "secretUrl"
- ],
- "type": "object"
- },
- "KeyVaultKeyReference": {
- "description": "Describes a reference to Key Vault Key",
- "properties": {
- "keyUrl": {
- "description": "The URL referencing a key encryption key in Key Vault.",
- "type": "string"
- },
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing the key.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "keyUrl",
- "sourceVault"
- ],
- "type": "object"
- },
- "KeyVaultSecretReference": {
- "description": "Describes a reference to Key Vault Secret",
- "properties": {
- "secretUrl": {
- "description": "The URL referencing a secret in a Key Vault.",
- "type": "string"
- },
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing the secret.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "secretUrl",
- "sourceVault"
- ],
- "type": "object"
- },
- "LinuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).",
- "properties": {
- "disablePasswordAuthentication": {
- "description": "Specifies whether password authentication should be disabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ssh": {
- "description": "Specifies the ssh key configuration for a Linux OS.",
- "oneOf": [
- {
- "$ref": "#/definitions/SshConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ManagedDiskParameters": {
- "description": "The parameters of a managed disk.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. Possible values are: Standard_LRS, Premium_LRS, and StandardSSD_LRS.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkInterfaceReference": {
- "description": "Describes a network interface reference.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "properties": {
- "description": "Describes a network interface reference properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkInterfaceReferenceProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkInterfaceReferenceProperties": {
- "description": "Describes a network interface reference properties.",
- "properties": {
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "properties": {
- "networkInterfaces": {
- "description": "Specifies the list of resource Ids for the network interfaces associated with the virtual machine.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/NetworkInterfaceReference"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "OSDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machine should be created.
Possible values are:
**Attach** \\u2013 This value is used when you are using a specialized disk to create the virtual machine.
**FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettings": {
- "description": "Specifies the encryption settings for the OS Disk.
Minimum api-version: 2015-06-15",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/ManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhd": {
- "description": "The virtual hard disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "OSProfile": {
- "description": "Specifies the operating system settings for the virtual machine.",
- "properties": {
- "adminPassword": {
- "description": "Specifies the password of the administrator account.
**Minimum-length (Windows):** 8 characters
**Minimum-length (Linux):** 6 characters
**Max-length (Windows):** 123 characters
**Max-length (Linux):** 72 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])
**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"
For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-reset-rdp?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-vmaccess-extension?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#reset-root-password)",
- "type": "string"
- },
- "adminUsername": {
- "description": "Specifies the name of the administrator account.
**Windows-only restriction:** Cannot end in \".\"
**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters
For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)",
- "type": "string"
- },
- "computerName": {
- "description": "Specifies the host OS name of the virtual machine.
This name cannot be updated after the VM is created.
**Max-length (Windows):** 15 characters
**Max-length (Linux):** 64 characters.
For naming conventions and restrictions see [Azure infrastructure services implementation guidelines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-infrastructure-subscription-accounts-guidelines?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#1-naming-conventions).",
- "type": "string"
- },
- "customData": {
- "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes.
For using cloud-init for your VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)",
- "type": "string"
- },
- "linuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "secrets": {
- "description": "Specifies set of certificates that should be installed onto the virtual machine.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultSecretGroup"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "windowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/WindowsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "properties": {
- "name": {
- "description": "The plan ID.",
- "type": "string"
- },
- "product": {
- "description": "Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.",
- "type": "string"
- },
- "promotionCode": {
- "description": "The promotion code.",
- "type": "string"
- },
- "publisher": {
- "description": "The publisher ID.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ProximityPlacementGroupProperties": {
- "description": "Describes the properties of a Proximity Placement Group.",
- "properties": {
- "proximityPlacementGroupType": {
- "description": "Specifies the type of the proximity placement group.
Possible values are:
**Standard** : Co-locate resources within an Azure region or Availability Zone.
**Ultra** : For future use.",
- "oneOf": [
- {
- "enum": [
- "Standard",
- "Ultra"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RollingUpgradePolicy": {
- "description": "The configuration parameters used while performing a rolling upgrade.",
- "properties": {
- "maxBatchInstancePercent": {
- "description": "The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 5,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxUnhealthyInstancePercent": {
- "description": "The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 5,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxUnhealthyUpgradedInstancePercent": {
- "description": "The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "pauseTimeBetweenBatches": {
- "description": "The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format. The default value is 0 seconds (PT0S).",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Sku": {
- "description": "Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name.",
- "properties": {
- "capacity": {
- "description": "Specifies the number of virtual machines in the scale set.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The sku name.",
- "type": "string"
- },
- "tier": {
- "description": "Specifies the tier of virtual machines in a scale set.
Possible Values:
**Standard**
**Basic**",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SnapshotSku": {
- "description": "The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS.",
- "properties": {
- "name": {
- "description": "The sku name.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "Standard_ZRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SourceVault": {
- "description": "The vault id is an Azure Resource Manager Resource id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SshConfiguration": {
- "description": "SSH configuration for Linux based VMs running on Azure",
- "properties": {
- "publicKeys": {
- "description": "The list of SSH public keys used to authenticate with linux based VMs.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SshPublicKey"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SshPublicKey": {
- "description": "Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed.",
- "properties": {
- "keyData": {
- "description": "SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format.
For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-mac-create-ssh-keys?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).",
- "type": "string"
- },
- "path": {
- "description": "Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys",
- "type": "string"
- }
- },
- "type": "object"
- },
- "StorageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add a data disk to a virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/DataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/OSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SubResource": {
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "UpgradePolicy": {
- "description": "Describes an upgrade policy - automatic, manual, or rolling.",
- "properties": {
- "autoOSUpgradePolicy": {
- "description": "Configuration parameters used for performing automatic OS Upgrade.",
- "oneOf": [
- {
- "$ref": "#/definitions/AutoOSUpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "automaticOSUpgrade": {
- "description": "Whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the image becomes available.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "mode": {
- "description": "Specifies the mode of an upgrade to virtual machines in the scale set.
Possible values are:
**Manual** - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.
**Automatic** - All virtual machines in the scale set are automatically updated at the same time.",
- "oneOf": [
- {
- "enum": [
- "Automatic",
- "Manual",
- "Rolling"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "rollingUpgradePolicy": {
- "description": "The configuration parameters used while performing a rolling upgrade.",
- "oneOf": [
- {
- "$ref": "#/definitions/RollingUpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VaultCertificate": {
- "description": "Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM.",
- "properties": {
- "certificateStore": {
- "description": "For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account.
For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of these files are .pem formatted.",
- "type": "string"
- },
- "certificateUrl": {
- "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:
{
\"data\":\"\",
\"dataType\":\"pfx\",
\"password\":\"\"
}",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VaultSecretGroup": {
- "description": "Describes a set of certificates which are all in the same Key Vault.",
- "properties": {
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing all of the certificates in VaultCertificates.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vaultCertificates": {
- "description": "The list of key vault references in SourceVault which contain certificates.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultCertificate"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualHardDisk": {
- "description": "Describes the uri of a disk.",
- "properties": {
- "uri": {
- "description": "Specifies the virtual hard disk's uri.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineExtensionInstanceView": {
- "description": "The instance view of a virtual machine extension.",
- "properties": {
- "name": {
- "description": "The virtual machine extension name.",
- "type": "string"
- },
- "statuses": {
- "description": "The resource status information.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "substatuses": {
- "description": "The resource status information.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineExtensionProperties": {
- "description": "Describes the properties of a Virtual Machine Extension.",
- "properties": {
- "autoUpgradeMinorVersion": {
- "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "forceUpdateTag": {
- "description": "How the extension handler should be forced to update even if the extension configuration has not changed.",
- "type": "string"
- },
- "instanceView": {
- "description": "The virtual machine extension instance view.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionInstanceView"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedSettings": {
- "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publisher": {
- "description": "The name of the extension handler publisher.",
- "type": "string"
- },
- "settings": {
- "description": "Json formatted public settings for the extension.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineIdentity": {
- "description": "Identity for the virtual machine.",
- "properties": {
- "identityIds": {
- "description": "The list of user identities associated with the Virtual Machine. The user identity references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/identities/{identityName}'.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "The type of identity used for the virtual machine. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned",
- "UserAssigned",
- "SystemAssigned, UserAssigned",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineProperties": {
- "description": "Describes the properties of a Virtual Machine.",
- "properties": {
- "availabilitySet": {
- "description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/HardwareProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises. This element is only used for images that contain the Windows Server operating system.
Possible values are:
Windows_Client
Windows_Server
If this element is included in a request for an update, the value must match the initial value. This value cannot be updated.
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the virtual machine should be assigned to.
Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/StorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetDataDisk": {
- "description": "Describes a virtual machine scale set data disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "The create option.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun",
- "createOption"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetExtension": {
- "description": "Describes a Virtual Machine Scale Set Extension.",
- "properties": {
- "name": {
- "description": "The name of the extension.",
- "type": "string"
- },
- "properties": {
- "anyOf": [
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/genericExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/bgInfo"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/dscExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackup"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/chefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/dockerExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/eset"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/puppetAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/customScript"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetExtensionProfile": {
- "description": "Describes a virtual machine scale set extension profile.",
- "properties": {
- "extensions": {
- "description": "The virtual machine scale set child extension resources.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetExtension"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetExtensionProperties": {
- "description": "Describes the properties of a Virtual Machine Scale Set Extension.",
- "properties": {
- "autoUpgradeMinorVersion": {
- "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "forceUpdateTag": {
- "description": "If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.",
- "type": "string"
- },
- "protectedSettings": {
- "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publisher": {
- "description": "The name of the extension handler publisher.",
- "type": "string"
- },
- "settings": {
- "description": "Json formatted public settings for the extension.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIPConfiguration": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "name": {
- "description": "The IP configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetIPConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetIPConfigurationProperties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration properties.",
- "properties": {
- "applicationGatewayBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of application gateways. A scale set can reference backend address pools of multiple application gateways. Multiple scale sets cannot use the same application gateway.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of load balancers. A scale set can reference backend address pools of one public and one internal load balancer. Multiple scale sets cannot use the same load balancer.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerInboundNatPools": {
- "description": "Specifies an array of references to inbound Nat pools of the load balancers. A scale set can reference inbound nat pools of one public and one internal load balancer. Multiple scale sets cannot use the same load balancer",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "privateIPAddressVersion": {
- "description": "Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressConfiguration": {
- "description": "The publicIPAddressConfiguration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "subnet": {
- "description": "Specifies the identifier of the subnet.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApiEntityReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIdentity": {
- "description": "Identity for the virtual machine scale set.",
- "properties": {
- "identityIds": {
- "description": "The list of user identities associated with the virtual machine scale set. The user identity references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/identities/{identityName}'.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "The type of identity used for the virtual machine scale set. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine scale set.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned",
- "UserAssigned",
- "SystemAssigned, UserAssigned",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIpTag": {
- "description": "Contains the IP tag associated with the public IP address.",
- "properties": {
- "ipTagType": {
- "description": "IP tag type. Example: FirstPartyUsage.",
- "type": "string"
- },
- "tag": {
- "description": "IP tag associated with the public IP. Example: SQL, Storage etc.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetManagedDiskParameters": {
- "description": "Describes the parameters of a ScaleSet managed disk.",
- "properties": {
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. Managed OS disk storage account type can only be set when you create the scale set. Possible values are: Standard_LRS, Premium_LRS, and StandardSSD_LRS.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfiguration": {
- "description": "Describes a virtual machine scale set network profile's network configurations.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "name": {
- "description": "The network configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfigurationDnsSettings": {
- "description": "Describes a virtual machines scale sets network configuration's DNS settings.",
- "properties": {
- "dnsServers": {
- "description": "List of DNS servers IP addresses",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfigurationProperties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "properties": {
- "dnsSettings": {
- "description": "The dns settings to be applied on the network interfaces.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationDnsSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAcceleratedNetworking": {
- "description": "Specifies whether the network interface is accelerated networking-enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableIPForwarding": {
- "description": "Whether IP forwarding enabled on this NIC.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipConfigurations": {
- "description": "Specifies the IP configurations of the network interface.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetIPConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkSecurityGroup": {
- "description": "The network security group.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "ipConfigurations"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkProfile": {
- "description": "Describes a virtual machine scale set network profile.",
- "properties": {
- "healthProbe": {
- "description": "A reference to a load balancer probe used to determine the health of an instance in the virtual machine scale set. The reference will be in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApiEntityReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkInterfaceConfigurations": {
- "description": "The list of network configurations.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetOSDisk": {
- "description": "Describes a virtual machine scale set operating system disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machines in the scale set should be created.
The only allowed value is: **FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of the operating system disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "Specifies information about the unmanaged user image to base the scale set on.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhdContainers": {
- "description": "Specifies the container urls that are used to store operating system disks for the scale set.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetOSProfile": {
- "description": "Describes a virtual machine scale set OS profile.",
- "properties": {
- "adminPassword": {
- "description": "Specifies the password of the administrator account.
**Minimum-length (Windows):** 8 characters
**Minimum-length (Linux):** 6 characters
**Max-length (Windows):** 123 characters
**Max-length (Linux):** 72 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])
**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"
For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-reset-rdp?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-vmaccess-extension?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#reset-root-password)",
- "type": "string"
- },
- "adminUsername": {
- "description": "Specifies the name of the administrator account.
**Windows-only restriction:** Cannot end in \".\"
**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters
For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)",
- "type": "string"
- },
- "computerNamePrefix": {
- "description": "Specifies the computer name prefix for all of the virtual machines in the scale set. Computer name prefixes must be 1 to 15 characters long.",
- "type": "string"
- },
- "customData": {
- "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes.
For using cloud-init for your VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)",
- "type": "string"
- },
- "linuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "secrets": {
- "description": "Specifies set of certificates that should be installed onto the virtual machines in the scale set.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultSecretGroup"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "windowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/WindowsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetProperties": {
- "description": "Describes the properties of a Virtual Machine Scale Set.",
- "properties": {
- "overprovision": {
- "description": "Specifies whether the Virtual Machine Scale Set should be overprovisioned.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformFaultDomainCount": {
- "description": "Fault Domain count for each placement group.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the virtual machine scale set should be assigned to.
Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "singlePlacementGroup": {
- "description": "When true this limits the scale set to a single placement group, of max size 100 virtual machines.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "upgradePolicy": {
- "description": "The upgrade policy.",
- "oneOf": [
- {
- "$ref": "#/definitions/UpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "virtualMachineProfile": {
- "description": "The virtual machine profile.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "zoneBalance": {
- "description": "Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfiguration": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "properties": {
- "name": {
- "description": "The publicIP address configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings": {
- "description": "Describes a virtual machines scale sets network configuration's DNS settings.",
- "properties": {
- "domainNameLabel": {
- "description": "The Domain name label.The concatenation of the domain name label and vm index will be the domain name labels of the PublicIPAddress resources that will be created",
- "type": "string"
- }
- },
- "required": [
- "domainNameLabel"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfigurationProperties": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "properties": {
- "dnsSettings": {
- "description": "The dns settings to be applied on the publicIP addresses .",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "idleTimeoutInMinutes": {
- "description": "The idle timeout of the public IP address.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipTags": {
- "description": "The list of IP tags associated with the public IP address.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetIpTag"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetStorageProfile": {
- "description": "Describes a virtual machine scale set storage profile.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add data disks to the virtual machines in the scale set.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetDataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machines in the scale set.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetOSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProfile": {
- "description": "Describes a virtual machine scale set virtual machine profile.",
- "properties": {
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "evictionPolicy": {
- "description": "Specifies the eviction policy for virtual machines in a low priority scale set.
Minimum api-version: 2017-10-30-preview",
- "oneOf": [
- {
- "enum": [
- "Deallocate",
- "Delete"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extensionProfile": {
- "description": "Specifies a collection of settings for extensions installed on virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetExtensionProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises. This element is only used for images that contain the Windows Server operating system.
Possible values are:
Windows_Client
Windows_Server
If this element is included in a request for an update, the value must match the initial value. This value cannot be updated.
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies properties of the network interfaces of the virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings for the virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetOSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "priority": {
- "description": "Specifies the priority for the virtual machines in the scale set.
Minimum api-version: 2017-10-30-preview",
- "oneOf": [
- {
- "enum": [
- "Regular",
- "Low"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProperties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "properties": {
- "availabilitySet": {
- "description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/HardwareProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises. This element is only used for images that contain the Windows Server operating system.
Possible values are:
Windows_Client
Windows_Server
If this element is included in a request for an update, the value must match the initial value. This value cannot be updated.
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/StorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WinRMConfiguration": {
- "description": "Describes Windows Remote Management configuration of the VM",
- "properties": {
- "listeners": {
- "description": "The list of Windows Remote Management listeners",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/WinRMListener"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WinRMListener": {
- "description": "Describes Protocol and thumbprint of Windows Remote Management listener",
- "properties": {
- "certificateUrl": {
- "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:
{
\"data\":\"\",
\"dataType\":\"pfx\",
\"password\":\"\"
}",
- "type": "string"
- },
- "protocol": {
- "description": "Specifies the protocol of listener.
Possible values are:
**http**
**https**",
- "oneOf": [
- {
- "enum": [
- "Http",
- "Https"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WindowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "properties": {
- "additionalUnattendContent": {
- "description": "Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/AdditionalUnattendContent"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticUpdates": {
- "description": "Indicates whether virtual machine is enabled for automatic updates.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionVMAgent": {
- "description": "Indicates whether virtual machine agent should be provisioned on the virtual machine.
When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "timeZone": {
- "description": "Specifies the time zone of the virtual machine. e.g. \"Pacific Standard Time\"",
- "type": "string"
- },
- "winRM": {
- "description": "Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.",
- "oneOf": [
- {
- "$ref": "#/definitions/WinRMConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "virtualMachineScaleSets_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2018-04-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the VM scale set extension.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Scale Set Extension.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetExtensionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualmachines_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualmachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2018-04-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The instance ID of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "virtualmachines"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachines/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2018-04-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine extension.",
- "type": "string"
- },
- "properties": {
- "anyOf": [
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/genericExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/bgInfo"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/dscExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackup"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/chefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/dockerExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/eset"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/puppetAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/customScript"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-04-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- }
-}
\ No newline at end of file
diff --git a/schemas/2018-06-01/Microsoft.Compute.json b/schemas/2018-06-01/Microsoft.Compute.json
deleted file mode 100644
index 7b0922591c..0000000000
--- a/schemas/2018-06-01/Microsoft.Compute.json
+++ /dev/null
@@ -1,5146 +0,0 @@
-{
- "id": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.json#",
- "title": "Microsoft.Compute",
- "description": "Microsoft Compute Resource Types",
- "$schema": "http://json-schema.org/draft-04/schema#",
- "resourceDefinitions": {
- "availabilitySets": {
- "description": "Microsoft.Compute/availabilitySets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2018-06-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the availability set.",
- "type": "string"
- },
- "properties": {
- "description": "The instance view of a resource.",
- "oneOf": [
- {
- "$ref": "#/definitions/AvailabilitySetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "Sku of the availability set, only name is required to be set. See AvailabilitySetSkuTypes for possible set of values. Use 'Aligned' for virtual machines with managed disks and 'Classic' for virtual machines with unmanaged disks. Default value is 'Classic'.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/availabilitySets"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "disks": {
- "description": "Microsoft.Compute/disks",
- "properties": {
- "apiVersion": {
- "enum": [
- "2018-06-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Disk resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, or UltraSSD_LRS.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/disks"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The Logical zone list for Disk.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries": {
- "description": "Microsoft.Compute/galleries",
- "properties": {
- "apiVersion": {
- "enum": [
- "2018-06-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the Shared Image Gallery. The allowed characters are alphabets and numbers with dots and periods allowed in the middle. The maximum length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Shared Image Gallery.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/galleries_images_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/galleries"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_images": {
- "description": "Microsoft.Compute/galleries/images",
- "properties": {
- "apiVersion": {
- "enum": [
- "2018-06-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Image Definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery Image Definition.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/galleries_images_versions_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/galleries/images"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_images_versions": {
- "description": "Microsoft.Compute/galleries/images/versions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2018-06-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Image Version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery Image Version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageVersionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/galleries/images/versions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "images": {
- "description": "Microsoft.Compute/images",
- "properties": {
- "apiVersion": {
- "enum": [
- "2018-06-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the image.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of an Image.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/images"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "proximityPlacementGroups": {
- "description": "Microsoft.Compute/proximityPlacementGroups",
- "properties": {
- "apiVersion": {
- "enum": [
- "2018-06-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the proximity placement group.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Proximity Placement Group.",
- "oneOf": [
- {
- "$ref": "#/definitions/ProximityPlacementGroupProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/proximityPlacementGroups"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "snapshots": {
- "description": "Microsoft.Compute/snapshots",
- "properties": {
- "apiVersion": {
- "enum": [
- "2018-06-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Snapshot resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/SnapshotProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS.",
- "oneOf": [
- {
- "$ref": "#/definitions/SnapshotSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/snapshots"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets": {
- "description": "Microsoft.Compute/virtualMachineScaleSets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2018-06-01"
- ],
- "type": "string"
- },
- "identity": {
- "description": "The identity of the virtual machine scale set, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the VM scale set to create or update.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Scale Set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachineScaleSets_extensions_childResource"
- },
- {
- "$ref": "#/definitions/virtualMachineScaleSets_virtualmachines_childResource"
- }
- ]
- },
- "type": "array"
- },
- "sku": {
- "description": "The virtual machine scale set sku.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The virtual machine scale set zones. NOTE: Availability zones can only be set when you create the scale set.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualmachines": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualmachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2018-06-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The instance ID of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets/virtualmachines"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines": {
- "description": "Microsoft.Compute/virtualMachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2018-06-01"
- ],
- "type": "string"
- },
- "identity": {
- "description": "The identity of the virtual machine, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachines_extensions_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachines"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The virtual machine zones.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- },
- "definitions": {
- "AdditionalCapabilities": {
- "description": "Enables or disables a capability on the virtual machine or virtual machine scale set.",
- "properties": {
- "ultraSSDEnabled": {
- "description": "The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "AdditionalUnattendContent": {
- "description": "Specifies additional XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is applied.",
- "properties": {
- "componentName": {
- "description": "The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup.",
- "oneOf": [
- {
- "enum": [
- "Microsoft-Windows-Shell-Setup"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "content": {
- "description": "Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted.",
- "type": "string"
- },
- "passName": {
- "description": "The pass name. Currently, the only allowable value is OobeSystem.",
- "oneOf": [
- {
- "enum": [
- "OobeSystem"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "settingName": {
- "description": "Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon.",
- "oneOf": [
- {
- "enum": [
- "AutoLogon",
- "FirstLogonCommands"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ApiEntityReference": {
- "description": "The API entity reference.",
- "properties": {
- "id": {
- "description": "The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...",
- "type": "string"
- }
- },
- "type": "object"
- },
- "AutoOSUpgradePolicy": {
- "description": "The configuration parameters used for performing automatic OS upgrade.",
- "properties": {
- "disableAutoRollback": {
- "description": "Whether OS image rollback feature should be disabled. Default value is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "AvailabilitySetProperties": {
- "description": "The instance view of a resource.",
- "properties": {
- "platformFaultDomainCount": {
- "description": "Fault Domain count.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformUpdateDomainCount": {
- "description": "Update Domain count.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the availability set should be assigned to.
Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "virtualMachines": {
- "description": "A list of references to all virtual machines in the availability set.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "BootDiagnostics": {
- "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.",
- "properties": {
- "enabled": {
- "description": "Whether boot diagnostics should be enabled on the Virtual Machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageUri": {
- "description": "Uri of the storage account to use for placing the console output and screenshot.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "CreationData": {
- "description": "Data used when creating a disk.",
- "properties": {
- "createOption": {
- "description": "This enumerates the possible sources of a disk's creation.",
- "oneOf": [
- {
- "enum": [
- "Empty",
- "Attach",
- "FromImage",
- "Import",
- "Copy",
- "Restore"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Disk source information.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageDiskReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sourceResourceId": {
- "description": "If createOption is Copy, this is the ARM id of the source snapshot or disk.",
- "type": "string"
- },
- "sourceUri": {
- "description": "If createOption is Import, this is the URI of a blob to be imported into a managed disk.",
- "type": "string"
- },
- "storageAccountId": {
- "description": "If createOption is Import, the Azure Resource Manager identifier of the storage account containing the blob to import as a disk. Required only if the blob is in a different subscription",
- "type": "string"
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "DataDisk": {
- "description": "Describes a data disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machine should be created.
Possible values are:
**Attach** \\u2013 This value is used when you are using a specialized disk to create the virtual machine.
**FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/ManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "vhd": {
- "description": "The virtual hard disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun",
- "createOption"
- ],
- "type": "object"
- },
- "DiagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "properties": {
- "bootDiagnostics": {
- "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.",
- "oneOf": [
- {
- "$ref": "#/definitions/BootDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiffDiskSettings": {
- "description": "Describes the parameters of ephemeral disk settings that can be specified for operating system disk.
NOTE: The ephemeral disk settings can only be specified for managed disk.",
- "properties": {
- "option": {
- "description": "Specifies the ephemeral disk settings for operating system disk.",
- "oneOf": [
- {
- "enum": [
- "Local"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Disallowed": {
- "description": "Describes the disallowed disk types.",
- "properties": {
- "diskTypes": {
- "description": "A list of disk types.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiskEncryptionSettings": {
- "description": "Describes a Encryption Settings for a Disk",
- "properties": {
- "diskEncryptionKey": {
- "description": "Specifies the location of the disk encryption key, which is a Key Vault Secret.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enabled": {
- "description": "Specifies whether disk encryption should be enabled on the virtual machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "keyEncryptionKey": {
- "description": "Specifies the location of the key encryption key in Key Vault.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultKeyReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiskProperties": {
- "description": "Disk resource properties.",
- "properties": {
- "creationData": {
- "description": "Disk source information. CreationData information cannot be changed after the disk has been created.",
- "oneOf": [
- {
- "$ref": "#/definitions/CreationData"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskIOPSReadWrite": {
- "description": "The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes. For a description of the range of values you can set, see [Ultra SSD Managed Disk Offerings](https://docs.microsoft.com/azure/virtual-machines/windows/disks-ultra-ssd#ultra-ssd-managed-disk-offerings).",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskMBpsReadWrite": {
- "description": "The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10. For a description of the range of values you can set, see [Ultra SSD Managed Disk Offerings](https://docs.microsoft.com/azure/virtual-machines/windows/disks-ultra-ssd#ultra-ssd-managed-disk-offerings).",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "If creationData.createOption is Empty, this field is mandatory and it indicates the size of the VHD to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettings": {
- "description": "Encryption settings for disk or snapshot",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "The Operating System type.",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "creationData"
- ],
- "type": "object"
- },
- "DiskSku": {
- "description": "The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, or UltraSSD_LRS.",
- "properties": {
- "name": {
- "description": "The sku name.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "EncryptionSettings": {
- "description": "Encryption settings for disk or snapshot",
- "properties": {
- "diskEncryptionKey": {
- "description": "Key Vault Secret Url and vault id of the disk encryption key",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultAndSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enabled": {
- "description": "Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "keyEncryptionKey": {
- "description": "Key Vault Key Url and vault id of the key encryption key",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultAndKeyReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryArtifactSource": {
- "description": "The source image from which the Image Version is going to be created.",
- "properties": {
- "managedImage": {
- "description": "The managed artifact.",
- "oneOf": [
- {
- "$ref": "#/definitions/ManagedArtifact"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "managedImage"
- ],
- "type": "object"
- },
- "GalleryIdentifier": {
- "description": "Describes the gallery unique name.",
- "properties": {},
- "type": "object"
- },
- "GalleryImageIdentifier": {
- "description": "This is the gallery Image Definition identifier.",
- "properties": {
- "offer": {
- "description": "The name of the gallery Image Definition offer.",
- "type": "string"
- },
- "publisher": {
- "description": "The name of the gallery Image Definition publisher.",
- "type": "string"
- },
- "sku": {
- "description": "The name of the gallery Image Definition SKU.",
- "type": "string"
- }
- },
- "required": [
- "publisher",
- "offer",
- "sku"
- ],
- "type": "object"
- },
- "GalleryImageProperties": {
- "description": "Describes the properties of a gallery Image Definition.",
- "properties": {
- "description": {
- "description": "The description of this gallery Image Definition resource. This property is updatable.",
- "type": "string"
- },
- "disallowed": {
- "description": "Describes the disallowed disk types.",
- "oneOf": [
- {
- "$ref": "#/definitions/Disallowed"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "endOfLifeDate": {
- "description": "The end of life date of the gallery Image Definition. This property can be used for decommissioning purposes. This property is updatable.",
- "format": "date-time",
- "type": "string"
- },
- "eula": {
- "description": "The Eula agreement for the gallery Image Definition.",
- "type": "string"
- },
- "identifier": {
- "description": "This is the gallery Image Definition identifier.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageIdentifier"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osState": {
- "description": "The allowed values for OS State are 'Generalized'.",
- "oneOf": [
- {
- "enum": [
- "Generalized",
- "Specialized"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "privacyStatementUri": {
- "description": "The privacy statement uri.",
- "type": "string"
- },
- "purchasePlan": {
- "description": "Describes the gallery Image Definition purchase plan. This is used by marketplace images.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImagePurchasePlan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "recommended": {
- "description": "The properties describe the recommended machine configuration for this Image Definition. These properties are updatable.",
- "oneOf": [
- {
- "$ref": "#/definitions/RecommendedMachineConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "releaseNoteUri": {
- "description": "The release note uri.",
- "type": "string"
- }
- },
- "required": [
- "osType",
- "osState",
- "identifier"
- ],
- "type": "object"
- },
- "GalleryImageVersionProperties": {
- "description": "Describes the properties of a gallery Image Version.",
- "properties": {
- "publishingProfile": {
- "description": "The publishing profile of a gallery Image Version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageVersionPublishingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "publishingProfile"
- ],
- "type": "object"
- },
- "GalleryImageVersionPublishingProfile": {
- "description": "The publishing profile of a gallery Image Version.",
- "properties": {
- "endOfLifeDate": {
- "description": "The end of life date of the gallery Image Version. This property can be used for decommissioning purposes. This property is updatable.",
- "format": "date-time",
- "type": "string"
- },
- "excludeFromLatest": {
- "description": "If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "replicaCount": {
- "description": "The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "source": {
- "description": "The source image from which the Image Version is going to be created.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryArtifactSource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "targetRegions": {
- "description": "The target regions where the Image Version is going to be replicated to. This property is updatable.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/TargetRegion"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "source"
- ],
- "type": "object"
- },
- "GalleryProperties": {
- "description": "Describes the properties of a Shared Image Gallery.",
- "properties": {
- "description": {
- "description": "The description of this Shared Image Gallery resource. This property is updatable.",
- "type": "string"
- },
- "identifier": {
- "description": "Describes the gallery unique name.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryIdentifier"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "HardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "properties": {
- "vmSize": {
- "description": "Specifies the size of the virtual machine. For more information about virtual machine sizes, see [Sizes for virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-sizes?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
The available VM sizes depend on region and availability set. For a list of available sizes use these APIs:
[List all available virtual machine sizes in an availability set](https://docs.microsoft.com/rest/api/compute/availabilitysets/listavailablesizes)
[List all available virtual machine sizes in a region](https://docs.microsoft.com/rest/api/compute/virtualmachinesizes/list)
[List all available virtual machine sizes for resizing](https://docs.microsoft.com/rest/api/compute/virtualmachines/listavailablesizes)",
- "oneOf": [
- {
- "enum": [
- "Basic_A0",
- "Basic_A1",
- "Basic_A2",
- "Basic_A3",
- "Basic_A4",
- "Standard_A0",
- "Standard_A1",
- "Standard_A2",
- "Standard_A3",
- "Standard_A4",
- "Standard_A5",
- "Standard_A6",
- "Standard_A7",
- "Standard_A8",
- "Standard_A9",
- "Standard_A10",
- "Standard_A11",
- "Standard_A1_v2",
- "Standard_A2_v2",
- "Standard_A4_v2",
- "Standard_A8_v2",
- "Standard_A2m_v2",
- "Standard_A4m_v2",
- "Standard_A8m_v2",
- "Standard_B1s",
- "Standard_B1ms",
- "Standard_B2s",
- "Standard_B2ms",
- "Standard_B4ms",
- "Standard_B8ms",
- "Standard_D1",
- "Standard_D2",
- "Standard_D3",
- "Standard_D4",
- "Standard_D11",
- "Standard_D12",
- "Standard_D13",
- "Standard_D14",
- "Standard_D1_v2",
- "Standard_D2_v2",
- "Standard_D3_v2",
- "Standard_D4_v2",
- "Standard_D5_v2",
- "Standard_D2_v3",
- "Standard_D4_v3",
- "Standard_D8_v3",
- "Standard_D16_v3",
- "Standard_D32_v3",
- "Standard_D64_v3",
- "Standard_D2s_v3",
- "Standard_D4s_v3",
- "Standard_D8s_v3",
- "Standard_D16s_v3",
- "Standard_D32s_v3",
- "Standard_D64s_v3",
- "Standard_D11_v2",
- "Standard_D12_v2",
- "Standard_D13_v2",
- "Standard_D14_v2",
- "Standard_D15_v2",
- "Standard_DS1",
- "Standard_DS2",
- "Standard_DS3",
- "Standard_DS4",
- "Standard_DS11",
- "Standard_DS12",
- "Standard_DS13",
- "Standard_DS14",
- "Standard_DS1_v2",
- "Standard_DS2_v2",
- "Standard_DS3_v2",
- "Standard_DS4_v2",
- "Standard_DS5_v2",
- "Standard_DS11_v2",
- "Standard_DS12_v2",
- "Standard_DS13_v2",
- "Standard_DS14_v2",
- "Standard_DS15_v2",
- "Standard_DS13-4_v2",
- "Standard_DS13-2_v2",
- "Standard_DS14-8_v2",
- "Standard_DS14-4_v2",
- "Standard_E2_v3",
- "Standard_E4_v3",
- "Standard_E8_v3",
- "Standard_E16_v3",
- "Standard_E32_v3",
- "Standard_E64_v3",
- "Standard_E2s_v3",
- "Standard_E4s_v3",
- "Standard_E8s_v3",
- "Standard_E16s_v3",
- "Standard_E32s_v3",
- "Standard_E64s_v3",
- "Standard_E32-16_v3",
- "Standard_E32-8s_v3",
- "Standard_E64-32s_v3",
- "Standard_E64-16s_v3",
- "Standard_F1",
- "Standard_F2",
- "Standard_F4",
- "Standard_F8",
- "Standard_F16",
- "Standard_F1s",
- "Standard_F2s",
- "Standard_F4s",
- "Standard_F8s",
- "Standard_F16s",
- "Standard_F2s_v2",
- "Standard_F4s_v2",
- "Standard_F8s_v2",
- "Standard_F16s_v2",
- "Standard_F32s_v2",
- "Standard_F64s_v2",
- "Standard_F72s_v2",
- "Standard_G1",
- "Standard_G2",
- "Standard_G3",
- "Standard_G4",
- "Standard_G5",
- "Standard_GS1",
- "Standard_GS2",
- "Standard_GS3",
- "Standard_GS4",
- "Standard_GS5",
- "Standard_GS4-8",
- "Standard_GS4-4",
- "Standard_GS5-16",
- "Standard_GS5-8",
- "Standard_H8",
- "Standard_H16",
- "Standard_H8m",
- "Standard_H16m",
- "Standard_H16r",
- "Standard_H16mr",
- "Standard_L4s",
- "Standard_L8s",
- "Standard_L16s",
- "Standard_L32s",
- "Standard_M64s",
- "Standard_M64ms",
- "Standard_M128s",
- "Standard_M128ms",
- "Standard_M64-32ms",
- "Standard_M64-16ms",
- "Standard_M128-64ms",
- "Standard_M128-32ms",
- "Standard_NC6",
- "Standard_NC12",
- "Standard_NC24",
- "Standard_NC24r",
- "Standard_NC6s_v2",
- "Standard_NC12s_v2",
- "Standard_NC24s_v2",
- "Standard_NC24rs_v2",
- "Standard_NC6s_v3",
- "Standard_NC12s_v3",
- "Standard_NC24s_v3",
- "Standard_NC24rs_v3",
- "Standard_ND6s",
- "Standard_ND12s",
- "Standard_ND24s",
- "Standard_ND24rs",
- "Standard_NV6",
- "Standard_NV12",
- "Standard_NV24"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImageDataDisk": {
- "description": "Describes a data disk.",
- "properties": {
- "blobUri": {
- "description": "The Virtual Hard Disk.",
- "type": "string"
- },
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managedDisk.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "snapshot": {
- "description": "The snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun"
- ],
- "type": "object"
- },
- "ImageDiskReference": {
- "description": "The source image used for creating the disk.",
- "properties": {
- "id": {
- "description": "A relative uri containing either a Platform Image Repository or user image reference.",
- "type": "string"
- },
- "lun": {
- "description": "If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "id"
- ],
- "type": "object"
- },
- "ImageOSDisk": {
- "description": "Describes an Operating System disk.",
- "properties": {
- "blobUri": {
- "description": "The Virtual Hard Disk.",
- "type": "string"
- },
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managedDisk.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osState": {
- "description": "The OS State.",
- "oneOf": [
- {
- "enum": [
- "Generalized",
- "Specialized"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from a custom image.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "snapshot": {
- "description": "The snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. UltraSSD_LRS cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "osType",
- "osState"
- ],
- "type": "object"
- },
- "ImageProperties": {
- "description": "Describes the properties of an Image.",
- "properties": {
- "sourceVirtualMachine": {
- "description": "The source virtual machine from which Image is created.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImagePurchasePlan": {
- "description": "Describes the gallery Image Definition purchase plan. This is used by marketplace images.",
- "properties": {
- "name": {
- "description": "The plan ID.",
- "type": "string"
- },
- "product": {
- "description": "The product ID.",
- "type": "string"
- },
- "publisher": {
- "description": "The publisher ID.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ImageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. NOTE: Image reference publisher and offer can only be set when you create the scale set.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "offer": {
- "description": "Specifies the offer of the platform image or marketplace image used to create the virtual machine.",
- "type": "string"
- },
- "publisher": {
- "description": "The image publisher.",
- "type": "string"
- },
- "sku": {
- "description": "The image SKU.",
- "type": "string"
- },
- "version": {
- "description": "Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ImageStorageProfile": {
- "description": "Describes a storage profile.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add a data disk to a virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/ImageDataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageOSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "zoneResilient": {
- "description": "Specifies whether an image is zone resilient or not. Default is false. Zone resilient images can be created only in regions that provide Zone Redundant Storage (ZRS).",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "InstanceViewStatus": {
- "description": "Instance view status.",
- "properties": {
- "code": {
- "description": "The status code.",
- "type": "string"
- },
- "displayStatus": {
- "description": "The short localizable label for the status.",
- "type": "string"
- },
- "level": {
- "description": "The level code.",
- "oneOf": [
- {
- "enum": [
- "Info",
- "Warning",
- "Error"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "message": {
- "description": "The detailed status message, including for alerts and error messages.",
- "type": "string"
- },
- "time": {
- "description": "The time of the status.",
- "format": "date-time",
- "type": "string"
- }
- },
- "type": "object"
- },
- "KeyVaultAndKeyReference": {
- "description": "Key Vault Key Url and vault id of KeK, KeK is optional and when provided is used to unwrap the encryptionKey",
- "properties": {
- "keyUrl": {
- "description": "Url pointing to a key or secret in KeyVault",
- "type": "string"
- },
- "sourceVault": {
- "description": "Resource id of the KeyVault containing the key or secret",
- "oneOf": [
- {
- "$ref": "#/definitions/SourceVault"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "sourceVault",
- "keyUrl"
- ],
- "type": "object"
- },
- "KeyVaultAndSecretReference": {
- "description": "Key Vault Secret Url and vault id of the encryption key ",
- "properties": {
- "secretUrl": {
- "description": "Url pointing to a key or secret in KeyVault",
- "type": "string"
- },
- "sourceVault": {
- "description": "Resource id of the KeyVault containing the key or secret",
- "oneOf": [
- {
- "$ref": "#/definitions/SourceVault"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "sourceVault",
- "secretUrl"
- ],
- "type": "object"
- },
- "KeyVaultKeyReference": {
- "description": "Describes a reference to Key Vault Key",
- "properties": {
- "keyUrl": {
- "description": "The URL referencing a key encryption key in Key Vault.",
- "type": "string"
- },
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing the key.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "keyUrl",
- "sourceVault"
- ],
- "type": "object"
- },
- "KeyVaultSecretReference": {
- "description": "Describes a reference to Key Vault Secret",
- "properties": {
- "secretUrl": {
- "description": "The URL referencing a secret in a Key Vault.",
- "type": "string"
- },
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing the secret.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "secretUrl",
- "sourceVault"
- ],
- "type": "object"
- },
- "LinuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).",
- "properties": {
- "disablePasswordAuthentication": {
- "description": "Specifies whether password authentication should be disabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionVMAgent": {
- "description": "Indicates whether virtual machine agent should be provisioned on the virtual machine.
When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ssh": {
- "description": "Specifies the ssh key configuration for a Linux OS.",
- "oneOf": [
- {
- "$ref": "#/definitions/SshConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ManagedArtifact": {
- "description": "The managed artifact.",
- "properties": {
- "id": {
- "description": "The managed artifact id.",
- "type": "string"
- }
- },
- "required": [
- "id"
- ],
- "type": "object"
- },
- "ManagedDiskParameters": {
- "description": "The parameters of a managed disk.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkInterfaceReference": {
- "description": "Describes a network interface reference.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "properties": {
- "description": "Describes a network interface reference properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkInterfaceReferenceProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkInterfaceReferenceProperties": {
- "description": "Describes a network interface reference properties.",
- "properties": {
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "properties": {
- "networkInterfaces": {
- "description": "Specifies the list of resource Ids for the network interfaces associated with the virtual machine.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/NetworkInterfaceReference"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "OSDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machine should be created.
Possible values are:
**Attach** \\u2013 This value is used when you are using a specialized disk to create the virtual machine.
**FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diffDiskSettings": {
- "description": "Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiffDiskSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettings": {
- "description": "Specifies the encryption settings for the OS Disk.
Minimum api-version: 2015-06-15",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/ManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhd": {
- "description": "The virtual hard disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "OSProfile": {
- "description": "Specifies the operating system settings for the virtual machine.",
- "properties": {
- "adminPassword": {
- "description": "Specifies the password of the administrator account.
**Minimum-length (Windows):** 8 characters
**Minimum-length (Linux):** 6 characters
**Max-length (Windows):** 123 characters
**Max-length (Linux):** 72 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])
**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"
For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-reset-rdp?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-vmaccess-extension?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#reset-root-password)",
- "type": "string"
- },
- "adminUsername": {
- "description": "Specifies the name of the administrator account.
**Windows-only restriction:** Cannot end in \".\"
**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters
For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)",
- "type": "string"
- },
- "allowExtensionOperations": {
- "description": "Specifies whether extension operations should be allowed on the virtual machine.
This may only be set to False when no extensions are present on the virtual machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "computerName": {
- "description": "Specifies the host OS name of the virtual machine.
This name cannot be updated after the VM is created.
**Max-length (Windows):** 15 characters
**Max-length (Linux):** 64 characters.
For naming conventions and restrictions see [Azure infrastructure services implementation guidelines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-infrastructure-subscription-accounts-guidelines?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#1-naming-conventions).",
- "type": "string"
- },
- "customData": {
- "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes.
For using cloud-init for your VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)",
- "type": "string"
- },
- "linuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "secrets": {
- "description": "Specifies set of certificates that should be installed onto the virtual machine.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultSecretGroup"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "windowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/WindowsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "properties": {
- "name": {
- "description": "The plan ID.",
- "type": "string"
- },
- "product": {
- "description": "Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.",
- "type": "string"
- },
- "promotionCode": {
- "description": "The promotion code.",
- "type": "string"
- },
- "publisher": {
- "description": "The publisher ID.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ProximityPlacementGroupProperties": {
- "description": "Describes the properties of a Proximity Placement Group.",
- "properties": {
- "proximityPlacementGroupType": {
- "description": "Specifies the type of the proximity placement group.
Possible values are:
**Standard** : Co-locate resources within an Azure region or Availability Zone.
**Ultra** : For future use.",
- "oneOf": [
- {
- "enum": [
- "Standard",
- "Ultra"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RecommendedMachineConfiguration": {
- "description": "The properties describe the recommended machine configuration for this Image Definition. These properties are updatable.",
- "properties": {
- "memory": {
- "description": "Describes the resource range.",
- "oneOf": [
- {
- "$ref": "#/definitions/ResourceRange"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vCPUs": {
- "description": "Describes the resource range.",
- "oneOf": [
- {
- "$ref": "#/definitions/ResourceRange"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ResourceRange": {
- "description": "Describes the resource range.",
- "properties": {
- "max": {
- "description": "The maximum number of the resource.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "min": {
- "description": "The minimum number of the resource.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RollingUpgradePolicy": {
- "description": "The configuration parameters used while performing a rolling upgrade.",
- "properties": {
- "maxBatchInstancePercent": {
- "description": "The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 5,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxUnhealthyInstancePercent": {
- "description": "The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 5,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxUnhealthyUpgradedInstancePercent": {
- "description": "The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "pauseTimeBetweenBatches": {
- "description": "The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format. The default value is 0 seconds (PT0S).",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Sku": {
- "description": "Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name.",
- "properties": {
- "capacity": {
- "description": "Specifies the number of virtual machines in the scale set.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The sku name.",
- "type": "string"
- },
- "tier": {
- "description": "Specifies the tier of virtual machines in a scale set.
Possible Values:
**Standard**
**Basic**",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SnapshotProperties": {
- "description": "Snapshot resource properties.",
- "properties": {
- "creationData": {
- "description": "Disk source information. CreationData information cannot be changed after the disk has been created.",
- "oneOf": [
- {
- "$ref": "#/definitions/CreationData"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "If creationData.createOption is Empty, this field is mandatory and it indicates the size of the VHD to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettings": {
- "description": "Encryption settings for disk or snapshot",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "The Operating System type.",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "creationData"
- ],
- "type": "object"
- },
- "SnapshotSku": {
- "description": "The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS.",
- "properties": {
- "name": {
- "description": "The sku name.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "Standard_ZRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SourceVault": {
- "description": "The vault id is an Azure Resource Manager Resource id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SshConfiguration": {
- "description": "SSH configuration for Linux based VMs running on Azure",
- "properties": {
- "publicKeys": {
- "description": "The list of SSH public keys used to authenticate with linux based VMs.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SshPublicKey"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SshPublicKey": {
- "description": "Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed.",
- "properties": {
- "keyData": {
- "description": "SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format.
For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-mac-create-ssh-keys?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).",
- "type": "string"
- },
- "path": {
- "description": "Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys",
- "type": "string"
- }
- },
- "type": "object"
- },
- "StorageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add a data disk to a virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/DataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/OSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SubResource": {
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "TargetRegion": {
- "description": "Describes the target region information.",
- "properties": {
- "name": {
- "description": "The name of the region.",
- "type": "string"
- },
- "regionalReplicaCount": {
- "description": "The number of replicas of the Image Version to be created per region. This property is updatable.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "UpgradePolicy": {
- "description": "Describes an upgrade policy - automatic, manual, or rolling.",
- "properties": {
- "autoOSUpgradePolicy": {
- "description": "Configuration parameters used for performing automatic OS Upgrade.",
- "oneOf": [
- {
- "$ref": "#/definitions/AutoOSUpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "automaticOSUpgrade": {
- "description": "Whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the image becomes available.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "mode": {
- "description": "Specifies the mode of an upgrade to virtual machines in the scale set.
Possible values are:
**Manual** - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.
**Automatic** - All virtual machines in the scale set are automatically updated at the same time.",
- "oneOf": [
- {
- "enum": [
- "Automatic",
- "Manual",
- "Rolling"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "rollingUpgradePolicy": {
- "description": "The configuration parameters used while performing a rolling upgrade.",
- "oneOf": [
- {
- "$ref": "#/definitions/RollingUpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "UserAssignedIdentitiesValue": {
- "properties": {},
- "type": "object"
- },
- "VaultCertificate": {
- "description": "Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM.",
- "properties": {
- "certificateStore": {
- "description": "For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account.
For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of these files are .pem formatted.",
- "type": "string"
- },
- "certificateUrl": {
- "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:
{
\"data\":\"\",
\"dataType\":\"pfx\",
\"password\":\"\"
}",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VaultSecretGroup": {
- "description": "Describes a set of certificates which are all in the same Key Vault.",
- "properties": {
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing all of the certificates in VaultCertificates.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vaultCertificates": {
- "description": "The list of key vault references in SourceVault which contain certificates.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultCertificate"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualHardDisk": {
- "description": "Describes the uri of a disk.",
- "properties": {
- "uri": {
- "description": "Specifies the virtual hard disk's uri.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineExtensionInstanceView": {
- "description": "The instance view of a virtual machine extension.",
- "properties": {
- "name": {
- "description": "The virtual machine extension name.",
- "type": "string"
- },
- "statuses": {
- "description": "The resource status information.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "substatuses": {
- "description": "The resource status information.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineExtensionProperties": {
- "description": "Describes the properties of a Virtual Machine Extension.",
- "properties": {
- "autoUpgradeMinorVersion": {
- "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "forceUpdateTag": {
- "description": "How the extension handler should be forced to update even if the extension configuration has not changed.",
- "type": "string"
- },
- "instanceView": {
- "description": "The virtual machine extension instance view.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionInstanceView"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedSettings": {
- "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publisher": {
- "description": "The name of the extension handler publisher.",
- "type": "string"
- },
- "settings": {
- "description": "Json formatted public settings for the extension.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineIdentity": {
- "description": "Identity for the virtual machine.",
- "properties": {
- "type": {
- "description": "The type of identity used for the virtual machine. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned",
- "UserAssigned",
- "SystemAssigned, UserAssigned",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userAssignedIdentities": {
- "description": "The list of user identities associated with the Virtual Machine. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
- "oneOf": [
- {
- "additionalProperties": {
- "$ref": "#/definitions/UserAssignedIdentitiesValue"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineProperties": {
- "description": "Describes the properties of a Virtual Machine.",
- "properties": {
- "additionalCapabilities": {
- "description": "Specifies additional capabilities enabled or disabled on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/AdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "availabilitySet": {
- "description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/HardwareProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises. This element is only used for images that contain the Windows Server operating system.
Possible values are:
Windows_Client
Windows_Server
If this element is included in a request for an update, the value must match the initial value. This value cannot be updated.
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the virtual machine should be assigned to.
Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/StorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetDataDisk": {
- "description": "Describes a virtual machine scale set data disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "The create option.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun",
- "createOption"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetExtension": {
- "description": "Describes a Virtual Machine Scale Set Extension.",
- "properties": {
- "name": {
- "description": "The name of the extension.",
- "type": "string"
- },
- "properties": {
- "anyOf": [
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/genericExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/bgInfo"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/dscExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackup"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/chefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/dockerExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/eset"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/puppetAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/customScript"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetExtensionProfile": {
- "description": "Describes a virtual machine scale set extension profile.",
- "properties": {
- "extensions": {
- "description": "The virtual machine scale set child extension resources.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetExtension"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetExtensionProperties": {
- "description": "Describes the properties of a Virtual Machine Scale Set Extension.",
- "properties": {
- "autoUpgradeMinorVersion": {
- "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "forceUpdateTag": {
- "description": "If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.",
- "type": "string"
- },
- "protectedSettings": {
- "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionAfterExtensions": {
- "description": "Collection of extension names after which this extension needs to be provisioned.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publisher": {
- "description": "The name of the extension handler publisher.",
- "type": "string"
- },
- "settings": {
- "description": "Json formatted public settings for the extension.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIPConfiguration": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "name": {
- "description": "The IP configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetIPConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetIPConfigurationProperties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration properties.",
- "properties": {
- "applicationGatewayBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of application gateways. A scale set can reference backend address pools of multiple application gateways. Multiple scale sets cannot use the same application gateway.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "applicationSecurityGroups": {
- "description": "Specifies an array of references to application security group.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of load balancers. A scale set can reference backend address pools of one public and one internal load balancer. Multiple scale sets cannot use the same load balancer.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerInboundNatPools": {
- "description": "Specifies an array of references to inbound Nat pools of the load balancers. A scale set can reference inbound nat pools of one public and one internal load balancer. Multiple scale sets cannot use the same load balancer",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "privateIPAddressVersion": {
- "description": "Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressConfiguration": {
- "description": "The publicIPAddressConfiguration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "subnet": {
- "description": "Specifies the identifier of the subnet.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApiEntityReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIdentity": {
- "description": "Identity for the virtual machine scale set.",
- "properties": {
- "type": {
- "description": "The type of identity used for the virtual machine scale set. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine scale set.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned",
- "UserAssigned",
- "SystemAssigned, UserAssigned",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userAssignedIdentities": {
- "description": "The list of user identities associated with the virtual machine scale set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
- "oneOf": [
- {
- "additionalProperties": {
- "$ref": "#/definitions/VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue": {
- "properties": {},
- "type": "object"
- },
- "VirtualMachineScaleSetIpTag": {
- "description": "Contains the IP tag associated with the public IP address.",
- "properties": {
- "ipTagType": {
- "description": "IP tag type. Example: FirstPartyUsage.",
- "type": "string"
- },
- "tag": {
- "description": "IP tag associated with the public IP. Example: SQL, Storage etc.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetManagedDiskParameters": {
- "description": "Describes the parameters of a ScaleSet managed disk.",
- "properties": {
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. Managed OS disk storage account type can only be set when you create the scale set. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfiguration": {
- "description": "Describes a virtual machine scale set network profile's network configurations.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "name": {
- "description": "The network configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfigurationDnsSettings": {
- "description": "Describes a virtual machines scale sets network configuration's DNS settings.",
- "properties": {
- "dnsServers": {
- "description": "List of DNS servers IP addresses",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfigurationProperties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "properties": {
- "dnsSettings": {
- "description": "The dns settings to be applied on the network interfaces.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationDnsSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAcceleratedNetworking": {
- "description": "Specifies whether the network interface is accelerated networking-enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableIPForwarding": {
- "description": "Whether IP forwarding enabled on this NIC.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipConfigurations": {
- "description": "Specifies the IP configurations of the network interface.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetIPConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkSecurityGroup": {
- "description": "The network security group.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "ipConfigurations"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkProfile": {
- "description": "Describes a virtual machine scale set network profile.",
- "properties": {
- "healthProbe": {
- "description": "A reference to a load balancer probe used to determine the health of an instance in the virtual machine scale set. The reference will be in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApiEntityReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkInterfaceConfigurations": {
- "description": "The list of network configurations.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetOSDisk": {
- "description": "Describes a virtual machine scale set operating system disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machines in the scale set should be created.
The only allowed value is: **FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diffDiskSettings": {
- "description": "Specifies the ephemeral disk Settings for the operating system disk used by the virtual machine scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiffDiskSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of the operating system disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "Specifies information about the unmanaged user image to base the scale set on.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhdContainers": {
- "description": "Specifies the container urls that are used to store operating system disks for the scale set.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetOSProfile": {
- "description": "Describes a virtual machine scale set OS profile.",
- "properties": {
- "adminPassword": {
- "description": "Specifies the password of the administrator account.
**Minimum-length (Windows):** 8 characters
**Minimum-length (Linux):** 6 characters
**Max-length (Windows):** 123 characters
**Max-length (Linux):** 72 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])
**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"
For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-reset-rdp?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-vmaccess-extension?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#reset-root-password)",
- "type": "string"
- },
- "adminUsername": {
- "description": "Specifies the name of the administrator account.
**Windows-only restriction:** Cannot end in \".\"
**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters
For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)",
- "type": "string"
- },
- "computerNamePrefix": {
- "description": "Specifies the computer name prefix for all of the virtual machines in the scale set. Computer name prefixes must be 1 to 15 characters long.",
- "type": "string"
- },
- "customData": {
- "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes.
For using cloud-init for your VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)",
- "type": "string"
- },
- "linuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "secrets": {
- "description": "Specifies set of certificates that should be installed onto the virtual machines in the scale set.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultSecretGroup"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "windowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/WindowsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetProperties": {
- "description": "Describes the properties of a Virtual Machine Scale Set.",
- "properties": {
- "overprovision": {
- "description": "Specifies whether the Virtual Machine Scale Set should be overprovisioned.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformFaultDomainCount": {
- "description": "Fault Domain count for each placement group.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the virtual machine scale set should be assigned to.
Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "singlePlacementGroup": {
- "description": "When true this limits the scale set to a single placement group, of max size 100 virtual machines.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "upgradePolicy": {
- "description": "The upgrade policy.",
- "oneOf": [
- {
- "$ref": "#/definitions/UpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "virtualMachineProfile": {
- "description": "The virtual machine profile.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "zoneBalance": {
- "description": "Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfiguration": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "properties": {
- "name": {
- "description": "The publicIP address configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings": {
- "description": "Describes a virtual machines scale sets network configuration's DNS settings.",
- "properties": {
- "domainNameLabel": {
- "description": "The Domain name label.The concatenation of the domain name label and vm index will be the domain name labels of the PublicIPAddress resources that will be created",
- "type": "string"
- }
- },
- "required": [
- "domainNameLabel"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfigurationProperties": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "properties": {
- "dnsSettings": {
- "description": "The dns settings to be applied on the publicIP addresses .",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "idleTimeoutInMinutes": {
- "description": "The idle timeout of the public IP address.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipTags": {
- "description": "The list of IP tags associated with the public IP address.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetIpTag"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPPrefix": {
- "description": "The PublicIPPrefix from which to allocate publicIP addresses.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetStorageProfile": {
- "description": "Describes a virtual machine scale set storage profile.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add data disks to the virtual machines in the scale set.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetDataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machines in the scale set.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetOSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProfile": {
- "description": "Describes a virtual machine scale set virtual machine profile.",
- "properties": {
- "additionalCapabilities": {
- "description": "Specifies additional capabilities enabled or disabled on the virtual machine in the scale set. For instance: whether the virtual machine has the capability to support attaching managed data disks with UltraSSD_LRS storage account type.",
- "oneOf": [
- {
- "$ref": "#/definitions/AdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "evictionPolicy": {
- "description": "Specifies the eviction policy for virtual machines in a low priority scale set.
Minimum api-version: 2017-10-30-preview",
- "oneOf": [
- {
- "enum": [
- "Deallocate",
- "Delete"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extensionProfile": {
- "description": "Specifies a collection of settings for extensions installed on virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetExtensionProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises. This element is only used for images that contain the Windows Server operating system.
Possible values are:
Windows_Client
Windows_Server
If this element is included in a request for an update, the value must match the initial value. This value cannot be updated.
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies properties of the network interfaces of the virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings for the virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetOSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "priority": {
- "description": "Specifies the priority for the virtual machines in the scale set.
Minimum api-version: 2017-10-30-preview",
- "oneOf": [
- {
- "enum": [
- "Regular",
- "Low"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProperties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "properties": {
- "additionalCapabilities": {
- "description": "Specifies additional capabilities enabled or disabled on the virtual machine in the scale set. For instance: whether the virtual machine has the capability to support attaching managed data disks with UltraSSD_LRS storage account type.",
- "oneOf": [
- {
- "$ref": "#/definitions/AdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "availabilitySet": {
- "description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/HardwareProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises. This element is only used for images that contain the Windows Server operating system.
Possible values are:
Windows_Client
Windows_Server
If this element is included in a request for an update, the value must match the initial value. This value cannot be updated.
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/StorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WinRMConfiguration": {
- "description": "Describes Windows Remote Management configuration of the VM",
- "properties": {
- "listeners": {
- "description": "The list of Windows Remote Management listeners",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/WinRMListener"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WinRMListener": {
- "description": "Describes Protocol and thumbprint of Windows Remote Management listener",
- "properties": {
- "certificateUrl": {
- "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:
{
\"data\":\"\",
\"dataType\":\"pfx\",
\"password\":\"\"
}",
- "type": "string"
- },
- "protocol": {
- "description": "Specifies the protocol of listener.
Possible values are:
**http**
**https**",
- "oneOf": [
- {
- "enum": [
- "Http",
- "Https"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WindowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "properties": {
- "additionalUnattendContent": {
- "description": "Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/AdditionalUnattendContent"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticUpdates": {
- "description": "Indicates whether virtual machine is enabled for automatic updates.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionVMAgent": {
- "description": "Indicates whether virtual machine agent should be provisioned on the virtual machine.
When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "timeZone": {
- "description": "Specifies the time zone of the virtual machine. e.g. \"Pacific Standard Time\"",
- "type": "string"
- },
- "winRM": {
- "description": "Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.",
- "oneOf": [
- {
- "$ref": "#/definitions/WinRMConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "galleries_images_childResource": {
- "description": "Microsoft.Compute/galleries/images",
- "properties": {
- "apiVersion": {
- "enum": [
- "2018-06-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Image Definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery Image Definition.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "images"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_images_versions_childResource": {
- "description": "Microsoft.Compute/galleries/images/versions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2018-06-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Image Version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery Image Version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageVersionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "versions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2018-06-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the VM scale set extension.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Scale Set Extension.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetExtensionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualmachines_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualmachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2018-06-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The instance ID of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "virtualmachines"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachines/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2018-06-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine extension.",
- "type": "string"
- },
- "properties": {
- "anyOf": [
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/genericExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/bgInfo"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/dscExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackup"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/chefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/dockerExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/eset"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/puppetAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/customScript"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- }
-}
\ No newline at end of file
diff --git a/schemas/2018-09-30/Microsoft.Compute.json b/schemas/2018-09-30/Microsoft.Compute.json
deleted file mode 100644
index 75c6f5d42d..0000000000
--- a/schemas/2018-09-30/Microsoft.Compute.json
+++ /dev/null
@@ -1,571 +0,0 @@
-{
- "id": "https://schema.management.azure.com/schemas/2018-09-30/Microsoft.Compute.json#",
- "title": "Microsoft.Compute",
- "description": "Microsoft Compute Resource Types",
- "$schema": "http://json-schema.org/draft-04/schema#",
- "resourceDefinitions": {
- "disks": {
- "description": "Microsoft.Compute/disks",
- "properties": {
- "apiVersion": {
- "enum": [
- "2018-09-30"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Disk resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, or UltraSSD_LRS.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/disks"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The Logical zone list for Disk.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "snapshots": {
- "description": "Microsoft.Compute/snapshots",
- "properties": {
- "apiVersion": {
- "enum": [
- "2018-09-30"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Snapshot resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/SnapshotProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS.",
- "oneOf": [
- {
- "$ref": "#/definitions/SnapshotSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/snapshots"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- },
- "definitions": {
- "CreationData": {
- "description": "Data used when creating a disk.",
- "properties": {
- "createOption": {
- "description": "This enumerates the possible sources of a disk's creation.",
- "oneOf": [
- {
- "enum": [
- "Empty",
- "Attach",
- "FromImage",
- "Import",
- "Copy",
- "Restore",
- "Upload"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Disk source information.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageDiskReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sourceResourceId": {
- "description": "If createOption is Copy, this is the ARM id of the source snapshot or disk.",
- "type": "string"
- },
- "sourceUri": {
- "description": "If createOption is Import, this is the URI of a blob to be imported into a managed disk.",
- "type": "string"
- },
- "storageAccountId": {
- "description": "If createOption is Import, the Azure Resource Manager identifier of the storage account containing the blob to import as a disk. Required only if the blob is in a different subscription",
- "type": "string"
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "DiskProperties": {
- "description": "Disk resource properties.",
- "properties": {
- "creationData": {
- "description": "Disk source information. CreationData information cannot be changed after the disk has been created.",
- "oneOf": [
- {
- "$ref": "#/definitions/CreationData"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskIOPSReadWrite": {
- "description": "The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskMBpsReadWrite": {
- "description": "The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "If creationData.createOption is Empty, this field is mandatory and it indicates the size of the VHD to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettingsCollection": {
- "description": "Encryption settings collection used for Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSettingsCollection"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hyperVGeneration": {
- "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "The Operating System type.",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "creationData"
- ],
- "type": "object"
- },
- "DiskSku": {
- "description": "The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, or UltraSSD_LRS.",
- "properties": {
- "name": {
- "description": "The sku name.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "EncryptionSettingsCollection": {
- "description": "Encryption settings for disk or snapshot",
- "properties": {
- "enabled": {
- "description": "Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettings": {
- "description": "A collection of encryption settings, one for each disk volume.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/EncryptionSettingsElement"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "enabled"
- ],
- "type": "object"
- },
- "EncryptionSettingsElement": {
- "description": "Encryption settings for one disk volume.",
- "properties": {
- "diskEncryptionKey": {
- "description": "Key Vault Secret Url and vault id of the disk encryption key",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultAndSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "keyEncryptionKey": {
- "description": "Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultAndKeyReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImageDiskReference": {
- "description": "The source image used for creating the disk.",
- "properties": {
- "id": {
- "description": "A relative uri containing either a Platform Image Repository or user image reference.",
- "type": "string"
- },
- "lun": {
- "description": "If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "id"
- ],
- "type": "object"
- },
- "KeyVaultAndKeyReference": {
- "description": "Key Vault Key Url and vault id of KeK, KeK is optional and when provided is used to unwrap the encryptionKey",
- "properties": {
- "keyUrl": {
- "description": "Url pointing to a key or secret in KeyVault",
- "type": "string"
- },
- "sourceVault": {
- "description": "Resource id of the KeyVault containing the key or secret",
- "oneOf": [
- {
- "$ref": "#/definitions/SourceVault"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "sourceVault",
- "keyUrl"
- ],
- "type": "object"
- },
- "KeyVaultAndSecretReference": {
- "description": "Key Vault Secret Url and vault id of the encryption key ",
- "properties": {
- "secretUrl": {
- "description": "Url pointing to a key or secret in KeyVault",
- "type": "string"
- },
- "sourceVault": {
- "description": "Resource id of the KeyVault containing the key or secret",
- "oneOf": [
- {
- "$ref": "#/definitions/SourceVault"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "sourceVault",
- "secretUrl"
- ],
- "type": "object"
- },
- "SnapshotProperties": {
- "description": "Snapshot resource properties.",
- "properties": {
- "creationData": {
- "description": "Disk source information. CreationData information cannot be changed after the disk has been created.",
- "oneOf": [
- {
- "$ref": "#/definitions/CreationData"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "If creationData.createOption is Empty, this field is mandatory and it indicates the size of the VHD to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettingsCollection": {
- "description": "Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSettingsCollection"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hyperVGeneration": {
- "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "The Operating System type.",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "creationData"
- ],
- "type": "object"
- },
- "SnapshotSku": {
- "description": "The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS.",
- "properties": {
- "name": {
- "description": "The sku name.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "Standard_ZRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SourceVault": {
- "description": "The vault id is an Azure Resource Manager Resource id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- }
- }
-}
\ No newline at end of file
diff --git a/schemas/2018-10-01/Microsoft.Compute.json b/schemas/2018-10-01/Microsoft.Compute.json
deleted file mode 100644
index b2764e176f..0000000000
--- a/schemas/2018-10-01/Microsoft.Compute.json
+++ /dev/null
@@ -1,3985 +0,0 @@
-{
- "id": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.json#",
- "title": "Microsoft.Compute",
- "description": "Microsoft Compute Resource Types",
- "$schema": "http://json-schema.org/draft-04/schema#",
- "resourceDefinitions": {
- "availabilitySets": {
- "description": "Microsoft.Compute/availabilitySets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2018-10-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the availability set.",
- "type": "string"
- },
- "properties": {
- "description": "The instance view of a resource.",
- "oneOf": [
- {
- "$ref": "#/definitions/AvailabilitySetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "Sku of the availability set, only name is required to be set. See AvailabilitySetSkuTypes for possible set of values. Use 'Aligned' for virtual machines with managed disks and 'Classic' for virtual machines with unmanaged disks. Default value is 'Classic'.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/availabilitySets"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "images": {
- "description": "Microsoft.Compute/images",
- "properties": {
- "apiVersion": {
- "enum": [
- "2018-10-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the image.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of an Image.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/images"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "proximityPlacementGroups": {
- "description": "Microsoft.Compute/proximityPlacementGroups",
- "properties": {
- "apiVersion": {
- "enum": [
- "2018-10-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the proximity placement group.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Proximity Placement Group.",
- "oneOf": [
- {
- "$ref": "#/definitions/ProximityPlacementGroupProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/proximityPlacementGroups"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets": {
- "description": "Microsoft.Compute/virtualMachineScaleSets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2018-10-01"
- ],
- "type": "string"
- },
- "identity": {
- "description": "The identity of the virtual machine scale set, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the VM scale set to create or update.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Scale Set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachineScaleSets_extensions_childResource"
- },
- {
- "$ref": "#/definitions/virtualMachineScaleSets_virtualmachines_childResource"
- }
- ]
- },
- "type": "array"
- },
- "sku": {
- "description": "The virtual machine scale set sku.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The virtual machine scale set zones. NOTE: Availability zones can only be set when you create the scale set.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualmachines": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualmachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2018-10-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The instance ID of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets/virtualmachines"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines": {
- "description": "Microsoft.Compute/virtualMachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2018-10-01"
- ],
- "type": "string"
- },
- "identity": {
- "description": "The identity of the virtual machine, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachines_extensions_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachines"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The virtual machine zones.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- },
- "definitions": {
- "AdditionalCapabilities": {
- "description": "Enables or disables a capability on the virtual machine or virtual machine scale set.",
- "properties": {
- "ultraSSDEnabled": {
- "description": "The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "AdditionalUnattendContent": {
- "description": "Specifies additional XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is applied.",
- "properties": {
- "componentName": {
- "description": "The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup.",
- "oneOf": [
- {
- "enum": [
- "Microsoft-Windows-Shell-Setup"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "content": {
- "description": "Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted.",
- "type": "string"
- },
- "passName": {
- "description": "The pass name. Currently, the only allowable value is OobeSystem.",
- "oneOf": [
- {
- "enum": [
- "OobeSystem"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "settingName": {
- "description": "Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon.",
- "oneOf": [
- {
- "enum": [
- "AutoLogon",
- "FirstLogonCommands"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ApiEntityReference": {
- "description": "The API entity reference.",
- "properties": {
- "id": {
- "description": "The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...",
- "type": "string"
- }
- },
- "type": "object"
- },
- "AutomaticOSUpgradePolicy": {
- "description": "The configuration parameters used for performing automatic OS upgrade.",
- "properties": {
- "disableAutomaticRollback": {
- "description": "Whether OS image rollback feature should be disabled. Default value is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticOSUpgrade": {
- "description": "Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. Default value is false. If this is set to true for Windows based scale sets, recommendation is to set [enableAutomaticUpdates](https://docs.microsoft.com/dotnet/api/microsoft.azure.management.compute.models.windowsconfiguration.enableautomaticupdates?view=azure-dotnet) to false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "AutomaticRepairsPolicy": {
- "description": "Specifies the configuration parameters for automatic repairs on the virtual machine scale set.",
- "properties": {
- "enabled": {
- "description": "Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "gracePeriod": {
- "description": "The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The minimum allowed grace period is 30 minutes (PT30M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M).",
- "type": "string"
- }
- },
- "type": "object"
- },
- "AvailabilitySetProperties": {
- "description": "The instance view of a resource.",
- "properties": {
- "platformFaultDomainCount": {
- "description": "Fault Domain count.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformUpdateDomainCount": {
- "description": "Update Domain count.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the availability set should be assigned to.
Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "virtualMachines": {
- "description": "A list of references to all virtual machines in the availability set.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "BootDiagnostics": {
- "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.",
- "properties": {
- "enabled": {
- "description": "Whether boot diagnostics should be enabled on the Virtual Machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageUri": {
- "description": "Uri of the storage account to use for placing the console output and screenshot.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "DataDisk": {
- "description": "Describes a data disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machine should be created.
Possible values are:
**Attach** \\u2013 This value is used when you are using a specialized disk to create the virtual machine.
**FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/ManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "vhd": {
- "description": "The virtual hard disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun",
- "createOption"
- ],
- "type": "object"
- },
- "DiagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "properties": {
- "bootDiagnostics": {
- "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.",
- "oneOf": [
- {
- "$ref": "#/definitions/BootDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiffDiskSettings": {
- "description": "Describes the parameters of ephemeral disk settings that can be specified for operating system disk.
NOTE: The ephemeral disk settings can only be specified for managed disk.",
- "properties": {
- "option": {
- "description": "Specifies the ephemeral disk settings for operating system disk.",
- "oneOf": [
- {
- "enum": [
- "Local"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiskEncryptionSettings": {
- "description": "Describes a Encryption Settings for a Disk",
- "properties": {
- "diskEncryptionKey": {
- "description": "Specifies the location of the disk encryption key, which is a Key Vault Secret.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enabled": {
- "description": "Specifies whether disk encryption should be enabled on the virtual machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "keyEncryptionKey": {
- "description": "Specifies the location of the key encryption key in Key Vault.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultKeyReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "HardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "properties": {
- "vmSize": {
- "description": "Specifies the size of the virtual machine. For more information about virtual machine sizes, see [Sizes for virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-sizes?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
The available VM sizes depend on region and availability set. For a list of available sizes use these APIs:
[List all available virtual machine sizes in an availability set](https://docs.microsoft.com/rest/api/compute/availabilitysets/listavailablesizes)
[List all available virtual machine sizes in a region](https://docs.microsoft.com/rest/api/compute/virtualmachinesizes/list)
[List all available virtual machine sizes for resizing](https://docs.microsoft.com/rest/api/compute/virtualmachines/listavailablesizes)",
- "oneOf": [
- {
- "enum": [
- "Basic_A0",
- "Basic_A1",
- "Basic_A2",
- "Basic_A3",
- "Basic_A4",
- "Standard_A0",
- "Standard_A1",
- "Standard_A2",
- "Standard_A3",
- "Standard_A4",
- "Standard_A5",
- "Standard_A6",
- "Standard_A7",
- "Standard_A8",
- "Standard_A9",
- "Standard_A10",
- "Standard_A11",
- "Standard_A1_v2",
- "Standard_A2_v2",
- "Standard_A4_v2",
- "Standard_A8_v2",
- "Standard_A2m_v2",
- "Standard_A4m_v2",
- "Standard_A8m_v2",
- "Standard_B1s",
- "Standard_B1ms",
- "Standard_B2s",
- "Standard_B2ms",
- "Standard_B4ms",
- "Standard_B8ms",
- "Standard_D1",
- "Standard_D2",
- "Standard_D3",
- "Standard_D4",
- "Standard_D11",
- "Standard_D12",
- "Standard_D13",
- "Standard_D14",
- "Standard_D1_v2",
- "Standard_D2_v2",
- "Standard_D3_v2",
- "Standard_D4_v2",
- "Standard_D5_v2",
- "Standard_D2_v3",
- "Standard_D4_v3",
- "Standard_D8_v3",
- "Standard_D16_v3",
- "Standard_D32_v3",
- "Standard_D64_v3",
- "Standard_D2s_v3",
- "Standard_D4s_v3",
- "Standard_D8s_v3",
- "Standard_D16s_v3",
- "Standard_D32s_v3",
- "Standard_D64s_v3",
- "Standard_D11_v2",
- "Standard_D12_v2",
- "Standard_D13_v2",
- "Standard_D14_v2",
- "Standard_D15_v2",
- "Standard_DS1",
- "Standard_DS2",
- "Standard_DS3",
- "Standard_DS4",
- "Standard_DS11",
- "Standard_DS12",
- "Standard_DS13",
- "Standard_DS14",
- "Standard_DS1_v2",
- "Standard_DS2_v2",
- "Standard_DS3_v2",
- "Standard_DS4_v2",
- "Standard_DS5_v2",
- "Standard_DS11_v2",
- "Standard_DS12_v2",
- "Standard_DS13_v2",
- "Standard_DS14_v2",
- "Standard_DS15_v2",
- "Standard_DS13-4_v2",
- "Standard_DS13-2_v2",
- "Standard_DS14-8_v2",
- "Standard_DS14-4_v2",
- "Standard_E2_v3",
- "Standard_E4_v3",
- "Standard_E8_v3",
- "Standard_E16_v3",
- "Standard_E32_v3",
- "Standard_E64_v3",
- "Standard_E2s_v3",
- "Standard_E4s_v3",
- "Standard_E8s_v3",
- "Standard_E16s_v3",
- "Standard_E32s_v3",
- "Standard_E64s_v3",
- "Standard_E32-16_v3",
- "Standard_E32-8s_v3",
- "Standard_E64-32s_v3",
- "Standard_E64-16s_v3",
- "Standard_F1",
- "Standard_F2",
- "Standard_F4",
- "Standard_F8",
- "Standard_F16",
- "Standard_F1s",
- "Standard_F2s",
- "Standard_F4s",
- "Standard_F8s",
- "Standard_F16s",
- "Standard_F2s_v2",
- "Standard_F4s_v2",
- "Standard_F8s_v2",
- "Standard_F16s_v2",
- "Standard_F32s_v2",
- "Standard_F64s_v2",
- "Standard_F72s_v2",
- "Standard_G1",
- "Standard_G2",
- "Standard_G3",
- "Standard_G4",
- "Standard_G5",
- "Standard_GS1",
- "Standard_GS2",
- "Standard_GS3",
- "Standard_GS4",
- "Standard_GS5",
- "Standard_GS4-8",
- "Standard_GS4-4",
- "Standard_GS5-16",
- "Standard_GS5-8",
- "Standard_H8",
- "Standard_H16",
- "Standard_H8m",
- "Standard_H16m",
- "Standard_H16r",
- "Standard_H16mr",
- "Standard_L4s",
- "Standard_L8s",
- "Standard_L16s",
- "Standard_L32s",
- "Standard_M64s",
- "Standard_M64ms",
- "Standard_M128s",
- "Standard_M128ms",
- "Standard_M64-32ms",
- "Standard_M64-16ms",
- "Standard_M128-64ms",
- "Standard_M128-32ms",
- "Standard_NC6",
- "Standard_NC12",
- "Standard_NC24",
- "Standard_NC24r",
- "Standard_NC6s_v2",
- "Standard_NC12s_v2",
- "Standard_NC24s_v2",
- "Standard_NC24rs_v2",
- "Standard_NC6s_v3",
- "Standard_NC12s_v3",
- "Standard_NC24s_v3",
- "Standard_NC24rs_v3",
- "Standard_ND6s",
- "Standard_ND12s",
- "Standard_ND24s",
- "Standard_ND24rs",
- "Standard_NV6",
- "Standard_NV12",
- "Standard_NV24"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImageDataDisk": {
- "description": "Describes a data disk.",
- "properties": {
- "blobUri": {
- "description": "The Virtual Hard Disk.",
- "type": "string"
- },
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managedDisk.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "snapshot": {
- "description": "The snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun"
- ],
- "type": "object"
- },
- "ImageOSDisk": {
- "description": "Describes an Operating System disk.",
- "properties": {
- "blobUri": {
- "description": "The Virtual Hard Disk.",
- "type": "string"
- },
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managedDisk.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osState": {
- "description": "The OS State.",
- "oneOf": [
- {
- "enum": [
- "Generalized",
- "Specialized"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from a custom image.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "snapshot": {
- "description": "The snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. UltraSSD_LRS cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "osType",
- "osState"
- ],
- "type": "object"
- },
- "ImageProperties": {
- "description": "Describes the properties of an Image.",
- "properties": {
- "sourceVirtualMachine": {
- "description": "The source virtual machine from which Image is created.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. NOTE: Image reference publisher and offer can only be set when you create the scale set.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "offer": {
- "description": "Specifies the offer of the platform image or marketplace image used to create the virtual machine.",
- "type": "string"
- },
- "publisher": {
- "description": "The image publisher.",
- "type": "string"
- },
- "sku": {
- "description": "The image SKU.",
- "type": "string"
- },
- "version": {
- "description": "Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ImageStorageProfile": {
- "description": "Describes a storage profile.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add a data disk to a virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/ImageDataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageOSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "zoneResilient": {
- "description": "Specifies whether an image is zone resilient or not. Default is false. Zone resilient images can be created only in regions that provide Zone Redundant Storage (ZRS).",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "InstanceViewStatus": {
- "description": "Instance view status.",
- "properties": {
- "code": {
- "description": "The status code.",
- "type": "string"
- },
- "displayStatus": {
- "description": "The short localizable label for the status.",
- "type": "string"
- },
- "level": {
- "description": "The level code.",
- "oneOf": [
- {
- "enum": [
- "Info",
- "Warning",
- "Error"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "message": {
- "description": "The detailed status message, including for alerts and error messages.",
- "type": "string"
- },
- "time": {
- "description": "The time of the status.",
- "format": "date-time",
- "type": "string"
- }
- },
- "type": "object"
- },
- "KeyVaultKeyReference": {
- "description": "Describes a reference to Key Vault Key",
- "properties": {
- "keyUrl": {
- "description": "The URL referencing a key encryption key in Key Vault.",
- "type": "string"
- },
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing the key.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "keyUrl",
- "sourceVault"
- ],
- "type": "object"
- },
- "KeyVaultSecretReference": {
- "description": "Describes a reference to Key Vault Secret",
- "properties": {
- "secretUrl": {
- "description": "The URL referencing a secret in a Key Vault.",
- "type": "string"
- },
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing the secret.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "secretUrl",
- "sourceVault"
- ],
- "type": "object"
- },
- "LinuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).",
- "properties": {
- "disablePasswordAuthentication": {
- "description": "Specifies whether password authentication should be disabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionVMAgent": {
- "description": "Indicates whether virtual machine agent should be provisioned on the virtual machine.
When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ssh": {
- "description": "Specifies the ssh key configuration for a Linux OS.",
- "oneOf": [
- {
- "$ref": "#/definitions/SshConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ManagedDiskParameters": {
- "description": "The parameters of a managed disk.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkInterfaceReference": {
- "description": "Describes a network interface reference.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "properties": {
- "description": "Describes a network interface reference properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkInterfaceReferenceProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkInterfaceReferenceProperties": {
- "description": "Describes a network interface reference properties.",
- "properties": {
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "properties": {
- "networkInterfaces": {
- "description": "Specifies the list of resource Ids for the network interfaces associated with the virtual machine.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/NetworkInterfaceReference"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "OSDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machine should be created.
Possible values are:
**Attach** \\u2013 This value is used when you are using a specialized disk to create the virtual machine.
**FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diffDiskSettings": {
- "description": "Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiffDiskSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettings": {
- "description": "Specifies the encryption settings for the OS Disk.
Minimum api-version: 2015-06-15",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/ManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhd": {
- "description": "The virtual hard disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "OSProfile": {
- "description": "Specifies the operating system settings for the virtual machine.",
- "properties": {
- "adminPassword": {
- "description": "Specifies the password of the administrator account.
**Minimum-length (Windows):** 8 characters
**Minimum-length (Linux):** 6 characters
**Max-length (Windows):** 123 characters
**Max-length (Linux):** 72 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])
**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"
For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-reset-rdp?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-vmaccess-extension?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#reset-root-password)",
- "type": "string"
- },
- "adminUsername": {
- "description": "Specifies the name of the administrator account.
**Windows-only restriction:** Cannot end in \".\"
**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters
For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)",
- "type": "string"
- },
- "allowExtensionOperations": {
- "description": "Specifies whether extension operations should be allowed on the virtual machine.
This may only be set to False when no extensions are present on the virtual machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "computerName": {
- "description": "Specifies the host OS name of the virtual machine.
This name cannot be updated after the VM is created.
**Max-length (Windows):** 15 characters
**Max-length (Linux):** 64 characters.
For naming conventions and restrictions see [Azure infrastructure services implementation guidelines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-infrastructure-subscription-accounts-guidelines?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#1-naming-conventions).",
- "type": "string"
- },
- "customData": {
- "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes.
For using cloud-init for your VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)",
- "type": "string"
- },
- "linuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "secrets": {
- "description": "Specifies set of certificates that should be installed onto the virtual machine.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultSecretGroup"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "windowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/WindowsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "properties": {
- "name": {
- "description": "The plan ID.",
- "type": "string"
- },
- "product": {
- "description": "Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.",
- "type": "string"
- },
- "promotionCode": {
- "description": "The promotion code.",
- "type": "string"
- },
- "publisher": {
- "description": "The publisher ID.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ProximityPlacementGroupProperties": {
- "description": "Describes the properties of a Proximity Placement Group.",
- "properties": {
- "proximityPlacementGroupType": {
- "description": "Specifies the type of the proximity placement group.
Possible values are:
**Standard** : Co-locate resources within an Azure region or Availability Zone.
**Ultra** : For future use.",
- "oneOf": [
- {
- "enum": [
- "Standard",
- "Ultra"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RollingUpgradePolicy": {
- "description": "The configuration parameters used while performing a rolling upgrade.",
- "properties": {
- "maxBatchInstancePercent": {
- "description": "The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 5,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxUnhealthyInstancePercent": {
- "description": "The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 5,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxUnhealthyUpgradedInstancePercent": {
- "description": "The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "pauseTimeBetweenBatches": {
- "description": "The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format. The default value is 0 seconds (PT0S).",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Sku": {
- "description": "Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name.",
- "properties": {
- "capacity": {
- "description": "Specifies the number of virtual machines in the scale set.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The sku name.",
- "type": "string"
- },
- "tier": {
- "description": "Specifies the tier of virtual machines in a scale set.
Possible Values:
**Standard**
**Basic**",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SshConfiguration": {
- "description": "SSH configuration for Linux based VMs running on Azure",
- "properties": {
- "publicKeys": {
- "description": "The list of SSH public keys used to authenticate with linux based VMs.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SshPublicKey"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SshPublicKey": {
- "description": "Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed.",
- "properties": {
- "keyData": {
- "description": "SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format.
For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-mac-create-ssh-keys?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).",
- "type": "string"
- },
- "path": {
- "description": "Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys",
- "type": "string"
- }
- },
- "type": "object"
- },
- "StorageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add a data disk to a virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/DataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/OSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SubResource": {
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "UpgradePolicy": {
- "description": "Describes an upgrade policy - automatic, manual, or rolling.",
- "properties": {
- "automaticOSUpgradePolicy": {
- "description": "Configuration parameters used for performing automatic OS Upgrade.",
- "oneOf": [
- {
- "$ref": "#/definitions/AutomaticOSUpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "mode": {
- "description": "Specifies the mode of an upgrade to virtual machines in the scale set.
Possible values are:
**Manual** - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.
**Automatic** - All virtual machines in the scale set are automatically updated at the same time.",
- "oneOf": [
- {
- "enum": [
- "Automatic",
- "Manual",
- "Rolling"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "rollingUpgradePolicy": {
- "description": "The configuration parameters used while performing a rolling upgrade.",
- "oneOf": [
- {
- "$ref": "#/definitions/RollingUpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "UserAssignedIdentitiesValue": {
- "properties": {},
- "type": "object"
- },
- "VaultCertificate": {
- "description": "Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM.",
- "properties": {
- "certificateStore": {
- "description": "For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account.
For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of these files are .pem formatted.",
- "type": "string"
- },
- "certificateUrl": {
- "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:
{
\"data\":\"\",
\"dataType\":\"pfx\",
\"password\":\"\"
}",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VaultSecretGroup": {
- "description": "Describes a set of certificates which are all in the same Key Vault.",
- "properties": {
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing all of the certificates in VaultCertificates.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vaultCertificates": {
- "description": "The list of key vault references in SourceVault which contain certificates.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultCertificate"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualHardDisk": {
- "description": "Describes the uri of a disk.",
- "properties": {
- "uri": {
- "description": "Specifies the virtual hard disk's uri.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineExtensionInstanceView": {
- "description": "The instance view of a virtual machine extension.",
- "properties": {
- "name": {
- "description": "The virtual machine extension name.",
- "type": "string"
- },
- "statuses": {
- "description": "The resource status information.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "substatuses": {
- "description": "The resource status information.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineExtensionProperties": {
- "description": "Describes the properties of a Virtual Machine Extension.",
- "properties": {
- "autoUpgradeMinorVersion": {
- "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "forceUpdateTag": {
- "description": "How the extension handler should be forced to update even if the extension configuration has not changed.",
- "type": "string"
- },
- "instanceView": {
- "description": "The virtual machine extension instance view.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionInstanceView"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedSettings": {
- "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publisher": {
- "description": "The name of the extension handler publisher.",
- "type": "string"
- },
- "settings": {
- "description": "Json formatted public settings for the extension.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineIdentity": {
- "description": "Identity for the virtual machine.",
- "properties": {
- "type": {
- "description": "The type of identity used for the virtual machine. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned",
- "UserAssigned",
- "SystemAssigned, UserAssigned",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userAssignedIdentities": {
- "description": "The list of user identities associated with the Virtual Machine. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
- "oneOf": [
- {
- "additionalProperties": {
- "$ref": "#/definitions/UserAssignedIdentitiesValue"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineProperties": {
- "description": "Describes the properties of a Virtual Machine.",
- "properties": {
- "additionalCapabilities": {
- "description": "Specifies additional capabilities enabled or disabled on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/AdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "availabilitySet": {
- "description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/HardwareProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises. This element is only used for images that contain the Windows Server operating system.
Possible values are:
Windows_Client
Windows_Server
If this element is included in a request for an update, the value must match the initial value. This value cannot be updated.
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the virtual machine should be assigned to.
Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/StorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetDataDisk": {
- "description": "Describes a virtual machine scale set data disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "The create option.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun",
- "createOption"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetExtension": {
- "description": "Describes a Virtual Machine Scale Set Extension.",
- "properties": {
- "name": {
- "description": "The name of the extension.",
- "type": "string"
- },
- "properties": {
- "anyOf": [
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/genericExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/bgInfo"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/dscExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackup"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/chefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/dockerExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/eset"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/puppetAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/customScript"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetExtensionProfile": {
- "description": "Describes a virtual machine scale set extension profile.",
- "properties": {
- "extensions": {
- "description": "The virtual machine scale set child extension resources.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetExtension"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetExtensionProperties": {
- "description": "Describes the properties of a Virtual Machine Scale Set Extension.",
- "properties": {
- "autoUpgradeMinorVersion": {
- "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "forceUpdateTag": {
- "description": "If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.",
- "type": "string"
- },
- "protectedSettings": {
- "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionAfterExtensions": {
- "description": "Collection of extension names after which this extension needs to be provisioned.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publisher": {
- "description": "The name of the extension handler publisher.",
- "type": "string"
- },
- "settings": {
- "description": "Json formatted public settings for the extension.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIPConfiguration": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "name": {
- "description": "The IP configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetIPConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetIPConfigurationProperties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration properties.",
- "properties": {
- "applicationGatewayBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of application gateways. A scale set can reference backend address pools of multiple application gateways. Multiple scale sets cannot use the same application gateway.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "applicationSecurityGroups": {
- "description": "Specifies an array of references to application security group.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of load balancers. A scale set can reference backend address pools of one public and one internal load balancer. Multiple scale sets cannot use the same load balancer.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerInboundNatPools": {
- "description": "Specifies an array of references to inbound Nat pools of the load balancers. A scale set can reference inbound nat pools of one public and one internal load balancer. Multiple scale sets cannot use the same load balancer",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "privateIPAddressVersion": {
- "description": "Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressConfiguration": {
- "description": "The publicIPAddressConfiguration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "subnet": {
- "description": "Specifies the identifier of the subnet.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApiEntityReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIdentity": {
- "description": "Identity for the virtual machine scale set.",
- "properties": {
- "type": {
- "description": "The type of identity used for the virtual machine scale set. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine scale set.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned",
- "UserAssigned",
- "SystemAssigned, UserAssigned",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userAssignedIdentities": {
- "description": "The list of user identities associated with the virtual machine scale set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
- "oneOf": [
- {
- "additionalProperties": {
- "$ref": "#/definitions/VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue": {
- "properties": {},
- "type": "object"
- },
- "VirtualMachineScaleSetIpTag": {
- "description": "Contains the IP tag associated with the public IP address.",
- "properties": {
- "ipTagType": {
- "description": "IP tag type. Example: FirstPartyUsage.",
- "type": "string"
- },
- "tag": {
- "description": "IP tag associated with the public IP. Example: SQL, Storage etc.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetManagedDiskParameters": {
- "description": "Describes the parameters of a ScaleSet managed disk.",
- "properties": {
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. Managed OS disk storage account type can only be set when you create the scale set. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfiguration": {
- "description": "Describes a virtual machine scale set network profile's network configurations.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "name": {
- "description": "The network configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfigurationDnsSettings": {
- "description": "Describes a virtual machines scale sets network configuration's DNS settings.",
- "properties": {
- "dnsServers": {
- "description": "List of DNS servers IP addresses",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfigurationProperties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "properties": {
- "dnsSettings": {
- "description": "The dns settings to be applied on the network interfaces.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationDnsSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAcceleratedNetworking": {
- "description": "Specifies whether the network interface is accelerated networking-enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableIPForwarding": {
- "description": "Whether IP forwarding enabled on this NIC.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipConfigurations": {
- "description": "Specifies the IP configurations of the network interface.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetIPConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkSecurityGroup": {
- "description": "The network security group.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "ipConfigurations"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkProfile": {
- "description": "Describes a virtual machine scale set network profile.",
- "properties": {
- "healthProbe": {
- "description": "A reference to a load balancer probe used to determine the health of an instance in the virtual machine scale set. The reference will be in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApiEntityReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkInterfaceConfigurations": {
- "description": "The list of network configurations.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetOSDisk": {
- "description": "Describes a virtual machine scale set operating system disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machines in the scale set should be created.
The only allowed value is: **FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diffDiskSettings": {
- "description": "Specifies the ephemeral disk Settings for the operating system disk used by the virtual machine scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiffDiskSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of the operating system disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "Specifies information about the unmanaged user image to base the scale set on.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhdContainers": {
- "description": "Specifies the container urls that are used to store operating system disks for the scale set.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetOSProfile": {
- "description": "Describes a virtual machine scale set OS profile.",
- "properties": {
- "adminPassword": {
- "description": "Specifies the password of the administrator account.
**Minimum-length (Windows):** 8 characters
**Minimum-length (Linux):** 6 characters
**Max-length (Windows):** 123 characters
**Max-length (Linux):** 72 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])
**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"
For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-reset-rdp?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-vmaccess-extension?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#reset-root-password)",
- "type": "string"
- },
- "adminUsername": {
- "description": "Specifies the name of the administrator account.
**Windows-only restriction:** Cannot end in \".\"
**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters
For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)",
- "type": "string"
- },
- "computerNamePrefix": {
- "description": "Specifies the computer name prefix for all of the virtual machines in the scale set. Computer name prefixes must be 1 to 15 characters long.",
- "type": "string"
- },
- "customData": {
- "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes.
For using cloud-init for your VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)",
- "type": "string"
- },
- "linuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "secrets": {
- "description": "Specifies set of certificates that should be installed onto the virtual machines in the scale set.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultSecretGroup"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "windowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/WindowsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetProperties": {
- "description": "Describes the properties of a Virtual Machine Scale Set.",
- "properties": {
- "automaticRepairsPolicy": {
- "description": "Policy for automatic repairs.",
- "oneOf": [
- {
- "$ref": "#/definitions/AutomaticRepairsPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "doNotRunExtensionsOnOverprovisionedVMs": {
- "description": "When Overprovision is enabled, extensions are launched only on the requested number of VMs which are finally kept. This property will hence ensure that the extensions do not run on the extra overprovisioned VMs.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "overprovision": {
- "description": "Specifies whether the Virtual Machine Scale Set should be overprovisioned.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformFaultDomainCount": {
- "description": "Fault Domain count for each placement group.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the virtual machine scale set should be assigned to.
Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "singlePlacementGroup": {
- "description": "When true this limits the scale set to a single placement group, of max size 100 virtual machines.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "upgradePolicy": {
- "description": "The upgrade policy.",
- "oneOf": [
- {
- "$ref": "#/definitions/UpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "virtualMachineProfile": {
- "description": "The virtual machine profile.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "zoneBalance": {
- "description": "Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfiguration": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "properties": {
- "name": {
- "description": "The publicIP address configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings": {
- "description": "Describes a virtual machines scale sets network configuration's DNS settings.",
- "properties": {
- "domainNameLabel": {
- "description": "The Domain name label.The concatenation of the domain name label and vm index will be the domain name labels of the PublicIPAddress resources that will be created",
- "type": "string"
- }
- },
- "required": [
- "domainNameLabel"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfigurationProperties": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "properties": {
- "dnsSettings": {
- "description": "The dns settings to be applied on the publicIP addresses .",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "idleTimeoutInMinutes": {
- "description": "The idle timeout of the public IP address.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipTags": {
- "description": "The list of IP tags associated with the public IP address.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetIpTag"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPPrefix": {
- "description": "The PublicIPPrefix from which to allocate publicIP addresses.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetStorageProfile": {
- "description": "Describes a virtual machine scale set storage profile.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add data disks to the virtual machines in the scale set.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetDataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machines in the scale set.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetOSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProfile": {
- "description": "Describes a virtual machine scale set virtual machine profile.",
- "properties": {
- "additionalCapabilities": {
- "description": "Specifies additional capabilities enabled or disabled on the virtual machine in the scale set. For instance: whether the virtual machine has the capability to support attaching managed data disks with UltraSSD_LRS storage account type.",
- "oneOf": [
- {
- "$ref": "#/definitions/AdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "evictionPolicy": {
- "description": "Specifies the eviction policy for virtual machines in a low priority scale set.
Minimum api-version: 2017-10-30-preview",
- "oneOf": [
- {
- "enum": [
- "Deallocate",
- "Delete"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extensionProfile": {
- "description": "Specifies a collection of settings for extensions installed on virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetExtensionProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises. This element is only used for images that contain the Windows Server operating system.
Possible values are:
Windows_Client
Windows_Server
If this element is included in a request for an update, the value must match the initial value. This value cannot be updated.
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies properties of the network interfaces of the virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings for the virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetOSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "priority": {
- "description": "Specifies the priority for the virtual machines in the scale set.
Minimum api-version: 2017-10-30-preview",
- "oneOf": [
- {
- "enum": [
- "Regular",
- "Low"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProperties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "properties": {
- "additionalCapabilities": {
- "description": "Specifies additional capabilities enabled or disabled on the virtual machine in the scale set. For instance: whether the virtual machine has the capability to support attaching managed data disks with UltraSSD_LRS storage account type.",
- "oneOf": [
- {
- "$ref": "#/definitions/AdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "availabilitySet": {
- "description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/HardwareProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises. This element is only used for images that contain the Windows Server operating system.
Possible values are:
Windows_Client
Windows_Server
If this element is included in a request for an update, the value must match the initial value. This value cannot be updated.
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/StorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WinRMConfiguration": {
- "description": "Describes Windows Remote Management configuration of the VM",
- "properties": {
- "listeners": {
- "description": "The list of Windows Remote Management listeners",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/WinRMListener"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WinRMListener": {
- "description": "Describes Protocol and thumbprint of Windows Remote Management listener",
- "properties": {
- "certificateUrl": {
- "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:
{
\"data\":\"\",
\"dataType\":\"pfx\",
\"password\":\"\"
}",
- "type": "string"
- },
- "protocol": {
- "description": "Specifies the protocol of listener.
Possible values are:
**http**
**https**",
- "oneOf": [
- {
- "enum": [
- "Http",
- "Https"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WindowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "properties": {
- "additionalUnattendContent": {
- "description": "Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/AdditionalUnattendContent"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticUpdates": {
- "description": "Indicates whether virtual machine is enabled for automatic Windows updates. Default value is true.
For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionVMAgent": {
- "description": "Indicates whether virtual machine agent should be provisioned on the virtual machine.
When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "timeZone": {
- "description": "Specifies the time zone of the virtual machine. e.g. \"Pacific Standard Time\"",
- "type": "string"
- },
- "winRM": {
- "description": "Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.",
- "oneOf": [
- {
- "$ref": "#/definitions/WinRMConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "virtualMachineScaleSets_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2018-10-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the VM scale set extension.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Scale Set Extension.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetExtensionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualmachines_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualmachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2018-10-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The instance ID of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "virtualmachines"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachines/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2018-10-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine extension.",
- "type": "string"
- },
- "properties": {
- "anyOf": [
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/genericExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/bgInfo"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/dscExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackup"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/chefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/dockerExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/eset"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/puppetAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/customScript"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- }
-}
\ No newline at end of file
diff --git a/schemas/2019-03-01/Microsoft.Compute.json b/schemas/2019-03-01/Microsoft.Compute.json
deleted file mode 100644
index 006bf49304..0000000000
--- a/schemas/2019-03-01/Microsoft.Compute.json
+++ /dev/null
@@ -1,6315 +0,0 @@
-{
- "id": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.json#",
- "title": "Microsoft.Compute",
- "description": "Microsoft Compute Resource Types",
- "$schema": "http://json-schema.org/draft-04/schema#",
- "resourceDefinitions": {
- "availabilitySets": {
- "description": "Microsoft.Compute/availabilitySets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the availability set.",
- "type": "string"
- },
- "properties": {
- "description": "The instance view of a resource.",
- "oneOf": [
- {
- "$ref": "#/definitions/AvailabilitySetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "Sku of the availability set, only name is required to be set. See AvailabilitySetSkuTypes for possible set of values. Use 'Aligned' for virtual machines with managed disks and 'Classic' for virtual machines with unmanaged disks. Default value is 'Classic'.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/availabilitySets"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "disks": {
- "description": "Microsoft.Compute/disks",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Disk resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, or UltraSSD_LRS.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/disks"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The Logical zone list for Disk.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries": {
- "description": "Microsoft.Compute/galleries",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the Shared Image Gallery. The allowed characters are alphabets and numbers with dots and periods allowed in the middle. The maximum length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Shared Image Gallery.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/galleries_images_childResource"
- },
- {
- "$ref": "#/definitions/galleries_applications_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/galleries"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_applications": {
- "description": "Microsoft.Compute/galleries/applications",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Application Definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery Application Definition.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryApplicationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/galleries_applications_versions_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/galleries/applications"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_applications_versions": {
- "description": "Microsoft.Compute/galleries/applications/versions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Application Version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery Image Version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryApplicationVersionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/galleries/applications/versions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_images": {
- "description": "Microsoft.Compute/galleries/images",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Image Definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery Image Definition.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/galleries_images_versions_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/galleries/images"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_images_versions": {
- "description": "Microsoft.Compute/galleries/images/versions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Image Version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery Image Version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageVersionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/galleries/images/versions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "hostGroups": {
- "description": "Microsoft.Compute/hostGroups",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the dedicated host group.",
- "type": "string"
- },
- "properties": {
- "description": "Dedicated Host Group Properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/DedicatedHostGroupProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/hostGroups_hosts_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/hostGroups"
- ],
- "type": "string"
- },
- "zones": {
- "description": "Availability Zone to use for this host group. Only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "hostGroups_hosts": {
- "description": "Microsoft.Compute/hostGroups/hosts",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the dedicated host .",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the dedicated host.",
- "oneOf": [
- {
- "$ref": "#/definitions/DedicatedHostProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be set. List Microsoft.Compute SKUs for a list of possible values.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/hostGroups/hosts"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "images": {
- "description": "Microsoft.Compute/images",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the image.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of an Image.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/images"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "proximityPlacementGroups": {
- "description": "Microsoft.Compute/proximityPlacementGroups",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the proximity placement group.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Proximity Placement Group.",
- "oneOf": [
- {
- "$ref": "#/definitions/ProximityPlacementGroupProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/proximityPlacementGroups"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "snapshots": {
- "description": "Microsoft.Compute/snapshots",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Snapshot resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/SnapshotProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS.",
- "oneOf": [
- {
- "$ref": "#/definitions/SnapshotSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/snapshots"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets": {
- "description": "Microsoft.Compute/virtualMachineScaleSets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-03-01"
- ],
- "type": "string"
- },
- "identity": {
- "description": "The identity of the virtual machine scale set, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the VM scale set to create or update.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Scale Set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachineScaleSets_extensions_childResource"
- },
- {
- "$ref": "#/definitions/virtualMachineScaleSets_virtualmachines_childResource"
- }
- ]
- },
- "type": "array"
- },
- "sku": {
- "description": "The virtual machine scale set sku.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The virtual machine scale set zones. NOTE: Availability zones can only be set when you create the scale set.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualmachines": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualmachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The instance ID of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets/virtualmachines"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines": {
- "description": "Microsoft.Compute/virtualMachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-03-01"
- ],
- "type": "string"
- },
- "identity": {
- "description": "The identity of the virtual machine, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachines_extensions_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachines"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The virtual machine zones.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- },
- "definitions": {
- "AdditionalCapabilities": {
- "description": "Enables or disables a capability on the virtual machine or virtual machine scale set.",
- "properties": {
- "ultraSSDEnabled": {
- "description": "The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "AdditionalUnattendContent": {
- "description": "Specifies additional XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is applied.",
- "properties": {
- "componentName": {
- "description": "The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup.",
- "oneOf": [
- {
- "enum": [
- "Microsoft-Windows-Shell-Setup"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "content": {
- "description": "Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted.",
- "type": "string"
- },
- "passName": {
- "description": "The pass name. Currently, the only allowable value is OobeSystem.",
- "oneOf": [
- {
- "enum": [
- "OobeSystem"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "settingName": {
- "description": "Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon.",
- "oneOf": [
- {
- "enum": [
- "AutoLogon",
- "FirstLogonCommands"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ApiEntityReference": {
- "description": "The API entity reference.",
- "properties": {
- "id": {
- "description": "The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...",
- "type": "string"
- }
- },
- "type": "object"
- },
- "AutomaticOSUpgradePolicy": {
- "description": "The configuration parameters used for performing automatic OS upgrade.",
- "properties": {
- "disableAutomaticRollback": {
- "description": "Whether OS image rollback feature should be disabled. Default value is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticOSUpgrade": {
- "description": "Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. Default value is false.
If this is set to true for Windows based scale sets, [enableAutomaticUpdates](https://docs.microsoft.com/dotnet/api/microsoft.azure.management.compute.models.windowsconfiguration.enableautomaticupdates?view=azure-dotnet) is automatically set to false and cannot be set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "AutomaticRepairsPolicy": {
- "description": "Specifies the configuration parameters for automatic repairs on the virtual machine scale set.",
- "properties": {
- "enabled": {
- "description": "Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "gracePeriod": {
- "description": "The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The minimum allowed grace period is 30 minutes (PT30M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M).",
- "type": "string"
- }
- },
- "type": "object"
- },
- "AvailabilitySetProperties": {
- "description": "The instance view of a resource.",
- "properties": {
- "platformFaultDomainCount": {
- "description": "Fault Domain count.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformUpdateDomainCount": {
- "description": "Update Domain count.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the availability set should be assigned to.
Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "virtualMachines": {
- "description": "A list of references to all virtual machines in the availability set.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "BillingProfile": {
- "description": "Specifies the billing related details of a Azure Spot VM or VMSS.
Minimum api-version: 2019-03-01.",
- "properties": {
- "maxPrice": {
- "description": "Specifies the maximum price you are willing to pay for a Azure Spot VM/VMSS. This price is in US Dollars.
This price will be compared with the current Azure Spot price for the VM size. Also, the prices are compared at the time of create/update of Azure Spot VM/VMSS and the operation will only succeed if the maxPrice is greater than the current Azure Spot price.
The maxPrice will also be used for evicting a Azure Spot VM/VMSS if the current Azure Spot price goes beyond the maxPrice after creation of VM/VMSS.
Possible values are:
- Any decimal value greater than zero. Example: 0.01538
-1 – indicates default price to be up-to on-demand.
You can set the maxPrice to -1 to indicate that the Azure Spot VM/VMSS should not be evicted for price reasons. Also, the default max price is -1 if it is not provided by you.
Minimum api-version: 2019-03-01.",
- "oneOf": [
- {
- "type": "number"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "BootDiagnostics": {
- "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.",
- "properties": {
- "enabled": {
- "description": "Whether boot diagnostics should be enabled on the Virtual Machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageUri": {
- "description": "Uri of the storage account to use for placing the console output and screenshot.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "CreationData": {
- "description": "Data used when creating a disk.",
- "properties": {
- "createOption": {
- "description": "This enumerates the possible sources of a disk's creation.",
- "oneOf": [
- {
- "enum": [
- "Empty",
- "Attach",
- "FromImage",
- "Import",
- "Copy",
- "Restore",
- "Upload"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Disk source information.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageDiskReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sourceResourceId": {
- "description": "If createOption is Copy, this is the ARM id of the source snapshot or disk.",
- "type": "string"
- },
- "sourceUri": {
- "description": "If createOption is Import, this is the URI of a blob to be imported into a managed disk.",
- "type": "string"
- },
- "storageAccountId": {
- "description": "If createOption is Import, the Azure Resource Manager identifier of the storage account containing the blob to import as a disk. Required only if the blob is in a different subscription",
- "type": "string"
- },
- "uploadSizeBytes": {
- "description": "If createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer).",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "DataDisk": {
- "description": "Describes a data disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machine should be created.
Possible values are:
**Attach** \\u2013 This value is used when you are using a specialized disk to create the virtual machine.
**FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/ManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "toBeDetached": {
- "description": "Specifies whether the data disk is in process of detachment from the VirtualMachine/VirtualMachineScaleset",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhd": {
- "description": "The virtual hard disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun",
- "createOption"
- ],
- "type": "object"
- },
- "DedicatedHostGroupProperties": {
- "description": "Dedicated Host Group Properties.",
- "properties": {
- "platformFaultDomainCount": {
- "description": "Number of fault domains that the host group can span.",
- "oneOf": [
- {
- "maximum": 3,
- "minimum": 1,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "platformFaultDomainCount"
- ],
- "type": "object"
- },
- "DedicatedHostProperties": {
- "description": "Properties of the dedicated host.",
- "properties": {
- "autoReplaceOnFailure": {
- "description": "Specifies whether the dedicated host should be replaced automatically in case of a failure. The value is defaulted to 'true' when not provided.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies the software license type that will be applied to the VMs deployed on the dedicated host.
Possible values are:
**None**
**Windows_Server_Hybrid**
**Windows_Server_Perpetual**
Default: **None**",
- "oneOf": [
- {
- "enum": [
- "None",
- "Windows_Server_Hybrid",
- "Windows_Server_Perpetual"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformFaultDomain": {
- "description": "Fault domain of the dedicated host within a dedicated host group.",
- "oneOf": [
- {
- "maximum": 2,
- "minimum": 0,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "properties": {
- "bootDiagnostics": {
- "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.",
- "oneOf": [
- {
- "$ref": "#/definitions/BootDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiffDiskSettings": {
- "description": "Describes the parameters of ephemeral disk settings that can be specified for operating system disk.
NOTE: The ephemeral disk settings can only be specified for managed disk.",
- "properties": {
- "option": {
- "description": "Specifies the ephemeral disk settings for operating system disk.",
- "oneOf": [
- {
- "enum": [
- "Local"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Disallowed": {
- "description": "Describes the disallowed disk types.",
- "properties": {
- "diskTypes": {
- "description": "A list of disk types.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiskEncryptionSettings": {
- "description": "Describes a Encryption Settings for a Disk",
- "properties": {
- "diskEncryptionKey": {
- "description": "Specifies the location of the disk encryption key, which is a Key Vault Secret.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enabled": {
- "description": "Specifies whether disk encryption should be enabled on the virtual machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "keyEncryptionKey": {
- "description": "Specifies the location of the key encryption key in Key Vault.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultKeyReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiskProperties": {
- "description": "Disk resource properties.",
- "properties": {
- "creationData": {
- "description": "Disk source information. CreationData information cannot be changed after the disk has been created.",
- "oneOf": [
- {
- "$ref": "#/definitions/CreationData"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskIOPSReadWrite": {
- "description": "The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskMBpsReadWrite": {
- "description": "The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettingsCollection": {
- "description": "Encryption settings collection used for Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSettingsCollection"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hyperVGeneration": {
- "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "The Operating System type.",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "creationData"
- ],
- "type": "object"
- },
- "DiskSku": {
- "description": "The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, or UltraSSD_LRS.",
- "properties": {
- "name": {
- "description": "The sku name.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "EncryptionSettingsCollection": {
- "description": "Encryption settings for disk or snapshot",
- "properties": {
- "enabled": {
- "description": "Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettings": {
- "description": "A collection of encryption settings, one for each disk volume.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/EncryptionSettingsElement"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettingsVersion": {
- "description": "Describes what type of encryption is used for the disks. Once this field is set, it cannot be overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption.",
- "type": "string"
- }
- },
- "required": [
- "enabled"
- ],
- "type": "object"
- },
- "EncryptionSettingsElement": {
- "description": "Encryption settings for one disk volume.",
- "properties": {
- "diskEncryptionKey": {
- "description": "Key Vault Secret Url and vault id of the disk encryption key",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultAndSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "keyEncryptionKey": {
- "description": "Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultAndKeyReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryApplicationProperties": {
- "description": "Describes the properties of a gallery Application Definition.",
- "properties": {
- "description": {
- "description": "The description of this gallery Application Definition resource. This property is updatable.",
- "type": "string"
- },
- "endOfLifeDate": {
- "description": "The end of life date of the gallery Application Definition. This property can be used for decommissioning purposes. This property is updatable.",
- "format": "date-time",
- "type": "string"
- },
- "eula": {
- "description": "The Eula agreement for the gallery Application Definition.",
- "type": "string"
- },
- "privacyStatementUri": {
- "description": "The privacy statement uri.",
- "type": "string"
- },
- "releaseNoteUri": {
- "description": "The release note uri.",
- "type": "string"
- },
- "supportedOSType": {
- "description": "This property allows you to specify the supported type of the OS that application is built for.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "supportedOSType"
- ],
- "type": "object"
- },
- "GalleryApplicationVersionProperties": {
- "description": "Describes the properties of a gallery Image Version.",
- "properties": {
- "publishingProfile": {
- "description": "The publishing profile of a gallery image version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryApplicationVersionPublishingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "publishingProfile"
- ],
- "type": "object"
- },
- "GalleryApplicationVersionPublishingProfile": {
- "description": "The publishing profile of a gallery image version.",
- "properties": {
- "enableHealthCheck": {
- "description": "Optional. Whether or not this application reports health.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "endOfLifeDate": {
- "description": "The end of life date of the gallery Image Version. This property can be used for decommissioning purposes. This property is updatable.",
- "format": "date-time",
- "type": "string"
- },
- "excludeFromLatest": {
- "description": "If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "manageActions": {
- "oneOf": [
- {
- "$ref": "#/definitions/UserArtifactManage"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "replicaCount": {
- "description": "The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "source": {
- "description": "The source image from which the Image Version is going to be created.",
- "oneOf": [
- {
- "$ref": "#/definitions/UserArtifactSource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type to be used to store the image. This property is not updatable.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Standard_ZRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "targetRegions": {
- "description": "The target regions where the Image Version is going to be replicated to. This property is updatable.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/TargetRegion"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "source"
- ],
- "type": "object"
- },
- "GalleryArtifactSource": {
- "description": "The source image from which the Image Version is going to be created.",
- "properties": {
- "managedImage": {
- "description": "The managed artifact.",
- "oneOf": [
- {
- "$ref": "#/definitions/ManagedArtifact"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "managedImage"
- ],
- "type": "object"
- },
- "GalleryIdentifier": {
- "description": "Describes the gallery unique name.",
- "properties": {},
- "type": "object"
- },
- "GalleryImageIdentifier": {
- "description": "This is the gallery Image Definition identifier.",
- "properties": {
- "offer": {
- "description": "The name of the gallery Image Definition offer.",
- "type": "string"
- },
- "publisher": {
- "description": "The name of the gallery Image Definition publisher.",
- "type": "string"
- },
- "sku": {
- "description": "The name of the gallery Image Definition SKU.",
- "type": "string"
- }
- },
- "required": [
- "publisher",
- "offer",
- "sku"
- ],
- "type": "object"
- },
- "GalleryImageProperties": {
- "description": "Describes the properties of a gallery Image Definition.",
- "properties": {
- "description": {
- "description": "The description of this gallery Image Definition resource. This property is updatable.",
- "type": "string"
- },
- "disallowed": {
- "description": "Describes the disallowed disk types.",
- "oneOf": [
- {
- "$ref": "#/definitions/Disallowed"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "endOfLifeDate": {
- "description": "The end of life date of the gallery Image Definition. This property can be used for decommissioning purposes. This property is updatable.",
- "format": "date-time",
- "type": "string"
- },
- "eula": {
- "description": "The Eula agreement for the gallery Image Definition.",
- "type": "string"
- },
- "identifier": {
- "description": "This is the gallery Image Definition identifier.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageIdentifier"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osState": {
- "description": "This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'.",
- "oneOf": [
- {
- "enum": [
- "Generalized",
- "Specialized"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "privacyStatementUri": {
- "description": "The privacy statement uri.",
- "type": "string"
- },
- "purchasePlan": {
- "description": "Describes the gallery Image Definition purchase plan. This is used by marketplace images.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImagePurchasePlan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "recommended": {
- "description": "The properties describe the recommended machine configuration for this Image Definition. These properties are updatable.",
- "oneOf": [
- {
- "$ref": "#/definitions/RecommendedMachineConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "releaseNoteUri": {
- "description": "The release note uri.",
- "type": "string"
- }
- },
- "required": [
- "osType",
- "osState",
- "identifier"
- ],
- "type": "object"
- },
- "GalleryImageVersionProperties": {
- "description": "Describes the properties of a gallery Image Version.",
- "properties": {
- "publishingProfile": {
- "description": "The publishing profile of a gallery Image Version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageVersionPublishingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "publishingProfile"
- ],
- "type": "object"
- },
- "GalleryImageVersionPublishingProfile": {
- "description": "The publishing profile of a gallery Image Version.",
- "properties": {
- "endOfLifeDate": {
- "description": "The end of life date of the gallery Image Version. This property can be used for decommissioning purposes. This property is updatable.",
- "format": "date-time",
- "type": "string"
- },
- "excludeFromLatest": {
- "description": "If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "replicaCount": {
- "description": "The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "source": {
- "description": "The source image from which the Image Version is going to be created.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryArtifactSource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type to be used to store the image. This property is not updatable.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Standard_ZRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "targetRegions": {
- "description": "The target regions where the Image Version is going to be replicated to. This property is updatable.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/TargetRegion"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "source"
- ],
- "type": "object"
- },
- "GalleryProperties": {
- "description": "Describes the properties of a Shared Image Gallery.",
- "properties": {
- "description": {
- "description": "The description of this Shared Image Gallery resource. This property is updatable.",
- "type": "string"
- },
- "identifier": {
- "description": "Describes the gallery unique name.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryIdentifier"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "HardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "properties": {
- "vmSize": {
- "description": "Specifies the size of the virtual machine. For more information about virtual machine sizes, see [Sizes for virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-sizes?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
The available VM sizes depend on region and availability set. For a list of available sizes use these APIs:
[List all available virtual machine sizes in an availability set](https://docs.microsoft.com/rest/api/compute/availabilitysets/listavailablesizes)
[List all available virtual machine sizes in a region](https://docs.microsoft.com/rest/api/compute/virtualmachinesizes/list)
[List all available virtual machine sizes for resizing](https://docs.microsoft.com/rest/api/compute/virtualmachines/listavailablesizes)",
- "oneOf": [
- {
- "enum": [
- "Basic_A0",
- "Basic_A1",
- "Basic_A2",
- "Basic_A3",
- "Basic_A4",
- "Standard_A0",
- "Standard_A1",
- "Standard_A2",
- "Standard_A3",
- "Standard_A4",
- "Standard_A5",
- "Standard_A6",
- "Standard_A7",
- "Standard_A8",
- "Standard_A9",
- "Standard_A10",
- "Standard_A11",
- "Standard_A1_v2",
- "Standard_A2_v2",
- "Standard_A4_v2",
- "Standard_A8_v2",
- "Standard_A2m_v2",
- "Standard_A4m_v2",
- "Standard_A8m_v2",
- "Standard_B1s",
- "Standard_B1ms",
- "Standard_B2s",
- "Standard_B2ms",
- "Standard_B4ms",
- "Standard_B8ms",
- "Standard_D1",
- "Standard_D2",
- "Standard_D3",
- "Standard_D4",
- "Standard_D11",
- "Standard_D12",
- "Standard_D13",
- "Standard_D14",
- "Standard_D1_v2",
- "Standard_D2_v2",
- "Standard_D3_v2",
- "Standard_D4_v2",
- "Standard_D5_v2",
- "Standard_D2_v3",
- "Standard_D4_v3",
- "Standard_D8_v3",
- "Standard_D16_v3",
- "Standard_D32_v3",
- "Standard_D64_v3",
- "Standard_D2s_v3",
- "Standard_D4s_v3",
- "Standard_D8s_v3",
- "Standard_D16s_v3",
- "Standard_D32s_v3",
- "Standard_D64s_v3",
- "Standard_D11_v2",
- "Standard_D12_v2",
- "Standard_D13_v2",
- "Standard_D14_v2",
- "Standard_D15_v2",
- "Standard_DS1",
- "Standard_DS2",
- "Standard_DS3",
- "Standard_DS4",
- "Standard_DS11",
- "Standard_DS12",
- "Standard_DS13",
- "Standard_DS14",
- "Standard_DS1_v2",
- "Standard_DS2_v2",
- "Standard_DS3_v2",
- "Standard_DS4_v2",
- "Standard_DS5_v2",
- "Standard_DS11_v2",
- "Standard_DS12_v2",
- "Standard_DS13_v2",
- "Standard_DS14_v2",
- "Standard_DS15_v2",
- "Standard_DS13-4_v2",
- "Standard_DS13-2_v2",
- "Standard_DS14-8_v2",
- "Standard_DS14-4_v2",
- "Standard_E2_v3",
- "Standard_E4_v3",
- "Standard_E8_v3",
- "Standard_E16_v3",
- "Standard_E32_v3",
- "Standard_E64_v3",
- "Standard_E2s_v3",
- "Standard_E4s_v3",
- "Standard_E8s_v3",
- "Standard_E16s_v3",
- "Standard_E32s_v3",
- "Standard_E64s_v3",
- "Standard_E32-16_v3",
- "Standard_E32-8s_v3",
- "Standard_E64-32s_v3",
- "Standard_E64-16s_v3",
- "Standard_F1",
- "Standard_F2",
- "Standard_F4",
- "Standard_F8",
- "Standard_F16",
- "Standard_F1s",
- "Standard_F2s",
- "Standard_F4s",
- "Standard_F8s",
- "Standard_F16s",
- "Standard_F2s_v2",
- "Standard_F4s_v2",
- "Standard_F8s_v2",
- "Standard_F16s_v2",
- "Standard_F32s_v2",
- "Standard_F64s_v2",
- "Standard_F72s_v2",
- "Standard_G1",
- "Standard_G2",
- "Standard_G3",
- "Standard_G4",
- "Standard_G5",
- "Standard_GS1",
- "Standard_GS2",
- "Standard_GS3",
- "Standard_GS4",
- "Standard_GS5",
- "Standard_GS4-8",
- "Standard_GS4-4",
- "Standard_GS5-16",
- "Standard_GS5-8",
- "Standard_H8",
- "Standard_H16",
- "Standard_H8m",
- "Standard_H16m",
- "Standard_H16r",
- "Standard_H16mr",
- "Standard_L4s",
- "Standard_L8s",
- "Standard_L16s",
- "Standard_L32s",
- "Standard_M64s",
- "Standard_M64ms",
- "Standard_M128s",
- "Standard_M128ms",
- "Standard_M64-32ms",
- "Standard_M64-16ms",
- "Standard_M128-64ms",
- "Standard_M128-32ms",
- "Standard_NC6",
- "Standard_NC12",
- "Standard_NC24",
- "Standard_NC24r",
- "Standard_NC6s_v2",
- "Standard_NC12s_v2",
- "Standard_NC24s_v2",
- "Standard_NC24rs_v2",
- "Standard_NC6s_v3",
- "Standard_NC12s_v3",
- "Standard_NC24s_v3",
- "Standard_NC24rs_v3",
- "Standard_ND6s",
- "Standard_ND12s",
- "Standard_ND24s",
- "Standard_ND24rs",
- "Standard_NV6",
- "Standard_NV12",
- "Standard_NV24"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImageDataDisk": {
- "description": "Describes a data disk.",
- "properties": {
- "blobUri": {
- "description": "The Virtual Hard Disk.",
- "type": "string"
- },
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managedDisk.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "snapshot": {
- "description": "The snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun"
- ],
- "type": "object"
- },
- "ImageDiskReference": {
- "description": "The source image used for creating the disk.",
- "properties": {
- "id": {
- "description": "A relative uri containing either a Platform Image Repository or user image reference.",
- "type": "string"
- },
- "lun": {
- "description": "If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "id"
- ],
- "type": "object"
- },
- "ImageOSDisk": {
- "description": "Describes an Operating System disk.",
- "properties": {
- "blobUri": {
- "description": "The Virtual Hard Disk.",
- "type": "string"
- },
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managedDisk.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osState": {
- "description": "The OS State.",
- "oneOf": [
- {
- "enum": [
- "Generalized",
- "Specialized"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from a custom image.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "snapshot": {
- "description": "The snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. UltraSSD_LRS cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "osType",
- "osState"
- ],
- "type": "object"
- },
- "ImageProperties": {
- "description": "Describes the properties of an Image.",
- "properties": {
- "hyperVGeneration": {
- "description": "Gets the HyperVGenerationType of the VirtualMachine created from the image",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sourceVirtualMachine": {
- "description": "The source virtual machine from which Image is created.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImagePurchasePlan": {
- "description": "Describes the gallery Image Definition purchase plan. This is used by marketplace images.",
- "properties": {
- "name": {
- "description": "The plan ID.",
- "type": "string"
- },
- "product": {
- "description": "The product ID.",
- "type": "string"
- },
- "publisher": {
- "description": "The publisher ID.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ImageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. NOTE: Image reference publisher and offer can only be set when you create the scale set.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "offer": {
- "description": "Specifies the offer of the platform image or marketplace image used to create the virtual machine.",
- "type": "string"
- },
- "publisher": {
- "description": "The image publisher.",
- "type": "string"
- },
- "sku": {
- "description": "The image SKU.",
- "type": "string"
- },
- "version": {
- "description": "Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ImageStorageProfile": {
- "description": "Describes a storage profile.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add a data disk to a virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/ImageDataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageOSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "zoneResilient": {
- "description": "Specifies whether an image is zone resilient or not. Default is false. Zone resilient images can be created only in regions that provide Zone Redundant Storage (ZRS).",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "InstanceViewStatus": {
- "description": "Instance view status.",
- "properties": {
- "code": {
- "description": "The status code.",
- "type": "string"
- },
- "displayStatus": {
- "description": "The short localizable label for the status.",
- "type": "string"
- },
- "level": {
- "description": "The level code.",
- "oneOf": [
- {
- "enum": [
- "Info",
- "Warning",
- "Error"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "message": {
- "description": "The detailed status message, including for alerts and error messages.",
- "type": "string"
- },
- "time": {
- "description": "The time of the status.",
- "format": "date-time",
- "type": "string"
- }
- },
- "type": "object"
- },
- "KeyVaultAndKeyReference": {
- "description": "Key Vault Key Url and vault id of KeK, KeK is optional and when provided is used to unwrap the encryptionKey",
- "properties": {
- "keyUrl": {
- "description": "Url pointing to a key or secret in KeyVault",
- "type": "string"
- },
- "sourceVault": {
- "description": "Resource id of the KeyVault containing the key or secret",
- "oneOf": [
- {
- "$ref": "#/definitions/SourceVault"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "sourceVault",
- "keyUrl"
- ],
- "type": "object"
- },
- "KeyVaultAndSecretReference": {
- "description": "Key Vault Secret Url and vault id of the encryption key ",
- "properties": {
- "secretUrl": {
- "description": "Url pointing to a key or secret in KeyVault",
- "type": "string"
- },
- "sourceVault": {
- "description": "Resource id of the KeyVault containing the key or secret",
- "oneOf": [
- {
- "$ref": "#/definitions/SourceVault"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "sourceVault",
- "secretUrl"
- ],
- "type": "object"
- },
- "KeyVaultKeyReference": {
- "description": "Describes a reference to Key Vault Key",
- "properties": {
- "keyUrl": {
- "description": "The URL referencing a key encryption key in Key Vault.",
- "type": "string"
- },
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing the key.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "keyUrl",
- "sourceVault"
- ],
- "type": "object"
- },
- "KeyVaultSecretReference": {
- "description": "Describes a reference to Key Vault Secret",
- "properties": {
- "secretUrl": {
- "description": "The URL referencing a secret in a Key Vault.",
- "type": "string"
- },
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing the secret.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "secretUrl",
- "sourceVault"
- ],
- "type": "object"
- },
- "LinuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).",
- "properties": {
- "disablePasswordAuthentication": {
- "description": "Specifies whether password authentication should be disabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionVMAgent": {
- "description": "Indicates whether virtual machine agent should be provisioned on the virtual machine.
When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ssh": {
- "description": "Specifies the ssh key configuration for a Linux OS.",
- "oneOf": [
- {
- "$ref": "#/definitions/SshConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ManagedArtifact": {
- "description": "The managed artifact.",
- "properties": {
- "id": {
- "description": "The managed artifact id.",
- "type": "string"
- }
- },
- "required": [
- "id"
- ],
- "type": "object"
- },
- "ManagedDiskParameters": {
- "description": "The parameters of a managed disk.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkInterfaceReference": {
- "description": "Describes a network interface reference.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "properties": {
- "description": "Describes a network interface reference properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkInterfaceReferenceProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkInterfaceReferenceProperties": {
- "description": "Describes a network interface reference properties.",
- "properties": {
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "properties": {
- "networkInterfaces": {
- "description": "Specifies the list of resource Ids for the network interfaces associated with the virtual machine.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/NetworkInterfaceReference"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "OSDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machine should be created.
Possible values are:
**Attach** \\u2013 This value is used when you are using a specialized disk to create the virtual machine.
**FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diffDiskSettings": {
- "description": "Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiffDiskSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettings": {
- "description": "Specifies the encryption settings for the OS Disk.
Minimum api-version: 2015-06-15",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/ManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhd": {
- "description": "The virtual hard disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "OSProfile": {
- "description": "Specifies the operating system settings for the virtual machine.",
- "properties": {
- "adminPassword": {
- "description": "Specifies the password of the administrator account.
**Minimum-length (Windows):** 8 characters
**Minimum-length (Linux):** 6 characters
**Max-length (Windows):** 123 characters
**Max-length (Linux):** 72 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])
**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"
For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-reset-rdp?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-vmaccess-extension?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#reset-root-password)",
- "type": "string"
- },
- "adminUsername": {
- "description": "Specifies the name of the administrator account.
**Windows-only restriction:** Cannot end in \".\"
**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters
For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)",
- "type": "string"
- },
- "allowExtensionOperations": {
- "description": "Specifies whether extension operations should be allowed on the virtual machine.
This may only be set to False when no extensions are present on the virtual machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "computerName": {
- "description": "Specifies the host OS name of the virtual machine.
This name cannot be updated after the VM is created.
**Max-length (Windows):** 15 characters
**Max-length (Linux):** 64 characters.
For naming conventions and restrictions see [Azure infrastructure services implementation guidelines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-infrastructure-subscription-accounts-guidelines?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#1-naming-conventions).",
- "type": "string"
- },
- "customData": {
- "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes.
For using cloud-init for your VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)",
- "type": "string"
- },
- "linuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "requireGuestProvisionSignal": {
- "description": "Specifies whether the guest provision signal is required from the virtual machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "secrets": {
- "description": "Specifies set of certificates that should be installed onto the virtual machine.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultSecretGroup"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "windowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/WindowsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "properties": {
- "name": {
- "description": "The plan ID.",
- "type": "string"
- },
- "product": {
- "description": "Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.",
- "type": "string"
- },
- "promotionCode": {
- "description": "The promotion code.",
- "type": "string"
- },
- "publisher": {
- "description": "The publisher ID.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ProximityPlacementGroupProperties": {
- "description": "Describes the properties of a Proximity Placement Group.",
- "properties": {
- "proximityPlacementGroupType": {
- "description": "Specifies the type of the proximity placement group.
Possible values are:
**Standard** : Co-locate resources within an Azure region or Availability Zone.
**Ultra** : For future use.",
- "oneOf": [
- {
- "enum": [
- "Standard",
- "Ultra"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RecommendedMachineConfiguration": {
- "description": "The properties describe the recommended machine configuration for this Image Definition. These properties are updatable.",
- "properties": {
- "memory": {
- "description": "Describes the resource range.",
- "oneOf": [
- {
- "$ref": "#/definitions/ResourceRange"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vCPUs": {
- "description": "Describes the resource range.",
- "oneOf": [
- {
- "$ref": "#/definitions/ResourceRange"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ResourceRange": {
- "description": "Describes the resource range.",
- "properties": {
- "max": {
- "description": "The maximum number of the resource.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "min": {
- "description": "The minimum number of the resource.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RollingUpgradePolicy": {
- "description": "The configuration parameters used while performing a rolling upgrade.",
- "properties": {
- "maxBatchInstancePercent": {
- "description": "The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 5,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxUnhealthyInstancePercent": {
- "description": "The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 5,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxUnhealthyUpgradedInstancePercent": {
- "description": "The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "pauseTimeBetweenBatches": {
- "description": "The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format. The default value is 0 seconds (PT0S).",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ScaleInPolicy": {
- "description": "Describes a scale-in policy for a virtual machine scale set.",
- "properties": {
- "rules": {
- "description": "The rules to be followed when scaling-in a virtual machine scale set.
Possible values are:
**Default** When a virtual machine scale set is scaled in, the scale set will first be balanced across zones if it is a zonal scale set. Then, it will be balanced across Fault Domains as far as possible. Within each Fault Domain, the virtual machines chosen for removal will be the newest ones that are not protected from scale-in.
**OldestVM** When a virtual machine scale set is being scaled-in, the oldest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the oldest virtual machines that are not protected will be chosen for removal.
**NewestVM** When a virtual machine scale set is being scaled-in, the newest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the newest virtual machines that are not protected will be chosen for removal.
",
- "oneOf": [
- {
- "items": {
- "enum": [
- "Default",
- "OldestVM",
- "NewestVM"
- ],
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ScheduledEventsProfile": {
- "properties": {
- "terminateNotificationProfile": {
- "description": "Specifies Terminate Scheduled Event related configurations.",
- "oneOf": [
- {
- "$ref": "#/definitions/TerminateNotificationProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Sku": {
- "description": "Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name.",
- "properties": {
- "capacity": {
- "description": "Specifies the number of virtual machines in the scale set.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The sku name.",
- "type": "string"
- },
- "tier": {
- "description": "Specifies the tier of virtual machines in a scale set.
Possible Values:
**Standard**
**Basic**",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SnapshotProperties": {
- "description": "Snapshot resource properties.",
- "properties": {
- "creationData": {
- "description": "Disk source information. CreationData information cannot be changed after the disk has been created.",
- "oneOf": [
- {
- "$ref": "#/definitions/CreationData"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettingsCollection": {
- "description": "Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSettingsCollection"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hyperVGeneration": {
- "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "incremental": {
- "description": "Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full snapshots and can be diffed.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "The Operating System type.",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "creationData"
- ],
- "type": "object"
- },
- "SnapshotSku": {
- "description": "The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS.",
- "properties": {
- "name": {
- "description": "The sku name.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "Standard_ZRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SourceVault": {
- "description": "The vault id is an Azure Resource Manager Resource id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SshConfiguration": {
- "description": "SSH configuration for Linux based VMs running on Azure",
- "properties": {
- "publicKeys": {
- "description": "The list of SSH public keys used to authenticate with linux based VMs.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SshPublicKey"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SshPublicKey": {
- "description": "Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed.",
- "properties": {
- "keyData": {
- "description": "SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format.
For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-mac-create-ssh-keys?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).",
- "type": "string"
- },
- "path": {
- "description": "Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys",
- "type": "string"
- }
- },
- "type": "object"
- },
- "StorageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add a data disk to a virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/DataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/OSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SubResource": {
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "TargetRegion": {
- "description": "Describes the target region information.",
- "properties": {
- "name": {
- "description": "The name of the region.",
- "type": "string"
- },
- "regionalReplicaCount": {
- "description": "The number of replicas of the Image Version to be created per region. This property is updatable.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type to be used to store the image. This property is not updatable.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Standard_ZRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "TerminateNotificationProfile": {
- "properties": {
- "enable": {
- "description": "Specifies whether the Terminate Scheduled event is enabled or disabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "notBeforeTimeout": {
- "description": "Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M)",
- "type": "string"
- }
- },
- "type": "object"
- },
- "UpgradePolicy": {
- "description": "Describes an upgrade policy - automatic, manual, or rolling.",
- "properties": {
- "automaticOSUpgradePolicy": {
- "description": "Configuration parameters used for performing automatic OS Upgrade.",
- "oneOf": [
- {
- "$ref": "#/definitions/AutomaticOSUpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "mode": {
- "description": "Specifies the mode of an upgrade to virtual machines in the scale set.
Possible values are:
**Manual** - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.
**Automatic** - All virtual machines in the scale set are automatically updated at the same time.",
- "oneOf": [
- {
- "enum": [
- "Automatic",
- "Manual",
- "Rolling"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "rollingUpgradePolicy": {
- "description": "The configuration parameters used while performing a rolling upgrade.",
- "oneOf": [
- {
- "$ref": "#/definitions/RollingUpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "UserArtifactManage": {
- "properties": {
- "install": {
- "description": "Required. The path and arguments to install the gallery application. This is limited to 4096 characters.",
- "type": "string"
- },
- "remove": {
- "description": "Required. The path and arguments to remove the gallery application. This is limited to 4096 characters.",
- "type": "string"
- },
- "update": {
- "description": "Optional. The path and arguments to update the gallery application. If not present, then update operation will invoke remove command on the previous version and install command on the current version of the gallery application. This is limited to 4096 characters.",
- "type": "string"
- }
- },
- "required": [
- "install",
- "remove"
- ],
- "type": "object"
- },
- "UserArtifactSource": {
- "description": "The source image from which the Image Version is going to be created.",
- "properties": {
- "defaultConfigurationLink": {
- "description": "Optional. The defaultConfigurationLink of the artifact, must be a readable storage page blob.",
- "type": "string"
- },
- "mediaLink": {
- "description": "Required. The mediaLink of the artifact, must be a readable storage page blob.",
- "type": "string"
- }
- },
- "required": [
- "mediaLink"
- ],
- "type": "object"
- },
- "UserAssignedIdentitiesValue": {
- "properties": {},
- "type": "object"
- },
- "VaultCertificate": {
- "description": "Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM.",
- "properties": {
- "certificateStore": {
- "description": "For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account.
For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of these files are .pem formatted.",
- "type": "string"
- },
- "certificateUrl": {
- "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:
{
\"data\":\"\",
\"dataType\":\"pfx\",
\"password\":\"\"
}",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VaultSecretGroup": {
- "description": "Describes a set of certificates which are all in the same Key Vault.",
- "properties": {
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing all of the certificates in VaultCertificates.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vaultCertificates": {
- "description": "The list of key vault references in SourceVault which contain certificates.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultCertificate"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualHardDisk": {
- "description": "Describes the uri of a disk.",
- "properties": {
- "uri": {
- "description": "Specifies the virtual hard disk's uri.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineExtensionInstanceView": {
- "description": "The instance view of a virtual machine extension.",
- "properties": {
- "name": {
- "description": "The virtual machine extension name.",
- "type": "string"
- },
- "statuses": {
- "description": "The resource status information.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "substatuses": {
- "description": "The resource status information.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineExtensionProperties": {
- "description": "Describes the properties of a Virtual Machine Extension.",
- "properties": {
- "autoUpgradeMinorVersion": {
- "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "forceUpdateTag": {
- "description": "How the extension handler should be forced to update even if the extension configuration has not changed.",
- "type": "string"
- },
- "instanceView": {
- "description": "The virtual machine extension instance view.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionInstanceView"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedSettings": {
- "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publisher": {
- "description": "The name of the extension handler publisher.",
- "type": "string"
- },
- "settings": {
- "description": "Json formatted public settings for the extension.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineIdentity": {
- "description": "Identity for the virtual machine.",
- "properties": {
- "type": {
- "description": "The type of identity used for the virtual machine. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned",
- "UserAssigned",
- "SystemAssigned, UserAssigned",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userAssignedIdentities": {
- "description": "The list of user identities associated with the Virtual Machine. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
- "oneOf": [
- {
- "additionalProperties": {
- "$ref": "#/definitions/UserAssignedIdentitiesValue"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineProperties": {
- "description": "Describes the properties of a Virtual Machine.",
- "properties": {
- "additionalCapabilities": {
- "description": "Specifies additional capabilities enabled or disabled on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/AdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "availabilitySet": {
- "description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set.
This property cannot exist along with a non-null properties.virtualMachineScaleSet reference.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "billingProfile": {
- "description": "Specifies the billing related details of a Azure Spot virtual machine.
Minimum api-version: 2019-03-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/BillingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "evictionPolicy": {
- "description": "Specifies the eviction policy for the Azure Spot virtual machine. Only supported value is 'Deallocate'.
Minimum api-version: 2019-03-01",
- "oneOf": [
- {
- "enum": [
- "Deallocate",
- "Delete"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/HardwareProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "host": {
- "description": "Specifies information about the dedicated host that the virtual machine resides in.
Minimum api-version: 2018-10-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises. This element is only used for images that contain the Windows Server operating system.
Possible values are:
Windows_Client
Windows_Server
If this element is included in a request for an update, the value must match the initial value. This value cannot be updated.
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "priority": {
- "description": "Specifies the priority for the virtual machine.
Minimum api-version: 2019-03-01",
- "oneOf": [
- {
- "enum": [
- "Regular",
- "Low",
- "Spot"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the virtual machine should be assigned to.
Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/StorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "virtualMachineScaleSet": {
- "description": "Specifies information about the virtual machine scale set that the virtual machine should be assigned to. Virtual machines specified in the same virtual machine scale set are allocated to different nodes to maximize availability. Currently, a VM can only be added to virtual machine scale set at creation time. An existing VM cannot be added to a virtual machine scale set.
This property cannot exist along with a non-null properties.availabilitySet reference.
Minimum api‐version: 2019‐03‐01",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetDataDisk": {
- "description": "Describes a virtual machine scale set data disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "The create option.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun",
- "createOption"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetExtension": {
- "description": "Describes a Virtual Machine Scale Set Extension.",
- "properties": {
- "name": {
- "description": "The name of the extension.",
- "type": "string"
- },
- "properties": {
- "anyOf": [
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/genericExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/bgInfo"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/dscExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackup"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/chefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/dockerExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/eset"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/puppetAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/customScript"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetExtensionProfile": {
- "description": "Describes a virtual machine scale set extension profile.",
- "properties": {
- "extensions": {
- "description": "The virtual machine scale set child extension resources.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetExtension"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetExtensionProperties": {
- "description": "Describes the properties of a Virtual Machine Scale Set Extension.",
- "properties": {
- "autoUpgradeMinorVersion": {
- "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "forceUpdateTag": {
- "description": "If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.",
- "type": "string"
- },
- "protectedSettings": {
- "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionAfterExtensions": {
- "description": "Collection of extension names after which this extension needs to be provisioned.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publisher": {
- "description": "The name of the extension handler publisher.",
- "type": "string"
- },
- "settings": {
- "description": "Json formatted public settings for the extension.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIPConfiguration": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "name": {
- "description": "The IP configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetIPConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetIPConfigurationProperties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration properties.",
- "properties": {
- "applicationGatewayBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of application gateways. A scale set can reference backend address pools of multiple application gateways. Multiple scale sets cannot use the same application gateway.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "applicationSecurityGroups": {
- "description": "Specifies an array of references to application security group.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of load balancers. A scale set can reference backend address pools of one public and one internal load balancer. Multiple scale sets cannot use the same load balancer.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerInboundNatPools": {
- "description": "Specifies an array of references to inbound Nat pools of the load balancers. A scale set can reference inbound nat pools of one public and one internal load balancer. Multiple scale sets cannot use the same load balancer",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "privateIPAddressVersion": {
- "description": "Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressConfiguration": {
- "description": "The publicIPAddressConfiguration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "subnet": {
- "description": "Specifies the identifier of the subnet.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApiEntityReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIdentity": {
- "description": "Identity for the virtual machine scale set.",
- "properties": {
- "type": {
- "description": "The type of identity used for the virtual machine scale set. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine scale set.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned",
- "UserAssigned",
- "SystemAssigned, UserAssigned",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userAssignedIdentities": {
- "description": "The list of user identities associated with the virtual machine scale set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
- "oneOf": [
- {
- "additionalProperties": {
- "$ref": "#/definitions/VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue": {
- "properties": {},
- "type": "object"
- },
- "VirtualMachineScaleSetIpTag": {
- "description": "Contains the IP tag associated with the public IP address.",
- "properties": {
- "ipTagType": {
- "description": "IP tag type. Example: FirstPartyUsage.",
- "type": "string"
- },
- "tag": {
- "description": "IP tag associated with the public IP. Example: SQL, Storage etc.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetManagedDiskParameters": {
- "description": "Describes the parameters of a ScaleSet managed disk.",
- "properties": {
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. Managed OS disk storage account type can only be set when you create the scale set. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfiguration": {
- "description": "Describes a virtual machine scale set network profile's network configurations.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "name": {
- "description": "The network configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfigurationDnsSettings": {
- "description": "Describes a virtual machines scale sets network configuration's DNS settings.",
- "properties": {
- "dnsServers": {
- "description": "List of DNS servers IP addresses",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfigurationProperties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "properties": {
- "dnsSettings": {
- "description": "The dns settings to be applied on the network interfaces.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationDnsSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAcceleratedNetworking": {
- "description": "Specifies whether the network interface is accelerated networking-enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableIPForwarding": {
- "description": "Whether IP forwarding enabled on this NIC.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipConfigurations": {
- "description": "Specifies the IP configurations of the network interface.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetIPConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkSecurityGroup": {
- "description": "The network security group.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "ipConfigurations"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkProfile": {
- "description": "Describes a virtual machine scale set network profile.",
- "properties": {
- "healthProbe": {
- "description": "A reference to a load balancer probe used to determine the health of an instance in the virtual machine scale set. The reference will be in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApiEntityReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkInterfaceConfigurations": {
- "description": "The list of network configurations.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetOSDisk": {
- "description": "Describes a virtual machine scale set operating system disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machines in the scale set should be created.
The only allowed value is: **FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diffDiskSettings": {
- "description": "Specifies the ephemeral disk Settings for the operating system disk used by the virtual machine scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiffDiskSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of the operating system disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "Specifies information about the unmanaged user image to base the scale set on.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhdContainers": {
- "description": "Specifies the container urls that are used to store operating system disks for the scale set.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetOSProfile": {
- "description": "Describes a virtual machine scale set OS profile.",
- "properties": {
- "adminPassword": {
- "description": "Specifies the password of the administrator account.
**Minimum-length (Windows):** 8 characters
**Minimum-length (Linux):** 6 characters
**Max-length (Windows):** 123 characters
**Max-length (Linux):** 72 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])
**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"
For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-reset-rdp?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-vmaccess-extension?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#reset-root-password)",
- "type": "string"
- },
- "adminUsername": {
- "description": "Specifies the name of the administrator account.
**Windows-only restriction:** Cannot end in \".\"
**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters
For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)",
- "type": "string"
- },
- "computerNamePrefix": {
- "description": "Specifies the computer name prefix for all of the virtual machines in the scale set. Computer name prefixes must be 1 to 15 characters long.",
- "type": "string"
- },
- "customData": {
- "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes.
For using cloud-init for your VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)",
- "type": "string"
- },
- "linuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "secrets": {
- "description": "Specifies set of certificates that should be installed onto the virtual machines in the scale set.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultSecretGroup"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "windowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/WindowsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetProperties": {
- "description": "Describes the properties of a Virtual Machine Scale Set.",
- "properties": {
- "additionalCapabilities": {
- "description": "Specifies additional capabilities enabled or disabled on the Virtual Machines in the Virtual Machine Scale Set. For instance: whether the Virtual Machines have the capability to support attaching managed data disks with UltraSSD_LRS storage account type.",
- "oneOf": [
- {
- "$ref": "#/definitions/AdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "automaticRepairsPolicy": {
- "description": "Policy for automatic repairs.",
- "oneOf": [
- {
- "$ref": "#/definitions/AutomaticRepairsPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "doNotRunExtensionsOnOverprovisionedVMs": {
- "description": "When Overprovision is enabled, extensions are launched only on the requested number of VMs which are finally kept. This property will hence ensure that the extensions do not run on the extra overprovisioned VMs.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "overprovision": {
- "description": "Specifies whether the Virtual Machine Scale Set should be overprovisioned.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformFaultDomainCount": {
- "description": "Fault Domain count for each placement group.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the virtual machine scale set should be assigned to.
Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "scaleInPolicy": {
- "description": "Specifies the scale-in policy that decides which virtual machines are chosen for removal when a Virtual Machine Scale Set is scaled-in.",
- "oneOf": [
- {
- "$ref": "#/definitions/ScaleInPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "singlePlacementGroup": {
- "description": "When true this limits the scale set to a single placement group, of max size 100 virtual machines.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "upgradePolicy": {
- "description": "The upgrade policy.",
- "oneOf": [
- {
- "$ref": "#/definitions/UpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "virtualMachineProfile": {
- "description": "The virtual machine profile.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "zoneBalance": {
- "description": "Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfiguration": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "properties": {
- "name": {
- "description": "The publicIP address configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings": {
- "description": "Describes a virtual machines scale sets network configuration's DNS settings.",
- "properties": {
- "domainNameLabel": {
- "description": "The Domain name label.The concatenation of the domain name label and vm index will be the domain name labels of the PublicIPAddress resources that will be created",
- "type": "string"
- }
- },
- "required": [
- "domainNameLabel"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfigurationProperties": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "properties": {
- "dnsSettings": {
- "description": "The dns settings to be applied on the publicIP addresses .",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "idleTimeoutInMinutes": {
- "description": "The idle timeout of the public IP address.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipTags": {
- "description": "The list of IP tags associated with the public IP address.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetIpTag"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPPrefix": {
- "description": "The PublicIPPrefix from which to allocate publicIP addresses.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetStorageProfile": {
- "description": "Describes a virtual machine scale set storage profile.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add data disks to the virtual machines in the scale set.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetDataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machines in the scale set.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetOSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMNetworkProfileConfiguration": {
- "description": "Describes a virtual machine scale set VM network profile.",
- "properties": {
- "networkInterfaceConfigurations": {
- "description": "The list of network configurations.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProfile": {
- "description": "Describes a virtual machine scale set virtual machine profile.",
- "properties": {
- "billingProfile": {
- "description": "Specifies the billing related details of a Azure Spot VMSS.
Minimum api-version: 2019-03-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/BillingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "evictionPolicy": {
- "description": "Specifies the eviction policy for virtual machines in a Azure Spot scale set.
Minimum api-version: 2017-10-30-preview",
- "oneOf": [
- {
- "enum": [
- "Deallocate",
- "Delete"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extensionProfile": {
- "description": "Specifies a collection of settings for extensions installed on virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetExtensionProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises. This element is only used for images that contain the Windows Server operating system.
Possible values are:
Windows_Client
Windows_Server
If this element is included in a request for an update, the value must match the initial value. This value cannot be updated.
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies properties of the network interfaces of the virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings for the virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetOSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "priority": {
- "description": "Specifies the priority for the virtual machines in the scale set.
Minimum api-version: 2017-10-30-preview",
- "oneOf": [
- {
- "enum": [
- "Regular",
- "Low",
- "Spot"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "scheduledEventsProfile": {
- "description": "Specifies Scheduled Event related configurations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ScheduledEventsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProperties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "properties": {
- "additionalCapabilities": {
- "description": "Specifies additional capabilities enabled or disabled on the virtual machine in the scale set. For instance: whether the virtual machine has the capability to support attaching managed data disks with UltraSSD_LRS storage account type.",
- "oneOf": [
- {
- "$ref": "#/definitions/AdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "availabilitySet": {
- "description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/HardwareProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises. This element is only used for images that contain the Windows Server operating system.
Possible values are:
Windows_Client
Windows_Server
If this element is included in a request for an update, the value must match the initial value. This value cannot be updated.
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkProfileConfiguration": {
- "description": "Specifies the network profile configuration of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMNetworkProfileConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectionPolicy": {
- "description": "Specifies the protection policy of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProtectionPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/StorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProtectionPolicy": {
- "description": "The protection policy of a virtual machine scale set VM.",
- "properties": {
- "protectFromScaleIn": {
- "description": "Indicates that the virtual machine scale set VM shouldn't be considered for deletion during a scale-in operation.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectFromScaleSetActions": {
- "description": "Indicates that model updates or actions (including scale-in) initiated on the virtual machine scale set should not be applied to the virtual machine scale set VM.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WinRMConfiguration": {
- "description": "Describes Windows Remote Management configuration of the VM",
- "properties": {
- "listeners": {
- "description": "The list of Windows Remote Management listeners",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/WinRMListener"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WinRMListener": {
- "description": "Describes Protocol and thumbprint of Windows Remote Management listener",
- "properties": {
- "certificateUrl": {
- "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:
{
\"data\":\"\",
\"dataType\":\"pfx\",
\"password\":\"\"
}",
- "type": "string"
- },
- "protocol": {
- "description": "Specifies the protocol of listener.
Possible values are:
**http**
**https**",
- "oneOf": [
- {
- "enum": [
- "Http",
- "Https"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WindowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "properties": {
- "additionalUnattendContent": {
- "description": "Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/AdditionalUnattendContent"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticUpdates": {
- "description": "Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value is true.
For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionVMAgent": {
- "description": "Indicates whether virtual machine agent should be provisioned on the virtual machine.
When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "timeZone": {
- "description": "Specifies the time zone of the virtual machine. e.g. \"Pacific Standard Time\"",
- "type": "string"
- },
- "winRM": {
- "description": "Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.",
- "oneOf": [
- {
- "$ref": "#/definitions/WinRMConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "galleries_applications_childResource": {
- "description": "Microsoft.Compute/galleries/applications",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Application Definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery Application Definition.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryApplicationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "applications"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_applications_versions_childResource": {
- "description": "Microsoft.Compute/galleries/applications/versions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Application Version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery Image Version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryApplicationVersionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "versions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_images_childResource": {
- "description": "Microsoft.Compute/galleries/images",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Image Definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery Image Definition.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "images"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_images_versions_childResource": {
- "description": "Microsoft.Compute/galleries/images/versions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Image Version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery Image Version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageVersionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "versions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "hostGroups_hosts_childResource": {
- "description": "Microsoft.Compute/hostGroups/hosts",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the dedicated host .",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the dedicated host.",
- "oneOf": [
- {
- "$ref": "#/definitions/DedicatedHostProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be set. List Microsoft.Compute SKUs for a list of possible values.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "hosts"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-03-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the VM scale set extension.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Scale Set Extension.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetExtensionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualmachines_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualmachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The instance ID of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "virtualmachines"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachines/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine extension.",
- "type": "string"
- },
- "properties": {
- "anyOf": [
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/genericExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/bgInfo"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/dscExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackup"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/chefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/dockerExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/eset"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/puppetAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/customScript"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- }
-}
\ No newline at end of file
diff --git a/schemas/2019-07-01/Microsoft.Compute.json b/schemas/2019-07-01/Microsoft.Compute.json
deleted file mode 100644
index eb11541109..0000000000
--- a/schemas/2019-07-01/Microsoft.Compute.json
+++ /dev/null
@@ -1,6808 +0,0 @@
-{
- "id": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.json#",
- "title": "Microsoft.Compute",
- "description": "Microsoft Compute Resource Types",
- "$schema": "http://json-schema.org/draft-04/schema#",
- "resourceDefinitions": {
- "availabilitySets": {
- "description": "Microsoft.Compute/availabilitySets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the availability set.",
- "type": "string"
- },
- "properties": {
- "description": "The instance view of a resource.",
- "oneOf": [
- {
- "$ref": "#/definitions/AvailabilitySetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "Sku of the availability set, only name is required to be set. See AvailabilitySetSkuTypes for possible set of values. Use 'Aligned' for virtual machines with managed disks and 'Classic' for virtual machines with unmanaged disks. Default value is 'Classic'.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/availabilitySets"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "diskEncryptionSets": {
- "description": "Microsoft.Compute/diskEncryptionSets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-07-01"
- ],
- "type": "string"
- },
- "identity": {
- "description": "The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSetIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the disk encryption set that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/diskEncryptionSets"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "disks": {
- "description": "Microsoft.Compute/disks",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Disk resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, or UltraSSD_LRS.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/disks"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The Logical zone list for Disk.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries": {
- "description": "Microsoft.Compute/galleries",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the Shared Image Gallery. The allowed characters are alphabets and numbers with dots and periods allowed in the middle. The maximum length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Shared Image Gallery.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/galleries_images_childResource"
- },
- {
- "$ref": "#/definitions/galleries_applications_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/galleries"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_applications": {
- "description": "Microsoft.Compute/galleries/applications",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Application Definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery Application Definition.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryApplicationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/galleries_applications_versions_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/galleries/applications"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_applications_versions": {
- "description": "Microsoft.Compute/galleries/applications/versions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Application Version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery Image Version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryApplicationVersionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/galleries/applications/versions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_images": {
- "description": "Microsoft.Compute/galleries/images",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Image Definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery Image Definition.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/galleries_images_versions_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/galleries/images"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_images_versions": {
- "description": "Microsoft.Compute/galleries/images/versions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Image Version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery Image Version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageVersionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/galleries/images/versions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "hostGroups": {
- "description": "Microsoft.Compute/hostGroups",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the dedicated host group.",
- "type": "string"
- },
- "properties": {
- "description": "Dedicated Host Group Properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/DedicatedHostGroupProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/hostGroups_hosts_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/hostGroups"
- ],
- "type": "string"
- },
- "zones": {
- "description": "Availability Zone to use for this host group. Only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "hostGroups_hosts": {
- "description": "Microsoft.Compute/hostGroups/hosts",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the dedicated host .",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the dedicated host.",
- "oneOf": [
- {
- "$ref": "#/definitions/DedicatedHostProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be set. List Microsoft.Compute SKUs for a list of possible values.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/hostGroups/hosts"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "images": {
- "description": "Microsoft.Compute/images",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the image.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of an Image.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/images"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "proximityPlacementGroups": {
- "description": "Microsoft.Compute/proximityPlacementGroups",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the proximity placement group.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Proximity Placement Group.",
- "oneOf": [
- {
- "$ref": "#/definitions/ProximityPlacementGroupProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/proximityPlacementGroups"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "snapshots": {
- "description": "Microsoft.Compute/snapshots",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Snapshot resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/SnapshotProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS.",
- "oneOf": [
- {
- "$ref": "#/definitions/SnapshotSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/snapshots"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets": {
- "description": "Microsoft.Compute/virtualMachineScaleSets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-07-01"
- ],
- "type": "string"
- },
- "identity": {
- "description": "The identity of the virtual machine scale set, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the VM scale set to create or update.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Scale Set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachineScaleSets_extensions_childResource"
- },
- {
- "$ref": "#/definitions/virtualMachineScaleSets_virtualmachines_childResource"
- }
- ]
- },
- "type": "array"
- },
- "sku": {
- "description": "The virtual machine scale set sku.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The virtual machine scale set zones. NOTE: Availability zones can only be set when you create the scale set.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_extensions": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine extension.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Extension.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualmachines": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualmachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The instance ID of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachineScaleSets_virtualMachines_extensions_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets/virtualmachines"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines": {
- "description": "Microsoft.Compute/virtualMachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-07-01"
- ],
- "type": "string"
- },
- "identity": {
- "description": "The identity of the virtual machine, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachines_extensions_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachines"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The virtual machine zones.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- },
- "definitions": {
- "AdditionalCapabilities": {
- "description": "Enables or disables a capability on the virtual machine or virtual machine scale set.",
- "properties": {
- "ultraSSDEnabled": {
- "description": "The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "AdditionalUnattendContent": {
- "description": "Specifies additional XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is applied.",
- "properties": {
- "componentName": {
- "description": "The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup.",
- "oneOf": [
- {
- "enum": [
- "Microsoft-Windows-Shell-Setup"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "content": {
- "description": "Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted.",
- "type": "string"
- },
- "passName": {
- "description": "The pass name. Currently, the only allowable value is OobeSystem.",
- "oneOf": [
- {
- "enum": [
- "OobeSystem"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "settingName": {
- "description": "Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon.",
- "oneOf": [
- {
- "enum": [
- "AutoLogon",
- "FirstLogonCommands"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ApiEntityReference": {
- "description": "The API entity reference.",
- "properties": {
- "id": {
- "description": "The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...",
- "type": "string"
- }
- },
- "type": "object"
- },
- "AutomaticOSUpgradePolicy": {
- "description": "The configuration parameters used for performing automatic OS upgrade.",
- "properties": {
- "disableAutomaticRollback": {
- "description": "Whether OS image rollback feature should be disabled. Default value is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticOSUpgrade": {
- "description": "Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. Default value is false.
If this is set to true for Windows based scale sets, [enableAutomaticUpdates](https://docs.microsoft.com/dotnet/api/microsoft.azure.management.compute.models.windowsconfiguration.enableautomaticupdates?view=azure-dotnet) is automatically set to false and cannot be set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "AutomaticRepairsPolicy": {
- "description": "Specifies the configuration parameters for automatic repairs on the virtual machine scale set.",
- "properties": {
- "enabled": {
- "description": "Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "gracePeriod": {
- "description": "The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The minimum allowed grace period is 30 minutes (PT30M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M).",
- "type": "string"
- }
- },
- "type": "object"
- },
- "AvailabilitySetProperties": {
- "description": "The instance view of a resource.",
- "properties": {
- "platformFaultDomainCount": {
- "description": "Fault Domain count.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformUpdateDomainCount": {
- "description": "Update Domain count.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the availability set should be assigned to.
Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "virtualMachines": {
- "description": "A list of references to all virtual machines in the availability set.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "BillingProfile": {
- "description": "Specifies the billing related details of a Azure Spot VM or VMSS.
Minimum api-version: 2019-03-01.",
- "properties": {
- "maxPrice": {
- "description": "Specifies the maximum price you are willing to pay for a Azure Spot VM/VMSS. This price is in US Dollars.
This price will be compared with the current Azure Spot price for the VM size. Also, the prices are compared at the time of create/update of Azure Spot VM/VMSS and the operation will only succeed if the maxPrice is greater than the current Azure Spot price.
The maxPrice will also be used for evicting a Azure Spot VM/VMSS if the current Azure Spot price goes beyond the maxPrice after creation of VM/VMSS.
Possible values are:
- Any decimal value greater than zero. Example: 0.01538
-1 – indicates default price to be up-to on-demand.
You can set the maxPrice to -1 to indicate that the Azure Spot VM/VMSS should not be evicted for price reasons. Also, the default max price is -1 if it is not provided by you.
Minimum api-version: 2019-03-01.",
- "oneOf": [
- {
- "type": "number"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "BootDiagnostics": {
- "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.",
- "properties": {
- "enabled": {
- "description": "Whether boot diagnostics should be enabled on the Virtual Machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageUri": {
- "description": "Uri of the storage account to use for placing the console output and screenshot.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "CreationData": {
- "description": "Data used when creating a disk.",
- "properties": {
- "createOption": {
- "description": "This enumerates the possible sources of a disk's creation.",
- "oneOf": [
- {
- "enum": [
- "Empty",
- "Attach",
- "FromImage",
- "Import",
- "Copy",
- "Restore",
- "Upload"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Disk source information.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageDiskReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sourceResourceId": {
- "description": "If createOption is Copy, this is the ARM id of the source snapshot or disk.",
- "type": "string"
- },
- "sourceUri": {
- "description": "If createOption is Import, this is the URI of a blob to be imported into a managed disk.",
- "type": "string"
- },
- "storageAccountId": {
- "description": "Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk.",
- "type": "string"
- },
- "uploadSizeBytes": {
- "description": "If createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer).",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "DataDisk": {
- "description": "Describes a data disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machine should be created.
Possible values are:
**Attach** \\u2013 This value is used when you are using a specialized disk to create the virtual machine.
**FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/ManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "toBeDetached": {
- "description": "Specifies whether the data disk is in process of detachment from the VirtualMachine/VirtualMachineScaleset",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhd": {
- "description": "The virtual hard disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun",
- "createOption"
- ],
- "type": "object"
- },
- "DedicatedHostGroupProperties": {
- "description": "Dedicated Host Group Properties.",
- "properties": {
- "platformFaultDomainCount": {
- "description": "Number of fault domains that the host group can span.",
- "oneOf": [
- {
- "maximum": 3,
- "minimum": 1,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "platformFaultDomainCount"
- ],
- "type": "object"
- },
- "DedicatedHostProperties": {
- "description": "Properties of the dedicated host.",
- "properties": {
- "autoReplaceOnFailure": {
- "description": "Specifies whether the dedicated host should be replaced automatically in case of a failure. The value is defaulted to 'true' when not provided.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies the software license type that will be applied to the VMs deployed on the dedicated host.
Possible values are:
**None**
**Windows_Server_Hybrid**
**Windows_Server_Perpetual**
Default: **None**",
- "oneOf": [
- {
- "enum": [
- "None",
- "Windows_Server_Hybrid",
- "Windows_Server_Perpetual"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformFaultDomain": {
- "description": "Fault domain of the dedicated host within a dedicated host group.",
- "oneOf": [
- {
- "maximum": 2,
- "minimum": 0,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "properties": {
- "bootDiagnostics": {
- "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.",
- "oneOf": [
- {
- "$ref": "#/definitions/BootDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiffDiskSettings": {
- "description": "Describes the parameters of ephemeral disk settings that can be specified for operating system disk.
NOTE: The ephemeral disk settings can only be specified for managed disk.",
- "properties": {
- "option": {
- "description": "Specifies the ephemeral disk settings for operating system disk.",
- "oneOf": [
- {
- "enum": [
- "Local"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Disallowed": {
- "description": "Describes the disallowed disk types.",
- "properties": {
- "diskTypes": {
- "description": "A list of disk types.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiskEncryptionSetParameters": {
- "description": "Describes the parameter of customer managed disk encryption set resource id that can be specified for disk.
NOTE: The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "DiskEncryptionSettings": {
- "description": "Describes a Encryption Settings for a Disk",
- "properties": {
- "diskEncryptionKey": {
- "description": "Specifies the location of the disk encryption key, which is a Key Vault Secret.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enabled": {
- "description": "Specifies whether disk encryption should be enabled on the virtual machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "keyEncryptionKey": {
- "description": "Specifies the location of the key encryption key in Key Vault.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultKeyReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiskProperties": {
- "description": "Disk resource properties.",
- "properties": {
- "creationData": {
- "description": "Disk source information. CreationData information cannot be changed after the disk has been created.",
- "oneOf": [
- {
- "$ref": "#/definitions/CreationData"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskIOPSReadWrite": {
- "description": "The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskMBpsReadWrite": {
- "description": "The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryption": {
- "description": "Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.",
- "oneOf": [
- {
- "$ref": "#/definitions/Encryption"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettingsCollection": {
- "description": "Encryption settings collection used for Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSettingsCollection"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hyperVGeneration": {
- "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "The Operating System type.",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "creationData"
- ],
- "type": "object"
- },
- "DiskSku": {
- "description": "The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, or UltraSSD_LRS.",
- "properties": {
- "name": {
- "description": "The sku name.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Encryption": {
- "description": "Encryption at rest settings for disk or snapshot",
- "properties": {
- "diskEncryptionSetId": {
- "description": "ResourceId of the disk encryption set to use for enabling encryption at rest.",
- "type": "string"
- },
- "type": {
- "description": "The type of key used to encrypt the data of the disk.",
- "oneOf": [
- {
- "enum": [
- "EncryptionAtRestWithPlatformKey",
- "EncryptionAtRestWithCustomerKey"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- "EncryptionSetIdentity": {
- "description": "The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks.",
- "properties": {
- "type": {
- "description": "The type of Managed Identity used by the DiskEncryptionSet. Only SystemAssigned is supported.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "EncryptionSetProperties": {
- "properties": {
- "activeKey": {
- "description": "The key vault key which is currently used by this disk encryption set.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultAndKeyReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "EncryptionSettingsCollection": {
- "description": "Encryption settings for disk or snapshot",
- "properties": {
- "enabled": {
- "description": "Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettings": {
- "description": "A collection of encryption settings, one for each disk volume.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/EncryptionSettingsElement"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettingsVersion": {
- "description": "Describes what type of encryption is used for the disks. Once this field is set, it cannot be overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption.",
- "type": "string"
- }
- },
- "required": [
- "enabled"
- ],
- "type": "object"
- },
- "EncryptionSettingsElement": {
- "description": "Encryption settings for one disk volume.",
- "properties": {
- "diskEncryptionKey": {
- "description": "Key Vault Secret Url and vault id of the disk encryption key",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultAndSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "keyEncryptionKey": {
- "description": "Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultAndKeyReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryApplicationProperties": {
- "description": "Describes the properties of a gallery Application Definition.",
- "properties": {
- "description": {
- "description": "The description of this gallery Application Definition resource. This property is updatable.",
- "type": "string"
- },
- "endOfLifeDate": {
- "description": "The end of life date of the gallery Application Definition. This property can be used for decommissioning purposes. This property is updatable.",
- "format": "date-time",
- "type": "string"
- },
- "eula": {
- "description": "The Eula agreement for the gallery Application Definition.",
- "type": "string"
- },
- "privacyStatementUri": {
- "description": "The privacy statement uri.",
- "type": "string"
- },
- "releaseNoteUri": {
- "description": "The release note uri.",
- "type": "string"
- },
- "supportedOSType": {
- "description": "This property allows you to specify the supported type of the OS that application is built for.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "supportedOSType"
- ],
- "type": "object"
- },
- "GalleryApplicationVersionProperties": {
- "description": "Describes the properties of a gallery Image Version.",
- "properties": {
- "publishingProfile": {
- "description": "The publishing profile of a gallery image version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryApplicationVersionPublishingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "publishingProfile"
- ],
- "type": "object"
- },
- "GalleryApplicationVersionPublishingProfile": {
- "description": "The publishing profile of a gallery image version.",
- "properties": {
- "enableHealthCheck": {
- "description": "Optional. Whether or not this application reports health.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "endOfLifeDate": {
- "description": "The end of life date of the gallery Image Version. This property can be used for decommissioning purposes. This property is updatable.",
- "format": "date-time",
- "type": "string"
- },
- "excludeFromLatest": {
- "description": "If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "manageActions": {
- "oneOf": [
- {
- "$ref": "#/definitions/UserArtifactManage"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "replicaCount": {
- "description": "The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "source": {
- "description": "The source image from which the Image Version is going to be created.",
- "oneOf": [
- {
- "$ref": "#/definitions/UserArtifactSource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type to be used to store the image. This property is not updatable.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Standard_ZRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "targetRegions": {
- "description": "The target regions where the Image Version is going to be replicated to. This property is updatable.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/TargetRegion"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "source"
- ],
- "type": "object"
- },
- "GalleryArtifactVersionSource": {
- "description": "The gallery artifact version source.",
- "properties": {
- "id": {
- "description": "The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, or user image.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "GalleryDataDiskImage": {
- "description": "This is the data disk image.",
- "properties": {
- "hostCaching": {
- "description": "The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "source": {
- "description": "The gallery artifact version source.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryArtifactVersionSource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun"
- ],
- "type": "object"
- },
- "GalleryIdentifier": {
- "description": "Describes the gallery unique name.",
- "properties": {},
- "type": "object"
- },
- "GalleryImageIdentifier": {
- "description": "This is the gallery Image Definition identifier.",
- "properties": {
- "offer": {
- "description": "The name of the gallery Image Definition offer.",
- "type": "string"
- },
- "publisher": {
- "description": "The name of the gallery Image Definition publisher.",
- "type": "string"
- },
- "sku": {
- "description": "The name of the gallery Image Definition SKU.",
- "type": "string"
- }
- },
- "required": [
- "publisher",
- "offer",
- "sku"
- ],
- "type": "object"
- },
- "GalleryImageProperties": {
- "description": "Describes the properties of a gallery Image Definition.",
- "properties": {
- "description": {
- "description": "The description of this gallery Image Definition resource. This property is updatable.",
- "type": "string"
- },
- "disallowed": {
- "description": "Describes the disallowed disk types.",
- "oneOf": [
- {
- "$ref": "#/definitions/Disallowed"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "endOfLifeDate": {
- "description": "The end of life date of the gallery Image Definition. This property can be used for decommissioning purposes. This property is updatable.",
- "format": "date-time",
- "type": "string"
- },
- "eula": {
- "description": "The Eula agreement for the gallery Image Definition.",
- "type": "string"
- },
- "hyperVGeneration": {
- "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "identifier": {
- "description": "This is the gallery Image Definition identifier.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageIdentifier"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osState": {
- "description": "This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'.",
- "oneOf": [
- {
- "enum": [
- "Generalized",
- "Specialized"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "privacyStatementUri": {
- "description": "The privacy statement uri.",
- "type": "string"
- },
- "purchasePlan": {
- "description": "Describes the gallery Image Definition purchase plan. This is used by marketplace images.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImagePurchasePlan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "recommended": {
- "description": "The properties describe the recommended machine configuration for this Image Definition. These properties are updatable.",
- "oneOf": [
- {
- "$ref": "#/definitions/RecommendedMachineConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "releaseNoteUri": {
- "description": "The release note uri.",
- "type": "string"
- }
- },
- "required": [
- "osType",
- "osState",
- "identifier"
- ],
- "type": "object"
- },
- "GalleryImageVersionProperties": {
- "description": "Describes the properties of a gallery Image Version.",
- "properties": {
- "publishingProfile": {
- "description": "The publishing profile of a gallery Image Version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageVersionPublishingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "This is the storage profile of a Gallery Image Version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageVersionStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "storageProfile"
- ],
- "type": "object"
- },
- "GalleryImageVersionPublishingProfile": {
- "description": "The publishing profile of a gallery Image Version.",
- "properties": {
- "endOfLifeDate": {
- "description": "The end of life date of the gallery Image Version. This property can be used for decommissioning purposes. This property is updatable.",
- "format": "date-time",
- "type": "string"
- },
- "excludeFromLatest": {
- "description": "If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "replicaCount": {
- "description": "The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type to be used to store the image. This property is not updatable.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Standard_ZRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "targetRegions": {
- "description": "The target regions where the Image Version is going to be replicated to. This property is updatable.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/TargetRegion"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryImageVersionStorageProfile": {
- "description": "This is the storage profile of a Gallery Image Version.",
- "properties": {
- "dataDiskImages": {
- "description": "A list of data disk images.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/GalleryDataDiskImage"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDiskImage": {
- "description": "This is the OS disk image.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryOSDiskImage"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "source": {
- "description": "The gallery artifact version source.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryArtifactVersionSource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryOSDiskImage": {
- "description": "This is the OS disk image.",
- "properties": {
- "hostCaching": {
- "description": "The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "source": {
- "description": "The gallery artifact version source.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryArtifactVersionSource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryProperties": {
- "description": "Describes the properties of a Shared Image Gallery.",
- "properties": {
- "description": {
- "description": "The description of this Shared Image Gallery resource. This property is updatable.",
- "type": "string"
- },
- "identifier": {
- "description": "Describes the gallery unique name.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryIdentifier"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "HardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "properties": {
- "vmSize": {
- "description": "Specifies the size of the virtual machine. For more information about virtual machine sizes, see [Sizes for virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-sizes?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
The available VM sizes depend on region and availability set. For a list of available sizes use these APIs:
[List all available virtual machine sizes in an availability set](https://docs.microsoft.com/rest/api/compute/availabilitysets/listavailablesizes)
[List all available virtual machine sizes in a region](https://docs.microsoft.com/rest/api/compute/virtualmachinesizes/list)
[List all available virtual machine sizes for resizing](https://docs.microsoft.com/rest/api/compute/virtualmachines/listavailablesizes)",
- "oneOf": [
- {
- "enum": [
- "Basic_A0",
- "Basic_A1",
- "Basic_A2",
- "Basic_A3",
- "Basic_A4",
- "Standard_A0",
- "Standard_A1",
- "Standard_A2",
- "Standard_A3",
- "Standard_A4",
- "Standard_A5",
- "Standard_A6",
- "Standard_A7",
- "Standard_A8",
- "Standard_A9",
- "Standard_A10",
- "Standard_A11",
- "Standard_A1_v2",
- "Standard_A2_v2",
- "Standard_A4_v2",
- "Standard_A8_v2",
- "Standard_A2m_v2",
- "Standard_A4m_v2",
- "Standard_A8m_v2",
- "Standard_B1s",
- "Standard_B1ms",
- "Standard_B2s",
- "Standard_B2ms",
- "Standard_B4ms",
- "Standard_B8ms",
- "Standard_D1",
- "Standard_D2",
- "Standard_D3",
- "Standard_D4",
- "Standard_D11",
- "Standard_D12",
- "Standard_D13",
- "Standard_D14",
- "Standard_D1_v2",
- "Standard_D2_v2",
- "Standard_D3_v2",
- "Standard_D4_v2",
- "Standard_D5_v2",
- "Standard_D2_v3",
- "Standard_D4_v3",
- "Standard_D8_v3",
- "Standard_D16_v3",
- "Standard_D32_v3",
- "Standard_D64_v3",
- "Standard_D2s_v3",
- "Standard_D4s_v3",
- "Standard_D8s_v3",
- "Standard_D16s_v3",
- "Standard_D32s_v3",
- "Standard_D64s_v3",
- "Standard_D11_v2",
- "Standard_D12_v2",
- "Standard_D13_v2",
- "Standard_D14_v2",
- "Standard_D15_v2",
- "Standard_DS1",
- "Standard_DS2",
- "Standard_DS3",
- "Standard_DS4",
- "Standard_DS11",
- "Standard_DS12",
- "Standard_DS13",
- "Standard_DS14",
- "Standard_DS1_v2",
- "Standard_DS2_v2",
- "Standard_DS3_v2",
- "Standard_DS4_v2",
- "Standard_DS5_v2",
- "Standard_DS11_v2",
- "Standard_DS12_v2",
- "Standard_DS13_v2",
- "Standard_DS14_v2",
- "Standard_DS15_v2",
- "Standard_DS13-4_v2",
- "Standard_DS13-2_v2",
- "Standard_DS14-8_v2",
- "Standard_DS14-4_v2",
- "Standard_E2_v3",
- "Standard_E4_v3",
- "Standard_E8_v3",
- "Standard_E16_v3",
- "Standard_E32_v3",
- "Standard_E64_v3",
- "Standard_E2s_v3",
- "Standard_E4s_v3",
- "Standard_E8s_v3",
- "Standard_E16s_v3",
- "Standard_E32s_v3",
- "Standard_E64s_v3",
- "Standard_E32-16_v3",
- "Standard_E32-8s_v3",
- "Standard_E64-32s_v3",
- "Standard_E64-16s_v3",
- "Standard_F1",
- "Standard_F2",
- "Standard_F4",
- "Standard_F8",
- "Standard_F16",
- "Standard_F1s",
- "Standard_F2s",
- "Standard_F4s",
- "Standard_F8s",
- "Standard_F16s",
- "Standard_F2s_v2",
- "Standard_F4s_v2",
- "Standard_F8s_v2",
- "Standard_F16s_v2",
- "Standard_F32s_v2",
- "Standard_F64s_v2",
- "Standard_F72s_v2",
- "Standard_G1",
- "Standard_G2",
- "Standard_G3",
- "Standard_G4",
- "Standard_G5",
- "Standard_GS1",
- "Standard_GS2",
- "Standard_GS3",
- "Standard_GS4",
- "Standard_GS5",
- "Standard_GS4-8",
- "Standard_GS4-4",
- "Standard_GS5-16",
- "Standard_GS5-8",
- "Standard_H8",
- "Standard_H16",
- "Standard_H8m",
- "Standard_H16m",
- "Standard_H16r",
- "Standard_H16mr",
- "Standard_L4s",
- "Standard_L8s",
- "Standard_L16s",
- "Standard_L32s",
- "Standard_M64s",
- "Standard_M64ms",
- "Standard_M128s",
- "Standard_M128ms",
- "Standard_M64-32ms",
- "Standard_M64-16ms",
- "Standard_M128-64ms",
- "Standard_M128-32ms",
- "Standard_NC6",
- "Standard_NC12",
- "Standard_NC24",
- "Standard_NC24r",
- "Standard_NC6s_v2",
- "Standard_NC12s_v2",
- "Standard_NC24s_v2",
- "Standard_NC24rs_v2",
- "Standard_NC6s_v3",
- "Standard_NC12s_v3",
- "Standard_NC24s_v3",
- "Standard_NC24rs_v3",
- "Standard_ND6s",
- "Standard_ND12s",
- "Standard_ND24s",
- "Standard_ND24rs",
- "Standard_NV6",
- "Standard_NV12",
- "Standard_NV24"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImageDataDisk": {
- "description": "Describes a data disk.",
- "properties": {
- "blobUri": {
- "description": "The Virtual Hard Disk.",
- "type": "string"
- },
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed image disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managedDisk.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "snapshot": {
- "description": "The snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun"
- ],
- "type": "object"
- },
- "ImageDiskReference": {
- "description": "The source image used for creating the disk.",
- "properties": {
- "id": {
- "description": "A relative uri containing either a Platform Image Repository or user image reference.",
- "type": "string"
- },
- "lun": {
- "description": "If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "id"
- ],
- "type": "object"
- },
- "ImageOSDisk": {
- "description": "Describes an Operating System disk.",
- "properties": {
- "blobUri": {
- "description": "The Virtual Hard Disk.",
- "type": "string"
- },
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed image disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managedDisk.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osState": {
- "description": "The OS State.",
- "oneOf": [
- {
- "enum": [
- "Generalized",
- "Specialized"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from a custom image.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "snapshot": {
- "description": "The snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "osType",
- "osState"
- ],
- "type": "object"
- },
- "ImageProperties": {
- "description": "Describes the properties of an Image.",
- "properties": {
- "hyperVGeneration": {
- "description": "Gets the HyperVGenerationType of the VirtualMachine created from the image",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sourceVirtualMachine": {
- "description": "The source virtual machine from which Image is created.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImagePurchasePlan": {
- "description": "Describes the gallery Image Definition purchase plan. This is used by marketplace images.",
- "properties": {
- "name": {
- "description": "The plan ID.",
- "type": "string"
- },
- "product": {
- "description": "The product ID.",
- "type": "string"
- },
- "publisher": {
- "description": "The publisher ID.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ImageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. NOTE: Image reference publisher and offer can only be set when you create the scale set",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "offer": {
- "description": "Specifies the offer of the platform image or marketplace image used to create the virtual machine.",
- "type": "string"
- },
- "publisher": {
- "description": "The image publisher.",
- "type": "string"
- },
- "sku": {
- "description": "The image SKU.",
- "type": "string"
- },
- "version": {
- "description": "Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ImageStorageProfile": {
- "description": "Describes a storage profile.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add a data disk to a virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/ImageDataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageOSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "zoneResilient": {
- "description": "Specifies whether an image is zone resilient or not. Default is false. Zone resilient images can be created only in regions that provide Zone Redundant Storage (ZRS).",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "InstanceViewStatus": {
- "description": "Instance view status.",
- "properties": {
- "code": {
- "description": "The status code.",
- "type": "string"
- },
- "displayStatus": {
- "description": "The short localizable label for the status.",
- "type": "string"
- },
- "level": {
- "description": "The level code.",
- "oneOf": [
- {
- "enum": [
- "Info",
- "Warning",
- "Error"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "message": {
- "description": "The detailed status message, including for alerts and error messages.",
- "type": "string"
- },
- "time": {
- "description": "The time of the status.",
- "format": "date-time",
- "type": "string"
- }
- },
- "type": "object"
- },
- "KeyVaultAndKeyReference": {
- "description": "Key Vault Key Url and vault id of KeK, KeK is optional and when provided is used to unwrap the encryptionKey",
- "properties": {
- "keyUrl": {
- "description": "Url pointing to a key or secret in KeyVault",
- "type": "string"
- },
- "sourceVault": {
- "description": "Resource id of the KeyVault containing the key or secret",
- "oneOf": [
- {
- "$ref": "#/definitions/SourceVault"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "sourceVault",
- "keyUrl"
- ],
- "type": "object"
- },
- "KeyVaultAndSecretReference": {
- "description": "Key Vault Secret Url and vault id of the encryption key ",
- "properties": {
- "secretUrl": {
- "description": "Url pointing to a key or secret in KeyVault",
- "type": "string"
- },
- "sourceVault": {
- "description": "Resource id of the KeyVault containing the key or secret",
- "oneOf": [
- {
- "$ref": "#/definitions/SourceVault"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "sourceVault",
- "secretUrl"
- ],
- "type": "object"
- },
- "KeyVaultKeyReference": {
- "description": "Describes a reference to Key Vault Key",
- "properties": {
- "keyUrl": {
- "description": "The URL referencing a key encryption key in Key Vault.",
- "type": "string"
- },
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing the key.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "keyUrl",
- "sourceVault"
- ],
- "type": "object"
- },
- "KeyVaultSecretReference": {
- "description": "Describes a reference to Key Vault Secret",
- "properties": {
- "secretUrl": {
- "description": "The URL referencing a secret in a Key Vault.",
- "type": "string"
- },
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing the secret.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "secretUrl",
- "sourceVault"
- ],
- "type": "object"
- },
- "LinuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).",
- "properties": {
- "disablePasswordAuthentication": {
- "description": "Specifies whether password authentication should be disabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionVMAgent": {
- "description": "Indicates whether virtual machine agent should be provisioned on the virtual machine.
When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ssh": {
- "description": "Specifies the ssh key configuration for a Linux OS.",
- "oneOf": [
- {
- "$ref": "#/definitions/SshConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ManagedDiskParameters": {
- "description": "The parameters of a managed disk.",
- "properties": {
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkInterfaceReference": {
- "description": "Describes a network interface reference.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "properties": {
- "description": "Describes a network interface reference properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkInterfaceReferenceProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkInterfaceReferenceProperties": {
- "description": "Describes a network interface reference properties.",
- "properties": {
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "properties": {
- "networkInterfaces": {
- "description": "Specifies the list of resource Ids for the network interfaces associated with the virtual machine.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/NetworkInterfaceReference"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "OSDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machine should be created.
Possible values are:
**Attach** \\u2013 This value is used when you are using a specialized disk to create the virtual machine.
**FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diffDiskSettings": {
- "description": "Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiffDiskSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettings": {
- "description": "Specifies the encryption settings for the OS Disk.
Minimum api-version: 2015-06-15",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/ManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhd": {
- "description": "The virtual hard disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "OSProfile": {
- "description": "Specifies the operating system settings for the virtual machine. Some of the settings cannot be changed once VM is provisioned.",
- "properties": {
- "adminPassword": {
- "description": "Specifies the password of the administrator account.
**Minimum-length (Windows):** 8 characters
**Minimum-length (Linux):** 6 characters
**Max-length (Windows):** 123 characters
**Max-length (Linux):** 72 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])
**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"
For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-reset-rdp?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-vmaccess-extension?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#reset-root-password)",
- "type": "string"
- },
- "adminUsername": {
- "description": "Specifies the name of the administrator account.
This property cannot be updated after the VM is created.
**Windows-only restriction:** Cannot end in \".\"
**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters
For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)",
- "type": "string"
- },
- "allowExtensionOperations": {
- "description": "Specifies whether extension operations should be allowed on the virtual machine.
This may only be set to False when no extensions are present on the virtual machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "computerName": {
- "description": "Specifies the host OS name of the virtual machine.
This name cannot be updated after the VM is created.
**Max-length (Windows):** 15 characters
**Max-length (Linux):** 64 characters.
For naming conventions and restrictions see [Azure infrastructure services implementation guidelines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-infrastructure-subscription-accounts-guidelines?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#1-naming-conventions).",
- "type": "string"
- },
- "customData": {
- "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes.
**Note: Do not pass any secrets or passwords in customData property**
This property cannot be updated after the VM is created.
customData is passed to the VM to be saved as a file, for more information see [Custom Data on Azure VMs](https://docs.microsoft.com/azure/virtual-machines/custom-data)
For using cloud-init for your Linux VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)",
- "type": "string"
- },
- "linuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "requireGuestProvisionSignal": {
- "description": "Specifies whether the guest provision signal is required to infer provision success of the virtual machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "secrets": {
- "description": "Specifies set of certificates that should be installed onto the virtual machine.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultSecretGroup"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "windowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/WindowsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "properties": {
- "name": {
- "description": "The plan ID.",
- "type": "string"
- },
- "product": {
- "description": "Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.",
- "type": "string"
- },
- "promotionCode": {
- "description": "The promotion code.",
- "type": "string"
- },
- "publisher": {
- "description": "The publisher ID.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ProximityPlacementGroupProperties": {
- "description": "Describes the properties of a Proximity Placement Group.",
- "properties": {
- "colocationStatus": {
- "description": "Describes colocation status of the Proximity Placement Group.",
- "oneOf": [
- {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroupType": {
- "description": "Specifies the type of the proximity placement group.
Possible values are:
**Standard** : Co-locate resources within an Azure region or Availability Zone.
**Ultra** : For future use.",
- "oneOf": [
- {
- "enum": [
- "Standard",
- "Ultra"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RecommendedMachineConfiguration": {
- "description": "The properties describe the recommended machine configuration for this Image Definition. These properties are updatable.",
- "properties": {
- "memory": {
- "description": "Describes the resource range.",
- "oneOf": [
- {
- "$ref": "#/definitions/ResourceRange"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vCPUs": {
- "description": "Describes the resource range.",
- "oneOf": [
- {
- "$ref": "#/definitions/ResourceRange"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ResourceRange": {
- "description": "Describes the resource range.",
- "properties": {
- "max": {
- "description": "The maximum number of the resource.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "min": {
- "description": "The minimum number of the resource.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RollingUpgradePolicy": {
- "description": "The configuration parameters used while performing a rolling upgrade.",
- "properties": {
- "maxBatchInstancePercent": {
- "description": "The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 5,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxUnhealthyInstancePercent": {
- "description": "The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 5,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxUnhealthyUpgradedInstancePercent": {
- "description": "The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "pauseTimeBetweenBatches": {
- "description": "The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format. The default value is 0 seconds (PT0S).",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ScaleInPolicy": {
- "description": "Describes a scale-in policy for a virtual machine scale set.",
- "properties": {
- "rules": {
- "description": "The rules to be followed when scaling-in a virtual machine scale set.
Possible values are:
**Default** When a virtual machine scale set is scaled in, the scale set will first be balanced across zones if it is a zonal scale set. Then, it will be balanced across Fault Domains as far as possible. Within each Fault Domain, the virtual machines chosen for removal will be the newest ones that are not protected from scale-in.
**OldestVM** When a virtual machine scale set is being scaled-in, the oldest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the oldest virtual machines that are not protected will be chosen for removal.
**NewestVM** When a virtual machine scale set is being scaled-in, the newest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the newest virtual machines that are not protected will be chosen for removal.
",
- "oneOf": [
- {
- "items": {
- "enum": [
- "Default",
- "OldestVM",
- "NewestVM"
- ],
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ScheduledEventsProfile": {
- "properties": {
- "terminateNotificationProfile": {
- "description": "Specifies Terminate Scheduled Event related configurations.",
- "oneOf": [
- {
- "$ref": "#/definitions/TerminateNotificationProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Sku": {
- "description": "Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name.",
- "properties": {
- "capacity": {
- "description": "Specifies the number of virtual machines in the scale set.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The sku name.",
- "type": "string"
- },
- "tier": {
- "description": "Specifies the tier of virtual machines in a scale set.
Possible Values:
**Standard**
**Basic**",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SnapshotProperties": {
- "description": "Snapshot resource properties.",
- "properties": {
- "creationData": {
- "description": "Disk source information. CreationData information cannot be changed after the disk has been created.",
- "oneOf": [
- {
- "$ref": "#/definitions/CreationData"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryption": {
- "description": "Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.",
- "oneOf": [
- {
- "$ref": "#/definitions/Encryption"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettingsCollection": {
- "description": "Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSettingsCollection"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hyperVGeneration": {
- "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "incremental": {
- "description": "Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full snapshots and can be diffed.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "The Operating System type.",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "creationData"
- ],
- "type": "object"
- },
- "SnapshotSku": {
- "description": "The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS.",
- "properties": {
- "name": {
- "description": "The sku name.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "Standard_ZRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SourceVault": {
- "description": "The vault id is an Azure Resource Manager Resource id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SshConfiguration": {
- "description": "SSH configuration for Linux based VMs running on Azure",
- "properties": {
- "publicKeys": {
- "description": "The list of SSH public keys used to authenticate with linux based VMs.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SshPublicKey"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SshPublicKey": {
- "description": "Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed.",
- "properties": {
- "keyData": {
- "description": "SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format.
For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-mac-create-ssh-keys?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).",
- "type": "string"
- },
- "path": {
- "description": "Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys",
- "type": "string"
- }
- },
- "type": "object"
- },
- "StorageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add a data disk to a virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/DataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/OSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SubResource": {
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "TargetRegion": {
- "description": "Describes the target region information.",
- "properties": {
- "name": {
- "description": "The name of the region.",
- "type": "string"
- },
- "regionalReplicaCount": {
- "description": "The number of replicas of the Image Version to be created per region. This property is updatable.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type to be used to store the image. This property is not updatable.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Standard_ZRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "TerminateNotificationProfile": {
- "properties": {
- "enable": {
- "description": "Specifies whether the Terminate Scheduled event is enabled or disabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "notBeforeTimeout": {
- "description": "Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M)",
- "type": "string"
- }
- },
- "type": "object"
- },
- "UpgradePolicy": {
- "description": "Describes an upgrade policy - automatic, manual, or rolling.",
- "properties": {
- "automaticOSUpgradePolicy": {
- "description": "Configuration parameters used for performing automatic OS Upgrade.",
- "oneOf": [
- {
- "$ref": "#/definitions/AutomaticOSUpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "mode": {
- "description": "Specifies the mode of an upgrade to virtual machines in the scale set.
Possible values are:
**Manual** - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.
**Automatic** - All virtual machines in the scale set are automatically updated at the same time.",
- "oneOf": [
- {
- "enum": [
- "Automatic",
- "Manual",
- "Rolling"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "rollingUpgradePolicy": {
- "description": "The configuration parameters used while performing a rolling upgrade.",
- "oneOf": [
- {
- "$ref": "#/definitions/RollingUpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "UserArtifactManage": {
- "properties": {
- "install": {
- "description": "Required. The path and arguments to install the gallery application. This is limited to 4096 characters.",
- "type": "string"
- },
- "remove": {
- "description": "Required. The path and arguments to remove the gallery application. This is limited to 4096 characters.",
- "type": "string"
- },
- "update": {
- "description": "Optional. The path and arguments to update the gallery application. If not present, then update operation will invoke remove command on the previous version and install command on the current version of the gallery application. This is limited to 4096 characters.",
- "type": "string"
- }
- },
- "required": [
- "install",
- "remove"
- ],
- "type": "object"
- },
- "UserArtifactSource": {
- "description": "The source image from which the Image Version is going to be created.",
- "properties": {
- "defaultConfigurationLink": {
- "description": "Optional. The defaultConfigurationLink of the artifact, must be a readable storage page blob.",
- "type": "string"
- },
- "mediaLink": {
- "description": "Required. The mediaLink of the artifact, must be a readable storage page blob.",
- "type": "string"
- }
- },
- "required": [
- "mediaLink"
- ],
- "type": "object"
- },
- "UserAssignedIdentitiesValue": {
- "properties": {},
- "type": "object"
- },
- "VaultCertificate": {
- "description": "Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM.",
- "properties": {
- "certificateStore": {
- "description": "For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account.
For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of these files are .pem formatted.",
- "type": "string"
- },
- "certificateUrl": {
- "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:
{
\"data\":\"\",
\"dataType\":\"pfx\",
\"password\":\"\"
}",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VaultSecretGroup": {
- "description": "Describes a set of certificates which are all in the same Key Vault.",
- "properties": {
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing all of the certificates in VaultCertificates.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vaultCertificates": {
- "description": "The list of key vault references in SourceVault which contain certificates.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultCertificate"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualHardDisk": {
- "description": "Describes the uri of a disk.",
- "properties": {
- "uri": {
- "description": "Specifies the virtual hard disk's uri.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineExtensionInstanceView": {
- "description": "The instance view of a virtual machine extension.",
- "properties": {
- "name": {
- "description": "The virtual machine extension name.",
- "type": "string"
- },
- "statuses": {
- "description": "The resource status information.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "substatuses": {
- "description": "The resource status information.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineExtensionProperties": {
- "description": "Describes the properties of a Virtual Machine Extension.",
- "properties": {
- "autoUpgradeMinorVersion": {
- "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "forceUpdateTag": {
- "description": "How the extension handler should be forced to update even if the extension configuration has not changed.",
- "type": "string"
- },
- "instanceView": {
- "description": "The virtual machine extension instance view.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionInstanceView"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedSettings": {
- "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publisher": {
- "description": "The name of the extension handler publisher.",
- "type": "string"
- },
- "settings": {
- "description": "Json formatted public settings for the extension.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineIdentity": {
- "description": "Identity for the virtual machine.",
- "properties": {
- "type": {
- "description": "The type of identity used for the virtual machine. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned",
- "UserAssigned",
- "SystemAssigned, UserAssigned",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userAssignedIdentities": {
- "description": "The list of user identities associated with the Virtual Machine. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
- "oneOf": [
- {
- "additionalProperties": {
- "$ref": "#/definitions/UserAssignedIdentitiesValue"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineProperties": {
- "description": "Describes the properties of a Virtual Machine.",
- "properties": {
- "additionalCapabilities": {
- "description": "Specifies additional capabilities enabled or disabled on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/AdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "availabilitySet": {
- "description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Currently, a VM can only be added to availability set at creation time. The availability set to which the VM is being added should be under the same resource group as the availability set resource. An existing VM cannot be added to an availability set.
This property cannot exist along with a non-null properties.virtualMachineScaleSet reference.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "billingProfile": {
- "description": "Specifies the billing related details of a Azure Spot virtual machine.
Minimum api-version: 2019-03-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/BillingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "evictionPolicy": {
- "description": "Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set.
For Azure Spot virtual machines, the only supported value is 'Deallocate' and the minimum api-version is 2019-03-01.
For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview.",
- "oneOf": [
- {
- "enum": [
- "Deallocate",
- "Delete"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/HardwareProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "host": {
- "description": "Specifies information about the dedicated host that the virtual machine resides in.
Minimum api-version: 2018-10-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises. This element is only used for images that contain the Windows Server operating system.
Possible values are:
Windows_Client
Windows_Server
If this element is included in a request for an update, the value must match the initial value. This value cannot be updated.
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings used while creating the virtual machine. Some of the settings cannot be changed once VM is provisioned.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "priority": {
- "description": "Specifies the priority for the virtual machine.
Minimum api-version: 2019-03-01",
- "oneOf": [
- {
- "enum": [
- "Regular",
- "Low",
- "Spot"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the virtual machine should be assigned to.
Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/StorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "virtualMachineScaleSet": {
- "description": "Specifies information about the virtual machine scale set that the virtual machine should be assigned to. Virtual machines specified in the same virtual machine scale set are allocated to different nodes to maximize availability. Currently, a VM can only be added to virtual machine scale set at creation time. An existing VM cannot be added to a virtual machine scale set.
This property cannot exist along with a non-null properties.availabilitySet reference.
Minimum api‐version: 2019‐03‐01",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetDataDisk": {
- "description": "Describes a virtual machine scale set data disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "The create option.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskIOPSReadWrite": {
- "description": "Specifies the Read-Write IOPS for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskMBpsReadWrite": {
- "description": "Specifies the bandwidth in MB per second for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun",
- "createOption"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetExtension": {
- "description": "Describes a Virtual Machine Scale Set Extension.",
- "properties": {
- "name": {
- "description": "The name of the extension.",
- "type": "string"
- },
- "properties": {
- "anyOf": [
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/genericExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/bgInfo"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/dscExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackup"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/chefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/dockerExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/eset"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/puppetAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/customScript"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetExtensionProfile": {
- "description": "Describes a virtual machine scale set extension profile.",
- "properties": {
- "extensions": {
- "description": "The virtual machine scale set child extension resources.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetExtension"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetExtensionProperties": {
- "description": "Describes the properties of a Virtual Machine Scale Set Extension.",
- "properties": {
- "autoUpgradeMinorVersion": {
- "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "forceUpdateTag": {
- "description": "If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.",
- "type": "string"
- },
- "protectedSettings": {
- "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionAfterExtensions": {
- "description": "Collection of extension names after which this extension needs to be provisioned.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publisher": {
- "description": "The name of the extension handler publisher.",
- "type": "string"
- },
- "settings": {
- "description": "Json formatted public settings for the extension.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIPConfiguration": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "name": {
- "description": "The IP configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetIPConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetIPConfigurationProperties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration properties.",
- "properties": {
- "applicationGatewayBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of application gateways. A scale set can reference backend address pools of multiple application gateways. Multiple scale sets cannot use the same application gateway.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "applicationSecurityGroups": {
- "description": "Specifies an array of references to application security group.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of load balancers. A scale set can reference backend address pools of one public and one internal load balancer. Multiple scale sets cannot use the same load balancer.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerInboundNatPools": {
- "description": "Specifies an array of references to inbound Nat pools of the load balancers. A scale set can reference inbound nat pools of one public and one internal load balancer. Multiple scale sets cannot use the same load balancer",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "privateIPAddressVersion": {
- "description": "Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressConfiguration": {
- "description": "The publicIPAddressConfiguration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "subnet": {
- "description": "Specifies the identifier of the subnet.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApiEntityReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIdentity": {
- "description": "Identity for the virtual machine scale set.",
- "properties": {
- "type": {
- "description": "The type of identity used for the virtual machine scale set. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine scale set.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned",
- "UserAssigned",
- "SystemAssigned, UserAssigned",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userAssignedIdentities": {
- "description": "The list of user identities associated with the virtual machine scale set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
- "oneOf": [
- {
- "additionalProperties": {
- "$ref": "#/definitions/VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue": {
- "properties": {},
- "type": "object"
- },
- "VirtualMachineScaleSetIpTag": {
- "description": "Contains the IP tag associated with the public IP address.",
- "properties": {
- "ipTagType": {
- "description": "IP tag type. Example: FirstPartyUsage.",
- "type": "string"
- },
- "tag": {
- "description": "IP tag associated with the public IP. Example: SQL, Storage etc.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetManagedDiskParameters": {
- "description": "Describes the parameters of a ScaleSet managed disk.",
- "properties": {
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. Managed OS disk storage account type can only be set when you create the scale set. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfiguration": {
- "description": "Describes a virtual machine scale set network profile's network configurations.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "name": {
- "description": "The network configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfigurationDnsSettings": {
- "description": "Describes a virtual machines scale sets network configuration's DNS settings.",
- "properties": {
- "dnsServers": {
- "description": "List of DNS servers IP addresses",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfigurationProperties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "properties": {
- "dnsSettings": {
- "description": "The dns settings to be applied on the network interfaces.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationDnsSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAcceleratedNetworking": {
- "description": "Specifies whether the network interface is accelerated networking-enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableIPForwarding": {
- "description": "Whether IP forwarding enabled on this NIC.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipConfigurations": {
- "description": "Specifies the IP configurations of the network interface.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetIPConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkSecurityGroup": {
- "description": "The network security group.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "ipConfigurations"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkProfile": {
- "description": "Describes a virtual machine scale set network profile.",
- "properties": {
- "healthProbe": {
- "description": "A reference to a load balancer probe used to determine the health of an instance in the virtual machine scale set. The reference will be in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApiEntityReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkInterfaceConfigurations": {
- "description": "The list of network configurations.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetOSDisk": {
- "description": "Describes a virtual machine scale set operating system disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machines in the scale set should be created.
The only allowed value is: **FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diffDiskSettings": {
- "description": "Specifies the ephemeral disk Settings for the operating system disk used by the virtual machine scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiffDiskSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of the operating system disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "Specifies information about the unmanaged user image to base the scale set on.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhdContainers": {
- "description": "Specifies the container urls that are used to store operating system disks for the scale set.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetOSProfile": {
- "description": "Describes a virtual machine scale set OS profile.",
- "properties": {
- "adminPassword": {
- "description": "Specifies the password of the administrator account.
**Minimum-length (Windows):** 8 characters
**Minimum-length (Linux):** 6 characters
**Max-length (Windows):** 123 characters
**Max-length (Linux):** 72 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])
**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"
For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-reset-rdp?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-vmaccess-extension?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#reset-root-password)",
- "type": "string"
- },
- "adminUsername": {
- "description": "Specifies the name of the administrator account.
**Windows-only restriction:** Cannot end in \".\"
**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters
For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)",
- "type": "string"
- },
- "computerNamePrefix": {
- "description": "Specifies the computer name prefix for all of the virtual machines in the scale set. Computer name prefixes must be 1 to 15 characters long.",
- "type": "string"
- },
- "customData": {
- "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes.
For using cloud-init for your VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)",
- "type": "string"
- },
- "linuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "secrets": {
- "description": "Specifies set of certificates that should be installed onto the virtual machines in the scale set.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultSecretGroup"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "windowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/WindowsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetProperties": {
- "description": "Describes the properties of a Virtual Machine Scale Set.",
- "properties": {
- "additionalCapabilities": {
- "description": "Specifies additional capabilities enabled or disabled on the Virtual Machines in the Virtual Machine Scale Set. For instance: whether the Virtual Machines have the capability to support attaching managed data disks with UltraSSD_LRS storage account type.",
- "oneOf": [
- {
- "$ref": "#/definitions/AdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "automaticRepairsPolicy": {
- "description": "Policy for automatic repairs.",
- "oneOf": [
- {
- "$ref": "#/definitions/AutomaticRepairsPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "doNotRunExtensionsOnOverprovisionedVMs": {
- "description": "When Overprovision is enabled, extensions are launched only on the requested number of VMs which are finally kept. This property will hence ensure that the extensions do not run on the extra overprovisioned VMs.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "overprovision": {
- "description": "Specifies whether the Virtual Machine Scale Set should be overprovisioned.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformFaultDomainCount": {
- "description": "Fault Domain count for each placement group.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the virtual machine scale set should be assigned to.
Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "scaleInPolicy": {
- "description": "Specifies the scale-in policy that decides which virtual machines are chosen for removal when a Virtual Machine Scale Set is scaled-in.",
- "oneOf": [
- {
- "$ref": "#/definitions/ScaleInPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "singlePlacementGroup": {
- "description": "When true this limits the scale set to a single placement group, of max size 100 virtual machines.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "upgradePolicy": {
- "description": "The upgrade policy.",
- "oneOf": [
- {
- "$ref": "#/definitions/UpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "virtualMachineProfile": {
- "description": "The virtual machine profile.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "zoneBalance": {
- "description": "Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfiguration": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "properties": {
- "name": {
- "description": "The publicIP address configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings": {
- "description": "Describes a virtual machines scale sets network configuration's DNS settings.",
- "properties": {
- "domainNameLabel": {
- "description": "The Domain name label.The concatenation of the domain name label and vm index will be the domain name labels of the PublicIPAddress resources that will be created",
- "type": "string"
- }
- },
- "required": [
- "domainNameLabel"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfigurationProperties": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "properties": {
- "dnsSettings": {
- "description": "The dns settings to be applied on the publicIP addresses .",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "idleTimeoutInMinutes": {
- "description": "The idle timeout of the public IP address.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipTags": {
- "description": "The list of IP tags associated with the public IP address.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetIpTag"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressVersion": {
- "description": "Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPPrefix": {
- "description": "The PublicIPPrefix from which to allocate publicIP addresses.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetStorageProfile": {
- "description": "Describes a virtual machine scale set storage profile.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add data disks to the virtual machines in the scale set.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetDataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machines in the scale set.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetOSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMNetworkProfileConfiguration": {
- "description": "Describes a virtual machine scale set VM network profile.",
- "properties": {
- "networkInterfaceConfigurations": {
- "description": "The list of network configurations.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProfile": {
- "description": "Describes a virtual machine scale set virtual machine profile.",
- "properties": {
- "billingProfile": {
- "description": "Specifies the billing related details of a Azure Spot VMSS.
Minimum api-version: 2019-03-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/BillingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "evictionPolicy": {
- "description": "Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set.
For Azure Spot virtual machines, the only supported value is 'Deallocate' and the minimum api-version is 2019-03-01.
For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview.",
- "oneOf": [
- {
- "enum": [
- "Deallocate",
- "Delete"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extensionProfile": {
- "description": "Specifies a collection of settings for extensions installed on virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetExtensionProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises. This element is only used for images that contain the Windows Server operating system.
Possible values are:
Windows_Client
Windows_Server
If this element is included in a request for an update, the value must match the initial value. This value cannot be updated.
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies properties of the network interfaces of the virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings for the virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetOSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "priority": {
- "description": "Specifies the priority for the virtual machines in the scale set.
Minimum api-version: 2017-10-30-preview",
- "oneOf": [
- {
- "enum": [
- "Regular",
- "Low",
- "Spot"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "scheduledEventsProfile": {
- "description": "Specifies Scheduled Event related configurations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ScheduledEventsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProperties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "properties": {
- "additionalCapabilities": {
- "description": "Specifies additional capabilities enabled or disabled on the virtual machine in the scale set. For instance: whether the virtual machine has the capability to support attaching managed data disks with UltraSSD_LRS storage account type.",
- "oneOf": [
- {
- "$ref": "#/definitions/AdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "availabilitySet": {
- "description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/HardwareProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises. This element is only used for images that contain the Windows Server operating system.
Possible values are:
Windows_Client
Windows_Server
If this element is included in a request for an update, the value must match the initial value. This value cannot be updated.
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkProfileConfiguration": {
- "description": "Specifies the network profile configuration of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMNetworkProfileConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectionPolicy": {
- "description": "Specifies the protection policy of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProtectionPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/StorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProtectionPolicy": {
- "description": "The protection policy of a virtual machine scale set VM.",
- "properties": {
- "protectFromScaleIn": {
- "description": "Indicates that the virtual machine scale set VM shouldn't be considered for deletion during a scale-in operation.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectFromScaleSetActions": {
- "description": "Indicates that model updates or actions (including scale-in) initiated on the virtual machine scale set should not be applied to the virtual machine scale set VM.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WinRMConfiguration": {
- "description": "Describes Windows Remote Management configuration of the VM",
- "properties": {
- "listeners": {
- "description": "The list of Windows Remote Management listeners",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/WinRMListener"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WinRMListener": {
- "description": "Describes Protocol and thumbprint of Windows Remote Management listener",
- "properties": {
- "certificateUrl": {
- "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:
{
\"data\":\"\",
\"dataType\":\"pfx\",
\"password\":\"\"
}",
- "type": "string"
- },
- "protocol": {
- "description": "Specifies the protocol of WinRM listener.
Possible values are:
**http**
**https**",
- "oneOf": [
- {
- "enum": [
- "Http",
- "Https"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WindowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "properties": {
- "additionalUnattendContent": {
- "description": "Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/AdditionalUnattendContent"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticUpdates": {
- "description": "Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value is true.
For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionVMAgent": {
- "description": "Indicates whether virtual machine agent should be provisioned on the virtual machine.
When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "timeZone": {
- "description": "Specifies the time zone of the virtual machine. e.g. \"Pacific Standard Time\".
Possible values can be [TimeZoneInfo.Id](https://docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.id?#System_TimeZoneInfo_Id) value from time zones returned by [TimeZoneInfo.GetSystemTimeZones](https://docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.getsystemtimezones).",
- "type": "string"
- },
- "winRM": {
- "description": "Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.",
- "oneOf": [
- {
- "$ref": "#/definitions/WinRMConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "galleries_applications_childResource": {
- "description": "Microsoft.Compute/galleries/applications",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Application Definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery Application Definition.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryApplicationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "applications"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_applications_versions_childResource": {
- "description": "Microsoft.Compute/galleries/applications/versions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Application Version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery Image Version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryApplicationVersionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "versions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_images_childResource": {
- "description": "Microsoft.Compute/galleries/images",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Image Definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery Image Definition.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "images"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_images_versions_childResource": {
- "description": "Microsoft.Compute/galleries/images/versions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Image Version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery Image Version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageVersionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "versions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "hostGroups_hosts_childResource": {
- "description": "Microsoft.Compute/hostGroups/hosts",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the dedicated host .",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the dedicated host.",
- "oneOf": [
- {
- "$ref": "#/definitions/DedicatedHostProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be set. List Microsoft.Compute SKUs for a list of possible values.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "hosts"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-07-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the VM scale set extension.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Scale Set Extension.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetExtensionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine extension.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Extension.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualmachines_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualmachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The instance ID of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "virtualmachines"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachines/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine extension.",
- "type": "string"
- },
- "properties": {
- "anyOf": [
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/genericExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/bgInfo"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/dscExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackup"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/chefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/dockerExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/eset"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/puppetAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/customScript"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- }
-}
\ No newline at end of file
diff --git a/schemas/2019-11-01/Microsoft.Compute.json b/schemas/2019-11-01/Microsoft.Compute.json
deleted file mode 100644
index becd2a30bd..0000000000
--- a/schemas/2019-11-01/Microsoft.Compute.json
+++ /dev/null
@@ -1,792 +0,0 @@
-{
- "id": "https://schema.management.azure.com/schemas/2019-11-01/Microsoft.Compute.json#",
- "title": "Microsoft.Compute",
- "description": "Microsoft Compute Resource Types",
- "$schema": "http://json-schema.org/draft-04/schema#",
- "resourceDefinitions": {
- "diskEncryptionSets": {
- "description": "Microsoft.Compute/diskEncryptionSets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-11-01"
- ],
- "type": "string"
- },
- "identity": {
- "description": "The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSetIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the disk encryption set that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/diskEncryptionSets"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "disks": {
- "description": "Microsoft.Compute/disks",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-11-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Disk resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, or UltraSSD_LRS.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/disks"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The Logical zone list for Disk.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "snapshots": {
- "description": "Microsoft.Compute/snapshots",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-11-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Snapshot resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/SnapshotProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS.",
- "oneOf": [
- {
- "$ref": "#/definitions/SnapshotSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/snapshots"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- },
- "definitions": {
- "CreationData": {
- "description": "Data used when creating a disk.",
- "properties": {
- "createOption": {
- "description": "This enumerates the possible sources of a disk's creation.",
- "oneOf": [
- {
- "enum": [
- "Empty",
- "Attach",
- "FromImage",
- "Import",
- "Copy",
- "Restore",
- "Upload"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "galleryImageReference": {
- "description": "Required if creating from a Gallery Image. The id of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageDiskReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Disk source information.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageDiskReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sourceResourceId": {
- "description": "If createOption is Copy, this is the ARM id of the source snapshot or disk.",
- "type": "string"
- },
- "sourceUri": {
- "description": "If createOption is Import, this is the URI of a blob to be imported into a managed disk.",
- "type": "string"
- },
- "storageAccountId": {
- "description": "Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk.",
- "type": "string"
- },
- "uploadSizeBytes": {
- "description": "If createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer).",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "DiskProperties": {
- "description": "Disk resource properties.",
- "properties": {
- "creationData": {
- "description": "Disk source information. CreationData information cannot be changed after the disk has been created.",
- "oneOf": [
- {
- "$ref": "#/definitions/CreationData"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskIOPSReadOnly": {
- "description": "The total number of IOPS that will be allowed across all VMs mounting the shared disk as ReadOnly. One operation can transfer between 4k and 256k bytes.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskIOPSReadWrite": {
- "description": "The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskMBpsReadOnly": {
- "description": "The total throughput (MBps) that will be allowed across all VMs mounting the shared disk as ReadOnly. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskMBpsReadWrite": {
- "description": "The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryption": {
- "description": "Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.",
- "oneOf": [
- {
- "$ref": "#/definitions/Encryption"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettingsCollection": {
- "description": "Encryption settings collection used for Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSettingsCollection"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hyperVGeneration": {
- "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxShares": {
- "description": "The maximum number of VMs that can attach to the disk at the same time. Value greater than one indicates a disk that can be mounted on multiple VMs at the same time.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "The Operating System type.",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "creationData"
- ],
- "type": "object"
- },
- "DiskSku": {
- "description": "The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, or UltraSSD_LRS.",
- "properties": {
- "name": {
- "description": "The sku name.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Encryption": {
- "description": "Encryption at rest settings for disk or snapshot",
- "properties": {
- "diskEncryptionSetId": {
- "description": "ResourceId of the disk encryption set to use for enabling encryption at rest.",
- "type": "string"
- },
- "type": {
- "description": "The type of key used to encrypt the data of the disk.",
- "oneOf": [
- {
- "enum": [
- "EncryptionAtRestWithPlatformKey",
- "EncryptionAtRestWithCustomerKey"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "EncryptionSetIdentity": {
- "description": "The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks.",
- "properties": {
- "type": {
- "description": "The type of Managed Identity used by the DiskEncryptionSet. Only SystemAssigned is supported.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "EncryptionSetProperties": {
- "properties": {
- "activeKey": {
- "description": "The key vault key which is currently used by this disk encryption set.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultAndKeyReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "EncryptionSettingsCollection": {
- "description": "Encryption settings for disk or snapshot",
- "properties": {
- "enabled": {
- "description": "Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettings": {
- "description": "A collection of encryption settings, one for each disk volume.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/EncryptionSettingsElement"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettingsVersion": {
- "description": "Describes what type of encryption is used for the disks. Once this field is set, it cannot be overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption.",
- "type": "string"
- }
- },
- "required": [
- "enabled"
- ],
- "type": "object"
- },
- "EncryptionSettingsElement": {
- "description": "Encryption settings for one disk volume.",
- "properties": {
- "diskEncryptionKey": {
- "description": "Key Vault Secret Url and vault id of the disk encryption key",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultAndSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "keyEncryptionKey": {
- "description": "Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultAndKeyReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImageDiskReference": {
- "description": "The source image used for creating the disk.",
- "properties": {
- "id": {
- "description": "A relative uri containing either a Platform Image Repository or user image reference.",
- "type": "string"
- },
- "lun": {
- "description": "If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "id"
- ],
- "type": "object"
- },
- "KeyVaultAndKeyReference": {
- "description": "Key Vault Key Url and vault id of KeK, KeK is optional and when provided is used to unwrap the encryptionKey",
- "properties": {
- "keyUrl": {
- "description": "Url pointing to a key or secret in KeyVault",
- "type": "string"
- },
- "sourceVault": {
- "description": "Resource id of the KeyVault containing the key or secret",
- "oneOf": [
- {
- "$ref": "#/definitions/SourceVault"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "sourceVault",
- "keyUrl"
- ],
- "type": "object"
- },
- "KeyVaultAndSecretReference": {
- "description": "Key Vault Secret Url and vault id of the encryption key ",
- "properties": {
- "secretUrl": {
- "description": "Url pointing to a key or secret in KeyVault",
- "type": "string"
- },
- "sourceVault": {
- "description": "Resource id of the KeyVault containing the key or secret",
- "oneOf": [
- {
- "$ref": "#/definitions/SourceVault"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "sourceVault",
- "secretUrl"
- ],
- "type": "object"
- },
- "SnapshotProperties": {
- "description": "Snapshot resource properties.",
- "properties": {
- "creationData": {
- "description": "Disk source information. CreationData information cannot be changed after the disk has been created.",
- "oneOf": [
- {
- "$ref": "#/definitions/CreationData"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryption": {
- "description": "Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.",
- "oneOf": [
- {
- "$ref": "#/definitions/Encryption"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettingsCollection": {
- "description": "Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSettingsCollection"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hyperVGeneration": {
- "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "incremental": {
- "description": "Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full snapshots and can be diffed.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "The Operating System type.",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "creationData"
- ],
- "type": "object"
- },
- "SnapshotSku": {
- "description": "The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS.",
- "properties": {
- "name": {
- "description": "The sku name.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "Standard_ZRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SourceVault": {
- "description": "The vault id is an Azure Resource Manager Resource id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- }
- }
-}
\ No newline at end of file
diff --git a/schemas/2019-12-01/Microsoft.Compute.json b/schemas/2019-12-01/Microsoft.Compute.json
deleted file mode 100644
index 26266566e6..0000000000
--- a/schemas/2019-12-01/Microsoft.Compute.json
+++ /dev/null
@@ -1,6229 +0,0 @@
-{
- "id": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.json#",
- "title": "Microsoft.Compute",
- "description": "Microsoft Compute Resource Types",
- "$schema": "http://json-schema.org/draft-04/schema#",
- "resourceDefinitions": {
- "availabilitySets": {
- "description": "Microsoft.Compute/availabilitySets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-12-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the availability set.",
- "type": "string"
- },
- "properties": {
- "description": "The instance view of a resource.",
- "oneOf": [
- {
- "$ref": "#/definitions/AvailabilitySetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "Sku of the availability set, only name is required to be set. See AvailabilitySetSkuTypes for possible set of values. Use 'Aligned' for virtual machines with managed disks and 'Classic' for virtual machines with unmanaged disks. Default value is 'Classic'.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/availabilitySets"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries": {
- "description": "Microsoft.Compute/galleries",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-12-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the Shared Image Gallery. The allowed characters are alphabets and numbers with dots and periods allowed in the middle. The maximum length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Shared Image Gallery.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/galleries_images_childResource"
- },
- {
- "$ref": "#/definitions/galleries_applications_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/galleries"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_applications": {
- "description": "Microsoft.Compute/galleries/applications",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-12-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Application Definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery Application Definition.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryApplicationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/galleries_applications_versions_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/galleries/applications"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_applications_versions": {
- "description": "Microsoft.Compute/galleries/applications/versions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-12-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Application Version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery Image Version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryApplicationVersionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/galleries/applications/versions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_images": {
- "description": "Microsoft.Compute/galleries/images",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-12-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Image Definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery Image Definition.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/galleries_images_versions_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/galleries/images"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_images_versions": {
- "description": "Microsoft.Compute/galleries/images/versions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-12-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Image Version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery Image Version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageVersionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/galleries/images/versions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "hostGroups": {
- "description": "Microsoft.Compute/hostGroups",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-12-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the dedicated host group.",
- "type": "string"
- },
- "properties": {
- "description": "Dedicated Host Group Properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/DedicatedHostGroupProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/hostGroups_hosts_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/hostGroups"
- ],
- "type": "string"
- },
- "zones": {
- "description": "Availability Zone to use for this host group. Only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "hostGroups_hosts": {
- "description": "Microsoft.Compute/hostGroups/hosts",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-12-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the dedicated host .",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the dedicated host.",
- "oneOf": [
- {
- "$ref": "#/definitions/DedicatedHostProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be set. List Microsoft.Compute SKUs for a list of possible values.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/hostGroups/hosts"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "images": {
- "description": "Microsoft.Compute/images",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-12-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the image.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of an Image.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/images"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "proximityPlacementGroups": {
- "description": "Microsoft.Compute/proximityPlacementGroups",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-12-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the proximity placement group.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Proximity Placement Group.",
- "oneOf": [
- {
- "$ref": "#/definitions/ProximityPlacementGroupProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/proximityPlacementGroups"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "sshPublicKeys": {
- "description": "Microsoft.Compute/sshPublicKeys",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-12-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the SSH public key.",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the SSH public key.",
- "oneOf": [
- {
- "$ref": "#/definitions/SshPublicKeyResourceProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/sshPublicKeys"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets": {
- "description": "Microsoft.Compute/virtualMachineScaleSets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-12-01"
- ],
- "type": "string"
- },
- "identity": {
- "description": "The identity of the virtual machine scale set, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the VM scale set to create or update.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Scale Set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachineScaleSets_extensions_childResource"
- },
- {
- "$ref": "#/definitions/virtualMachineScaleSets_virtualmachines_childResource"
- }
- ]
- },
- "type": "array"
- },
- "sku": {
- "description": "The virtual machine scale set sku.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The virtual machine scale set zones. NOTE: Availability zones can only be set when you create the scale set",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_extensions": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-12-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine extension.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Extension.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualmachines": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualmachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-12-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The instance ID of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachineScaleSets_virtualMachines_extensions_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets/virtualmachines"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines": {
- "description": "Microsoft.Compute/virtualMachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-12-01"
- ],
- "type": "string"
- },
- "identity": {
- "description": "The identity of the virtual machine, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachines_extensions_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachines"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The virtual machine zones.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- },
- "definitions": {
- "AdditionalCapabilities": {
- "description": "Enables or disables a capability on the virtual machine or virtual machine scale set.",
- "properties": {
- "ultraSSDEnabled": {
- "description": "The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "AdditionalUnattendContent": {
- "description": "Specifies additional XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is applied.",
- "properties": {
- "componentName": {
- "description": "The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup.",
- "oneOf": [
- {
- "enum": [
- "Microsoft-Windows-Shell-Setup"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "content": {
- "description": "Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted.",
- "type": "string"
- },
- "passName": {
- "description": "The pass name. Currently, the only allowable value is OobeSystem.",
- "oneOf": [
- {
- "enum": [
- "OobeSystem"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "settingName": {
- "description": "Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon.",
- "oneOf": [
- {
- "enum": [
- "AutoLogon",
- "FirstLogonCommands"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ApiEntityReference": {
- "description": "The API entity reference.",
- "properties": {
- "id": {
- "description": "The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...",
- "type": "string"
- }
- },
- "type": "object"
- },
- "AutomaticOSUpgradePolicy": {
- "description": "The configuration parameters used for performing automatic OS upgrade.",
- "properties": {
- "disableAutomaticRollback": {
- "description": "Whether OS image rollback feature should be disabled. Default value is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticOSUpgrade": {
- "description": "Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. Default value is false.
If this is set to true for Windows based scale sets, [enableAutomaticUpdates](https://docs.microsoft.com/dotnet/api/microsoft.azure.management.compute.models.windowsconfiguration.enableautomaticupdates?view=azure-dotnet) is automatically set to false and cannot be set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "AutomaticRepairsPolicy": {
- "description": "Specifies the configuration parameters for automatic repairs on the virtual machine scale set.",
- "properties": {
- "enabled": {
- "description": "Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "gracePeriod": {
- "description": "The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The minimum allowed grace period is 30 minutes (PT30M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M).",
- "type": "string"
- }
- },
- "type": "object"
- },
- "AvailabilitySetProperties": {
- "description": "The instance view of a resource.",
- "properties": {
- "platformFaultDomainCount": {
- "description": "Fault Domain count.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformUpdateDomainCount": {
- "description": "Update Domain count.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the availability set should be assigned to.
Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "virtualMachines": {
- "description": "A list of references to all virtual machines in the availability set.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "BillingProfile": {
- "description": "Specifies the billing related details of a Azure Spot VM or VMSS.
Minimum api-version: 2019-03-01.",
- "properties": {
- "maxPrice": {
- "description": "Specifies the maximum price you are willing to pay for a Azure Spot VM/VMSS. This price is in US Dollars.
This price will be compared with the current Azure Spot price for the VM size. Also, the prices are compared at the time of create/update of Azure Spot VM/VMSS and the operation will only succeed if the maxPrice is greater than the current Azure Spot price.
The maxPrice will also be used for evicting a Azure Spot VM/VMSS if the current Azure Spot price goes beyond the maxPrice after creation of VM/VMSS.
Possible values are:
- Any decimal value greater than zero. Example: 0.01538
-1 – indicates default price to be up-to on-demand.
You can set the maxPrice to -1 to indicate that the Azure Spot VM/VMSS should not be evicted for price reasons. Also, the default max price is -1 if it is not provided by you.
Minimum api-version: 2019-03-01.",
- "oneOf": [
- {
- "type": "number"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "BootDiagnostics": {
- "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.",
- "properties": {
- "enabled": {
- "description": "Whether boot diagnostics should be enabled on the Virtual Machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageUri": {
- "description": "Uri of the storage account to use for placing the console output and screenshot.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "DataDisk": {
- "description": "Describes a data disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machine should be created.
Possible values are:
**Attach** \\u2013 This value is used when you are using a specialized disk to create the virtual machine.
**FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/ManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "toBeDetached": {
- "description": "Specifies whether the data disk is in process of detachment from the VirtualMachine/VirtualMachineScaleset",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhd": {
- "description": "The virtual hard disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun",
- "createOption"
- ],
- "type": "object"
- },
- "DataDiskImageEncryption": {
- "description": "Contains encryption settings for a data disk image.",
- "properties": {
- "diskEncryptionSetId": {
- "description": "A relative URI containing the resource ID of the disk encryption set.",
- "type": "string"
- },
- "lun": {
- "description": "This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun"
- ],
- "type": "object"
- },
- "DedicatedHostGroupProperties": {
- "description": "Dedicated Host Group Properties.",
- "properties": {
- "platformFaultDomainCount": {
- "description": "Number of fault domains that the host group can span.",
- "oneOf": [
- {
- "maximum": 3,
- "minimum": 1,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "platformFaultDomainCount"
- ],
- "type": "object"
- },
- "DedicatedHostProperties": {
- "description": "Properties of the dedicated host.",
- "properties": {
- "autoReplaceOnFailure": {
- "description": "Specifies whether the dedicated host should be replaced automatically in case of a failure. The value is defaulted to 'true' when not provided.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies the software license type that will be applied to the VMs deployed on the dedicated host.
Possible values are:
**None**
**Windows_Server_Hybrid**
**Windows_Server_Perpetual**
Default: **None**",
- "oneOf": [
- {
- "enum": [
- "None",
- "Windows_Server_Hybrid",
- "Windows_Server_Perpetual"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformFaultDomain": {
- "description": "Fault domain of the dedicated host within a dedicated host group.",
- "oneOf": [
- {
- "maximum": 2,
- "minimum": 0,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "properties": {
- "bootDiagnostics": {
- "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.",
- "oneOf": [
- {
- "$ref": "#/definitions/BootDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiffDiskSettings": {
- "description": "Describes the parameters of ephemeral disk settings that can be specified for operating system disk.
NOTE: The ephemeral disk settings can only be specified for managed disk.",
- "properties": {
- "option": {
- "description": "Specifies the ephemeral disk settings for operating system disk.",
- "oneOf": [
- {
- "enum": [
- "Local"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "placement": {
- "description": "Specifies the ephemeral disk placement for operating system disk.
Possible values are:
**CacheDisk**
**ResourceDisk**
Default: **CacheDisk** if one is configured for the VM size otherwise **ResourceDisk** is used.
Refer to VM size documentation for Windows VM at https://docs.microsoft.com/en-us/azure/virtual-machines/windows/sizes and Linux VM at https://docs.microsoft.com/en-us/azure/virtual-machines/linux/sizes to check which VM sizes exposes a cache disk.",
- "oneOf": [
- {
- "enum": [
- "CacheDisk",
- "ResourceDisk"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Disallowed": {
- "description": "Describes the disallowed disk types.",
- "properties": {
- "diskTypes": {
- "description": "A list of disk types.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiskEncryptionSetParameters": {
- "description": "Describes the parameter of customer managed disk encryption set resource id that can be specified for disk.
NOTE: The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "DiskEncryptionSettings": {
- "description": "Describes a Encryption Settings for a Disk",
- "properties": {
- "diskEncryptionKey": {
- "description": "Specifies the location of the disk encryption key, which is a Key Vault Secret.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enabled": {
- "description": "Specifies whether disk encryption should be enabled on the virtual machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "keyEncryptionKey": {
- "description": "Specifies the location of the key encryption key in Key Vault.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultKeyReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "EncryptionImages": {
- "description": "Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact.",
- "properties": {
- "dataDiskImages": {
- "description": "A list of encryption specifications for data disk images.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/DataDiskImageEncryption"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDiskImage": {
- "description": "Contains encryption settings for an OS disk image.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSDiskImageEncryption"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryApplicationProperties": {
- "description": "Describes the properties of a gallery Application Definition.",
- "properties": {
- "description": {
- "description": "The description of this gallery Application Definition resource. This property is updatable.",
- "type": "string"
- },
- "endOfLifeDate": {
- "description": "The end of life date of the gallery Application Definition. This property can be used for decommissioning purposes. This property is updatable.",
- "format": "date-time",
- "type": "string"
- },
- "eula": {
- "description": "The Eula agreement for the gallery Application Definition.",
- "type": "string"
- },
- "privacyStatementUri": {
- "description": "The privacy statement uri.",
- "type": "string"
- },
- "releaseNoteUri": {
- "description": "The release note uri.",
- "type": "string"
- },
- "supportedOSType": {
- "description": "This property allows you to specify the supported type of the OS that application is built for.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "supportedOSType"
- ],
- "type": "object"
- },
- "GalleryApplicationVersionProperties": {
- "description": "Describes the properties of a gallery Image Version.",
- "properties": {
- "publishingProfile": {
- "description": "The publishing profile of a gallery image version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryApplicationVersionPublishingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "publishingProfile"
- ],
- "type": "object"
- },
- "GalleryApplicationVersionPublishingProfile": {
- "description": "The publishing profile of a gallery image version.",
- "properties": {
- "enableHealthCheck": {
- "description": "Optional. Whether or not this application reports health.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "endOfLifeDate": {
- "description": "The end of life date of the gallery Image Version. This property can be used for decommissioning purposes. This property is updatable.",
- "format": "date-time",
- "type": "string"
- },
- "excludeFromLatest": {
- "description": "If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "manageActions": {
- "oneOf": [
- {
- "$ref": "#/definitions/UserArtifactManage"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "replicaCount": {
- "description": "The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "source": {
- "description": "The source image from which the Image Version is going to be created.",
- "oneOf": [
- {
- "$ref": "#/definitions/UserArtifactSource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type to be used to store the image. This property is not updatable.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Standard_ZRS",
- "Premium_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "targetRegions": {
- "description": "The target regions where the Image Version is going to be replicated to. This property is updatable.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/TargetRegion"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "source"
- ],
- "type": "object"
- },
- "GalleryArtifactVersionSource": {
- "description": "The gallery artifact version source.",
- "properties": {
- "id": {
- "description": "The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, or user image.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "GalleryDataDiskImage": {
- "description": "This is the data disk image.",
- "properties": {
- "hostCaching": {
- "description": "The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "source": {
- "description": "The gallery artifact version source.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryArtifactVersionSource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun"
- ],
- "type": "object"
- },
- "GalleryIdentifier": {
- "description": "Describes the gallery unique name.",
- "properties": {},
- "type": "object"
- },
- "GalleryImageIdentifier": {
- "description": "This is the gallery Image Definition identifier.",
- "properties": {
- "offer": {
- "description": "The name of the gallery Image Definition offer.",
- "type": "string"
- },
- "publisher": {
- "description": "The name of the gallery Image Definition publisher.",
- "type": "string"
- },
- "sku": {
- "description": "The name of the gallery Image Definition SKU.",
- "type": "string"
- }
- },
- "required": [
- "publisher",
- "offer",
- "sku"
- ],
- "type": "object"
- },
- "GalleryImageProperties": {
- "description": "Describes the properties of a gallery Image Definition.",
- "properties": {
- "description": {
- "description": "The description of this gallery Image Definition resource. This property is updatable.",
- "type": "string"
- },
- "disallowed": {
- "description": "Describes the disallowed disk types.",
- "oneOf": [
- {
- "$ref": "#/definitions/Disallowed"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "endOfLifeDate": {
- "description": "The end of life date of the gallery Image Definition. This property can be used for decommissioning purposes. This property is updatable.",
- "format": "date-time",
- "type": "string"
- },
- "eula": {
- "description": "The Eula agreement for the gallery Image Definition.",
- "type": "string"
- },
- "hyperVGeneration": {
- "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "identifier": {
- "description": "This is the gallery Image Definition identifier.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageIdentifier"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osState": {
- "description": "This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'.",
- "oneOf": [
- {
- "enum": [
- "Generalized",
- "Specialized"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "privacyStatementUri": {
- "description": "The privacy statement uri.",
- "type": "string"
- },
- "purchasePlan": {
- "description": "Describes the gallery Image Definition purchase plan. This is used by marketplace images.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImagePurchasePlan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "recommended": {
- "description": "The properties describe the recommended machine configuration for this Image Definition. These properties are updatable.",
- "oneOf": [
- {
- "$ref": "#/definitions/RecommendedMachineConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "releaseNoteUri": {
- "description": "The release note uri.",
- "type": "string"
- }
- },
- "required": [
- "osType",
- "osState",
- "identifier"
- ],
- "type": "object"
- },
- "GalleryImageVersionProperties": {
- "description": "Describes the properties of a gallery Image Version.",
- "properties": {
- "publishingProfile": {
- "description": "The publishing profile of a gallery Image Version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageVersionPublishingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "This is the storage profile of a Gallery Image Version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageVersionStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "storageProfile"
- ],
- "type": "object"
- },
- "GalleryImageVersionPublishingProfile": {
- "description": "The publishing profile of a gallery Image Version.",
- "properties": {
- "endOfLifeDate": {
- "description": "The end of life date of the gallery Image Version. This property can be used for decommissioning purposes. This property is updatable.",
- "format": "date-time",
- "type": "string"
- },
- "excludeFromLatest": {
- "description": "If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "replicaCount": {
- "description": "The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type to be used to store the image. This property is not updatable.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Standard_ZRS",
- "Premium_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "targetRegions": {
- "description": "The target regions where the Image Version is going to be replicated to. This property is updatable.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/TargetRegion"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryImageVersionStorageProfile": {
- "description": "This is the storage profile of a Gallery Image Version.",
- "properties": {
- "dataDiskImages": {
- "description": "A list of data disk images.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/GalleryDataDiskImage"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDiskImage": {
- "description": "This is the OS disk image.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryOSDiskImage"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "source": {
- "description": "The gallery artifact version source.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryArtifactVersionSource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryOSDiskImage": {
- "description": "This is the OS disk image.",
- "properties": {
- "hostCaching": {
- "description": "The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "source": {
- "description": "The gallery artifact version source.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryArtifactVersionSource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryProperties": {
- "description": "Describes the properties of a Shared Image Gallery.",
- "properties": {
- "description": {
- "description": "The description of this Shared Image Gallery resource. This property is updatable.",
- "type": "string"
- },
- "identifier": {
- "description": "Describes the gallery unique name.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryIdentifier"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "HardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "properties": {
- "vmSize": {
- "description": "Specifies the size of the virtual machine. For more information about virtual machine sizes, see [Sizes for virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-sizes?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
The available VM sizes depend on region and availability set. For a list of available sizes use these APIs:
[List all available virtual machine sizes in an availability set](https://docs.microsoft.com/rest/api/compute/availabilitysets/listavailablesizes)
[List all available virtual machine sizes in a region](https://docs.microsoft.com/rest/api/compute/virtualmachinesizes/list)
[List all available virtual machine sizes for resizing](https://docs.microsoft.com/rest/api/compute/virtualmachines/listavailablesizes)",
- "oneOf": [
- {
- "enum": [
- "Basic_A0",
- "Basic_A1",
- "Basic_A2",
- "Basic_A3",
- "Basic_A4",
- "Standard_A0",
- "Standard_A1",
- "Standard_A2",
- "Standard_A3",
- "Standard_A4",
- "Standard_A5",
- "Standard_A6",
- "Standard_A7",
- "Standard_A8",
- "Standard_A9",
- "Standard_A10",
- "Standard_A11",
- "Standard_A1_v2",
- "Standard_A2_v2",
- "Standard_A4_v2",
- "Standard_A8_v2",
- "Standard_A2m_v2",
- "Standard_A4m_v2",
- "Standard_A8m_v2",
- "Standard_B1s",
- "Standard_B1ms",
- "Standard_B2s",
- "Standard_B2ms",
- "Standard_B4ms",
- "Standard_B8ms",
- "Standard_D1",
- "Standard_D2",
- "Standard_D3",
- "Standard_D4",
- "Standard_D11",
- "Standard_D12",
- "Standard_D13",
- "Standard_D14",
- "Standard_D1_v2",
- "Standard_D2_v2",
- "Standard_D3_v2",
- "Standard_D4_v2",
- "Standard_D5_v2",
- "Standard_D2_v3",
- "Standard_D4_v3",
- "Standard_D8_v3",
- "Standard_D16_v3",
- "Standard_D32_v3",
- "Standard_D64_v3",
- "Standard_D2s_v3",
- "Standard_D4s_v3",
- "Standard_D8s_v3",
- "Standard_D16s_v3",
- "Standard_D32s_v3",
- "Standard_D64s_v3",
- "Standard_D11_v2",
- "Standard_D12_v2",
- "Standard_D13_v2",
- "Standard_D14_v2",
- "Standard_D15_v2",
- "Standard_DS1",
- "Standard_DS2",
- "Standard_DS3",
- "Standard_DS4",
- "Standard_DS11",
- "Standard_DS12",
- "Standard_DS13",
- "Standard_DS14",
- "Standard_DS1_v2",
- "Standard_DS2_v2",
- "Standard_DS3_v2",
- "Standard_DS4_v2",
- "Standard_DS5_v2",
- "Standard_DS11_v2",
- "Standard_DS12_v2",
- "Standard_DS13_v2",
- "Standard_DS14_v2",
- "Standard_DS15_v2",
- "Standard_DS13-4_v2",
- "Standard_DS13-2_v2",
- "Standard_DS14-8_v2",
- "Standard_DS14-4_v2",
- "Standard_E2_v3",
- "Standard_E4_v3",
- "Standard_E8_v3",
- "Standard_E16_v3",
- "Standard_E32_v3",
- "Standard_E64_v3",
- "Standard_E2s_v3",
- "Standard_E4s_v3",
- "Standard_E8s_v3",
- "Standard_E16s_v3",
- "Standard_E32s_v3",
- "Standard_E64s_v3",
- "Standard_E32-16_v3",
- "Standard_E32-8s_v3",
- "Standard_E64-32s_v3",
- "Standard_E64-16s_v3",
- "Standard_F1",
- "Standard_F2",
- "Standard_F4",
- "Standard_F8",
- "Standard_F16",
- "Standard_F1s",
- "Standard_F2s",
- "Standard_F4s",
- "Standard_F8s",
- "Standard_F16s",
- "Standard_F2s_v2",
- "Standard_F4s_v2",
- "Standard_F8s_v2",
- "Standard_F16s_v2",
- "Standard_F32s_v2",
- "Standard_F64s_v2",
- "Standard_F72s_v2",
- "Standard_G1",
- "Standard_G2",
- "Standard_G3",
- "Standard_G4",
- "Standard_G5",
- "Standard_GS1",
- "Standard_GS2",
- "Standard_GS3",
- "Standard_GS4",
- "Standard_GS5",
- "Standard_GS4-8",
- "Standard_GS4-4",
- "Standard_GS5-16",
- "Standard_GS5-8",
- "Standard_H8",
- "Standard_H16",
- "Standard_H8m",
- "Standard_H16m",
- "Standard_H16r",
- "Standard_H16mr",
- "Standard_L4s",
- "Standard_L8s",
- "Standard_L16s",
- "Standard_L32s",
- "Standard_M64s",
- "Standard_M64ms",
- "Standard_M128s",
- "Standard_M128ms",
- "Standard_M64-32ms",
- "Standard_M64-16ms",
- "Standard_M128-64ms",
- "Standard_M128-32ms",
- "Standard_NC6",
- "Standard_NC12",
- "Standard_NC24",
- "Standard_NC24r",
- "Standard_NC6s_v2",
- "Standard_NC12s_v2",
- "Standard_NC24s_v2",
- "Standard_NC24rs_v2",
- "Standard_NC6s_v3",
- "Standard_NC12s_v3",
- "Standard_NC24s_v3",
- "Standard_NC24rs_v3",
- "Standard_ND6s",
- "Standard_ND12s",
- "Standard_ND24s",
- "Standard_ND24rs",
- "Standard_NV6",
- "Standard_NV12",
- "Standard_NV24"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImageDataDisk": {
- "description": "Describes a data disk.",
- "properties": {
- "blobUri": {
- "description": "The Virtual Hard Disk.",
- "type": "string"
- },
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed image disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managedDisk.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "snapshot": {
- "description": "The snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun"
- ],
- "type": "object"
- },
- "ImageOSDisk": {
- "description": "Describes an Operating System disk.",
- "properties": {
- "blobUri": {
- "description": "The Virtual Hard Disk.",
- "type": "string"
- },
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed image disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managedDisk.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osState": {
- "description": "The OS State.",
- "oneOf": [
- {
- "enum": [
- "Generalized",
- "Specialized"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from a custom image.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "snapshot": {
- "description": "The snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "osType",
- "osState"
- ],
- "type": "object"
- },
- "ImageProperties": {
- "description": "Describes the properties of an Image.",
- "properties": {
- "hyperVGeneration": {
- "description": "Gets the HyperVGenerationType of the VirtualMachine created from the image",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sourceVirtualMachine": {
- "description": "The source virtual machine from which Image is created.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImagePurchasePlan": {
- "description": "Describes the gallery Image Definition purchase plan. This is used by marketplace images.",
- "properties": {
- "name": {
- "description": "The plan ID.",
- "type": "string"
- },
- "product": {
- "description": "The product ID.",
- "type": "string"
- },
- "publisher": {
- "description": "The publisher ID.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ImageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. NOTE: Image reference publisher and offer can only be set when you create the scale set.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "offer": {
- "description": "Specifies the offer of the platform image or marketplace image used to create the virtual machine.",
- "type": "string"
- },
- "publisher": {
- "description": "The image publisher.",
- "type": "string"
- },
- "sku": {
- "description": "The image SKU.",
- "type": "string"
- },
- "version": {
- "description": "Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ImageStorageProfile": {
- "description": "Describes a storage profile.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add a data disk to a virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/ImageDataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageOSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "zoneResilient": {
- "description": "Specifies whether an image is zone resilient or not. Default is false. Zone resilient images can be created only in regions that provide Zone Redundant Storage (ZRS).",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "InstanceViewStatus": {
- "description": "Instance view status.",
- "properties": {
- "code": {
- "description": "The status code.",
- "type": "string"
- },
- "displayStatus": {
- "description": "The short localizable label for the status.",
- "type": "string"
- },
- "level": {
- "description": "The level code.",
- "oneOf": [
- {
- "enum": [
- "Info",
- "Warning",
- "Error"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "message": {
- "description": "The detailed status message, including for alerts and error messages.",
- "type": "string"
- },
- "time": {
- "description": "The time of the status.",
- "format": "date-time",
- "type": "string"
- }
- },
- "type": "object"
- },
- "KeyVaultKeyReference": {
- "description": "Describes a reference to Key Vault Key",
- "properties": {
- "keyUrl": {
- "description": "The URL referencing a key encryption key in Key Vault.",
- "type": "string"
- },
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing the key.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "keyUrl",
- "sourceVault"
- ],
- "type": "object"
- },
- "KeyVaultSecretReference": {
- "description": "Describes a reference to Key Vault Secret",
- "properties": {
- "secretUrl": {
- "description": "The URL referencing a secret in a Key Vault.",
- "type": "string"
- },
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing the secret.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "secretUrl",
- "sourceVault"
- ],
- "type": "object"
- },
- "LinuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).",
- "properties": {
- "disablePasswordAuthentication": {
- "description": "Specifies whether password authentication should be disabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionVMAgent": {
- "description": "Indicates whether virtual machine agent should be provisioned on the virtual machine.
When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ssh": {
- "description": "Specifies the ssh key configuration for a Linux OS.",
- "oneOf": [
- {
- "$ref": "#/definitions/SshConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ManagedDiskParameters": {
- "description": "The parameters of a managed disk.",
- "properties": {
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkInterfaceReference": {
- "description": "Describes a network interface reference.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "properties": {
- "description": "Describes a network interface reference properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkInterfaceReferenceProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkInterfaceReferenceProperties": {
- "description": "Describes a network interface reference properties.",
- "properties": {
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "properties": {
- "networkInterfaces": {
- "description": "Specifies the list of resource Ids for the network interfaces associated with the virtual machine.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/NetworkInterfaceReference"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "OSDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None** for Standard storage. **ReadOnly** for Premium storage.",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machine should be created.
Possible values are:
**Attach** \\u2013 This value is used when you are using a specialized disk to create the virtual machine.
**FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diffDiskSettings": {
- "description": "Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiffDiskSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettings": {
- "description": "Specifies the encryption settings for the OS Disk.
Minimum api-version: 2015-06-15",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/ManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhd": {
- "description": "The virtual hard disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "OSDiskImageEncryption": {
- "description": "Contains encryption settings for an OS disk image.",
- "properties": {
- "diskEncryptionSetId": {
- "description": "A relative URI containing the resource ID of the disk encryption set.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "OSProfile": {
- "description": "Specifies the operating system settings for the virtual machine. Some of the settings cannot be changed once VM is provisioned.",
- "properties": {
- "adminPassword": {
- "description": "Specifies the password of the administrator account.
**Minimum-length (Windows):** 8 characters
**Minimum-length (Linux):** 6 characters
**Max-length (Windows):** 123 characters
**Max-length (Linux):** 72 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])
**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"
For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-reset-rdp?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-vmaccess-extension?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#reset-root-password)",
- "type": "string"
- },
- "adminUsername": {
- "description": "Specifies the name of the administrator account.
This property cannot be updated after the VM is created.
**Windows-only restriction:** Cannot end in \".\"
**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters
For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)",
- "type": "string"
- },
- "allowExtensionOperations": {
- "description": "Specifies whether extension operations should be allowed on the virtual machine.
This may only be set to False when no extensions are present on the virtual machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "computerName": {
- "description": "Specifies the host OS name of the virtual machine.
This name cannot be updated after the VM is created.
**Max-length (Windows):** 15 characters
**Max-length (Linux):** 64 characters.
For naming conventions and restrictions see [Azure infrastructure services implementation guidelines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-infrastructure-subscription-accounts-guidelines?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#1-naming-conventions).",
- "type": "string"
- },
- "customData": {
- "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes.
**Note: Do not pass any secrets or passwords in customData property**
This property cannot be updated after the VM is created.
customData is passed to the VM to be saved as a file, for more information see [Custom Data on Azure VMs](https://azure.microsoft.com/en-us/blog/custom-data-and-cloud-init-on-windows-azure/)
For using cloud-init for your Linux VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)",
- "type": "string"
- },
- "linuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "requireGuestProvisionSignal": {
- "description": "Specifies whether the guest provision signal is required to infer provision success of the virtual machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "secrets": {
- "description": "Specifies set of certificates that should be installed onto the virtual machine.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultSecretGroup"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "windowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/WindowsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "properties": {
- "name": {
- "description": "The plan ID.",
- "type": "string"
- },
- "product": {
- "description": "Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.",
- "type": "string"
- },
- "promotionCode": {
- "description": "The promotion code.",
- "type": "string"
- },
- "publisher": {
- "description": "The publisher ID.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ProximityPlacementGroupProperties": {
- "description": "Describes the properties of a Proximity Placement Group.",
- "properties": {
- "colocationStatus": {
- "description": "Describes colocation status of the Proximity Placement Group.",
- "oneOf": [
- {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroupType": {
- "description": "Specifies the type of the proximity placement group.
Possible values are:
**Standard** : Co-locate resources within an Azure region or Availability Zone.
**Ultra** : For future use.",
- "oneOf": [
- {
- "enum": [
- "Standard",
- "Ultra"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RecommendedMachineConfiguration": {
- "description": "The properties describe the recommended machine configuration for this Image Definition. These properties are updatable.",
- "properties": {
- "memory": {
- "description": "Describes the resource range.",
- "oneOf": [
- {
- "$ref": "#/definitions/ResourceRange"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vCPUs": {
- "description": "Describes the resource range.",
- "oneOf": [
- {
- "$ref": "#/definitions/ResourceRange"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ResourceRange": {
- "description": "Describes the resource range.",
- "properties": {
- "max": {
- "description": "The maximum number of the resource.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "min": {
- "description": "The minimum number of the resource.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RollingUpgradePolicy": {
- "description": "The configuration parameters used while performing a rolling upgrade.",
- "properties": {
- "maxBatchInstancePercent": {
- "description": "The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 5,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxUnhealthyInstancePercent": {
- "description": "The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 5,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxUnhealthyUpgradedInstancePercent": {
- "description": "The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "pauseTimeBetweenBatches": {
- "description": "The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format. The default value is 0 seconds (PT0S).",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ScaleInPolicy": {
- "description": "Describes a scale-in policy for a virtual machine scale set.",
- "properties": {
- "rules": {
- "description": "The rules to be followed when scaling-in a virtual machine scale set.
Possible values are:
**Default** When a virtual machine scale set is scaled in, the scale set will first be balanced across zones if it is a zonal scale set. Then, it will be balanced across Fault Domains as far as possible. Within each Fault Domain, the virtual machines chosen for removal will be the newest ones that are not protected from scale-in.
**OldestVM** When a virtual machine scale set is being scaled-in, the oldest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the oldest virtual machines that are not protected will be chosen for removal.
**NewestVM** When a virtual machine scale set is being scaled-in, the newest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the newest virtual machines that are not protected will be chosen for removal.
",
- "oneOf": [
- {
- "items": {
- "enum": [
- "Default",
- "OldestVM",
- "NewestVM"
- ],
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ScheduledEventsProfile": {
- "properties": {
- "terminateNotificationProfile": {
- "description": "Specifies Terminate Scheduled Event related configurations.",
- "oneOf": [
- {
- "$ref": "#/definitions/TerminateNotificationProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Sku": {
- "description": "Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name.",
- "properties": {
- "capacity": {
- "description": "Specifies the number of virtual machines in the scale set.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The sku name.",
- "type": "string"
- },
- "tier": {
- "description": "Specifies the tier of virtual machines in a scale set.
Possible Values:
**Standard**
**Basic**",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SshConfiguration": {
- "description": "SSH configuration for Linux based VMs running on Azure",
- "properties": {
- "publicKeys": {
- "description": "The list of SSH public keys used to authenticate with linux based VMs.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SshPublicKey"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SshPublicKey": {
- "description": "Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed.",
- "properties": {
- "keyData": {
- "description": "SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format.
For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-mac-create-ssh-keys?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).",
- "type": "string"
- },
- "path": {
- "description": "Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SshPublicKeyResourceProperties": {
- "description": "Properties of the SSH public key.",
- "properties": {
- "publicKey": {
- "description": "SSH public key used to authenticate to a virtual machine through ssh. If this property is not initially provided when the resource is created, the publicKey property will be populated when generateKeyPair is called. If the public key is provided upon resource creation, the provided public key needs to be at least 2048-bit and in ssh-rsa format.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "StorageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add a data disk to a virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/DataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/OSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SubResource": {
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "TargetRegion": {
- "description": "Describes the target region information.",
- "properties": {
- "encryption": {
- "description": "Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionImages"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The name of the region.",
- "type": "string"
- },
- "regionalReplicaCount": {
- "description": "The number of replicas of the Image Version to be created per region. This property is updatable.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type to be used to store the image. This property is not updatable.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Standard_ZRS",
- "Premium_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "TerminateNotificationProfile": {
- "properties": {
- "enable": {
- "description": "Specifies whether the Terminate Scheduled event is enabled or disabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "notBeforeTimeout": {
- "description": "Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M)",
- "type": "string"
- }
- },
- "type": "object"
- },
- "UpgradePolicy": {
- "description": "Describes an upgrade policy - automatic, manual, or rolling.",
- "properties": {
- "automaticOSUpgradePolicy": {
- "description": "Configuration parameters used for performing automatic OS Upgrade.",
- "oneOf": [
- {
- "$ref": "#/definitions/AutomaticOSUpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "mode": {
- "description": "Specifies the mode of an upgrade to virtual machines in the scale set.
Possible values are:
**Manual** - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.
**Automatic** - All virtual machines in the scale set are automatically updated at the same time.",
- "oneOf": [
- {
- "enum": [
- "Automatic",
- "Manual",
- "Rolling"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "rollingUpgradePolicy": {
- "description": "The configuration parameters used while performing a rolling upgrade.",
- "oneOf": [
- {
- "$ref": "#/definitions/RollingUpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "UserArtifactManage": {
- "properties": {
- "install": {
- "description": "Required. The path and arguments to install the gallery application. This is limited to 4096 characters.",
- "type": "string"
- },
- "remove": {
- "description": "Required. The path and arguments to remove the gallery application. This is limited to 4096 characters.",
- "type": "string"
- },
- "update": {
- "description": "Optional. The path and arguments to update the gallery application. If not present, then update operation will invoke remove command on the previous version and install command on the current version of the gallery application. This is limited to 4096 characters.",
- "type": "string"
- }
- },
- "required": [
- "install",
- "remove"
- ],
- "type": "object"
- },
- "UserArtifactSource": {
- "description": "The source image from which the Image Version is going to be created.",
- "properties": {
- "defaultConfigurationLink": {
- "description": "Optional. The defaultConfigurationLink of the artifact, must be a readable storage page blob.",
- "type": "string"
- },
- "mediaLink": {
- "description": "Required. The mediaLink of the artifact, must be a readable storage page blob.",
- "type": "string"
- }
- },
- "required": [
- "mediaLink"
- ],
- "type": "object"
- },
- "UserAssignedIdentitiesValue": {
- "properties": {},
- "type": "object"
- },
- "VaultCertificate": {
- "description": "Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM.",
- "properties": {
- "certificateStore": {
- "description": "For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account.
For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of these files are .pem formatted.",
- "type": "string"
- },
- "certificateUrl": {
- "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:
{
\"data\":\"\",
\"dataType\":\"pfx\",
\"password\":\"\"
}",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VaultSecretGroup": {
- "description": "Describes a set of certificates which are all in the same Key Vault.",
- "properties": {
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing all of the certificates in VaultCertificates.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vaultCertificates": {
- "description": "The list of key vault references in SourceVault which contain certificates.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultCertificate"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualHardDisk": {
- "description": "Describes the uri of a disk.",
- "properties": {
- "uri": {
- "description": "Specifies the virtual hard disk's uri.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineExtensionInstanceView": {
- "description": "The instance view of a virtual machine extension.",
- "properties": {
- "name": {
- "description": "The virtual machine extension name.",
- "type": "string"
- },
- "statuses": {
- "description": "The resource status information.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "substatuses": {
- "description": "The resource status information.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineExtensionProperties": {
- "description": "Describes the properties of a Virtual Machine Extension.",
- "properties": {
- "autoUpgradeMinorVersion": {
- "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "forceUpdateTag": {
- "description": "How the extension handler should be forced to update even if the extension configuration has not changed.",
- "type": "string"
- },
- "instanceView": {
- "description": "The virtual machine extension instance view.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionInstanceView"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedSettings": {
- "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publisher": {
- "description": "The name of the extension handler publisher.",
- "type": "string"
- },
- "settings": {
- "description": "Json formatted public settings for the extension.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineIdentity": {
- "description": "Identity for the virtual machine.",
- "properties": {
- "type": {
- "description": "The type of identity used for the virtual machine. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned",
- "UserAssigned",
- "SystemAssigned, UserAssigned",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userAssignedIdentities": {
- "description": "The list of user identities associated with the Virtual Machine. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
- "oneOf": [
- {
- "additionalProperties": {
- "$ref": "#/definitions/UserAssignedIdentitiesValue"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineProperties": {
- "description": "Describes the properties of a Virtual Machine.",
- "properties": {
- "additionalCapabilities": {
- "description": "Specifies additional capabilities enabled or disabled on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/AdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "availabilitySet": {
- "description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Currently, a VM can only be added to availability set at creation time. The availability set to which the VM is being added should be under the same resource group as the availability set resource. An existing VM cannot be added to an availability set.
This property cannot exist along with a non-null properties.virtualMachineScaleSet reference.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "billingProfile": {
- "description": "Specifies the billing related details of a Azure Spot virtual machine.
Minimum api-version: 2019-03-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/BillingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "evictionPolicy": {
- "description": "Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set.
For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01.
For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview.",
- "oneOf": [
- {
- "enum": [
- "Deallocate",
- "Delete"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/HardwareProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "host": {
- "description": "Specifies information about the dedicated host that the virtual machine resides in.
Minimum api-version: 2018-10-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises. This element is only used for images that contain the Windows Server operating system.
Possible values are:
Windows_Client
Windows_Server
If this element is included in a request for an update, the value must match the initial value. This value cannot be updated.
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings used while creating the virtual machine. Some of the settings cannot be changed once VM is provisioned.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "priority": {
- "description": "Specifies the priority for the virtual machine.
Minimum api-version: 2019-03-01",
- "oneOf": [
- {
- "enum": [
- "Regular",
- "Low",
- "Spot"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the virtual machine should be assigned to.
Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/StorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "virtualMachineScaleSet": {
- "description": "Specifies information about the virtual machine scale set that the virtual machine should be assigned to. Virtual machines specified in the same virtual machine scale set are allocated to different nodes to maximize availability. Currently, a VM can only be added to virtual machine scale set at creation time. An existing VM cannot be added to a virtual machine scale set.
This property cannot exist along with a non-null properties.availabilitySet reference.
Minimum api‐version: 2019‐03‐01",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetDataDisk": {
- "description": "Describes a virtual machine scale set data disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "The create option.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskIOPSReadWrite": {
- "description": "Specifies the Read-Write IOPS for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskMBpsReadWrite": {
- "description": "Specifies the bandwidth in MB per second for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun",
- "createOption"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetExtension": {
- "description": "Describes a Virtual Machine Scale Set Extension.",
- "properties": {
- "name": {
- "description": "The name of the extension.",
- "type": "string"
- },
- "properties": {
- "anyOf": [
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/genericExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/bgInfo"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/dscExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackup"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/chefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/dockerExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/eset"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/puppetAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/customScript"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetExtensionProfile": {
- "description": "Describes a virtual machine scale set extension profile.",
- "properties": {
- "extensions": {
- "description": "The virtual machine scale set child extension resources.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetExtension"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetExtensionProperties": {
- "description": "Describes the properties of a Virtual Machine Scale Set Extension.",
- "properties": {
- "autoUpgradeMinorVersion": {
- "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "forceUpdateTag": {
- "description": "If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.",
- "type": "string"
- },
- "protectedSettings": {
- "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionAfterExtensions": {
- "description": "Collection of extension names after which this extension needs to be provisioned.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publisher": {
- "description": "The name of the extension handler publisher.",
- "type": "string"
- },
- "settings": {
- "description": "Json formatted public settings for the extension.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIPConfiguration": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "name": {
- "description": "The IP configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetIPConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetIPConfigurationProperties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration properties.",
- "properties": {
- "applicationGatewayBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of application gateways. A scale set can reference backend address pools of multiple application gateways. Multiple scale sets cannot use the same application gateway.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "applicationSecurityGroups": {
- "description": "Specifies an array of references to application security group.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of load balancers. A scale set can reference backend address pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerInboundNatPools": {
- "description": "Specifies an array of references to inbound Nat pools of the load balancers. A scale set can reference inbound nat pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "privateIPAddressVersion": {
- "description": "Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressConfiguration": {
- "description": "The publicIPAddressConfiguration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "subnet": {
- "description": "Specifies the identifier of the subnet.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApiEntityReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIdentity": {
- "description": "Identity for the virtual machine scale set.",
- "properties": {
- "type": {
- "description": "The type of identity used for the virtual machine scale set. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine scale set.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned",
- "UserAssigned",
- "SystemAssigned, UserAssigned",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userAssignedIdentities": {
- "description": "The list of user identities associated with the virtual machine scale set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
- "oneOf": [
- {
- "additionalProperties": {
- "$ref": "#/definitions/VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue": {
- "properties": {},
- "type": "object"
- },
- "VirtualMachineScaleSetIpTag": {
- "description": "Contains the IP tag associated with the public IP address.",
- "properties": {
- "ipTagType": {
- "description": "IP tag type. Example: FirstPartyUsage.",
- "type": "string"
- },
- "tag": {
- "description": "IP tag associated with the public IP. Example: SQL, Storage etc.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetManagedDiskParameters": {
- "description": "Describes the parameters of a ScaleSet managed disk.",
- "properties": {
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. Managed OS disk storage account type can only be set when you create the scale set. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfiguration": {
- "description": "Describes a virtual machine scale set network profile's network configurations.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "name": {
- "description": "The network configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfigurationDnsSettings": {
- "description": "Describes a virtual machines scale sets network configuration's DNS settings.",
- "properties": {
- "dnsServers": {
- "description": "List of DNS servers IP addresses",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfigurationProperties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "properties": {
- "dnsSettings": {
- "description": "The dns settings to be applied on the network interfaces.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationDnsSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAcceleratedNetworking": {
- "description": "Specifies whether the network interface is accelerated networking-enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableIPForwarding": {
- "description": "Whether IP forwarding enabled on this NIC.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipConfigurations": {
- "description": "Specifies the IP configurations of the network interface.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetIPConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkSecurityGroup": {
- "description": "The network security group.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "ipConfigurations"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkProfile": {
- "description": "Describes a virtual machine scale set network profile.",
- "properties": {
- "healthProbe": {
- "description": "A reference to a load balancer probe used to determine the health of an instance in the virtual machine scale set. The reference will be in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApiEntityReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkInterfaceConfigurations": {
- "description": "The list of network configurations.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetOSDisk": {
- "description": "Describes a virtual machine scale set operating system disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machines in the scale set should be created.
The only allowed value is: **FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diffDiskSettings": {
- "description": "Specifies the ephemeral disk Settings for the operating system disk used by the virtual machine scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiffDiskSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of the operating system disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "Specifies information about the unmanaged user image to base the scale set on.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhdContainers": {
- "description": "Specifies the container urls that are used to store operating system disks for the scale set.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetOSProfile": {
- "description": "Describes a virtual machine scale set OS profile.",
- "properties": {
- "adminPassword": {
- "description": "Specifies the password of the administrator account.
**Minimum-length (Windows):** 8 characters
**Minimum-length (Linux):** 6 characters
**Max-length (Windows):** 123 characters
**Max-length (Linux):** 72 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])
**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"
For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-reset-rdp?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-vmaccess-extension?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#reset-root-password)",
- "type": "string"
- },
- "adminUsername": {
- "description": "Specifies the name of the administrator account.
**Windows-only restriction:** Cannot end in \".\"
**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters
For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)",
- "type": "string"
- },
- "computerNamePrefix": {
- "description": "Specifies the computer name prefix for all of the virtual machines in the scale set. Computer name prefixes must be 1 to 15 characters long.",
- "type": "string"
- },
- "customData": {
- "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes.
For using cloud-init for your VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)",
- "type": "string"
- },
- "linuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "secrets": {
- "description": "Specifies set of certificates that should be installed onto the virtual machines in the scale set.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultSecretGroup"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "windowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/WindowsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetProperties": {
- "description": "Describes the properties of a Virtual Machine Scale Set.",
- "properties": {
- "additionalCapabilities": {
- "description": "Specifies additional capabilities enabled or disabled on the Virtual Machines in the Virtual Machine Scale Set. For instance: whether the Virtual Machines have the capability to support attaching managed data disks with UltraSSD_LRS storage account type.",
- "oneOf": [
- {
- "$ref": "#/definitions/AdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "automaticRepairsPolicy": {
- "description": "Policy for automatic repairs.",
- "oneOf": [
- {
- "$ref": "#/definitions/AutomaticRepairsPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "doNotRunExtensionsOnOverprovisionedVMs": {
- "description": "When Overprovision is enabled, extensions are launched only on the requested number of VMs which are finally kept. This property will hence ensure that the extensions do not run on the extra overprovisioned VMs.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "overprovision": {
- "description": "Specifies whether the Virtual Machine Scale Set should be overprovisioned.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformFaultDomainCount": {
- "description": "Fault Domain count for each placement group.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the virtual machine scale set should be assigned to.
Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "scaleInPolicy": {
- "description": "Specifies the scale-in policy that decides which virtual machines are chosen for removal when a Virtual Machine Scale Set is scaled-in.",
- "oneOf": [
- {
- "$ref": "#/definitions/ScaleInPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "singlePlacementGroup": {
- "description": "When true this limits the scale set to a single placement group, of max size 100 virtual machines. NOTE: If singlePlacementGroup is true, it may be modified to false. However, if singlePlacementGroup is false, it may not be modified to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "upgradePolicy": {
- "description": "The upgrade policy.",
- "oneOf": [
- {
- "$ref": "#/definitions/UpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "virtualMachineProfile": {
- "description": "The virtual machine profile.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "zoneBalance": {
- "description": "Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfiguration": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "properties": {
- "name": {
- "description": "The publicIP address configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings": {
- "description": "Describes a virtual machines scale sets network configuration's DNS settings.",
- "properties": {
- "domainNameLabel": {
- "description": "The Domain name label.The concatenation of the domain name label and vm index will be the domain name labels of the PublicIPAddress resources that will be created",
- "type": "string"
- }
- },
- "required": [
- "domainNameLabel"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfigurationProperties": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "properties": {
- "dnsSettings": {
- "description": "The dns settings to be applied on the publicIP addresses .",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "idleTimeoutInMinutes": {
- "description": "The idle timeout of the public IP address.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipTags": {
- "description": "The list of IP tags associated with the public IP address.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetIpTag"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressVersion": {
- "description": "Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPPrefix": {
- "description": "The PublicIPPrefix from which to allocate publicIP addresses.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetStorageProfile": {
- "description": "Describes a virtual machine scale set storage profile.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add data disks to the virtual machines in the scale set.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetDataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machines in the scale set.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetOSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMNetworkProfileConfiguration": {
- "description": "Describes a virtual machine scale set VM network profile.",
- "properties": {
- "networkInterfaceConfigurations": {
- "description": "The list of network configurations.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProfile": {
- "description": "Describes a virtual machine scale set virtual machine profile.",
- "properties": {
- "billingProfile": {
- "description": "Specifies the billing related details of a Azure Spot VMSS.
Minimum api-version: 2019-03-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/BillingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "evictionPolicy": {
- "description": "Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set.
For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01.
For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview.",
- "oneOf": [
- {
- "enum": [
- "Deallocate",
- "Delete"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extensionProfile": {
- "description": "Specifies a collection of settings for extensions installed on virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetExtensionProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises. This element is only used for images that contain the Windows Server operating system.
Possible values are:
Windows_Client
Windows_Server
If this element is included in a request for an update, the value must match the initial value. This value cannot be updated.
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies properties of the network interfaces of the virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings for the virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetOSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "priority": {
- "description": "Specifies the priority for the virtual machines in the scale set.
Minimum api-version: 2017-10-30-preview",
- "oneOf": [
- {
- "enum": [
- "Regular",
- "Low",
- "Spot"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "scheduledEventsProfile": {
- "description": "Specifies Scheduled Event related configurations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ScheduledEventsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProperties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "properties": {
- "additionalCapabilities": {
- "description": "Specifies additional capabilities enabled or disabled on the virtual machine in the scale set. For instance: whether the virtual machine has the capability to support attaching managed data disks with UltraSSD_LRS storage account type.",
- "oneOf": [
- {
- "$ref": "#/definitions/AdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "availabilitySet": {
- "description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/HardwareProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises. This element is only used for images that contain the Windows Server operating system.
Possible values are:
Windows_Client
Windows_Server
If this element is included in a request for an update, the value must match the initial value. This value cannot be updated.
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkProfileConfiguration": {
- "description": "Specifies the network profile configuration of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMNetworkProfileConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectionPolicy": {
- "description": "Specifies the protection policy of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProtectionPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/StorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProtectionPolicy": {
- "description": "The protection policy of a virtual machine scale set VM.",
- "properties": {
- "protectFromScaleIn": {
- "description": "Indicates that the virtual machine scale set VM shouldn't be considered for deletion during a scale-in operation.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectFromScaleSetActions": {
- "description": "Indicates that model updates or actions (including scale-in) initiated on the virtual machine scale set should not be applied to the virtual machine scale set VM.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WinRMConfiguration": {
- "description": "Describes Windows Remote Management configuration of the VM",
- "properties": {
- "listeners": {
- "description": "The list of Windows Remote Management listeners",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/WinRMListener"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WinRMListener": {
- "description": "Describes Protocol and thumbprint of Windows Remote Management listener",
- "properties": {
- "certificateUrl": {
- "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:
{
\"data\":\"\",
\"dataType\":\"pfx\",
\"password\":\"\"
}",
- "type": "string"
- },
- "protocol": {
- "description": "Specifies the protocol of WinRM listener.
Possible values are:
**http**
**https**",
- "oneOf": [
- {
- "enum": [
- "Http",
- "Https"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WindowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "properties": {
- "additionalUnattendContent": {
- "description": "Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/AdditionalUnattendContent"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticUpdates": {
- "description": "Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value is true.
For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionVMAgent": {
- "description": "Indicates whether virtual machine agent should be provisioned on the virtual machine.
When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "timeZone": {
- "description": "Specifies the time zone of the virtual machine. e.g. \"Pacific Standard Time\".
Possible values can be [TimeZoneInfo.Id](https://docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.id?#System_TimeZoneInfo_Id) value from time zones returned by [TimeZoneInfo.GetSystemTimeZones](https://docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.getsystemtimezones).",
- "type": "string"
- },
- "winRM": {
- "description": "Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.",
- "oneOf": [
- {
- "$ref": "#/definitions/WinRMConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "galleries_applications_childResource": {
- "description": "Microsoft.Compute/galleries/applications",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-12-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Application Definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery Application Definition.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryApplicationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "applications"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_applications_versions_childResource": {
- "description": "Microsoft.Compute/galleries/applications/versions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-12-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Application Version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery Image Version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryApplicationVersionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "versions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_images_childResource": {
- "description": "Microsoft.Compute/galleries/images",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-12-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Image Definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery Image Definition.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "images"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_images_versions_childResource": {
- "description": "Microsoft.Compute/galleries/images/versions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-12-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Image Version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery Image Version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageVersionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "versions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "hostGroups_hosts_childResource": {
- "description": "Microsoft.Compute/hostGroups/hosts",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-12-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the dedicated host .",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the dedicated host.",
- "oneOf": [
- {
- "$ref": "#/definitions/DedicatedHostProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be set. List Microsoft.Compute SKUs for a list of possible values.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "hosts"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-12-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the VM scale set extension.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Scale Set Extension.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetExtensionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-12-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine extension.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Extension.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualmachines_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualmachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-12-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The instance ID of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "virtualmachines"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachines/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2019-12-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine extension.",
- "type": "string"
- },
- "properties": {
- "anyOf": [
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/genericExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/bgInfo"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/dscExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackup"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/chefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/dockerExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/eset"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/puppetAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/customScript"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2019-12-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- }
-}
\ No newline at end of file
diff --git a/schemas/2020-05-01/Microsoft.Compute.json b/schemas/2020-05-01/Microsoft.Compute.json
deleted file mode 100644
index 201251a8f7..0000000000
--- a/schemas/2020-05-01/Microsoft.Compute.json
+++ /dev/null
@@ -1,910 +0,0 @@
-{
- "id": "https://schema.management.azure.com/schemas/2020-05-01/Microsoft.Compute.json#",
- "title": "Microsoft.Compute",
- "description": "Microsoft Compute Resource Types",
- "$schema": "http://json-schema.org/draft-04/schema#",
- "resourceDefinitions": {
- "diskAccesses": {
- "description": "Microsoft.Compute/diskAccesses",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-05-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the disk access resource that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "oneOf": [
- {
- "$ref": "#/definitions/DiskAccessProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/diskAccesses"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "diskEncryptionSets": {
- "description": "Microsoft.Compute/diskEncryptionSets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-05-01"
- ],
- "type": "string"
- },
- "identity": {
- "description": "The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSetIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the disk encryption set that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/diskEncryptionSets"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "disks": {
- "description": "Microsoft.Compute/disks",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-05-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Disk resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, or UltraSSD_LRS.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/disks"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The Logical zone list for Disk.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "snapshots": {
- "description": "Microsoft.Compute/snapshots",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-05-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Snapshot resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/SnapshotProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS.",
- "oneOf": [
- {
- "$ref": "#/definitions/SnapshotSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/snapshots"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- },
- "definitions": {
- "CreationData": {
- "description": "Data used when creating a disk.",
- "properties": {
- "createOption": {
- "description": "This enumerates the possible sources of a disk's creation.",
- "oneOf": [
- {
- "enum": [
- "Empty",
- "Attach",
- "FromImage",
- "Import",
- "Copy",
- "Restore",
- "Upload"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "galleryImageReference": {
- "description": "Required if creating from a Gallery Image. The id of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageDiskReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Disk source information.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageDiskReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sourceResourceId": {
- "description": "If createOption is Copy, this is the ARM id of the source snapshot or disk.",
- "type": "string"
- },
- "sourceUri": {
- "description": "If createOption is Import, this is the URI of a blob to be imported into a managed disk.",
- "type": "string"
- },
- "storageAccountId": {
- "description": "Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk.",
- "type": "string"
- },
- "uploadSizeBytes": {
- "description": "If createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer).",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "DiskAccessProperties": {
- "properties": {},
- "type": "object"
- },
- "DiskProperties": {
- "description": "Disk resource properties.",
- "properties": {
- "creationData": {
- "description": "Disk source information. CreationData information cannot be changed after the disk has been created.",
- "oneOf": [
- {
- "$ref": "#/definitions/CreationData"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskAccessId": {
- "description": "ARM id of the DiskAccess resource for using private endpoints on disks.",
- "type": "string"
- },
- "diskIOPSReadOnly": {
- "description": "The total number of IOPS that will be allowed across all VMs mounting the shared disk as ReadOnly. One operation can transfer between 4k and 256k bytes.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskIOPSReadWrite": {
- "description": "The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskMBpsReadOnly": {
- "description": "The total throughput (MBps) that will be allowed across all VMs mounting the shared disk as ReadOnly. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskMBpsReadWrite": {
- "description": "The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryption": {
- "description": "Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.",
- "oneOf": [
- {
- "$ref": "#/definitions/Encryption"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettingsCollection": {
- "description": "Encryption settings collection used for Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSettingsCollection"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hyperVGeneration": {
- "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxShares": {
- "description": "The maximum number of VMs that can attach to the disk at the same time. Value greater than one indicates a disk that can be mounted on multiple VMs at the same time.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkAccessPolicy": {
- "description": "Policy for accessing the disk via network.",
- "oneOf": [
- {
- "enum": [
- "AllowAll",
- "AllowPrivate",
- "DenyAll"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "The Operating System type.",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "creationData"
- ],
- "type": "object"
- },
- "DiskSku": {
- "description": "The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, or UltraSSD_LRS.",
- "properties": {
- "name": {
- "description": "The sku name.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Encryption": {
- "description": "Encryption at rest settings for disk or snapshot",
- "properties": {
- "diskEncryptionSetId": {
- "description": "ResourceId of the disk encryption set to use for enabling encryption at rest.",
- "type": "string"
- },
- "type": {
- "description": "The type of key used to encrypt the data of the disk.",
- "oneOf": [
- {
- "enum": [
- "EncryptionAtRestWithPlatformKey",
- "EncryptionAtRestWithCustomerKey",
- "EncryptionAtRestWithPlatformAndCustomerKeys"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "EncryptionSetIdentity": {
- "description": "The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks.",
- "properties": {
- "type": {
- "description": "The type of Managed Identity used by the DiskEncryptionSet. Only SystemAssigned is supported.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "EncryptionSetProperties": {
- "properties": {
- "activeKey": {
- "description": "The key vault key which is currently used by this disk encryption set.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultAndKeyReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionType": {
- "description": "The type of key used to encrypt the data of the disk.",
- "oneOf": [
- {
- "enum": [
- "EncryptionAtRestWithPlatformKey",
- "EncryptionAtRestWithCustomerKey",
- "EncryptionAtRestWithPlatformAndCustomerKeys"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "EncryptionSettingsCollection": {
- "description": "Encryption settings for disk or snapshot",
- "properties": {
- "enabled": {
- "description": "Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettings": {
- "description": "A collection of encryption settings, one for each disk volume.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/EncryptionSettingsElement"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettingsVersion": {
- "description": "Describes what type of encryption is used for the disks. Once this field is set, it cannot be overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption.",
- "type": "string"
- }
- },
- "required": [
- "enabled"
- ],
- "type": "object"
- },
- "EncryptionSettingsElement": {
- "description": "Encryption settings for one disk volume.",
- "properties": {
- "diskEncryptionKey": {
- "description": "Key Vault Secret Url and vault id of the disk encryption key",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultAndSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "keyEncryptionKey": {
- "description": "Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultAndKeyReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImageDiskReference": {
- "description": "The source image used for creating the disk.",
- "properties": {
- "id": {
- "description": "A relative uri containing either a Platform Image Repository or user image reference.",
- "type": "string"
- },
- "lun": {
- "description": "If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "id"
- ],
- "type": "object"
- },
- "KeyVaultAndKeyReference": {
- "description": "Key Vault Key Url and vault id of KeK, KeK is optional and when provided is used to unwrap the encryptionKey",
- "properties": {
- "keyUrl": {
- "description": "Url pointing to a key or secret in KeyVault",
- "type": "string"
- },
- "sourceVault": {
- "description": "Resource id of the KeyVault containing the key or secret",
- "oneOf": [
- {
- "$ref": "#/definitions/SourceVault"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "sourceVault",
- "keyUrl"
- ],
- "type": "object"
- },
- "KeyVaultAndSecretReference": {
- "description": "Key Vault Secret Url and vault id of the encryption key ",
- "properties": {
- "secretUrl": {
- "description": "Url pointing to a key or secret in KeyVault",
- "type": "string"
- },
- "sourceVault": {
- "description": "Resource id of the KeyVault containing the key or secret",
- "oneOf": [
- {
- "$ref": "#/definitions/SourceVault"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "sourceVault",
- "secretUrl"
- ],
- "type": "object"
- },
- "SnapshotProperties": {
- "description": "Snapshot resource properties.",
- "properties": {
- "creationData": {
- "description": "Disk source information. CreationData information cannot be changed after the disk has been created.",
- "oneOf": [
- {
- "$ref": "#/definitions/CreationData"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskAccessId": {
- "description": "ARM id of the DiskAccess resource for using private endpoints on disks.",
- "type": "string"
- },
- "diskSizeGB": {
- "description": "If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryption": {
- "description": "Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.",
- "oneOf": [
- {
- "$ref": "#/definitions/Encryption"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettingsCollection": {
- "description": "Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSettingsCollection"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hyperVGeneration": {
- "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "incremental": {
- "description": "Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full snapshots and can be diffed.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkAccessPolicy": {
- "description": "Policy for accessing the disk via network.",
- "oneOf": [
- {
- "enum": [
- "AllowAll",
- "AllowPrivate",
- "DenyAll"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "The Operating System type.",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "creationData"
- ],
- "type": "object"
- },
- "SnapshotSku": {
- "description": "The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS.",
- "properties": {
- "name": {
- "description": "The sku name.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "Standard_ZRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SourceVault": {
- "description": "The vault id is an Azure Resource Manager Resource id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- }
- }
-}
\ No newline at end of file
diff --git a/schemas/2020-06-01/Microsoft.Compute.json b/schemas/2020-06-01/Microsoft.Compute.json
deleted file mode 100644
index f00a265f37..0000000000
--- a/schemas/2020-06-01/Microsoft.Compute.json
+++ /dev/null
@@ -1,5340 +0,0 @@
-{
- "id": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.json#",
- "title": "Microsoft.Compute",
- "description": "Microsoft Compute Resource Types",
- "$schema": "http://json-schema.org/draft-04/schema#",
- "resourceDefinitions": {
- "availabilitySets": {
- "description": "Microsoft.Compute/availabilitySets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-06-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the availability set.",
- "type": "string"
- },
- "properties": {
- "description": "The instance view of a resource.",
- "oneOf": [
- {
- "$ref": "#/definitions/AvailabilitySetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "Sku of the availability set, only name is required to be set. See AvailabilitySetSkuTypes for possible set of values. Use 'Aligned' for virtual machines with managed disks and 'Classic' for virtual machines with unmanaged disks. Default value is 'Classic'.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/availabilitySets"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "hostGroups": {
- "description": "Microsoft.Compute/hostGroups",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-06-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the dedicated host group.",
- "type": "string"
- },
- "properties": {
- "description": "Dedicated Host Group Properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/DedicatedHostGroupProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/hostGroups_hosts_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/hostGroups"
- ],
- "type": "string"
- },
- "zones": {
- "description": "Availability Zone to use for this host group. Only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "hostGroups_hosts": {
- "description": "Microsoft.Compute/hostGroups/hosts",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-06-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the dedicated host .",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the dedicated host.",
- "oneOf": [
- {
- "$ref": "#/definitions/DedicatedHostProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be set. List Microsoft.Compute SKUs for a list of possible values.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/hostGroups/hosts"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "images": {
- "description": "Microsoft.Compute/images",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-06-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the image.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of an Image.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/images"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "proximityPlacementGroups": {
- "description": "Microsoft.Compute/proximityPlacementGroups",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-06-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the proximity placement group.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Proximity Placement Group.",
- "oneOf": [
- {
- "$ref": "#/definitions/ProximityPlacementGroupProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/proximityPlacementGroups"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "sshPublicKeys": {
- "description": "Microsoft.Compute/sshPublicKeys",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-06-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the SSH public key.",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the SSH public key.",
- "oneOf": [
- {
- "$ref": "#/definitions/SshPublicKeyResourceProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/sshPublicKeys"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets": {
- "description": "Microsoft.Compute/virtualMachineScaleSets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-06-01"
- ],
- "type": "string"
- },
- "identity": {
- "description": "The identity of the virtual machine scale set, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the VM scale set to create or update.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Scale Set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachineScaleSets_extensions_childResource"
- },
- {
- "$ref": "#/definitions/virtualMachineScaleSets_virtualmachines_childResource"
- }
- ]
- },
- "type": "array"
- },
- "sku": {
- "description": "The virtual machine scale set sku.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The virtual machine scale set zones. NOTE: Availability zones can only be set when you create the scale set",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_extensions": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-06-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine extension.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Extension.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_runCommands": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/runCommands",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-06-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine run command.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/runCommands"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualmachines": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualmachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-06-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The instance ID of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachineScaleSets_virtualMachines_extensions_childResource"
- },
- {
- "$ref": "#/definitions/virtualMachineScaleSets_virtualMachines_runCommands_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets/virtualmachines"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines": {
- "description": "Microsoft.Compute/virtualMachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-06-01"
- ],
- "type": "string"
- },
- "identity": {
- "description": "The identity of the virtual machine, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachines_extensions_childResource"
- },
- {
- "$ref": "#/definitions/virtualMachines_runCommands_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachines"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The virtual machine zones.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines_runCommands": {
- "description": "Microsoft.Compute/virtualMachines/runCommands",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-06-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine run command.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachines/runCommands"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- },
- "definitions": {
- "AdditionalCapabilities": {
- "description": "Enables or disables a capability on the virtual machine or virtual machine scale set.",
- "properties": {
- "ultraSSDEnabled": {
- "description": "The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "AdditionalUnattendContent": {
- "description": "Specifies additional XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is applied.",
- "properties": {
- "componentName": {
- "description": "The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup.",
- "oneOf": [
- {
- "enum": [
- "Microsoft-Windows-Shell-Setup"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "content": {
- "description": "Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted.",
- "type": "string"
- },
- "passName": {
- "description": "The pass name. Currently, the only allowable value is OobeSystem.",
- "oneOf": [
- {
- "enum": [
- "OobeSystem"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "settingName": {
- "description": "Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon.",
- "oneOf": [
- {
- "enum": [
- "AutoLogon",
- "FirstLogonCommands"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ApiEntityReference": {
- "description": "The API entity reference.",
- "properties": {
- "id": {
- "description": "The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...",
- "type": "string"
- }
- },
- "type": "object"
- },
- "AutomaticOSUpgradePolicy": {
- "description": "The configuration parameters used for performing automatic OS upgrade.",
- "properties": {
- "disableAutomaticRollback": {
- "description": "Whether OS image rollback feature should be disabled. Default value is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticOSUpgrade": {
- "description": "Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. Default value is false.
If this is set to true for Windows based scale sets, [enableAutomaticUpdates](https://docs.microsoft.com/dotnet/api/microsoft.azure.management.compute.models.windowsconfiguration.enableautomaticupdates?view=azure-dotnet) is automatically set to false and cannot be set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "AutomaticRepairsPolicy": {
- "description": "Specifies the configuration parameters for automatic repairs on the virtual machine scale set.",
- "properties": {
- "enabled": {
- "description": "Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "gracePeriod": {
- "description": "The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The minimum allowed grace period is 30 minutes (PT30M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M).",
- "type": "string"
- }
- },
- "type": "object"
- },
- "AvailabilitySetProperties": {
- "description": "The instance view of a resource.",
- "properties": {
- "platformFaultDomainCount": {
- "description": "Fault Domain count.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformUpdateDomainCount": {
- "description": "Update Domain count.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the availability set should be assigned to.
Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "virtualMachines": {
- "description": "A list of references to all virtual machines in the availability set.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "BillingProfile": {
- "description": "Specifies the billing related details of a Azure Spot VM or VMSS.
Minimum api-version: 2019-03-01.",
- "properties": {
- "maxPrice": {
- "description": "Specifies the maximum price you are willing to pay for a Azure Spot VM/VMSS. This price is in US Dollars.
This price will be compared with the current Azure Spot price for the VM size. Also, the prices are compared at the time of create/update of Azure Spot VM/VMSS and the operation will only succeed if the maxPrice is greater than the current Azure Spot price.
The maxPrice will also be used for evicting a Azure Spot VM/VMSS if the current Azure Spot price goes beyond the maxPrice after creation of VM/VMSS.
Possible values are:
- Any decimal value greater than zero. Example: 0.01538
-1 – indicates default price to be up-to on-demand.
You can set the maxPrice to -1 to indicate that the Azure Spot VM/VMSS should not be evicted for price reasons. Also, the default max price is -1 if it is not provided by you.
Minimum api-version: 2019-03-01.",
- "oneOf": [
- {
- "type": "number"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "BootDiagnostics": {
- "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.",
- "properties": {
- "enabled": {
- "description": "Whether boot diagnostics should be enabled on the Virtual Machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageUri": {
- "description": "Uri of the storage account to use for placing the console output and screenshot.
If storageUri is not specified while enabling boot diagnostics, managed storage will be used.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "DataDisk": {
- "description": "Describes a data disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machine should be created.
Possible values are:
**Attach** \\u2013 This value is used when you are using a specialized disk to create the virtual machine.
**FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/ManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "toBeDetached": {
- "description": "Specifies whether the data disk is in process of detachment from the VirtualMachine/VirtualMachineScaleset",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhd": {
- "description": "The virtual hard disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun",
- "createOption"
- ],
- "type": "object"
- },
- "DedicatedHostGroupProperties": {
- "description": "Dedicated Host Group Properties.",
- "properties": {
- "platformFaultDomainCount": {
- "description": "Number of fault domains that the host group can span.",
- "oneOf": [
- {
- "minimum": 1,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "supportAutomaticPlacement": {
- "description": "Specifies whether virtual machines or virtual machine scale sets can be placed automatically on the dedicated host group. Automatic placement means resources are allocated on dedicated hosts, that are chosen by Azure, under the dedicated host group. The value is defaulted to 'false' when not provided.
Minimum api-version: 2020-06-01.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "platformFaultDomainCount"
- ],
- "type": "object"
- },
- "DedicatedHostProperties": {
- "description": "Properties of the dedicated host.",
- "properties": {
- "autoReplaceOnFailure": {
- "description": "Specifies whether the dedicated host should be replaced automatically in case of a failure. The value is defaulted to 'true' when not provided.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies the software license type that will be applied to the VMs deployed on the dedicated host.
Possible values are:
**None**
**Windows_Server_Hybrid**
**Windows_Server_Perpetual**
Default: **None**",
- "oneOf": [
- {
- "enum": [
- "None",
- "Windows_Server_Hybrid",
- "Windows_Server_Perpetual"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformFaultDomain": {
- "description": "Fault domain of the dedicated host within a dedicated host group.",
- "oneOf": [
- {
- "minimum": 0,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "properties": {
- "bootDiagnostics": {
- "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.",
- "oneOf": [
- {
- "$ref": "#/definitions/BootDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiffDiskSettings": {
- "description": "Describes the parameters of ephemeral disk settings that can be specified for operating system disk.
NOTE: The ephemeral disk settings can only be specified for managed disk.",
- "properties": {
- "option": {
- "description": "Specifies the ephemeral disk settings for operating system disk.",
- "oneOf": [
- {
- "enum": [
- "Local"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "placement": {
- "description": "Specifies the ephemeral disk placement for operating system disk.
Possible values are:
**CacheDisk**
**ResourceDisk**
Default: **CacheDisk** if one is configured for the VM size otherwise **ResourceDisk** is used.
Refer to VM size documentation for Windows VM at https://docs.microsoft.com/en-us/azure/virtual-machines/windows/sizes and Linux VM at https://docs.microsoft.com/en-us/azure/virtual-machines/linux/sizes to check which VM sizes exposes a cache disk.",
- "oneOf": [
- {
- "enum": [
- "CacheDisk",
- "ResourceDisk"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiskEncryptionSetParameters": {
- "description": "Describes the parameter of customer managed disk encryption set resource id that can be specified for disk.
NOTE: The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "DiskEncryptionSettings": {
- "description": "Describes a Encryption Settings for a Disk",
- "properties": {
- "diskEncryptionKey": {
- "description": "Specifies the location of the disk encryption key, which is a Key Vault Secret.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enabled": {
- "description": "Specifies whether disk encryption should be enabled on the virtual machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "keyEncryptionKey": {
- "description": "Specifies the location of the key encryption key in Key Vault.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultKeyReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "HardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "properties": {
- "vmSize": {
- "description": "Specifies the size of the virtual machine. For more information about virtual machine sizes, see [Sizes for virtual machines](https://docs.microsoft.com/en-us/azure/virtual-machines/sizes).
The available VM sizes depend on region and availability set. For a list of available sizes use these APIs:
[List all available virtual machine sizes in an availability set](https://docs.microsoft.com/rest/api/compute/availabilitysets/listavailablesizes)
[List all available virtual machine sizes in a region]( https://docs.microsoft.com/en-us/rest/api/compute/resourceskus/list)
[List all available virtual machine sizes for resizing](https://docs.microsoft.com/rest/api/compute/virtualmachines/listavailablesizes).
This list of sizes is no longer updated and the **VirtualMachineSizeTypes** string constants will be removed from the subsequent REST API specification. Use [List all available virtual machine sizes in a region]( https://docs.microsoft.com/en-us/rest/api/compute/resourceskus/list) to get the latest sizes.",
- "oneOf": [
- {
- "enum": [
- "Basic_A0",
- "Basic_A1",
- "Basic_A2",
- "Basic_A3",
- "Basic_A4",
- "Standard_A0",
- "Standard_A1",
- "Standard_A2",
- "Standard_A3",
- "Standard_A4",
- "Standard_A5",
- "Standard_A6",
- "Standard_A7",
- "Standard_A8",
- "Standard_A9",
- "Standard_A10",
- "Standard_A11",
- "Standard_A1_v2",
- "Standard_A2_v2",
- "Standard_A4_v2",
- "Standard_A8_v2",
- "Standard_A2m_v2",
- "Standard_A4m_v2",
- "Standard_A8m_v2",
- "Standard_B1s",
- "Standard_B1ms",
- "Standard_B2s",
- "Standard_B2ms",
- "Standard_B4ms",
- "Standard_B8ms",
- "Standard_D1",
- "Standard_D2",
- "Standard_D3",
- "Standard_D4",
- "Standard_D11",
- "Standard_D12",
- "Standard_D13",
- "Standard_D14",
- "Standard_D1_v2",
- "Standard_D2_v2",
- "Standard_D3_v2",
- "Standard_D4_v2",
- "Standard_D5_v2",
- "Standard_D2_v3",
- "Standard_D4_v3",
- "Standard_D8_v3",
- "Standard_D16_v3",
- "Standard_D32_v3",
- "Standard_D64_v3",
- "Standard_D2s_v3",
- "Standard_D4s_v3",
- "Standard_D8s_v3",
- "Standard_D16s_v3",
- "Standard_D32s_v3",
- "Standard_D64s_v3",
- "Standard_D11_v2",
- "Standard_D12_v2",
- "Standard_D13_v2",
- "Standard_D14_v2",
- "Standard_D15_v2",
- "Standard_DS1",
- "Standard_DS2",
- "Standard_DS3",
- "Standard_DS4",
- "Standard_DS11",
- "Standard_DS12",
- "Standard_DS13",
- "Standard_DS14",
- "Standard_DS1_v2",
- "Standard_DS2_v2",
- "Standard_DS3_v2",
- "Standard_DS4_v2",
- "Standard_DS5_v2",
- "Standard_DS11_v2",
- "Standard_DS12_v2",
- "Standard_DS13_v2",
- "Standard_DS14_v2",
- "Standard_DS15_v2",
- "Standard_DS13-4_v2",
- "Standard_DS13-2_v2",
- "Standard_DS14-8_v2",
- "Standard_DS14-4_v2",
- "Standard_E2_v3",
- "Standard_E4_v3",
- "Standard_E8_v3",
- "Standard_E16_v3",
- "Standard_E32_v3",
- "Standard_E64_v3",
- "Standard_E2s_v3",
- "Standard_E4s_v3",
- "Standard_E8s_v3",
- "Standard_E16s_v3",
- "Standard_E32s_v3",
- "Standard_E64s_v3",
- "Standard_E32-16_v3",
- "Standard_E32-8s_v3",
- "Standard_E64-32s_v3",
- "Standard_E64-16s_v3",
- "Standard_F1",
- "Standard_F2",
- "Standard_F4",
- "Standard_F8",
- "Standard_F16",
- "Standard_F1s",
- "Standard_F2s",
- "Standard_F4s",
- "Standard_F8s",
- "Standard_F16s",
- "Standard_F2s_v2",
- "Standard_F4s_v2",
- "Standard_F8s_v2",
- "Standard_F16s_v2",
- "Standard_F32s_v2",
- "Standard_F64s_v2",
- "Standard_F72s_v2",
- "Standard_G1",
- "Standard_G2",
- "Standard_G3",
- "Standard_G4",
- "Standard_G5",
- "Standard_GS1",
- "Standard_GS2",
- "Standard_GS3",
- "Standard_GS4",
- "Standard_GS5",
- "Standard_GS4-8",
- "Standard_GS4-4",
- "Standard_GS5-16",
- "Standard_GS5-8",
- "Standard_H8",
- "Standard_H16",
- "Standard_H8m",
- "Standard_H16m",
- "Standard_H16r",
- "Standard_H16mr",
- "Standard_L4s",
- "Standard_L8s",
- "Standard_L16s",
- "Standard_L32s",
- "Standard_M64s",
- "Standard_M64ms",
- "Standard_M128s",
- "Standard_M128ms",
- "Standard_M64-32ms",
- "Standard_M64-16ms",
- "Standard_M128-64ms",
- "Standard_M128-32ms",
- "Standard_NC6",
- "Standard_NC12",
- "Standard_NC24",
- "Standard_NC24r",
- "Standard_NC6s_v2",
- "Standard_NC12s_v2",
- "Standard_NC24s_v2",
- "Standard_NC24rs_v2",
- "Standard_NC6s_v3",
- "Standard_NC12s_v3",
- "Standard_NC24s_v3",
- "Standard_NC24rs_v3",
- "Standard_ND6s",
- "Standard_ND12s",
- "Standard_ND24s",
- "Standard_ND24rs",
- "Standard_NV6",
- "Standard_NV12",
- "Standard_NV24"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImageDataDisk": {
- "description": "Describes a data disk.",
- "properties": {
- "blobUri": {
- "description": "The Virtual Hard Disk.",
- "type": "string"
- },
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed image disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managedDisk.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "snapshot": {
- "description": "The snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun"
- ],
- "type": "object"
- },
- "ImageOSDisk": {
- "description": "Describes an Operating System disk.",
- "properties": {
- "blobUri": {
- "description": "The Virtual Hard Disk.",
- "type": "string"
- },
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed image disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managedDisk.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osState": {
- "description": "The OS State.",
- "oneOf": [
- {
- "enum": [
- "Generalized",
- "Specialized"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from a custom image.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "snapshot": {
- "description": "The snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "osType",
- "osState"
- ],
- "type": "object"
- },
- "ImageProperties": {
- "description": "Describes the properties of an Image.",
- "properties": {
- "hyperVGeneration": {
- "description": "Gets the HyperVGenerationType of the VirtualMachine created from the image",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sourceVirtualMachine": {
- "description": "The source virtual machine from which Image is created.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. NOTE: Image reference publisher and offer can only be set when you create the scale set.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "offer": {
- "description": "Specifies the offer of the platform image or marketplace image used to create the virtual machine.",
- "type": "string"
- },
- "publisher": {
- "description": "The image publisher.",
- "type": "string"
- },
- "sku": {
- "description": "The image SKU.",
- "type": "string"
- },
- "version": {
- "description": "Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ImageStorageProfile": {
- "description": "Describes a storage profile.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add a data disk to a virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/ImageDataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageOSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "zoneResilient": {
- "description": "Specifies whether an image is zone resilient or not. Default is false. Zone resilient images can be created only in regions that provide Zone Redundant Storage (ZRS).",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "InstanceViewStatus": {
- "description": "Instance view status.",
- "properties": {
- "code": {
- "description": "The status code.",
- "type": "string"
- },
- "displayStatus": {
- "description": "The short localizable label for the status.",
- "type": "string"
- },
- "level": {
- "description": "The level code.",
- "oneOf": [
- {
- "enum": [
- "Info",
- "Warning",
- "Error"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "message": {
- "description": "The detailed status message, including for alerts and error messages.",
- "type": "string"
- },
- "time": {
- "description": "The time of the status.",
- "format": "date-time",
- "type": "string"
- }
- },
- "type": "object"
- },
- "KeyVaultKeyReference": {
- "description": "Describes a reference to Key Vault Key",
- "properties": {
- "keyUrl": {
- "description": "The URL referencing a key encryption key in Key Vault.",
- "type": "string"
- },
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing the key.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "keyUrl",
- "sourceVault"
- ],
- "type": "object"
- },
- "KeyVaultSecretReference": {
- "description": "Describes a reference to Key Vault Secret",
- "properties": {
- "secretUrl": {
- "description": "The URL referencing a secret in a Key Vault.",
- "type": "string"
- },
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing the secret.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "secretUrl",
- "sourceVault"
- ],
- "type": "object"
- },
- "LinuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).",
- "properties": {
- "disablePasswordAuthentication": {
- "description": "Specifies whether password authentication should be disabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionVMAgent": {
- "description": "Indicates whether virtual machine agent should be provisioned on the virtual machine.
When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ssh": {
- "description": "Specifies the ssh key configuration for a Linux OS.",
- "oneOf": [
- {
- "$ref": "#/definitions/SshConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ManagedDiskParameters": {
- "description": "The parameters of a managed disk.",
- "properties": {
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. Managed OS disk storage account type can only be set when you create the scale set. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkInterfaceReference": {
- "description": "Describes a network interface reference.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "properties": {
- "description": "Describes a network interface reference properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkInterfaceReferenceProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkInterfaceReferenceProperties": {
- "description": "Describes a network interface reference properties.",
- "properties": {
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "properties": {
- "networkInterfaces": {
- "description": "Specifies the list of resource Ids for the network interfaces associated with the virtual machine.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/NetworkInterfaceReference"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "OSDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None** for Standard storage. **ReadOnly** for Premium storage.",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machine should be created.
Possible values are:
**Attach** \\u2013 This value is used when you are using a specialized disk to create the virtual machine.
**FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diffDiskSettings": {
- "description": "Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiffDiskSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettings": {
- "description": "Specifies the encryption settings for the OS Disk.
Minimum api-version: 2015-06-15",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/ManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhd": {
- "description": "The virtual hard disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "OSProfile": {
- "description": "Specifies the operating system settings for the virtual machine. Some of the settings cannot be changed once VM is provisioned.",
- "properties": {
- "adminPassword": {
- "description": "Specifies the password of the administrator account.
**Minimum-length (Windows):** 8 characters
**Minimum-length (Linux):** 6 characters
**Max-length (Windows):** 123 characters
**Max-length (Linux):** 72 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])
**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"
For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-reset-rdp?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-vmaccess-extension?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#reset-root-password)",
- "type": "string"
- },
- "adminUsername": {
- "description": "Specifies the name of the administrator account.
This property cannot be updated after the VM is created.
**Windows-only restriction:** Cannot end in \".\"
**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters
For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)",
- "type": "string"
- },
- "allowExtensionOperations": {
- "description": "Specifies whether extension operations should be allowed on the virtual machine.
This may only be set to False when no extensions are present on the virtual machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "computerName": {
- "description": "Specifies the host OS name of the virtual machine.
This name cannot be updated after the VM is created.
**Max-length (Windows):** 15 characters
**Max-length (Linux):** 64 characters.
For naming conventions and restrictions see [Azure infrastructure services implementation guidelines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-infrastructure-subscription-accounts-guidelines?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#1-naming-conventions).",
- "type": "string"
- },
- "customData": {
- "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes.
**Note: Do not pass any secrets or passwords in customData property**
This property cannot be updated after the VM is created.
customData is passed to the VM to be saved as a file, for more information see [Custom Data on Azure VMs](https://azure.microsoft.com/en-us/blog/custom-data-and-cloud-init-on-windows-azure/)
For using cloud-init for your Linux VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)",
- "type": "string"
- },
- "linuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "requireGuestProvisionSignal": {
- "description": "Specifies whether the guest provision signal is required to infer provision success of the virtual machine. **Note: This property is for private testing only, and all customers must not set the property to false.**",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "secrets": {
- "description": "Specifies set of certificates that should be installed onto the virtual machine.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultSecretGroup"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "windowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/WindowsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "PatchSettings": {
- "properties": {
- "patchMode": {
- "description": "Specifies the mode of in-guest patching to IaaS virtual machine.
Possible values are:
**Manual** - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false
**AutomaticByOS** - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true.
**AutomaticByPlatform** - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true ",
- "oneOf": [
- {
- "enum": [
- "Manual",
- "AutomaticByOS",
- "AutomaticByPlatform"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "properties": {
- "name": {
- "description": "The plan ID.",
- "type": "string"
- },
- "product": {
- "description": "Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.",
- "type": "string"
- },
- "promotionCode": {
- "description": "The promotion code.",
- "type": "string"
- },
- "publisher": {
- "description": "The publisher ID.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ProximityPlacementGroupProperties": {
- "description": "Describes the properties of a Proximity Placement Group.",
- "properties": {
- "colocationStatus": {
- "description": "Describes colocation status of the Proximity Placement Group.",
- "oneOf": [
- {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroupType": {
- "description": "Specifies the type of the proximity placement group.
Possible values are:
**Standard** : Co-locate resources within an Azure region or Availability Zone.
**Ultra** : For future use.",
- "oneOf": [
- {
- "enum": [
- "Standard",
- "Ultra"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RollingUpgradePolicy": {
- "description": "The configuration parameters used while performing a rolling upgrade.",
- "properties": {
- "maxBatchInstancePercent": {
- "description": "The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 5,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxUnhealthyInstancePercent": {
- "description": "The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 5,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxUnhealthyUpgradedInstancePercent": {
- "description": "The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "pauseTimeBetweenBatches": {
- "description": "The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format. The default value is 0 seconds (PT0S).",
- "type": "string"
- }
- },
- "type": "object"
- },
- "RunCommandInputParameter": {
- "description": "Describes the properties of a run command parameter.",
- "properties": {
- "name": {
- "description": "The run command parameter name.",
- "type": "string"
- },
- "value": {
- "description": "The run command parameter value.",
- "type": "string"
- }
- },
- "required": [
- "name",
- "value"
- ],
- "type": "object"
- },
- "ScaleInPolicy": {
- "description": "Describes a scale-in policy for a virtual machine scale set.",
- "properties": {
- "rules": {
- "description": "The rules to be followed when scaling-in a virtual machine scale set.
Possible values are:
**Default** When a virtual machine scale set is scaled in, the scale set will first be balanced across zones if it is a zonal scale set. Then, it will be balanced across Fault Domains as far as possible. Within each Fault Domain, the virtual machines chosen for removal will be the newest ones that are not protected from scale-in.
**OldestVM** When a virtual machine scale set is being scaled-in, the oldest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the oldest virtual machines that are not protected will be chosen for removal.
**NewestVM** When a virtual machine scale set is being scaled-in, the newest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the newest virtual machines that are not protected will be chosen for removal.
",
- "oneOf": [
- {
- "items": {
- "enum": [
- "Default",
- "OldestVM",
- "NewestVM"
- ],
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ScheduledEventsProfile": {
- "properties": {
- "terminateNotificationProfile": {
- "description": "Specifies Terminate Scheduled Event related configurations.",
- "oneOf": [
- {
- "$ref": "#/definitions/TerminateNotificationProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SecurityProfile": {
- "description": "Specifies the Security profile settings for the virtual machine or virtual machine scale set.",
- "properties": {
- "encryptionAtHost": {
- "description": "This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself.
Default: The Encryption at host will be disabled unless this property is set to true for the resource.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Sku": {
- "description": "Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name.",
- "properties": {
- "capacity": {
- "description": "Specifies the number of virtual machines in the scale set.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The sku name.",
- "type": "string"
- },
- "tier": {
- "description": "Specifies the tier of virtual machines in a scale set.
Possible Values:
**Standard**
**Basic**",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SshConfiguration": {
- "description": "SSH configuration for Linux based VMs running on Azure",
- "properties": {
- "publicKeys": {
- "description": "The list of SSH public keys used to authenticate with linux based VMs.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SshPublicKey"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SshPublicKey": {
- "description": "Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed.",
- "properties": {
- "keyData": {
- "description": "SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format.
For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure](https://docs.microsoft.com/en-us/azure/virtual-machines/linux/mac-create-ssh-keys?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).",
- "type": "string"
- },
- "path": {
- "description": "Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SshPublicKeyResourceProperties": {
- "description": "Properties of the SSH public key.",
- "properties": {
- "publicKey": {
- "description": "SSH public key used to authenticate to a virtual machine through ssh. If this property is not initially provided when the resource is created, the publicKey property will be populated when generateKeyPair is called. If the public key is provided upon resource creation, the provided public key needs to be at least 2048-bit and in ssh-rsa format.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "StorageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add a data disk to a virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/DataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/OSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SubResource": {
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "TerminateNotificationProfile": {
- "properties": {
- "enable": {
- "description": "Specifies whether the Terminate Scheduled event is enabled or disabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "notBeforeTimeout": {
- "description": "Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M)",
- "type": "string"
- }
- },
- "type": "object"
- },
- "UpgradePolicy": {
- "description": "Describes an upgrade policy - automatic, manual, or rolling.",
- "properties": {
- "automaticOSUpgradePolicy": {
- "description": "Configuration parameters used for performing automatic OS Upgrade.",
- "oneOf": [
- {
- "$ref": "#/definitions/AutomaticOSUpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "mode": {
- "description": "Specifies the mode of an upgrade to virtual machines in the scale set.
Possible values are:
**Manual** - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.
**Automatic** - All virtual machines in the scale set are automatically updated at the same time.",
- "oneOf": [
- {
- "enum": [
- "Automatic",
- "Manual",
- "Rolling"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "rollingUpgradePolicy": {
- "description": "The configuration parameters used while performing a rolling upgrade.",
- "oneOf": [
- {
- "$ref": "#/definitions/RollingUpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "UserAssignedIdentitiesValue": {
- "properties": {},
- "type": "object"
- },
- "VaultCertificate": {
- "description": "Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM.",
- "properties": {
- "certificateStore": {
- "description": "For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account.
For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of these files are .pem formatted.",
- "type": "string"
- },
- "certificateUrl": {
- "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:
{
\"data\":\"\",
\"dataType\":\"pfx\",
\"password\":\"\"
}",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VaultSecretGroup": {
- "description": "Describes a set of certificates which are all in the same Key Vault.",
- "properties": {
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing all of the certificates in VaultCertificates.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vaultCertificates": {
- "description": "The list of key vault references in SourceVault which contain certificates.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultCertificate"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualHardDisk": {
- "description": "Describes the uri of a disk.",
- "properties": {
- "uri": {
- "description": "Specifies the virtual hard disk's uri.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineExtensionInstanceView": {
- "description": "The instance view of a virtual machine extension.",
- "properties": {
- "name": {
- "description": "The virtual machine extension name.",
- "type": "string"
- },
- "statuses": {
- "description": "The resource status information.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "substatuses": {
- "description": "The resource status information.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineExtensionProperties": {
- "description": "Describes the properties of a Virtual Machine Extension.",
- "properties": {
- "autoUpgradeMinorVersion": {
- "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticUpgrade": {
- "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "forceUpdateTag": {
- "description": "How the extension handler should be forced to update even if the extension configuration has not changed.",
- "type": "string"
- },
- "instanceView": {
- "description": "The virtual machine extension instance view.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionInstanceView"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedSettings": {
- "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publisher": {
- "description": "The name of the extension handler publisher.",
- "type": "string"
- },
- "settings": {
- "description": "Json formatted public settings for the extension.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineIdentity": {
- "description": "Identity for the virtual machine.",
- "properties": {
- "type": {
- "description": "The type of identity used for the virtual machine. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned",
- "UserAssigned",
- "SystemAssigned, UserAssigned",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userAssignedIdentities": {
- "description": "The list of user identities associated with the Virtual Machine. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
- "oneOf": [
- {
- "additionalProperties": {
- "$ref": "#/definitions/UserAssignedIdentitiesValue"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineProperties": {
- "description": "Describes the properties of a Virtual Machine.",
- "properties": {
- "additionalCapabilities": {
- "description": "Specifies additional capabilities enabled or disabled on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/AdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "availabilitySet": {
- "description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Currently, a VM can only be added to availability set at creation time. The availability set to which the VM is being added should be under the same resource group as the availability set resource. An existing VM cannot be added to an availability set.
This property cannot exist along with a non-null properties.virtualMachineScaleSet reference.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "billingProfile": {
- "description": "Specifies the billing related details of a Azure Spot virtual machine.
Minimum api-version: 2019-03-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/BillingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "evictionPolicy": {
- "description": "Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set.
For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01.
For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview.",
- "oneOf": [
- {
- "enum": [
- "Deallocate",
- "Delete"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extensionsTimeBudget": {
- "description": "Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M).
Minimum api-version: 2020-06-01",
- "type": "string"
- },
- "hardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/HardwareProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "host": {
- "description": "Specifies information about the dedicated host that the virtual machine resides in.
Minimum api-version: 2018-10-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hostGroup": {
- "description": "Specifies information about the dedicated host group that the virtual machine resides in.
Minimum api-version: 2020-06-01.
NOTE: User cannot specify both host and hostGroup properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises.
Possible values for Windows Server operating system are:
Windows_Client
Windows_Server
Possible values for Linux Server operating system are:
RHEL_BYOS (for RHEL)
SLES_BYOS (for SUSE)
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)
[Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings used while creating the virtual machine. Some of the settings cannot be changed once VM is provisioned.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "priority": {
- "description": "Specifies the priority for the virtual machine.
Minimum api-version: 2019-03-01",
- "oneOf": [
- {
- "enum": [
- "Regular",
- "Low",
- "Spot"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the virtual machine should be assigned to.
Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Specifies the Security related profile settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/SecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/StorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "virtualMachineScaleSet": {
- "description": "Specifies information about the virtual machine scale set that the virtual machine should be assigned to. Virtual machines specified in the same virtual machine scale set are allocated to different nodes to maximize availability. Currently, a VM can only be added to virtual machine scale set at creation time. An existing VM cannot be added to a virtual machine scale set.
This property cannot exist along with a non-null properties.availabilitySet reference.
Minimum api‐version: 2019‐03‐01",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineRunCommandProperties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "properties": {
- "asyncExecution": {
- "description": "Optional. If set to true, provisioning will complete as soon as the script starts and will not wait for script to complete.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "errorBlobUri": {
- "description": "Specifies the Azure storage blob where script error stream will be uploaded.",
- "type": "string"
- },
- "outputBlobUri": {
- "description": "Specifies the Azure storage blob where script output stream will be uploaded.",
- "type": "string"
- },
- "parameters": {
- "description": "The parameters used by the script.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/RunCommandInputParameter"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedParameters": {
- "description": "The parameters used by the script.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/RunCommandInputParameter"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "runAsPassword": {
- "description": "Specifies the user account password on the VM when executing the run command.",
- "type": "string"
- },
- "runAsUser": {
- "description": "Specifies the user account on the VM when executing the run command.",
- "type": "string"
- },
- "source": {
- "description": "The source of the run command script.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandScriptSource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "timeoutInSeconds": {
- "description": "The timeout in seconds to execute the run command.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineRunCommandScriptSource": {
- "description": "Describes the script sources for run command.",
- "properties": {
- "commandId": {
- "description": "Specifies a commandId of predefined built-in script.",
- "type": "string"
- },
- "script": {
- "description": "Specifies the script content to be executed on the VM.",
- "type": "string"
- },
- "scriptUri": {
- "description": "Specifies the script download location.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetDataDisk": {
- "description": "Describes a virtual machine scale set data disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "The create option.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskIOPSReadWrite": {
- "description": "Specifies the Read-Write IOPS for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskMBpsReadWrite": {
- "description": "Specifies the bandwidth in MB per second for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun",
- "createOption"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetExtension": {
- "description": "Describes a Virtual Machine Scale Set Extension.",
- "properties": {
- "name": {
- "description": "The name of the extension.",
- "type": "string"
- },
- "properties": {
- "anyOf": [
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/genericExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/bgInfo"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/dscExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackup"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/chefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/dockerExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/eset"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/puppetAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/customScript"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetExtensionProfile": {
- "description": "Describes a virtual machine scale set extension profile.",
- "properties": {
- "extensions": {
- "description": "The virtual machine scale set child extension resources.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetExtension"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extensionsTimeBudget": {
- "description": "Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M).
Minimum api-version: 2020-06-01",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetExtensionProperties": {
- "description": "Describes the properties of a Virtual Machine Scale Set Extension.",
- "properties": {
- "autoUpgradeMinorVersion": {
- "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticUpgrade": {
- "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "forceUpdateTag": {
- "description": "If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.",
- "type": "string"
- },
- "protectedSettings": {
- "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionAfterExtensions": {
- "description": "Collection of extension names after which this extension needs to be provisioned.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publisher": {
- "description": "The name of the extension handler publisher.",
- "type": "string"
- },
- "settings": {
- "description": "Json formatted public settings for the extension.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIPConfiguration": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "name": {
- "description": "The IP configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetIPConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetIPConfigurationProperties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration properties.",
- "properties": {
- "applicationGatewayBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of application gateways. A scale set can reference backend address pools of multiple application gateways. Multiple scale sets cannot use the same application gateway.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "applicationSecurityGroups": {
- "description": "Specifies an array of references to application security group.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of load balancers. A scale set can reference backend address pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerInboundNatPools": {
- "description": "Specifies an array of references to inbound Nat pools of the load balancers. A scale set can reference inbound nat pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "privateIPAddressVersion": {
- "description": "Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressConfiguration": {
- "description": "The publicIPAddressConfiguration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "subnet": {
- "description": "Specifies the identifier of the subnet.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApiEntityReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIdentity": {
- "description": "Identity for the virtual machine scale set.",
- "properties": {
- "type": {
- "description": "The type of identity used for the virtual machine scale set. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine scale set.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned",
- "UserAssigned",
- "SystemAssigned, UserAssigned",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userAssignedIdentities": {
- "description": "The list of user identities associated with the virtual machine scale set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
- "oneOf": [
- {
- "additionalProperties": {
- "$ref": "#/definitions/VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue": {
- "properties": {},
- "type": "object"
- },
- "VirtualMachineScaleSetIpTag": {
- "description": "Contains the IP tag associated with the public IP address.",
- "properties": {
- "ipTagType": {
- "description": "IP tag type. Example: FirstPartyUsage.",
- "type": "string"
- },
- "tag": {
- "description": "IP tag associated with the public IP. Example: SQL, Storage etc.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetManagedDiskParameters": {
- "description": "Describes the parameters of a ScaleSet managed disk.",
- "properties": {
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfiguration": {
- "description": "Describes a virtual machine scale set network profile's network configurations.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "name": {
- "description": "The network configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfigurationDnsSettings": {
- "description": "Describes a virtual machines scale sets network configuration's DNS settings.",
- "properties": {
- "dnsServers": {
- "description": "List of DNS servers IP addresses",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfigurationProperties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "properties": {
- "dnsSettings": {
- "description": "The dns settings to be applied on the network interfaces.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationDnsSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAcceleratedNetworking": {
- "description": "Specifies whether the network interface is accelerated networking-enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableFpga": {
- "description": "Specifies whether the network interface is FPGA networking-enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableIPForwarding": {
- "description": "Whether IP forwarding enabled on this NIC.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipConfigurations": {
- "description": "Specifies the IP configurations of the network interface.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetIPConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkSecurityGroup": {
- "description": "The network security group.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "ipConfigurations"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkProfile": {
- "description": "Describes a virtual machine scale set network profile.",
- "properties": {
- "healthProbe": {
- "description": "A reference to a load balancer probe used to determine the health of an instance in the virtual machine scale set. The reference will be in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApiEntityReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkInterfaceConfigurations": {
- "description": "The list of network configurations.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetOSDisk": {
- "description": "Describes a virtual machine scale set operating system disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machines in the scale set should be created.
The only allowed value is: **FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diffDiskSettings": {
- "description": "Specifies the ephemeral disk Settings for the operating system disk used by the virtual machine scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiffDiskSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of the operating system disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "Specifies information about the unmanaged user image to base the scale set on.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhdContainers": {
- "description": "Specifies the container urls that are used to store operating system disks for the scale set.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetOSProfile": {
- "description": "Describes a virtual machine scale set OS profile.",
- "properties": {
- "adminPassword": {
- "description": "Specifies the password of the administrator account.
**Minimum-length (Windows):** 8 characters
**Minimum-length (Linux):** 6 characters
**Max-length (Windows):** 123 characters
**Max-length (Linux):** 72 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])
**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"
For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-reset-rdp?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-vmaccess-extension?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#reset-root-password)",
- "type": "string"
- },
- "adminUsername": {
- "description": "Specifies the name of the administrator account.
**Windows-only restriction:** Cannot end in \".\"
**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters
For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)",
- "type": "string"
- },
- "computerNamePrefix": {
- "description": "Specifies the computer name prefix for all of the virtual machines in the scale set. Computer name prefixes must be 1 to 15 characters long.",
- "type": "string"
- },
- "customData": {
- "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes.
For using cloud-init for your VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)",
- "type": "string"
- },
- "linuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "secrets": {
- "description": "Specifies set of certificates that should be installed onto the virtual machines in the scale set.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultSecretGroup"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "windowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/WindowsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetProperties": {
- "description": "Describes the properties of a Virtual Machine Scale Set.",
- "properties": {
- "additionalCapabilities": {
- "description": "Specifies additional capabilities enabled or disabled on the Virtual Machines in the Virtual Machine Scale Set. For instance: whether the Virtual Machines have the capability to support attaching managed data disks with UltraSSD_LRS storage account type.",
- "oneOf": [
- {
- "$ref": "#/definitions/AdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "automaticRepairsPolicy": {
- "description": "Policy for automatic repairs.",
- "oneOf": [
- {
- "$ref": "#/definitions/AutomaticRepairsPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "doNotRunExtensionsOnOverprovisionedVMs": {
- "description": "When Overprovision is enabled, extensions are launched only on the requested number of VMs which are finally kept. This property will hence ensure that the extensions do not run on the extra overprovisioned VMs.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hostGroup": {
- "description": "Specifies information about the dedicated host group that the virtual machine scale set resides in.
Minimum api-version: 2020-06-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "overprovision": {
- "description": "Specifies whether the Virtual Machine Scale Set should be overprovisioned.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformFaultDomainCount": {
- "description": "Fault Domain count for each placement group.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the virtual machine scale set should be assigned to.
Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "scaleInPolicy": {
- "description": "Specifies the scale-in policy that decides which virtual machines are chosen for removal when a Virtual Machine Scale Set is scaled-in.",
- "oneOf": [
- {
- "$ref": "#/definitions/ScaleInPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "singlePlacementGroup": {
- "description": "When true this limits the scale set to a single placement group, of max size 100 virtual machines. NOTE: If singlePlacementGroup is true, it may be modified to false. However, if singlePlacementGroup is false, it may not be modified to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "upgradePolicy": {
- "description": "The upgrade policy.",
- "oneOf": [
- {
- "$ref": "#/definitions/UpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "virtualMachineProfile": {
- "description": "The virtual machine profile.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "zoneBalance": {
- "description": "Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfiguration": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "properties": {
- "name": {
- "description": "The publicIP address configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings": {
- "description": "Describes a virtual machines scale sets network configuration's DNS settings.",
- "properties": {
- "domainNameLabel": {
- "description": "The Domain name label.The concatenation of the domain name label and vm index will be the domain name labels of the PublicIPAddress resources that will be created",
- "type": "string"
- }
- },
- "required": [
- "domainNameLabel"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfigurationProperties": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "properties": {
- "dnsSettings": {
- "description": "The dns settings to be applied on the publicIP addresses .",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "idleTimeoutInMinutes": {
- "description": "The idle timeout of the public IP address.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipTags": {
- "description": "The list of IP tags associated with the public IP address.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetIpTag"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressVersion": {
- "description": "Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPPrefix": {
- "description": "The PublicIPPrefix from which to allocate publicIP addresses.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetStorageProfile": {
- "description": "Describes a virtual machine scale set storage profile.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add data disks to the virtual machines in the scale set.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetDataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machines in the scale set.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetOSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMNetworkProfileConfiguration": {
- "description": "Describes a virtual machine scale set VM network profile.",
- "properties": {
- "networkInterfaceConfigurations": {
- "description": "The list of network configurations.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProfile": {
- "description": "Describes a virtual machine scale set virtual machine profile.",
- "properties": {
- "billingProfile": {
- "description": "Specifies the billing related details of a Azure Spot VMSS.
Minimum api-version: 2019-03-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/BillingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "evictionPolicy": {
- "description": "Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set.
For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01.
For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview.",
- "oneOf": [
- {
- "enum": [
- "Deallocate",
- "Delete"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extensionProfile": {
- "description": "Specifies a collection of settings for extensions installed on virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetExtensionProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises.
Possible values for Windows Server operating system are:
Windows_Client
Windows_Server
Possible values for Linux Server operating system are:
RHEL_BYOS (for RHEL)
SLES_BYOS (for SUSE)
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)
[Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies properties of the network interfaces of the virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings for the virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetOSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "priority": {
- "description": "Specifies the priority for the virtual machines in the scale set.
Minimum api-version: 2017-10-30-preview",
- "oneOf": [
- {
- "enum": [
- "Regular",
- "Low",
- "Spot"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "scheduledEventsProfile": {
- "description": "Specifies Scheduled Event related configurations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ScheduledEventsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Specifies the Security related profile settings for the virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/SecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProperties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "properties": {
- "additionalCapabilities": {
- "description": "Specifies additional capabilities enabled or disabled on the virtual machine in the scale set. For instance: whether the virtual machine has the capability to support attaching managed data disks with UltraSSD_LRS storage account type.",
- "oneOf": [
- {
- "$ref": "#/definitions/AdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "availabilitySet": {
- "description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/HardwareProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises.
Possible values for Windows Server operating system are:
Windows_Client
Windows_Server
Possible values for Linux Server operating system are:
RHEL_BYOS (for RHEL)
SLES_BYOS (for SUSE)
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)
[Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkProfileConfiguration": {
- "description": "Specifies the network profile configuration of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMNetworkProfileConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectionPolicy": {
- "description": "Specifies the protection policy of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProtectionPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Specifies the Security related profile settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/SecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/StorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProtectionPolicy": {
- "description": "The protection policy of a virtual machine scale set VM.",
- "properties": {
- "protectFromScaleIn": {
- "description": "Indicates that the virtual machine scale set VM shouldn't be considered for deletion during a scale-in operation.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectFromScaleSetActions": {
- "description": "Indicates that model updates or actions (including scale-in) initiated on the virtual machine scale set should not be applied to the virtual machine scale set VM.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WinRMConfiguration": {
- "description": "Describes Windows Remote Management configuration of the VM",
- "properties": {
- "listeners": {
- "description": "The list of Windows Remote Management listeners",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/WinRMListener"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WinRMListener": {
- "description": "Describes Protocol and thumbprint of Windows Remote Management listener",
- "properties": {
- "certificateUrl": {
- "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:
{
\"data\":\"\",
\"dataType\":\"pfx\",
\"password\":\"\"
}",
- "type": "string"
- },
- "protocol": {
- "description": "Specifies the protocol of WinRM listener.
Possible values are:
**http**
**https**",
- "oneOf": [
- {
- "enum": [
- "Http",
- "Https"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WindowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "properties": {
- "additionalUnattendContent": {
- "description": "Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/AdditionalUnattendContent"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticUpdates": {
- "description": "Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value is true.
For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "patchSettings": {
- "description": "Specifies settings related to in-guest patching (KBs).",
- "oneOf": [
- {
- "$ref": "#/definitions/PatchSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionVMAgent": {
- "description": "Indicates whether virtual machine agent should be provisioned on the virtual machine.
When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "timeZone": {
- "description": "Specifies the time zone of the virtual machine. e.g. \"Pacific Standard Time\".
Possible values can be [TimeZoneInfo.Id](https://docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.id?#System_TimeZoneInfo_Id) value from time zones returned by [TimeZoneInfo.GetSystemTimeZones](https://docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.getsystemtimezones).",
- "type": "string"
- },
- "winRM": {
- "description": "Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.",
- "oneOf": [
- {
- "$ref": "#/definitions/WinRMConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "hostGroups_hosts_childResource": {
- "description": "Microsoft.Compute/hostGroups/hosts",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-06-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the dedicated host .",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the dedicated host.",
- "oneOf": [
- {
- "$ref": "#/definitions/DedicatedHostProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be set. List Microsoft.Compute SKUs for a list of possible values.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "hosts"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-06-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the VM scale set extension.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Scale Set Extension.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetExtensionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-06-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine extension.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Extension.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_runCommands_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/runCommands",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-06-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine run command.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "runCommands"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualmachines_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualmachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-06-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The instance ID of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "virtualmachines"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachines/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-06-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine extension.",
- "type": "string"
- },
- "properties": {
- "anyOf": [
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/genericExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/bgInfo"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/dscExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackup"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/chefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/dockerExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/eset"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/puppetAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/customScript"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines_runCommands_childResource": {
- "description": "Microsoft.Compute/virtualMachines/runCommands",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-06-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine run command.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "runCommands"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- }
-}
\ No newline at end of file
diff --git a/schemas/2020-06-30/Microsoft.Compute.json b/schemas/2020-06-30/Microsoft.Compute.json
deleted file mode 100644
index ec1d0a949a..0000000000
--- a/schemas/2020-06-30/Microsoft.Compute.json
+++ /dev/null
@@ -1,924 +0,0 @@
-{
- "id": "https://schema.management.azure.com/schemas/2020-06-30/Microsoft.Compute.json#",
- "title": "Microsoft.Compute",
- "description": "Microsoft Compute Resource Types",
- "$schema": "http://json-schema.org/draft-04/schema#",
- "resourceDefinitions": {
- "diskAccesses": {
- "description": "Microsoft.Compute/diskAccesses",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-06-30"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the disk access resource that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "oneOf": [
- {
- "$ref": "#/definitions/DiskAccessProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/diskAccesses"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "diskEncryptionSets": {
- "description": "Microsoft.Compute/diskEncryptionSets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-06-30"
- ],
- "type": "string"
- },
- "identity": {
- "description": "The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSetIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the disk encryption set that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/diskEncryptionSets"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "disks": {
- "description": "Microsoft.Compute/disks",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-06-30"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Disk resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, or UltraSSD_LRS.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/disks"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The Logical zone list for Disk.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "snapshots": {
- "description": "Microsoft.Compute/snapshots",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-06-30"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Snapshot resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/SnapshotProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS.",
- "oneOf": [
- {
- "$ref": "#/definitions/SnapshotSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/snapshots"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- },
- "definitions": {
- "CreationData": {
- "description": "Data used when creating a disk.",
- "properties": {
- "createOption": {
- "description": "This enumerates the possible sources of a disk's creation.",
- "oneOf": [
- {
- "enum": [
- "Empty",
- "Attach",
- "FromImage",
- "Import",
- "Copy",
- "Restore",
- "Upload"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "galleryImageReference": {
- "description": "Required if creating from a Gallery Image. The id of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageDiskReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Disk source information.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageDiskReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "logicalSectorSize": {
- "description": "Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sourceResourceId": {
- "description": "If createOption is Copy, this is the ARM id of the source snapshot or disk.",
- "type": "string"
- },
- "sourceUri": {
- "description": "If createOption is Import, this is the URI of a blob to be imported into a managed disk.",
- "type": "string"
- },
- "storageAccountId": {
- "description": "Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk.",
- "type": "string"
- },
- "uploadSizeBytes": {
- "description": "If createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer).",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "DiskAccessProperties": {
- "properties": {},
- "type": "object"
- },
- "DiskProperties": {
- "description": "Disk resource properties.",
- "properties": {
- "creationData": {
- "description": "Disk source information. CreationData information cannot be changed after the disk has been created.",
- "oneOf": [
- {
- "$ref": "#/definitions/CreationData"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskAccessId": {
- "description": "ARM id of the DiskAccess resource for using private endpoints on disks.",
- "type": "string"
- },
- "diskIOPSReadOnly": {
- "description": "The total number of IOPS that will be allowed across all VMs mounting the shared disk as ReadOnly. One operation can transfer between 4k and 256k bytes.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskIOPSReadWrite": {
- "description": "The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskMBpsReadOnly": {
- "description": "The total throughput (MBps) that will be allowed across all VMs mounting the shared disk as ReadOnly. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskMBpsReadWrite": {
- "description": "The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryption": {
- "description": "Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.",
- "oneOf": [
- {
- "$ref": "#/definitions/Encryption"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettingsCollection": {
- "description": "Encryption settings collection used for Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSettingsCollection"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hyperVGeneration": {
- "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxShares": {
- "description": "The maximum number of VMs that can attach to the disk at the same time. Value greater than one indicates a disk that can be mounted on multiple VMs at the same time.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkAccessPolicy": {
- "description": "Policy for accessing the disk via network.",
- "oneOf": [
- {
- "enum": [
- "AllowAll",
- "AllowPrivate",
- "DenyAll"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "The Operating System type.",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tier": {
- "description": "Performance tier of the disk (e.g, P4, S10) as described here: https://azure.microsoft.com/en-us/pricing/details/managed-disks/. Does not apply to Ultra disks.",
- "type": "string"
- }
- },
- "required": [
- "creationData"
- ],
- "type": "object"
- },
- "DiskSku": {
- "description": "The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, or UltraSSD_LRS.",
- "properties": {
- "name": {
- "description": "The sku name.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Encryption": {
- "description": "Encryption at rest settings for disk or snapshot",
- "properties": {
- "diskEncryptionSetId": {
- "description": "ResourceId of the disk encryption set to use for enabling encryption at rest.",
- "type": "string"
- },
- "type": {
- "description": "The type of key used to encrypt the data of the disk.",
- "oneOf": [
- {
- "enum": [
- "EncryptionAtRestWithPlatformKey",
- "EncryptionAtRestWithCustomerKey",
- "EncryptionAtRestWithPlatformAndCustomerKeys"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "EncryptionSetIdentity": {
- "description": "The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks.",
- "properties": {
- "type": {
- "description": "The type of Managed Identity used by the DiskEncryptionSet. Only SystemAssigned is supported.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "EncryptionSetProperties": {
- "properties": {
- "activeKey": {
- "description": "The key vault key which is currently used by this disk encryption set.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultAndKeyReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionType": {
- "description": "The type of key used to encrypt the data of the disk.",
- "oneOf": [
- {
- "enum": [
- "EncryptionAtRestWithCustomerKey",
- "EncryptionAtRestWithPlatformAndCustomerKeys"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "EncryptionSettingsCollection": {
- "description": "Encryption settings for disk or snapshot",
- "properties": {
- "enabled": {
- "description": "Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettings": {
- "description": "A collection of encryption settings, one for each disk volume.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/EncryptionSettingsElement"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettingsVersion": {
- "description": "Describes what type of encryption is used for the disks. Once this field is set, it cannot be overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption.",
- "type": "string"
- }
- },
- "required": [
- "enabled"
- ],
- "type": "object"
- },
- "EncryptionSettingsElement": {
- "description": "Encryption settings for one disk volume.",
- "properties": {
- "diskEncryptionKey": {
- "description": "Key Vault Secret Url and vault id of the disk encryption key",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultAndSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "keyEncryptionKey": {
- "description": "Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultAndKeyReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImageDiskReference": {
- "description": "The source image used for creating the disk.",
- "properties": {
- "id": {
- "description": "A relative uri containing either a Platform Image Repository or user image reference.",
- "type": "string"
- },
- "lun": {
- "description": "If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "id"
- ],
- "type": "object"
- },
- "KeyVaultAndKeyReference": {
- "description": "Key Vault Key Url and vault id of KeK, KeK is optional and when provided is used to unwrap the encryptionKey",
- "properties": {
- "keyUrl": {
- "description": "Url pointing to a key or secret in KeyVault",
- "type": "string"
- },
- "sourceVault": {
- "description": "Resource id of the KeyVault containing the key or secret",
- "oneOf": [
- {
- "$ref": "#/definitions/SourceVault"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "sourceVault",
- "keyUrl"
- ],
- "type": "object"
- },
- "KeyVaultAndSecretReference": {
- "description": "Key Vault Secret Url and vault id of the encryption key ",
- "properties": {
- "secretUrl": {
- "description": "Url pointing to a key or secret in KeyVault",
- "type": "string"
- },
- "sourceVault": {
- "description": "Resource id of the KeyVault containing the key or secret",
- "oneOf": [
- {
- "$ref": "#/definitions/SourceVault"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "sourceVault",
- "secretUrl"
- ],
- "type": "object"
- },
- "SnapshotProperties": {
- "description": "Snapshot resource properties.",
- "properties": {
- "creationData": {
- "description": "Disk source information. CreationData information cannot be changed after the disk has been created.",
- "oneOf": [
- {
- "$ref": "#/definitions/CreationData"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskAccessId": {
- "description": "ARM id of the DiskAccess resource for using private endpoints on disks.",
- "type": "string"
- },
- "diskSizeGB": {
- "description": "If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryption": {
- "description": "Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.",
- "oneOf": [
- {
- "$ref": "#/definitions/Encryption"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettingsCollection": {
- "description": "Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSettingsCollection"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hyperVGeneration": {
- "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "incremental": {
- "description": "Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full snapshots and can be diffed.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkAccessPolicy": {
- "description": "Policy for accessing the disk via network.",
- "oneOf": [
- {
- "enum": [
- "AllowAll",
- "AllowPrivate",
- "DenyAll"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "The Operating System type.",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "creationData"
- ],
- "type": "object"
- },
- "SnapshotSku": {
- "description": "The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS.",
- "properties": {
- "name": {
- "description": "The sku name.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "Standard_ZRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SourceVault": {
- "description": "The vault id is an Azure Resource Manager Resource id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- }
- }
-}
\ No newline at end of file
diff --git a/schemas/2020-09-30/Microsoft.Compute.json b/schemas/2020-09-30/Microsoft.Compute.json
deleted file mode 100644
index f8446cb53d..0000000000
--- a/schemas/2020-09-30/Microsoft.Compute.json
+++ /dev/null
@@ -1,2635 +0,0 @@
-{
- "id": "https://schema.management.azure.com/schemas/2020-09-30/Microsoft.Compute.json#",
- "title": "Microsoft.Compute",
- "description": "Microsoft Compute Resource Types",
- "$schema": "http://json-schema.org/draft-04/schema#",
- "resourceDefinitions": {
- "diskAccesses": {
- "description": "Microsoft.Compute/diskAccesses",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-09-30"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the disk access resource that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "oneOf": [
- {
- "$ref": "#/definitions/DiskAccessProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/diskAccesses_privateEndpointConnections_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/diskAccesses"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "diskAccesses_privateEndpointConnections": {
- "description": "Microsoft.Compute/diskAccesses/privateEndpointConnections",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-09-30"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the private endpoint connection",
- "type": "string"
- },
- "properties": {
- "description": "Resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/PrivateEndpointConnectionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/diskAccesses/privateEndpointConnections"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "diskEncryptionSets": {
- "description": "Microsoft.Compute/diskEncryptionSets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-09-30"
- ],
- "type": "string"
- },
- "identity": {
- "description": "The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSetIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the disk encryption set that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/diskEncryptionSets"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "disks": {
- "description": "Microsoft.Compute/disks",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-09-30"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location where the disk will be created. Extended location cannot be changed.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Disk resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, or UltraSSD_LRS.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/disks"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The Logical zone list for Disk.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries": {
- "description": "Microsoft.Compute/galleries",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-09-30"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the Shared Image Gallery. The allowed characters are alphabets and numbers with dots and periods allowed in the middle. The maximum length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Shared Image Gallery.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/galleries_images_childResource"
- },
- {
- "$ref": "#/definitions/galleries_applications_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/galleries"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_applications": {
- "description": "Microsoft.Compute/galleries/applications",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-09-30"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Application Definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery Application Definition.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryApplicationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/galleries_applications_versions_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/galleries/applications"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_applications_versions": {
- "description": "Microsoft.Compute/galleries/applications/versions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-09-30"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Application Version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery image version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryApplicationVersionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/galleries/applications/versions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_images": {
- "description": "Microsoft.Compute/galleries/images",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-09-30"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery image definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery image definition.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/galleries_images_versions_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/galleries/images"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_images_versions": {
- "description": "Microsoft.Compute/galleries/images/versions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-09-30"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery image version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery image version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageVersionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/galleries/images/versions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "snapshots": {
- "description": "Microsoft.Compute/snapshots",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-09-30"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location where the snapshot will be created. Extended location cannot be changed.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Snapshot resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/SnapshotProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot",
- "oneOf": [
- {
- "$ref": "#/definitions/SnapshotSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/snapshots"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- },
- "definitions": {
- "CreationData": {
- "description": "Data used when creating a disk.",
- "properties": {
- "createOption": {
- "description": "This enumerates the possible sources of a disk's creation.",
- "oneOf": [
- {
- "enum": [
- "Empty",
- "Attach",
- "FromImage",
- "Import",
- "Copy",
- "Restore",
- "Upload"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "galleryImageReference": {
- "description": "Required if creating from a Gallery Image. The id of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageDiskReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Disk source information.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageDiskReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "logicalSectorSize": {
- "description": "Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sourceResourceId": {
- "description": "If createOption is Copy, this is the ARM id of the source snapshot or disk.",
- "type": "string"
- },
- "sourceUri": {
- "description": "If createOption is Import, this is the URI of a blob to be imported into a managed disk.",
- "type": "string"
- },
- "storageAccountId": {
- "description": "Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk.",
- "type": "string"
- },
- "uploadSizeBytes": {
- "description": "If createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer).",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "DataDiskImageEncryption": {
- "description": "Contains encryption settings for a data disk image.",
- "properties": {
- "diskEncryptionSetId": {
- "description": "A relative URI containing the resource ID of the disk encryption set.",
- "type": "string"
- },
- "lun": {
- "description": "This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun"
- ],
- "type": "object"
- },
- "Disallowed": {
- "description": "Describes the disallowed disk types.",
- "properties": {
- "diskTypes": {
- "description": "A list of disk types.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiskAccessProperties": {
- "properties": {},
- "type": "object"
- },
- "DiskProperties": {
- "description": "Disk resource properties.",
- "properties": {
- "burstingEnabled": {
- "description": "Set to true to enable bursting beyond the provisioned performance target of the disk. Bursting is disabled by default. Does not apply to Ultra disks.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "creationData": {
- "description": "Disk source information. CreationData information cannot be changed after the disk has been created.",
- "oneOf": [
- {
- "$ref": "#/definitions/CreationData"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskAccessId": {
- "description": "ARM id of the DiskAccess resource for using private endpoints on disks.",
- "type": "string"
- },
- "diskIOPSReadOnly": {
- "description": "The total number of IOPS that will be allowed across all VMs mounting the shared disk as ReadOnly. One operation can transfer between 4k and 256k bytes.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskIOPSReadWrite": {
- "description": "The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskMBpsReadOnly": {
- "description": "The total throughput (MBps) that will be allowed across all VMs mounting the shared disk as ReadOnly. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskMBpsReadWrite": {
- "description": "The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryption": {
- "description": "Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.",
- "oneOf": [
- {
- "$ref": "#/definitions/Encryption"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettingsCollection": {
- "description": "Encryption settings collection used for Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSettingsCollection"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hyperVGeneration": {
- "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxShares": {
- "description": "The maximum number of VMs that can attach to the disk at the same time. Value greater than one indicates a disk that can be mounted on multiple VMs at the same time.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkAccessPolicy": {
- "description": "Policy for accessing the disk via network.",
- "oneOf": [
- {
- "enum": [
- "AllowAll",
- "AllowPrivate",
- "DenyAll"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "The Operating System type.",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "purchasePlan": {
- "description": "Purchase plan information for the the image from which the OS disk was created. E.g. - {name: 2019-Datacenter, publisher: MicrosoftWindowsServer, product: WindowsServer}",
- "oneOf": [
- {
- "$ref": "#/definitions/PurchasePlan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tier": {
- "description": "Performance tier of the disk (e.g, P4, S10) as described here: https://azure.microsoft.com/en-us/pricing/details/managed-disks/. Does not apply to Ultra disks.",
- "type": "string"
- }
- },
- "required": [
- "creationData"
- ],
- "type": "object"
- },
- "DiskSku": {
- "description": "The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, or UltraSSD_LRS.",
- "properties": {
- "name": {
- "description": "The sku name.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Encryption": {
- "description": "Encryption at rest settings for disk or snapshot",
- "properties": {
- "diskEncryptionSetId": {
- "description": "ResourceId of the disk encryption set to use for enabling encryption at rest.",
- "type": "string"
- },
- "type": {
- "description": "The type of key used to encrypt the data of the disk.",
- "oneOf": [
- {
- "enum": [
- "EncryptionAtRestWithPlatformKey",
- "EncryptionAtRestWithCustomerKey",
- "EncryptionAtRestWithPlatformAndCustomerKeys"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "EncryptionImages": {
- "description": "Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact.",
- "properties": {
- "dataDiskImages": {
- "description": "A list of encryption specifications for data disk images.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/DataDiskImageEncryption"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDiskImage": {
- "description": "Contains encryption settings for an OS disk image.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSDiskImageEncryption"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "EncryptionSetIdentity": {
- "description": "The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks.",
- "properties": {
- "type": {
- "description": "The type of Managed Identity used by the DiskEncryptionSet. Only SystemAssigned is supported for new creations. Disk Encryption Sets can be updated with Identity type None during migration of subscription to a new Azure Active Directory tenant; it will cause the encrypted resources to lose access to the keys.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "EncryptionSetProperties": {
- "properties": {
- "activeKey": {
- "description": "The key vault key which is currently used by this disk encryption set.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyForDiskEncryptionSet"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionType": {
- "description": "The type of key used to encrypt the data of the disk.",
- "oneOf": [
- {
- "enum": [
- "EncryptionAtRestWithCustomerKey",
- "EncryptionAtRestWithPlatformAndCustomerKeys"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "EncryptionSettingsCollection": {
- "description": "Encryption settings for disk or snapshot",
- "properties": {
- "enabled": {
- "description": "Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettings": {
- "description": "A collection of encryption settings, one for each disk volume.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/EncryptionSettingsElement"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettingsVersion": {
- "description": "Describes what type of encryption is used for the disks. Once this field is set, it cannot be overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption.",
- "type": "string"
- }
- },
- "required": [
- "enabled"
- ],
- "type": "object"
- },
- "EncryptionSettingsElement": {
- "description": "Encryption settings for one disk volume.",
- "properties": {
- "diskEncryptionKey": {
- "description": "Key Vault Secret Url and vault id of the disk encryption key",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultAndSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "keyEncryptionKey": {
- "description": "Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultAndKeyReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ExtendedLocation": {
- "description": "The complex type of the extended location.",
- "properties": {
- "name": {
- "description": "The name of the extended location.",
- "type": "string"
- },
- "type": {
- "description": "The type of the extended location.",
- "oneOf": [
- {
- "enum": [
- "EdgeZone"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryApplicationProperties": {
- "description": "Describes the properties of a gallery Application Definition.",
- "properties": {
- "description": {
- "description": "The description of this gallery Application Definition resource. This property is updatable.",
- "type": "string"
- },
- "endOfLifeDate": {
- "description": "The end of life date of the gallery Application Definition. This property can be used for decommissioning purposes. This property is updatable.",
- "format": "date-time",
- "type": "string"
- },
- "eula": {
- "description": "The Eula agreement for the gallery Application Definition.",
- "type": "string"
- },
- "privacyStatementUri": {
- "description": "The privacy statement uri.",
- "type": "string"
- },
- "releaseNoteUri": {
- "description": "The release note uri.",
- "type": "string"
- },
- "supportedOSType": {
- "description": "This property allows you to specify the supported type of the OS that application is built for.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "supportedOSType"
- ],
- "type": "object"
- },
- "GalleryApplicationVersionProperties": {
- "description": "Describes the properties of a gallery image version.",
- "properties": {
- "publishingProfile": {
- "description": "The publishing profile of a gallery image version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryApplicationVersionPublishingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "publishingProfile"
- ],
- "type": "object"
- },
- "GalleryApplicationVersionPublishingProfile": {
- "description": "The publishing profile of a gallery image version.",
- "properties": {
- "enableHealthCheck": {
- "description": "Optional. Whether or not this application reports health.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "endOfLifeDate": {
- "description": "The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable.",
- "format": "date-time",
- "type": "string"
- },
- "excludeFromLatest": {
- "description": "If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "manageActions": {
- "oneOf": [
- {
- "$ref": "#/definitions/UserArtifactManage"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "replicaCount": {
- "description": "The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "source": {
- "description": "The source image from which the Image Version is going to be created.",
- "oneOf": [
- {
- "$ref": "#/definitions/UserArtifactSource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type to be used to store the image. This property is not updatable.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Standard_ZRS",
- "Premium_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "targetRegions": {
- "description": "The target regions where the Image Version is going to be replicated to. This property is updatable.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/TargetRegion"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "source"
- ],
- "type": "object"
- },
- "GalleryArtifactVersionSource": {
- "description": "The gallery artifact version source.",
- "properties": {
- "id": {
- "description": "The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, user image or storage account resource.",
- "type": "string"
- },
- "uri": {
- "description": "The uri of the gallery artifact version source. Currently used to specify vhd/blob source.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "GalleryDataDiskImage": {
- "description": "This is the data disk image.",
- "properties": {
- "hostCaching": {
- "description": "The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "source": {
- "description": "The gallery artifact version source.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryArtifactVersionSource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun"
- ],
- "type": "object"
- },
- "GalleryIdentifier": {
- "description": "Describes the gallery unique name.",
- "properties": {},
- "type": "object"
- },
- "GalleryImageFeature": {
- "description": "A feature for gallery image.",
- "properties": {
- "name": {
- "description": "The name of the gallery image feature.",
- "type": "string"
- },
- "value": {
- "description": "The value of the gallery image feature.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "GalleryImageIdentifier": {
- "description": "This is the gallery image definition identifier.",
- "properties": {
- "offer": {
- "description": "The name of the gallery image definition offer.",
- "type": "string"
- },
- "publisher": {
- "description": "The name of the gallery image definition publisher.",
- "type": "string"
- },
- "sku": {
- "description": "The name of the gallery image definition SKU.",
- "type": "string"
- }
- },
- "required": [
- "publisher",
- "offer",
- "sku"
- ],
- "type": "object"
- },
- "GalleryImageProperties": {
- "description": "Describes the properties of a gallery image definition.",
- "properties": {
- "description": {
- "description": "The description of this gallery image definition resource. This property is updatable.",
- "type": "string"
- },
- "disallowed": {
- "description": "Describes the disallowed disk types.",
- "oneOf": [
- {
- "$ref": "#/definitions/Disallowed"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "endOfLifeDate": {
- "description": "The end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable.",
- "format": "date-time",
- "type": "string"
- },
- "eula": {
- "description": "The Eula agreement for the gallery image definition.",
- "type": "string"
- },
- "features": {
- "description": "A list of gallery image features.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/GalleryImageFeature"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hyperVGeneration": {
- "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "identifier": {
- "description": "This is the gallery image definition identifier.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageIdentifier"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osState": {
- "description": "This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'.",
- "oneOf": [
- {
- "enum": [
- "Generalized",
- "Specialized"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "privacyStatementUri": {
- "description": "The privacy statement uri.",
- "type": "string"
- },
- "purchasePlan": {
- "description": "Describes the gallery image definition purchase plan. This is used by marketplace images.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImagePurchasePlan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "recommended": {
- "description": "The properties describe the recommended machine configuration for this Image Definition. These properties are updatable.",
- "oneOf": [
- {
- "$ref": "#/definitions/RecommendedMachineConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "releaseNoteUri": {
- "description": "The release note uri.",
- "type": "string"
- }
- },
- "required": [
- "osType",
- "osState",
- "identifier"
- ],
- "type": "object"
- },
- "GalleryImageVersionProperties": {
- "description": "Describes the properties of a gallery image version.",
- "properties": {
- "publishingProfile": {
- "description": "The publishing profile of a gallery image Version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageVersionPublishingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "This is the storage profile of a Gallery Image Version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageVersionStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "storageProfile"
- ],
- "type": "object"
- },
- "GalleryImageVersionPublishingProfile": {
- "description": "The publishing profile of a gallery image Version.",
- "properties": {
- "endOfLifeDate": {
- "description": "The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable.",
- "format": "date-time",
- "type": "string"
- },
- "excludeFromLatest": {
- "description": "If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "replicaCount": {
- "description": "The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type to be used to store the image. This property is not updatable.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Standard_ZRS",
- "Premium_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "targetRegions": {
- "description": "The target regions where the Image Version is going to be replicated to. This property is updatable.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/TargetRegion"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryImageVersionStorageProfile": {
- "description": "This is the storage profile of a Gallery Image Version.",
- "properties": {
- "dataDiskImages": {
- "description": "A list of data disk images.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/GalleryDataDiskImage"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDiskImage": {
- "description": "This is the OS disk image.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryOSDiskImage"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "source": {
- "description": "The gallery artifact version source.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryArtifactVersionSource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryOSDiskImage": {
- "description": "This is the OS disk image.",
- "properties": {
- "hostCaching": {
- "description": "The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "source": {
- "description": "The gallery artifact version source.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryArtifactVersionSource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryProperties": {
- "description": "Describes the properties of a Shared Image Gallery.",
- "properties": {
- "description": {
- "description": "The description of this Shared Image Gallery resource. This property is updatable.",
- "type": "string"
- },
- "identifier": {
- "description": "Describes the gallery unique name.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryIdentifier"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sharingProfile": {
- "description": "Profile for gallery sharing to subscription or tenant",
- "oneOf": [
- {
- "$ref": "#/definitions/SharingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImageDiskReference": {
- "description": "The source image used for creating the disk.",
- "properties": {
- "id": {
- "description": "A relative uri containing either a Platform Image Repository or user image reference.",
- "type": "string"
- },
- "lun": {
- "description": "If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "id"
- ],
- "type": "object"
- },
- "ImagePurchasePlan": {
- "description": "Describes the gallery image definition purchase plan. This is used by marketplace images.",
- "properties": {
- "name": {
- "description": "The plan ID.",
- "type": "string"
- },
- "product": {
- "description": "The product ID.",
- "type": "string"
- },
- "publisher": {
- "description": "The publisher ID.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "KeyForDiskEncryptionSet": {
- "description": "Key Vault Key Url to be used for server side encryption of Managed Disks and Snapshots",
- "properties": {
- "keyUrl": {
- "description": "Fully versioned Key Url pointing to a key in KeyVault",
- "type": "string"
- },
- "sourceVault": {
- "description": "Resource id of the KeyVault containing the key or secret. This property is optional and cannot be used if the KeyVault subscription is not the same as the Disk Encryption Set subscription.",
- "oneOf": [
- {
- "$ref": "#/definitions/SourceVault"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "keyUrl"
- ],
- "type": "object"
- },
- "KeyVaultAndKeyReference": {
- "description": "Key Vault Key Url and vault id of KeK, KeK is optional and when provided is used to unwrap the encryptionKey",
- "properties": {
- "keyUrl": {
- "description": "Url pointing to a key or secret in KeyVault",
- "type": "string"
- },
- "sourceVault": {
- "description": "Resource id of the KeyVault containing the key or secret",
- "oneOf": [
- {
- "$ref": "#/definitions/SourceVault"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "sourceVault",
- "keyUrl"
- ],
- "type": "object"
- },
- "KeyVaultAndSecretReference": {
- "description": "Key Vault Secret Url and vault id of the encryption key ",
- "properties": {
- "secretUrl": {
- "description": "Url pointing to a key or secret in KeyVault",
- "type": "string"
- },
- "sourceVault": {
- "description": "Resource id of the KeyVault containing the key or secret",
- "oneOf": [
- {
- "$ref": "#/definitions/SourceVault"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "sourceVault",
- "secretUrl"
- ],
- "type": "object"
- },
- "OSDiskImageEncryption": {
- "description": "Contains encryption settings for an OS disk image.",
- "properties": {
- "diskEncryptionSetId": {
- "description": "A relative URI containing the resource ID of the disk encryption set.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "PrivateEndpoint": {
- "description": "The Private Endpoint resource.",
- "properties": {},
- "type": "object"
- },
- "PrivateEndpointConnectionProperties": {
- "description": "Properties of the PrivateEndpointConnectProperties.",
- "properties": {
- "privateEndpoint": {
- "description": "The resource of private end point.",
- "oneOf": [
- {
- "$ref": "#/definitions/PrivateEndpoint"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "privateLinkServiceConnectionState": {
- "description": "A collection of information about the state of the connection between DiskAccess and Virtual Network.",
- "oneOf": [
- {
- "$ref": "#/definitions/PrivateLinkServiceConnectionState"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "privateLinkServiceConnectionState"
- ],
- "type": "object"
- },
- "PrivateLinkServiceConnectionState": {
- "description": "A collection of information about the state of the connection between service consumer and provider.",
- "properties": {
- "actionsRequired": {
- "description": "A message indicating if changes on the service provider require any updates on the consumer.",
- "type": "string"
- },
- "description": {
- "description": "The reason for approval/rejection of the connection.",
- "type": "string"
- },
- "status": {
- "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.",
- "oneOf": [
- {
- "enum": [
- "Pending",
- "Approved",
- "Rejected"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "PurchasePlan": {
- "description": "Used for establishing the purchase context of any 3rd Party artifact through MarketPlace.",
- "properties": {
- "name": {
- "description": "The plan ID.",
- "type": "string"
- },
- "product": {
- "description": "Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.",
- "type": "string"
- },
- "promotionCode": {
- "description": "The Offer Promotion Code.",
- "type": "string"
- },
- "publisher": {
- "description": "The publisher ID.",
- "type": "string"
- }
- },
- "required": [
- "name",
- "publisher",
- "product"
- ],
- "type": "object"
- },
- "RecommendedMachineConfiguration": {
- "description": "The properties describe the recommended machine configuration for this Image Definition. These properties are updatable.",
- "properties": {
- "memory": {
- "description": "Describes the resource range.",
- "oneOf": [
- {
- "$ref": "#/definitions/ResourceRange"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vCPUs": {
- "description": "Describes the resource range.",
- "oneOf": [
- {
- "$ref": "#/definitions/ResourceRange"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ResourceRange": {
- "description": "Describes the resource range.",
- "properties": {
- "max": {
- "description": "The maximum number of the resource.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "min": {
- "description": "The minimum number of the resource.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SharingProfile": {
- "description": "Profile for gallery sharing to subscription or tenant",
- "properties": {
- "permissions": {
- "description": "This property allows you to specify the permission of sharing gallery.
Possible values are:
**Private**
**Groups**",
- "oneOf": [
- {
- "enum": [
- "Private",
- "Groups"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SnapshotProperties": {
- "description": "Snapshot resource properties.",
- "properties": {
- "creationData": {
- "description": "Disk source information. CreationData information cannot be changed after the disk has been created.",
- "oneOf": [
- {
- "$ref": "#/definitions/CreationData"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskAccessId": {
- "description": "ARM id of the DiskAccess resource for using private endpoints on disks.",
- "type": "string"
- },
- "diskSizeGB": {
- "description": "If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryption": {
- "description": "Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.",
- "oneOf": [
- {
- "$ref": "#/definitions/Encryption"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettingsCollection": {
- "description": "Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSettingsCollection"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hyperVGeneration": {
- "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "incremental": {
- "description": "Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full snapshots and can be diffed.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkAccessPolicy": {
- "description": "Policy for accessing the disk via network.",
- "oneOf": [
- {
- "enum": [
- "AllowAll",
- "AllowPrivate",
- "DenyAll"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "The Operating System type.",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "purchasePlan": {
- "description": "Purchase plan information for the image from which the source disk for the snapshot was originally created.",
- "oneOf": [
- {
- "$ref": "#/definitions/PurchasePlan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "creationData"
- ],
- "type": "object"
- },
- "SnapshotSku": {
- "description": "The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot",
- "properties": {
- "name": {
- "description": "The sku name.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "Standard_ZRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SourceVault": {
- "description": "The vault id is an Azure Resource Manager Resource id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "TargetRegion": {
- "description": "Describes the target region information.",
- "properties": {
- "encryption": {
- "description": "Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionImages"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The name of the region.",
- "type": "string"
- },
- "regionalReplicaCount": {
- "description": "The number of replicas of the Image Version to be created per region. This property is updatable.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type to be used to store the image. This property is not updatable.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Standard_ZRS",
- "Premium_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "UserArtifactManage": {
- "properties": {
- "install": {
- "description": "Required. The path and arguments to install the gallery application. This is limited to 4096 characters.",
- "type": "string"
- },
- "remove": {
- "description": "Required. The path and arguments to remove the gallery application. This is limited to 4096 characters.",
- "type": "string"
- },
- "update": {
- "description": "Optional. The path and arguments to update the gallery application. If not present, then update operation will invoke remove command on the previous version and install command on the current version of the gallery application. This is limited to 4096 characters.",
- "type": "string"
- }
- },
- "required": [
- "install",
- "remove"
- ],
- "type": "object"
- },
- "UserArtifactSource": {
- "description": "The source image from which the Image Version is going to be created.",
- "properties": {
- "defaultConfigurationLink": {
- "description": "Optional. The defaultConfigurationLink of the artifact, must be a readable storage page blob.",
- "type": "string"
- },
- "mediaLink": {
- "description": "Required. The mediaLink of the artifact, must be a readable storage page blob.",
- "type": "string"
- }
- },
- "required": [
- "mediaLink"
- ],
- "type": "object"
- },
- "diskAccesses_privateEndpointConnections_childResource": {
- "description": "Microsoft.Compute/diskAccesses/privateEndpointConnections",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-09-30"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the private endpoint connection",
- "type": "string"
- },
- "properties": {
- "description": "Resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/PrivateEndpointConnectionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "privateEndpointConnections"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_applications_childResource": {
- "description": "Microsoft.Compute/galleries/applications",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-09-30"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Application Definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery Application Definition.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryApplicationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "applications"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_applications_versions_childResource": {
- "description": "Microsoft.Compute/galleries/applications/versions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-09-30"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Application Version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery image version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryApplicationVersionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "versions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_images_childResource": {
- "description": "Microsoft.Compute/galleries/images",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-09-30"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery image definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery image definition.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "images"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_images_versions_childResource": {
- "description": "Microsoft.Compute/galleries/images/versions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-09-30"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery image version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery image version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageVersionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "versions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- }
-}
\ No newline at end of file
diff --git a/schemas/2020-10-01-preview/Microsoft.Compute.json b/schemas/2020-10-01-preview/Microsoft.Compute.json
deleted file mode 100644
index 8903490a74..0000000000
--- a/schemas/2020-10-01-preview/Microsoft.Compute.json
+++ /dev/null
@@ -1,535 +0,0 @@
-{
- "id": "https://schema.management.azure.com/schemas/2020-10-01-preview/Microsoft.Compute.json#",
- "title": "Microsoft.Compute",
- "description": "Microsoft Compute Resource Types",
- "$schema": "http://json-schema.org/draft-04/schema#",
- "resourceDefinitions": {
- "cloudServices": {
- "description": "Microsoft.Compute/cloudServices",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-10-01-preview"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location.",
- "type": "string"
- },
- "name": {
- "description": "Name of the cloud service.",
- "type": "string"
- },
- "properties": {
- "description": "Cloud service properties",
- "oneOf": [
- {
- "$ref": "#/definitions/CloudServiceProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags.",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/cloudServices"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- },
- "definitions": {
- "CloudServiceExtensionProfile": {
- "description": "Describes a cloud service extension profile.",
- "properties": {
- "extensions": {
- "description": "List of extensions for the cloud service.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/Extension"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "CloudServiceExtensionProperties": {
- "description": "Extension Properties.",
- "properties": {
- "autoUpgradeMinorVersion": {
- "description": "Explicitly specify whether platform can automatically upgrade typeHandlerVersion to higher minor versions when they become available.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "forceUpdateTag": {
- "description": "Tag to force apply the provided public and protected settings.\r\nChanging the tag value allows for re-running the extension without changing any of the public or protected settings.\r\nIf forceUpdateTag is not changed, updates to public or protected settings would still be applied by the handler.\r\nIf neither forceUpdateTag nor any of public or protected settings change, extension would flow to the role instance with the same sequence-number, and\r\nit is up to handler implementation whether to re-run it or not",
- "type": "string"
- },
- "protectedSettings": {
- "description": "Protected settings for the extension which are encrypted before sent to the role instance.",
- "type": "string"
- },
- "protectedSettingsFromKeyVault": {
- "oneOf": [
- {
- "$ref": "#/definitions/CloudServiceVaultAndSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publisher": {
- "description": "The name of the extension handler publisher.",
- "type": "string"
- },
- "rolesAppliedTo": {
- "description": "Optional list of roles to apply this extension. If property is not specified or '*' is specified, extension is applied to all roles in the cloud service.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "settings": {
- "description": "Public settings for the extension. For JSON extensions, this is the JSON settings for the extension. For XML Extension (like RDP), this is the XML setting for the extension.",
- "type": "string"
- },
- "type": {
- "description": "Specifies the type of the extension.",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the extension. Specifies the version of the extension. If this element is not specified or an asterisk (*) is used as the value, the latest version of the extension is used. If the value is specified with a major version number and an asterisk as the minor version number (X.), the latest minor version of the specified major version is selected. If a major version number and a minor version number are specified (X.Y), the specific extension version is selected. If a version is specified, an auto-upgrade is performed on the role instance.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "CloudServiceNetworkProfile": {
- "description": "Network Profile for the cloud service.",
- "properties": {
- "loadBalancerConfigurations": {
- "description": "The list of load balancer configurations for the cloud service.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/LoadBalancerConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "swappableCloudService": {
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "CloudServiceOsProfile": {
- "description": "Describes the OS profile for the cloud service.",
- "properties": {
- "secrets": {
- "description": "Specifies set of certificates that should be installed onto the role instances.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/CloudServiceVaultSecretGroup"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "CloudServiceProperties": {
- "description": "Cloud service properties",
- "properties": {
- "configuration": {
- "description": "Specifies the XML service configuration (.cscfg) for the cloud service.",
- "type": "string"
- },
- "configurationUrl": {
- "description": "Specifies a URL that refers to the location of the service configuration in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account.\r\nThis is a write-only property and is not returned in GET calls.",
- "type": "string"
- },
- "extensionProfile": {
- "description": "Describes a cloud service extension profile.",
- "oneOf": [
- {
- "$ref": "#/definitions/CloudServiceExtensionProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkProfile": {
- "description": "Network Profile for the cloud service.",
- "oneOf": [
- {
- "$ref": "#/definitions/CloudServiceNetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Describes the OS profile for the cloud service.",
- "oneOf": [
- {
- "$ref": "#/definitions/CloudServiceOsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "packageUrl": {
- "description": "Specifies a URL that refers to the location of the service package in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account.\r\nThis is a write-only property and is not returned in GET calls.",
- "type": "string"
- },
- "roleProfile": {
- "description": "Describes the role profile for the cloud service.",
- "oneOf": [
- {
- "$ref": "#/definitions/CloudServiceRoleProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "startCloudService": {
- "description": "(Optional) Indicates whether to start the cloud service immediately after it is created. The default value is `true`.\r\nIf false, the service model is still deployed, but the code is not run immediately. Instead, the service is PoweredOff until you call Start, at which time the service will be started. A deployed service still incurs charges, even if it is poweredoff.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "upgradeMode": {
- "description": "Update mode for the cloud service. Role instances are allocated to update domains when the service is deployed. Updates can be initiated manually in each update domain or initiated automatically in all update domains.\r\nPossible Values are
**Auto**
**Manual**
**Simultaneous**
\r\nIf not specified, the default value is Auto. If set to Manual, PUT UpdateDomain must be called to apply the update. If set to Auto, the update is automatically applied to each update domain in sequence.",
- "oneOf": [
- {
- "enum": [
- "Auto",
- "Manual",
- "Simultaneous"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "CloudServiceRoleProfile": {
- "description": "Describes the role profile for the cloud service.",
- "properties": {
- "roles": {
- "description": "List of roles for the cloud service.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/CloudServiceRoleProfileProperties"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "CloudServiceRoleProfileProperties": {
- "description": "Describes the role properties.",
- "properties": {
- "name": {
- "description": "Resource name.",
- "type": "string"
- },
- "sku": {
- "description": "Describes the cloud service role sku.",
- "oneOf": [
- {
- "$ref": "#/definitions/CloudServiceRoleSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "CloudServiceRoleSku": {
- "description": "Describes the cloud service role sku.",
- "properties": {
- "capacity": {
- "description": "Specifies the number of role instances in the cloud service.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The sku name. NOTE: If the new SKU is not supported on the hardware the cloud service is currently on, you need to delete and recreate the cloud service or move back to the old sku.",
- "type": "string"
- },
- "tier": {
- "description": "Specifies the tier of the cloud service. Possible Values are
**Standard**
**Basic**",
- "type": "string"
- }
- },
- "type": "object"
- },
- "CloudServiceVaultAndSecretReference": {
- "properties": {
- "secretUrl": {
- "type": "string"
- },
- "sourceVault": {
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "CloudServiceVaultCertificate": {
- "description": "Describes a single certificate reference in a Key Vault, and where the certificate should reside on the role instance.",
- "properties": {
- "certificateUrl": {
- "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "CloudServiceVaultSecretGroup": {
- "description": "Describes a set of certificates which are all in the same Key Vault.",
- "properties": {
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing all of the certificates in VaultCertificates.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vaultCertificates": {
- "description": "The list of key vault references in SourceVault which contain certificates.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/CloudServiceVaultCertificate"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Extension": {
- "description": "Describes a cloud service Extension.",
- "properties": {
- "name": {
- "description": "The name of the extension.",
- "type": "string"
- },
- "properties": {
- "description": "Extension Properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/CloudServiceExtensionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "LoadBalancerConfiguration": {
- "description": "Describes the load balancer configuration.",
- "properties": {
- "name": {
- "description": "Resource Name",
- "type": "string"
- },
- "properties": {
- "oneOf": [
- {
- "$ref": "#/definitions/LoadBalancerConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "LoadBalancerConfigurationProperties": {
- "properties": {
- "frontendIPConfigurations": {
- "description": "List of IP",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/LoadBalancerFrontendIPConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "LoadBalancerFrontendIPConfiguration": {
- "properties": {
- "name": {
- "type": "string"
- },
- "properties": {
- "description": "Describes a cloud service IP Configuration",
- "oneOf": [
- {
- "$ref": "#/definitions/LoadBalancerFrontendIPConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "LoadBalancerFrontendIPConfigurationProperties": {
- "description": "Describes a cloud service IP Configuration",
- "properties": {
- "privateIPAddress": {
- "description": "The private IP address referenced by the cloud service.",
- "type": "string"
- },
- "publicIPAddress": {
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "subnet": {
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SubResource": {
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- }
- }
-}
\ No newline at end of file
diff --git a/schemas/2020-12-01/Microsoft.Compute.json b/schemas/2020-12-01/Microsoft.Compute.json
deleted file mode 100644
index b3afe29b4a..0000000000
--- a/schemas/2020-12-01/Microsoft.Compute.json
+++ /dev/null
@@ -1,6789 +0,0 @@
-{
- "id": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.json#",
- "title": "Microsoft.Compute",
- "description": "Microsoft Compute Resource Types",
- "$schema": "http://json-schema.org/draft-04/schema#",
- "resourceDefinitions": {
- "availabilitySets": {
- "description": "Microsoft.Compute/availabilitySets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-12-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the availability set.",
- "type": "string"
- },
- "properties": {
- "description": "The instance view of a resource.",
- "oneOf": [
- {
- "$ref": "#/definitions/AvailabilitySetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "Sku of the availability set, only name is required to be set. See AvailabilitySetSkuTypes for possible set of values. Use 'Aligned' for virtual machines with managed disks and 'Classic' for virtual machines with unmanaged disks. Default value is 'Classic'.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/availabilitySets"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "diskAccesses": {
- "description": "Microsoft.Compute/diskAccesses",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-12-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the disk access resource that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "oneOf": [
- {
- "$ref": "#/definitions/DiskAccessProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/diskAccesses_privateEndpointConnections_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/diskAccesses"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "diskAccesses_privateEndpointConnections": {
- "description": "Microsoft.Compute/diskAccesses/privateEndpointConnections",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-12-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the private endpoint connection",
- "type": "string"
- },
- "properties": {
- "description": "Resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/PrivateEndpointConnectionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/diskAccesses/privateEndpointConnections"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "diskEncryptionSets": {
- "description": "Microsoft.Compute/diskEncryptionSets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-12-01"
- ],
- "type": "string"
- },
- "identity": {
- "description": "The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSetIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the disk encryption set that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/diskEncryptionSets"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "disks": {
- "description": "Microsoft.Compute/disks",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-12-01"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location where the disk will be created. Extended location cannot be changed.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Disk resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, or StandardSSD_ZRS.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/disks"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The Logical zone list for Disk.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "hostGroups": {
- "description": "Microsoft.Compute/hostGroups",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-12-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the dedicated host group.",
- "type": "string"
- },
- "properties": {
- "description": "Dedicated Host Group Properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/DedicatedHostGroupProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/hostGroups_hosts_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/hostGroups"
- ],
- "type": "string"
- },
- "zones": {
- "description": "Availability Zone to use for this host group. Only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "hostGroups_hosts": {
- "description": "Microsoft.Compute/hostGroups/hosts",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-12-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the dedicated host .",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the dedicated host.",
- "oneOf": [
- {
- "$ref": "#/definitions/DedicatedHostProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be set. List Microsoft.Compute SKUs for a list of possible values.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/hostGroups/hosts"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "images": {
- "description": "Microsoft.Compute/images",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-12-01"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location of the Image.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the image.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of an Image.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/images"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "proximityPlacementGroups": {
- "description": "Microsoft.Compute/proximityPlacementGroups",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-12-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the proximity placement group.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Proximity Placement Group.",
- "oneOf": [
- {
- "$ref": "#/definitions/ProximityPlacementGroupProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/proximityPlacementGroups"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "snapshots": {
- "description": "Microsoft.Compute/snapshots",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-12-01"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location where the snapshot will be created. Extended location cannot be changed.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Snapshot resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/SnapshotProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot",
- "oneOf": [
- {
- "$ref": "#/definitions/SnapshotSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/snapshots"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "sshPublicKeys": {
- "description": "Microsoft.Compute/sshPublicKeys",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-12-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the SSH public key.",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the SSH public key.",
- "oneOf": [
- {
- "$ref": "#/definitions/SshPublicKeyResourceProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/sshPublicKeys"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets": {
- "description": "Microsoft.Compute/virtualMachineScaleSets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-12-01"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location of the Virtual Machine Scale Set.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "identity": {
- "description": "The identity of the virtual machine scale set, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the VM scale set to create or update.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Scale Set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachineScaleSets_extensions_childResource"
- },
- {
- "$ref": "#/definitions/virtualMachineScaleSets_virtualmachines_childResource"
- }
- ]
- },
- "type": "array"
- },
- "sku": {
- "description": "The virtual machine scale set sku.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The virtual machine scale set zones. NOTE: Availability zones can only be set when you create the scale set",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_extensions": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-12-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine extension.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Extension.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_runCommands": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/runCommands",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-12-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine run command.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/runCommands"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualmachines": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualmachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-12-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The instance ID of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachineScaleSets_virtualMachines_extensions_childResource"
- },
- {
- "$ref": "#/definitions/virtualMachineScaleSets_virtualMachines_runCommands_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets/virtualmachines"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines": {
- "description": "Microsoft.Compute/virtualMachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-12-01"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location of the Virtual Machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "identity": {
- "description": "The identity of the virtual machine, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachines_extensions_childResource"
- },
- {
- "$ref": "#/definitions/virtualMachines_runCommands_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachines"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The virtual machine zones.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines_runCommands": {
- "description": "Microsoft.Compute/virtualMachines/runCommands",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-12-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine run command.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachines/runCommands"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- },
- "definitions": {
- "AdditionalCapabilities": {
- "description": "Enables or disables a capability on the virtual machine or virtual machine scale set.",
- "properties": {
- "ultraSSDEnabled": {
- "description": "The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "AdditionalUnattendContent": {
- "description": "Specifies additional XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is applied.",
- "properties": {
- "componentName": {
- "description": "The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup.",
- "oneOf": [
- {
- "enum": [
- "Microsoft-Windows-Shell-Setup"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "content": {
- "description": "Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted.",
- "type": "string"
- },
- "passName": {
- "description": "The pass name. Currently, the only allowable value is OobeSystem.",
- "oneOf": [
- {
- "enum": [
- "OobeSystem"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "settingName": {
- "description": "Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon.",
- "oneOf": [
- {
- "enum": [
- "AutoLogon",
- "FirstLogonCommands"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ApiEntityReference": {
- "description": "The API entity reference.",
- "properties": {
- "id": {
- "description": "The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...",
- "type": "string"
- }
- },
- "type": "object"
- },
- "AutomaticOSUpgradePolicy": {
- "description": "The configuration parameters used for performing automatic OS upgrade.",
- "properties": {
- "disableAutomaticRollback": {
- "description": "Whether OS image rollback feature should be disabled. Default value is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticOSUpgrade": {
- "description": "Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. Default value is false.
If this is set to true for Windows based scale sets, [enableAutomaticUpdates](https://docs.microsoft.com/dotnet/api/microsoft.azure.management.compute.models.windowsconfiguration.enableautomaticupdates?view=azure-dotnet) is automatically set to false and cannot be set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "AutomaticRepairsPolicy": {
- "description": "Specifies the configuration parameters for automatic repairs on the virtual machine scale set.",
- "properties": {
- "enabled": {
- "description": "Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "gracePeriod": {
- "description": "The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The minimum allowed grace period is 30 minutes (PT30M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M).",
- "type": "string"
- }
- },
- "type": "object"
- },
- "AvailabilitySetProperties": {
- "description": "The instance view of a resource.",
- "properties": {
- "platformFaultDomainCount": {
- "description": "Fault Domain count.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformUpdateDomainCount": {
- "description": "Update Domain count.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the availability set should be assigned to.
Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "virtualMachines": {
- "description": "A list of references to all virtual machines in the availability set.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "BillingProfile": {
- "description": "Specifies the billing related details of a Azure Spot VM or VMSS.
Minimum api-version: 2019-03-01.",
- "properties": {
- "maxPrice": {
- "description": "Specifies the maximum price you are willing to pay for a Azure Spot VM/VMSS. This price is in US Dollars.
This price will be compared with the current Azure Spot price for the VM size. Also, the prices are compared at the time of create/update of Azure Spot VM/VMSS and the operation will only succeed if the maxPrice is greater than the current Azure Spot price.
The maxPrice will also be used for evicting a Azure Spot VM/VMSS if the current Azure Spot price goes beyond the maxPrice after creation of VM/VMSS.
Possible values are:
- Any decimal value greater than zero. Example: 0.01538
-1 – indicates default price to be up-to on-demand.
You can set the maxPrice to -1 to indicate that the Azure Spot VM/VMSS should not be evicted for price reasons. Also, the default max price is -1 if it is not provided by you.
Minimum api-version: 2019-03-01.",
- "oneOf": [
- {
- "type": "number"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "BootDiagnostics": {
- "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.",
- "properties": {
- "enabled": {
- "description": "Whether boot diagnostics should be enabled on the Virtual Machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageUri": {
- "description": "Uri of the storage account to use for placing the console output and screenshot.
If storageUri is not specified while enabling boot diagnostics, managed storage will be used.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "CreationData": {
- "description": "Data used when creating a disk.",
- "properties": {
- "createOption": {
- "description": "This enumerates the possible sources of a disk's creation.",
- "oneOf": [
- {
- "enum": [
- "Empty",
- "Attach",
- "FromImage",
- "Import",
- "Copy",
- "Restore",
- "Upload"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "galleryImageReference": {
- "description": "Required if creating from a Gallery Image. The id of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageDiskReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Disk source information.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageDiskReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "logicalSectorSize": {
- "description": "Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sourceResourceId": {
- "description": "If createOption is Copy, this is the ARM id of the source snapshot or disk.",
- "type": "string"
- },
- "sourceUri": {
- "description": "If createOption is Import, this is the URI of a blob to be imported into a managed disk.",
- "type": "string"
- },
- "storageAccountId": {
- "description": "Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk.",
- "type": "string"
- },
- "uploadSizeBytes": {
- "description": "If createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer).",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "DataDisk": {
- "description": "Describes a data disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machine should be created.
Possible values are:
**Attach** \\u2013 This value is used when you are using a specialized disk to create the virtual machine.
**FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "detachOption": {
- "description": "Specifies the detach behavior to be used while detaching a disk or which is already in the process of detachment from the virtual machine. Supported values: **ForceDetach**.
detachOption: **ForceDetach** is applicable only for managed data disks. If a previous detachment attempt of the data disk did not complete due to an unexpected failure from the virtual machine and the disk is still not released then use force-detach as a last resort option to detach the disk forcibly from the VM. All writes might not have been flushed when using this detach behavior.
This feature is still in preview mode and is not supported for VirtualMachineScaleSet. To force-detach a data disk update toBeDetached to 'true' along with setting detachOption: 'ForceDetach'.",
- "oneOf": [
- {
- "enum": [
- "ForceDetach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/ManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "toBeDetached": {
- "description": "Specifies whether the data disk is in process of detachment from the VirtualMachine/VirtualMachineScaleset",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhd": {
- "description": "The virtual hard disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun",
- "createOption"
- ],
- "type": "object"
- },
- "DedicatedHostGroupProperties": {
- "description": "Dedicated Host Group Properties.",
- "properties": {
- "platformFaultDomainCount": {
- "description": "Number of fault domains that the host group can span.",
- "oneOf": [
- {
- "minimum": 1,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "supportAutomaticPlacement": {
- "description": "Specifies whether virtual machines or virtual machine scale sets can be placed automatically on the dedicated host group. Automatic placement means resources are allocated on dedicated hosts, that are chosen by Azure, under the dedicated host group. The value is defaulted to 'false' when not provided.
Minimum api-version: 2020-06-01.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "platformFaultDomainCount"
- ],
- "type": "object"
- },
- "DedicatedHostProperties": {
- "description": "Properties of the dedicated host.",
- "properties": {
- "autoReplaceOnFailure": {
- "description": "Specifies whether the dedicated host should be replaced automatically in case of a failure. The value is defaulted to 'true' when not provided.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies the software license type that will be applied to the VMs deployed on the dedicated host.
Possible values are:
**None**
**Windows_Server_Hybrid**
**Windows_Server_Perpetual**
Default: **None**",
- "oneOf": [
- {
- "enum": [
- "None",
- "Windows_Server_Hybrid",
- "Windows_Server_Perpetual"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformFaultDomain": {
- "description": "Fault domain of the dedicated host within a dedicated host group.",
- "oneOf": [
- {
- "minimum": 0,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "properties": {
- "bootDiagnostics": {
- "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.",
- "oneOf": [
- {
- "$ref": "#/definitions/BootDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiffDiskSettings": {
- "description": "Describes the parameters of ephemeral disk settings that can be specified for operating system disk.
NOTE: The ephemeral disk settings can only be specified for managed disk.",
- "properties": {
- "option": {
- "description": "Specifies the ephemeral disk settings for operating system disk.",
- "oneOf": [
- {
- "enum": [
- "Local"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "placement": {
- "description": "Specifies the ephemeral disk placement for operating system disk.
Possible values are:
**CacheDisk**
**ResourceDisk**
Default: **CacheDisk** if one is configured for the VM size otherwise **ResourceDisk** is used.
Refer to VM size documentation for Windows VM at https://docs.microsoft.com/en-us/azure/virtual-machines/windows/sizes and Linux VM at https://docs.microsoft.com/en-us/azure/virtual-machines/linux/sizes to check which VM sizes exposes a cache disk.",
- "oneOf": [
- {
- "enum": [
- "CacheDisk",
- "ResourceDisk"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiskAccessProperties": {
- "properties": {},
- "type": "object"
- },
- "DiskEncryptionSetParameters": {
- "description": "Describes the parameter of customer managed disk encryption set resource id that can be specified for disk.
NOTE: The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "DiskEncryptionSettings": {
- "description": "Describes a Encryption Settings for a Disk",
- "properties": {
- "diskEncryptionKey": {
- "description": "Specifies the location of the disk encryption key, which is a Key Vault Secret.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enabled": {
- "description": "Specifies whether disk encryption should be enabled on the virtual machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "keyEncryptionKey": {
- "description": "Specifies the location of the key encryption key in Key Vault.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultKeyReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiskProperties": {
- "description": "Disk resource properties.",
- "properties": {
- "burstingEnabled": {
- "description": "Set to true to enable bursting beyond the provisioned performance target of the disk. Bursting is disabled by default. Does not apply to Ultra disks.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "creationData": {
- "description": "Disk source information. CreationData information cannot be changed after the disk has been created.",
- "oneOf": [
- {
- "$ref": "#/definitions/CreationData"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskAccessId": {
- "description": "ARM id of the DiskAccess resource for using private endpoints on disks.",
- "type": "string"
- },
- "diskIOPSReadOnly": {
- "description": "The total number of IOPS that will be allowed across all VMs mounting the shared disk as ReadOnly. One operation can transfer between 4k and 256k bytes.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskIOPSReadWrite": {
- "description": "The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskMBpsReadOnly": {
- "description": "The total throughput (MBps) that will be allowed across all VMs mounting the shared disk as ReadOnly. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskMBpsReadWrite": {
- "description": "The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryption": {
- "description": "Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.",
- "oneOf": [
- {
- "$ref": "#/definitions/Encryption"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettingsCollection": {
- "description": "Encryption settings collection used for Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSettingsCollection"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hyperVGeneration": {
- "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxShares": {
- "description": "The maximum number of VMs that can attach to the disk at the same time. Value greater than one indicates a disk that can be mounted on multiple VMs at the same time.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkAccessPolicy": {
- "description": "Policy for accessing the disk via network.",
- "oneOf": [
- {
- "enum": [
- "AllowAll",
- "AllowPrivate",
- "DenyAll"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "The Operating System type.",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "purchasePlan": {
- "description": "Purchase plan information for the the image from which the OS disk was created. E.g. - {name: 2019-Datacenter, publisher: MicrosoftWindowsServer, product: WindowsServer}",
- "oneOf": [
- {
- "$ref": "#/definitions/PurchasePlan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Contains the security related information for the resource.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskSecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "supportsHibernation": {
- "description": "Indicates the OS on a disk supports hibernation.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tier": {
- "description": "Performance tier of the disk (e.g, P4, S10) as described here: https://azure.microsoft.com/en-us/pricing/details/managed-disks/. Does not apply to Ultra disks.",
- "type": "string"
- }
- },
- "required": [
- "creationData"
- ],
- "type": "object"
- },
- "DiskSecurityProfile": {
- "description": "Contains the security related information for the resource.",
- "properties": {
- "securityType": {
- "description": "Specifies the SecurityType of the VM. Applicable for OS disks only.",
- "oneOf": [
- {
- "enum": [
- "TrustedLaunch"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiskSku": {
- "description": "The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, or StandardSSD_ZRS.",
- "properties": {
- "name": {
- "description": "The sku name.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS",
- "Premium_ZRS",
- "StandardSSD_ZRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Encryption": {
- "description": "Encryption at rest settings for disk or snapshot",
- "properties": {
- "diskEncryptionSetId": {
- "description": "ResourceId of the disk encryption set to use for enabling encryption at rest.",
- "type": "string"
- },
- "type": {
- "description": "The type of key used to encrypt the data of the disk.",
- "oneOf": [
- {
- "enum": [
- "EncryptionAtRestWithPlatformKey",
- "EncryptionAtRestWithCustomerKey",
- "EncryptionAtRestWithPlatformAndCustomerKeys"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "EncryptionSetIdentity": {
- "description": "The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks.",
- "properties": {
- "type": {
- "description": "The type of Managed Identity used by the DiskEncryptionSet. Only SystemAssigned is supported for new creations. Disk Encryption Sets can be updated with Identity type None during migration of subscription to a new Azure Active Directory tenant; it will cause the encrypted resources to lose access to the keys.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "EncryptionSetProperties": {
- "properties": {
- "activeKey": {
- "description": "The key vault key which is currently used by this disk encryption set.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyForDiskEncryptionSet"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionType": {
- "description": "The type of key used to encrypt the data of the disk.",
- "oneOf": [
- {
- "enum": [
- "EncryptionAtRestWithCustomerKey",
- "EncryptionAtRestWithPlatformAndCustomerKeys"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "rotationToLatestKeyVersionEnabled": {
- "description": "Set this flag to true to enable auto-updating of this disk encryption set to the latest key version.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "EncryptionSettingsCollection": {
- "description": "Encryption settings for disk or snapshot",
- "properties": {
- "enabled": {
- "description": "Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettings": {
- "description": "A collection of encryption settings, one for each disk volume.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/EncryptionSettingsElement"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettingsVersion": {
- "description": "Describes what type of encryption is used for the disks. Once this field is set, it cannot be overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption.",
- "type": "string"
- }
- },
- "required": [
- "enabled"
- ],
- "type": "object"
- },
- "EncryptionSettingsElement": {
- "description": "Encryption settings for one disk volume.",
- "properties": {
- "diskEncryptionKey": {
- "description": "Key Vault Secret Url and vault id of the disk encryption key",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultAndSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "keyEncryptionKey": {
- "description": "Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultAndKeyReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ExtendedLocation": {
- "description": "The complex type of the extended location.",
- "properties": {
- "name": {
- "description": "The name of the extended location.",
- "type": "string"
- },
- "type": {
- "description": "The type of the extended location.",
- "oneOf": [
- {
- "enum": [
- "EdgeZone"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "HardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "properties": {
- "vmSize": {
- "description": "Specifies the size of the virtual machine.
The enum data type is currently deprecated and will be removed by December 23rd 2023.
Recommended way to get the list of available sizes is using these APIs:
[List all available virtual machine sizes in an availability set](https://docs.microsoft.com/rest/api/compute/availabilitysets/listavailablesizes)
[List all available virtual machine sizes in a region]( https://docs.microsoft.com/en-us/rest/api/compute/resourceskus/list)
[List all available virtual machine sizes for resizing](https://docs.microsoft.com/rest/api/compute/virtualmachines/listavailablesizes). For more information about virtual machine sizes, see [Sizes for virtual machines](https://docs.microsoft.com/en-us/azure/virtual-machines/sizes).
The available VM sizes depend on region and availability set.",
- "oneOf": [
- {
- "enum": [
- "Basic_A0",
- "Basic_A1",
- "Basic_A2",
- "Basic_A3",
- "Basic_A4",
- "Standard_A0",
- "Standard_A1",
- "Standard_A2",
- "Standard_A3",
- "Standard_A4",
- "Standard_A5",
- "Standard_A6",
- "Standard_A7",
- "Standard_A8",
- "Standard_A9",
- "Standard_A10",
- "Standard_A11",
- "Standard_A1_v2",
- "Standard_A2_v2",
- "Standard_A4_v2",
- "Standard_A8_v2",
- "Standard_A2m_v2",
- "Standard_A4m_v2",
- "Standard_A8m_v2",
- "Standard_B1s",
- "Standard_B1ms",
- "Standard_B2s",
- "Standard_B2ms",
- "Standard_B4ms",
- "Standard_B8ms",
- "Standard_D1",
- "Standard_D2",
- "Standard_D3",
- "Standard_D4",
- "Standard_D11",
- "Standard_D12",
- "Standard_D13",
- "Standard_D14",
- "Standard_D1_v2",
- "Standard_D2_v2",
- "Standard_D3_v2",
- "Standard_D4_v2",
- "Standard_D5_v2",
- "Standard_D2_v3",
- "Standard_D4_v3",
- "Standard_D8_v3",
- "Standard_D16_v3",
- "Standard_D32_v3",
- "Standard_D64_v3",
- "Standard_D2s_v3",
- "Standard_D4s_v3",
- "Standard_D8s_v3",
- "Standard_D16s_v3",
- "Standard_D32s_v3",
- "Standard_D64s_v3",
- "Standard_D11_v2",
- "Standard_D12_v2",
- "Standard_D13_v2",
- "Standard_D14_v2",
- "Standard_D15_v2",
- "Standard_DS1",
- "Standard_DS2",
- "Standard_DS3",
- "Standard_DS4",
- "Standard_DS11",
- "Standard_DS12",
- "Standard_DS13",
- "Standard_DS14",
- "Standard_DS1_v2",
- "Standard_DS2_v2",
- "Standard_DS3_v2",
- "Standard_DS4_v2",
- "Standard_DS5_v2",
- "Standard_DS11_v2",
- "Standard_DS12_v2",
- "Standard_DS13_v2",
- "Standard_DS14_v2",
- "Standard_DS15_v2",
- "Standard_DS13-4_v2",
- "Standard_DS13-2_v2",
- "Standard_DS14-8_v2",
- "Standard_DS14-4_v2",
- "Standard_E2_v3",
- "Standard_E4_v3",
- "Standard_E8_v3",
- "Standard_E16_v3",
- "Standard_E32_v3",
- "Standard_E64_v3",
- "Standard_E2s_v3",
- "Standard_E4s_v3",
- "Standard_E8s_v3",
- "Standard_E16s_v3",
- "Standard_E32s_v3",
- "Standard_E64s_v3",
- "Standard_E32-16_v3",
- "Standard_E32-8s_v3",
- "Standard_E64-32s_v3",
- "Standard_E64-16s_v3",
- "Standard_F1",
- "Standard_F2",
- "Standard_F4",
- "Standard_F8",
- "Standard_F16",
- "Standard_F1s",
- "Standard_F2s",
- "Standard_F4s",
- "Standard_F8s",
- "Standard_F16s",
- "Standard_F2s_v2",
- "Standard_F4s_v2",
- "Standard_F8s_v2",
- "Standard_F16s_v2",
- "Standard_F32s_v2",
- "Standard_F64s_v2",
- "Standard_F72s_v2",
- "Standard_G1",
- "Standard_G2",
- "Standard_G3",
- "Standard_G4",
- "Standard_G5",
- "Standard_GS1",
- "Standard_GS2",
- "Standard_GS3",
- "Standard_GS4",
- "Standard_GS5",
- "Standard_GS4-8",
- "Standard_GS4-4",
- "Standard_GS5-16",
- "Standard_GS5-8",
- "Standard_H8",
- "Standard_H16",
- "Standard_H8m",
- "Standard_H16m",
- "Standard_H16r",
- "Standard_H16mr",
- "Standard_L4s",
- "Standard_L8s",
- "Standard_L16s",
- "Standard_L32s",
- "Standard_M64s",
- "Standard_M64ms",
- "Standard_M128s",
- "Standard_M128ms",
- "Standard_M64-32ms",
- "Standard_M64-16ms",
- "Standard_M128-64ms",
- "Standard_M128-32ms",
- "Standard_NC6",
- "Standard_NC12",
- "Standard_NC24",
- "Standard_NC24r",
- "Standard_NC6s_v2",
- "Standard_NC12s_v2",
- "Standard_NC24s_v2",
- "Standard_NC24rs_v2",
- "Standard_NC6s_v3",
- "Standard_NC12s_v3",
- "Standard_NC24s_v3",
- "Standard_NC24rs_v3",
- "Standard_ND6s",
- "Standard_ND12s",
- "Standard_ND24s",
- "Standard_ND24rs",
- "Standard_NV6",
- "Standard_NV12",
- "Standard_NV24"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImageDataDisk": {
- "description": "Describes a data disk.",
- "properties": {
- "blobUri": {
- "description": "The Virtual Hard Disk.",
- "type": "string"
- },
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed image disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managedDisk.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "snapshot": {
- "description": "The snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS",
- "Premium_ZRS",
- "StandardSSD_ZRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun"
- ],
- "type": "object"
- },
- "ImageDiskReference": {
- "description": "The source image used for creating the disk.",
- "properties": {
- "id": {
- "description": "A relative uri containing either a Platform Image Repository or user image reference.",
- "type": "string"
- },
- "lun": {
- "description": "If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "id"
- ],
- "type": "object"
- },
- "ImageOSDisk": {
- "description": "Describes an Operating System disk.",
- "properties": {
- "blobUri": {
- "description": "The Virtual Hard Disk.",
- "type": "string"
- },
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed image disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managedDisk.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osState": {
- "description": "The OS State.",
- "oneOf": [
- {
- "enum": [
- "Generalized",
- "Specialized"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from a custom image.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "snapshot": {
- "description": "The snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS",
- "Premium_ZRS",
- "StandardSSD_ZRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "osType",
- "osState"
- ],
- "type": "object"
- },
- "ImageProperties": {
- "description": "Describes the properties of an Image.",
- "properties": {
- "hyperVGeneration": {
- "description": "Specifies the HyperVGenerationType of the VirtualMachine created from the image. From API Version 2019-03-01 if the image source is a blob, then we need the user to specify the value, if the source is managed resource like disk or snapshot, we may require the user to specify the property if we cannot deduce it from the source managed resource.",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sourceVirtualMachine": {
- "description": "The source virtual machine from which Image is created.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. NOTE: Image reference publisher and offer can only be set when you create the scale set.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "offer": {
- "description": "Specifies the offer of the platform image or marketplace image used to create the virtual machine.",
- "type": "string"
- },
- "publisher": {
- "description": "The image publisher.",
- "type": "string"
- },
- "sku": {
- "description": "The image SKU.",
- "type": "string"
- },
- "version": {
- "description": "Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ImageStorageProfile": {
- "description": "Describes a storage profile.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add a data disk to a virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/ImageDataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageOSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "zoneResilient": {
- "description": "Specifies whether an image is zone resilient or not. Default is false. Zone resilient images can be created only in regions that provide Zone Redundant Storage (ZRS).",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "InstanceViewStatus": {
- "description": "Instance view status.",
- "properties": {
- "code": {
- "description": "The status code.",
- "type": "string"
- },
- "displayStatus": {
- "description": "The short localizable label for the status.",
- "type": "string"
- },
- "level": {
- "description": "The level code.",
- "oneOf": [
- {
- "enum": [
- "Info",
- "Warning",
- "Error"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "message": {
- "description": "The detailed status message, including for alerts and error messages.",
- "type": "string"
- },
- "time": {
- "description": "The time of the status.",
- "format": "date-time",
- "type": "string"
- }
- },
- "type": "object"
- },
- "KeyForDiskEncryptionSet": {
- "description": "Key Vault Key Url to be used for server side encryption of Managed Disks and Snapshots",
- "properties": {
- "keyUrl": {
- "description": "Fully versioned Key Url pointing to a key in KeyVault. Version segment of the Url is required regardless of rotationToLatestKeyVersionEnabled value.",
- "type": "string"
- },
- "sourceVault": {
- "description": "Resource id of the KeyVault containing the key or secret. This property is optional and cannot be used if the KeyVault subscription is not the same as the Disk Encryption Set subscription.",
- "oneOf": [
- {
- "$ref": "#/definitions/SourceVault"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "keyUrl"
- ],
- "type": "object"
- },
- "KeyVaultAndKeyReference": {
- "description": "Key Vault Key Url and vault id of KeK, KeK is optional and when provided is used to unwrap the encryptionKey",
- "properties": {
- "keyUrl": {
- "description": "Url pointing to a key or secret in KeyVault",
- "type": "string"
- },
- "sourceVault": {
- "description": "Resource id of the KeyVault containing the key or secret",
- "oneOf": [
- {
- "$ref": "#/definitions/SourceVault"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "sourceVault",
- "keyUrl"
- ],
- "type": "object"
- },
- "KeyVaultAndSecretReference": {
- "description": "Key Vault Secret Url and vault id of the encryption key ",
- "properties": {
- "secretUrl": {
- "description": "Url pointing to a key or secret in KeyVault",
- "type": "string"
- },
- "sourceVault": {
- "description": "Resource id of the KeyVault containing the key or secret",
- "oneOf": [
- {
- "$ref": "#/definitions/SourceVault"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "sourceVault",
- "secretUrl"
- ],
- "type": "object"
- },
- "KeyVaultKeyReference": {
- "description": "Describes a reference to Key Vault Key",
- "properties": {
- "keyUrl": {
- "description": "The URL referencing a key encryption key in Key Vault.",
- "type": "string"
- },
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing the key.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "keyUrl",
- "sourceVault"
- ],
- "type": "object"
- },
- "KeyVaultSecretReference": {
- "description": "Describes a reference to Key Vault Secret",
- "properties": {
- "secretUrl": {
- "description": "The URL referencing a secret in a Key Vault.",
- "type": "string"
- },
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing the secret.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "secretUrl",
- "sourceVault"
- ],
- "type": "object"
- },
- "LinuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).",
- "properties": {
- "disablePasswordAuthentication": {
- "description": "Specifies whether password authentication should be disabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "patchSettings": {
- "description": "[Preview Feature] Specifies settings related to VM Guest Patching on Linux.",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxPatchSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionVMAgent": {
- "description": "Indicates whether virtual machine agent should be provisioned on the virtual machine.
When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ssh": {
- "description": "Specifies the ssh key configuration for a Linux OS.",
- "oneOf": [
- {
- "$ref": "#/definitions/SshConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "LinuxPatchSettings": {
- "description": "Specifies settings related to VM Guest Patching on Linux.",
- "properties": {
- "patchMode": {
- "description": "Specifies the mode of VM Guest Patching to IaaS virtual machine.
Possible values are:
**ImageDefault** - The virtual machine's default patching configuration is used.
**AutomaticByPlatform** - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true",
- "oneOf": [
- {
- "enum": [
- "ImageDefault",
- "AutomaticByPlatform"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ManagedDiskParameters": {
- "description": "The parameters of a managed disk.",
- "properties": {
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. Managed OS disk storage account type can only be set when you create the scale set. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS",
- "Premium_ZRS",
- "StandardSSD_ZRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkInterfaceReference": {
- "description": "Describes a network interface reference.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "properties": {
- "description": "Describes a network interface reference properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkInterfaceReferenceProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkInterfaceReferenceProperties": {
- "description": "Describes a network interface reference properties.",
- "properties": {
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "properties": {
- "networkInterfaces": {
- "description": "Specifies the list of resource Ids for the network interfaces associated with the virtual machine.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/NetworkInterfaceReference"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "OSDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None** for Standard storage. **ReadOnly** for Premium storage.",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machine should be created.
Possible values are:
**Attach** \\u2013 This value is used when you are using a specialized disk to create the virtual machine.
**FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diffDiskSettings": {
- "description": "Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiffDiskSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettings": {
- "description": "Specifies the encryption settings for the OS Disk.
Minimum api-version: 2015-06-15",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/ManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhd": {
- "description": "The virtual hard disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "OSProfile": {
- "description": "Specifies the operating system settings for the virtual machine. Some of the settings cannot be changed once VM is provisioned.",
- "properties": {
- "adminPassword": {
- "description": "Specifies the password of the administrator account.
**Minimum-length (Windows):** 8 characters
**Minimum-length (Linux):** 6 characters
**Max-length (Windows):** 123 characters
**Max-length (Linux):** 72 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])
**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"
For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-reset-rdp?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-vmaccess-extension?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#reset-root-password)",
- "type": "string"
- },
- "adminUsername": {
- "description": "Specifies the name of the administrator account.
This property cannot be updated after the VM is created.
**Windows-only restriction:** Cannot end in \".\"
**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters
For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)",
- "type": "string"
- },
- "allowExtensionOperations": {
- "description": "Specifies whether extension operations should be allowed on the virtual machine.
This may only be set to False when no extensions are present on the virtual machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "computerName": {
- "description": "Specifies the host OS name of the virtual machine.
This name cannot be updated after the VM is created.
**Max-length (Windows):** 15 characters
**Max-length (Linux):** 64 characters.
For naming conventions and restrictions see [Azure infrastructure services implementation guidelines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-infrastructure-subscription-accounts-guidelines?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#1-naming-conventions).",
- "type": "string"
- },
- "customData": {
- "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes.
**Note: Do not pass any secrets or passwords in customData property**
This property cannot be updated after the VM is created.
customData is passed to the VM to be saved as a file, for more information see [Custom Data on Azure VMs](https://azure.microsoft.com/en-us/blog/custom-data-and-cloud-init-on-windows-azure/)
For using cloud-init for your Linux VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)",
- "type": "string"
- },
- "linuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "requireGuestProvisionSignal": {
- "description": "Specifies whether the guest provision signal is required to infer provision success of the virtual machine. **Note: This property is for private testing only, and all customers must not set the property to false.**",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "secrets": {
- "description": "Specifies set of certificates that should be installed onto the virtual machine.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultSecretGroup"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "windowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/WindowsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "PatchSettings": {
- "description": "Specifies settings related to VM Guest Patching on Windows.",
- "properties": {
- "enableHotpatching": {
- "description": "Enables customers to patch their Azure VMs without requiring a reboot. For enableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode' must be set to 'AutomaticByPlatform'.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "patchMode": {
- "description": "Specifies the mode of VM Guest Patching to IaaS virtual machine.
Possible values are:
**Manual** - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false
**AutomaticByOS** - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true.
**AutomaticByPlatform** - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true ",
- "oneOf": [
- {
- "enum": [
- "Manual",
- "AutomaticByOS",
- "AutomaticByPlatform"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "properties": {
- "name": {
- "description": "The plan ID.",
- "type": "string"
- },
- "product": {
- "description": "Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.",
- "type": "string"
- },
- "promotionCode": {
- "description": "The promotion code.",
- "type": "string"
- },
- "publisher": {
- "description": "The publisher ID.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "PrivateEndpointConnectionProperties": {
- "description": "Properties of the PrivateEndpointConnectProperties.",
- "properties": {
- "privateLinkServiceConnectionState": {
- "description": "A collection of information about the state of the connection between DiskAccess and Virtual Network.",
- "oneOf": [
- {
- "$ref": "#/definitions/PrivateLinkServiceConnectionState"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "privateLinkServiceConnectionState"
- ],
- "type": "object"
- },
- "PrivateLinkServiceConnectionState": {
- "description": "A collection of information about the state of the connection between service consumer and provider.",
- "properties": {
- "actionsRequired": {
- "description": "A message indicating if changes on the service provider require any updates on the consumer.",
- "type": "string"
- },
- "description": {
- "description": "The reason for approval/rejection of the connection.",
- "type": "string"
- },
- "status": {
- "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.",
- "oneOf": [
- {
- "enum": [
- "Pending",
- "Approved",
- "Rejected"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ProximityPlacementGroupProperties": {
- "description": "Describes the properties of a Proximity Placement Group.",
- "properties": {
- "colocationStatus": {
- "description": "Describes colocation status of the Proximity Placement Group.",
- "oneOf": [
- {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroupType": {
- "description": "Specifies the type of the proximity placement group.
Possible values are:
**Standard** : Co-locate resources within an Azure region or Availability Zone.
**Ultra** : For future use.",
- "oneOf": [
- {
- "enum": [
- "Standard",
- "Ultra"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "PurchasePlan": {
- "description": "Used for establishing the purchase context of any 3rd Party artifact through MarketPlace.",
- "properties": {
- "name": {
- "description": "The plan ID.",
- "type": "string"
- },
- "product": {
- "description": "Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.",
- "type": "string"
- },
- "promotionCode": {
- "description": "The Offer Promotion Code.",
- "type": "string"
- },
- "publisher": {
- "description": "The publisher ID.",
- "type": "string"
- }
- },
- "required": [
- "name",
- "publisher",
- "product"
- ],
- "type": "object"
- },
- "RollingUpgradePolicy": {
- "description": "The configuration parameters used while performing a rolling upgrade.",
- "properties": {
- "enableCrossZoneUpgrade": {
- "description": "Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxBatchInstancePercent": {
- "description": "The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 5,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxUnhealthyInstancePercent": {
- "description": "The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 5,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxUnhealthyUpgradedInstancePercent": {
- "description": "The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "pauseTimeBetweenBatches": {
- "description": "The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format. The default value is 0 seconds (PT0S).",
- "type": "string"
- },
- "prioritizeUnhealthyInstances": {
- "description": "Upgrade all unhealthy instances in a scale set before any healthy instances.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RunCommandInputParameter": {
- "description": "Describes the properties of a run command parameter.",
- "properties": {
- "name": {
- "description": "The run command parameter name.",
- "type": "string"
- },
- "value": {
- "description": "The run command parameter value.",
- "type": "string"
- }
- },
- "required": [
- "name",
- "value"
- ],
- "type": "object"
- },
- "ScaleInPolicy": {
- "description": "Describes a scale-in policy for a virtual machine scale set.",
- "properties": {
- "rules": {
- "description": "The rules to be followed when scaling-in a virtual machine scale set.
Possible values are:
**Default** When a virtual machine scale set is scaled in, the scale set will first be balanced across zones if it is a zonal scale set. Then, it will be balanced across Fault Domains as far as possible. Within each Fault Domain, the virtual machines chosen for removal will be the newest ones that are not protected from scale-in.
**OldestVM** When a virtual machine scale set is being scaled-in, the oldest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the oldest virtual machines that are not protected will be chosen for removal.
**NewestVM** When a virtual machine scale set is being scaled-in, the newest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the newest virtual machines that are not protected will be chosen for removal.
",
- "oneOf": [
- {
- "items": {
- "enum": [
- "Default",
- "OldestVM",
- "NewestVM"
- ],
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ScheduledEventsProfile": {
- "properties": {
- "terminateNotificationProfile": {
- "description": "Specifies Terminate Scheduled Event related configurations.",
- "oneOf": [
- {
- "$ref": "#/definitions/TerminateNotificationProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SecurityProfile": {
- "description": "Specifies the Security profile settings for the virtual machine or virtual machine scale set.",
- "properties": {
- "encryptionAtHost": {
- "description": "This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself.
Default: The Encryption at host will be disabled unless this property is set to true for the resource.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityType": {
- "description": "Specifies the SecurityType of the virtual machine. It is set as TrustedLaunch to enable UefiSettings.
Default: UefiSettings will not be enabled unless this property is set as TrustedLaunch.",
- "oneOf": [
- {
- "enum": [
- "TrustedLaunch"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "uefiSettings": {
- "description": "Specifies the security settings like secure boot and vTPM used while creating the virtual machine.
Minimum api-version: 2020-12-01",
- "oneOf": [
- {
- "$ref": "#/definitions/UefiSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Sku": {
- "description": "Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name.",
- "properties": {
- "capacity": {
- "description": "Specifies the number of virtual machines in the scale set.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The sku name.",
- "type": "string"
- },
- "tier": {
- "description": "Specifies the tier of virtual machines in a scale set.
Possible Values:
**Standard**
**Basic**",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SnapshotProperties": {
- "description": "Snapshot resource properties.",
- "properties": {
- "creationData": {
- "description": "Disk source information. CreationData information cannot be changed after the disk has been created.",
- "oneOf": [
- {
- "$ref": "#/definitions/CreationData"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskAccessId": {
- "description": "ARM id of the DiskAccess resource for using private endpoints on disks.",
- "type": "string"
- },
- "diskSizeGB": {
- "description": "If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryption": {
- "description": "Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.",
- "oneOf": [
- {
- "$ref": "#/definitions/Encryption"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettingsCollection": {
- "description": "Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSettingsCollection"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hyperVGeneration": {
- "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "incremental": {
- "description": "Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full snapshots and can be diffed.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkAccessPolicy": {
- "description": "Policy for accessing the disk via network.",
- "oneOf": [
- {
- "enum": [
- "AllowAll",
- "AllowPrivate",
- "DenyAll"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "The Operating System type.",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "purchasePlan": {
- "description": "Purchase plan information for the image from which the source disk for the snapshot was originally created.",
- "oneOf": [
- {
- "$ref": "#/definitions/PurchasePlan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "supportsHibernation": {
- "description": "Indicates the OS on a snapshot supports hibernation.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "creationData"
- ],
- "type": "object"
- },
- "SnapshotSku": {
- "description": "The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot",
- "properties": {
- "name": {
- "description": "The sku name.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "Standard_ZRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SourceVault": {
- "description": "The vault id is an Azure Resource Manager Resource id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SshConfiguration": {
- "description": "SSH configuration for Linux based VMs running on Azure",
- "properties": {
- "publicKeys": {
- "description": "The list of SSH public keys used to authenticate with linux based VMs.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SshPublicKey"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SshPublicKey": {
- "description": "Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed.",
- "properties": {
- "keyData": {
- "description": "SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format.
For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure](https://docs.microsoft.com/en-us/azure/virtual-machines/linux/mac-create-ssh-keys?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).",
- "type": "string"
- },
- "path": {
- "description": "Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SshPublicKeyResourceProperties": {
- "description": "Properties of the SSH public key.",
- "properties": {
- "publicKey": {
- "description": "SSH public key used to authenticate to a virtual machine through ssh. If this property is not initially provided when the resource is created, the publicKey property will be populated when generateKeyPair is called. If the public key is provided upon resource creation, the provided public key needs to be at least 2048-bit and in ssh-rsa format.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "StorageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add a data disk to a virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/DataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/OSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SubResource": {
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "TerminateNotificationProfile": {
- "properties": {
- "enable": {
- "description": "Specifies whether the Terminate Scheduled event is enabled or disabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "notBeforeTimeout": {
- "description": "Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M)",
- "type": "string"
- }
- },
- "type": "object"
- },
- "UefiSettings": {
- "description": "Specifies the security settings like secure boot and vTPM used while creating the virtual machine.
Minimum api-version: 2020-12-01",
- "properties": {
- "secureBootEnabled": {
- "description": "Specifies whether secure boot should be enabled on the virtual machine.
Minimum api-version: 2020-12-01",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vTpmEnabled": {
- "description": "Specifies whether vTPM should be enabled on the virtual machine.
Minimum api-version: 2020-12-01",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "UpgradePolicy": {
- "description": "Describes an upgrade policy - automatic, manual, or rolling.",
- "properties": {
- "automaticOSUpgradePolicy": {
- "description": "Configuration parameters used for performing automatic OS Upgrade.",
- "oneOf": [
- {
- "$ref": "#/definitions/AutomaticOSUpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "mode": {
- "description": "Specifies the mode of an upgrade to virtual machines in the scale set.
Possible values are:
**Manual** - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.
**Automatic** - All virtual machines in the scale set are automatically updated at the same time.",
- "oneOf": [
- {
- "enum": [
- "Automatic",
- "Manual",
- "Rolling"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "rollingUpgradePolicy": {
- "description": "The configuration parameters used while performing a rolling upgrade.",
- "oneOf": [
- {
- "$ref": "#/definitions/RollingUpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "UserAssignedIdentitiesValue": {
- "properties": {},
- "type": "object"
- },
- "VaultCertificate": {
- "description": "Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM.",
- "properties": {
- "certificateStore": {
- "description": "For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account.
For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of these files are .pem formatted.",
- "type": "string"
- },
- "certificateUrl": {
- "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:
{
\"data\":\"\",
\"dataType\":\"pfx\",
\"password\":\"\"
}",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VaultSecretGroup": {
- "description": "Describes a set of certificates which are all in the same Key Vault.",
- "properties": {
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing all of the certificates in VaultCertificates.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vaultCertificates": {
- "description": "The list of key vault references in SourceVault which contain certificates.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultCertificate"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualHardDisk": {
- "description": "Describes the uri of a disk.",
- "properties": {
- "uri": {
- "description": "Specifies the virtual hard disk's uri.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineExtensionInstanceView": {
- "description": "The instance view of a virtual machine extension.",
- "properties": {
- "name": {
- "description": "The virtual machine extension name.",
- "type": "string"
- },
- "statuses": {
- "description": "The resource status information.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "substatuses": {
- "description": "The resource status information.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineExtensionProperties": {
- "description": "Describes the properties of a Virtual Machine Extension.",
- "properties": {
- "autoUpgradeMinorVersion": {
- "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticUpgrade": {
- "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "forceUpdateTag": {
- "description": "How the extension handler should be forced to update even if the extension configuration has not changed.",
- "type": "string"
- },
- "instanceView": {
- "description": "The virtual machine extension instance view.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionInstanceView"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedSettings": {
- "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publisher": {
- "description": "The name of the extension handler publisher.",
- "type": "string"
- },
- "settings": {
- "description": "Json formatted public settings for the extension.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineIdentity": {
- "description": "Identity for the virtual machine.",
- "properties": {
- "type": {
- "description": "The type of identity used for the virtual machine. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned",
- "UserAssigned",
- "SystemAssigned, UserAssigned",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userAssignedIdentities": {
- "description": "The list of user identities associated with the Virtual Machine. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
- "oneOf": [
- {
- "additionalProperties": {
- "$ref": "#/definitions/UserAssignedIdentitiesValue"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineProperties": {
- "description": "Describes the properties of a Virtual Machine.",
- "properties": {
- "additionalCapabilities": {
- "description": "Specifies additional capabilities enabled or disabled on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/AdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "availabilitySet": {
- "description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Currently, a VM can only be added to availability set at creation time. The availability set to which the VM is being added should be under the same resource group as the availability set resource. An existing VM cannot be added to an availability set.
This property cannot exist along with a non-null properties.virtualMachineScaleSet reference.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "billingProfile": {
- "description": "Specifies the billing related details of a Azure Spot virtual machine.
Minimum api-version: 2019-03-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/BillingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "evictionPolicy": {
- "description": "Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set.
For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01.
For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview.",
- "oneOf": [
- {
- "enum": [
- "Deallocate",
- "Delete"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extensionsTimeBudget": {
- "description": "Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M).
Minimum api-version: 2020-06-01",
- "type": "string"
- },
- "hardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/HardwareProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "host": {
- "description": "Specifies information about the dedicated host that the virtual machine resides in.
Minimum api-version: 2018-10-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hostGroup": {
- "description": "Specifies information about the dedicated host group that the virtual machine resides in.
Minimum api-version: 2020-06-01.
NOTE: User cannot specify both host and hostGroup properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises.
Possible values for Windows Server operating system are:
Windows_Client
Windows_Server
Possible values for Linux Server operating system are:
RHEL_BYOS (for RHEL)
SLES_BYOS (for SUSE)
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)
[Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings used while creating the virtual machine. Some of the settings cannot be changed once VM is provisioned.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformFaultDomain": {
- "description": "Specifies the scale set logical fault domain into which the Virtual Machine will be created. By default, the Virtual Machine will by automatically assigned to a fault domain that best maintains balance across available fault domains.
This is applicable only if the 'virtualMachineScaleSet' property of this Virtual Machine is set.The Virtual Machine Scale Set that is referenced, must have 'platformFaultDomainCount' > 1.This property cannot be updated once the Virtual Machine is created.Fault domain assignment can be viewed in the Virtual Machine Instance View.
Minimum api‐version: 2020‐12‐01",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "priority": {
- "description": "Specifies the priority for the virtual machine.
Minimum api-version: 2019-03-01",
- "oneOf": [
- {
- "enum": [
- "Regular",
- "Low",
- "Spot"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the virtual machine should be assigned to.
Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Specifies the Security related profile settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/SecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/StorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "virtualMachineScaleSet": {
- "description": "Specifies information about the virtual machine scale set that the virtual machine should be assigned to. Virtual machines specified in the same virtual machine scale set are allocated to different nodes to maximize availability. Currently, a VM can only be added to virtual machine scale set at creation time. An existing VM cannot be added to a virtual machine scale set.
This property cannot exist along with a non-null properties.availabilitySet reference.
Minimum api‐version: 2019‐03‐01",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineRunCommandProperties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "properties": {
- "asyncExecution": {
- "description": "Optional. If set to true, provisioning will complete as soon as the script starts and will not wait for script to complete.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "errorBlobUri": {
- "description": "Specifies the Azure storage blob where script error stream will be uploaded.",
- "type": "string"
- },
- "outputBlobUri": {
- "description": "Specifies the Azure storage blob where script output stream will be uploaded.",
- "type": "string"
- },
- "parameters": {
- "description": "The parameters used by the script.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/RunCommandInputParameter"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedParameters": {
- "description": "The parameters used by the script.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/RunCommandInputParameter"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "runAsPassword": {
- "description": "Specifies the user account password on the VM when executing the run command.",
- "type": "string"
- },
- "runAsUser": {
- "description": "Specifies the user account on the VM when executing the run command.",
- "type": "string"
- },
- "source": {
- "description": "The source of the run command script.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandScriptSource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "timeoutInSeconds": {
- "description": "The timeout in seconds to execute the run command.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineRunCommandScriptSource": {
- "description": "Describes the script sources for run command.",
- "properties": {
- "commandId": {
- "description": "Specifies a commandId of predefined built-in script.",
- "type": "string"
- },
- "script": {
- "description": "Specifies the script content to be executed on the VM.",
- "type": "string"
- },
- "scriptUri": {
- "description": "Specifies the script download location.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetDataDisk": {
- "description": "Describes a virtual machine scale set data disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "The create option.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskIOPSReadWrite": {
- "description": "Specifies the Read-Write IOPS for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskMBpsReadWrite": {
- "description": "Specifies the bandwidth in MB per second for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun",
- "createOption"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetExtension": {
- "description": "Describes a Virtual Machine Scale Set Extension.",
- "properties": {
- "name": {
- "description": "The name of the extension.",
- "type": "string"
- },
- "properties": {
- "anyOf": [
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/genericExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/bgInfo"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/dscExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackup"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/chefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/dockerExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/eset"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/puppetAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/customScript"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetExtensionProfile": {
- "description": "Describes a virtual machine scale set extension profile.",
- "properties": {
- "extensions": {
- "description": "The virtual machine scale set child extension resources.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetExtension"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extensionsTimeBudget": {
- "description": "Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M).
Minimum api-version: 2020-06-01",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetExtensionProperties": {
- "description": "Describes the properties of a Virtual Machine Scale Set Extension.",
- "properties": {
- "autoUpgradeMinorVersion": {
- "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticUpgrade": {
- "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "forceUpdateTag": {
- "description": "If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.",
- "type": "string"
- },
- "protectedSettings": {
- "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionAfterExtensions": {
- "description": "Collection of extension names after which this extension needs to be provisioned.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publisher": {
- "description": "The name of the extension handler publisher.",
- "type": "string"
- },
- "settings": {
- "description": "Json formatted public settings for the extension.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIPConfiguration": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "name": {
- "description": "The IP configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetIPConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetIPConfigurationProperties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration properties.",
- "properties": {
- "applicationGatewayBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of application gateways. A scale set can reference backend address pools of multiple application gateways. Multiple scale sets cannot use the same application gateway.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "applicationSecurityGroups": {
- "description": "Specifies an array of references to application security group.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of load balancers. A scale set can reference backend address pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerInboundNatPools": {
- "description": "Specifies an array of references to inbound Nat pools of the load balancers. A scale set can reference inbound nat pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "privateIPAddressVersion": {
- "description": "Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressConfiguration": {
- "description": "The publicIPAddressConfiguration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "subnet": {
- "description": "Specifies the identifier of the subnet.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApiEntityReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIdentity": {
- "description": "Identity for the virtual machine scale set.",
- "properties": {
- "type": {
- "description": "The type of identity used for the virtual machine scale set. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine scale set.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned",
- "UserAssigned",
- "SystemAssigned, UserAssigned",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userAssignedIdentities": {
- "description": "The list of user identities associated with the virtual machine scale set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
- "oneOf": [
- {
- "additionalProperties": {
- "$ref": "#/definitions/VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue": {
- "properties": {},
- "type": "object"
- },
- "VirtualMachineScaleSetIpTag": {
- "description": "Contains the IP tag associated with the public IP address.",
- "properties": {
- "ipTagType": {
- "description": "IP tag type. Example: FirstPartyUsage.",
- "type": "string"
- },
- "tag": {
- "description": "IP tag associated with the public IP. Example: SQL, Storage etc.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetManagedDiskParameters": {
- "description": "Describes the parameters of a ScaleSet managed disk.",
- "properties": {
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS",
- "Premium_ZRS",
- "StandardSSD_ZRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfiguration": {
- "description": "Describes a virtual machine scale set network profile's network configurations.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "name": {
- "description": "The network configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfigurationDnsSettings": {
- "description": "Describes a virtual machines scale sets network configuration's DNS settings.",
- "properties": {
- "dnsServers": {
- "description": "List of DNS servers IP addresses",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfigurationProperties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "properties": {
- "dnsSettings": {
- "description": "The dns settings to be applied on the network interfaces.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationDnsSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAcceleratedNetworking": {
- "description": "Specifies whether the network interface is accelerated networking-enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableFpga": {
- "description": "Specifies whether the network interface is FPGA networking-enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableIPForwarding": {
- "description": "Whether IP forwarding enabled on this NIC.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipConfigurations": {
- "description": "Specifies the IP configurations of the network interface.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetIPConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkSecurityGroup": {
- "description": "The network security group.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "ipConfigurations"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkProfile": {
- "description": "Describes a virtual machine scale set network profile.",
- "properties": {
- "healthProbe": {
- "description": "A reference to a load balancer probe used to determine the health of an instance in the virtual machine scale set. The reference will be in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApiEntityReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkInterfaceConfigurations": {
- "description": "The list of network configurations.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetOSDisk": {
- "description": "Describes a virtual machine scale set operating system disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machines in the scale set should be created.
The only allowed value is: **FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diffDiskSettings": {
- "description": "Specifies the ephemeral disk Settings for the operating system disk used by the virtual machine scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiffDiskSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of the operating system disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "Specifies information about the unmanaged user image to base the scale set on.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhdContainers": {
- "description": "Specifies the container urls that are used to store operating system disks for the scale set.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetOSProfile": {
- "description": "Describes a virtual machine scale set OS profile.",
- "properties": {
- "adminPassword": {
- "description": "Specifies the password of the administrator account.
**Minimum-length (Windows):** 8 characters
**Minimum-length (Linux):** 6 characters
**Max-length (Windows):** 123 characters
**Max-length (Linux):** 72 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])
**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"
For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-reset-rdp?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-vmaccess-extension?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#reset-root-password)",
- "type": "string"
- },
- "adminUsername": {
- "description": "Specifies the name of the administrator account.
**Windows-only restriction:** Cannot end in \".\"
**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters
For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)",
- "type": "string"
- },
- "computerNamePrefix": {
- "description": "Specifies the computer name prefix for all of the virtual machines in the scale set. Computer name prefixes must be 1 to 15 characters long.",
- "type": "string"
- },
- "customData": {
- "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes.
For using cloud-init for your VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)",
- "type": "string"
- },
- "linuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "secrets": {
- "description": "Specifies set of certificates that should be installed onto the virtual machines in the scale set.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultSecretGroup"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "windowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/WindowsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetProperties": {
- "description": "Describes the properties of a Virtual Machine Scale Set.",
- "properties": {
- "additionalCapabilities": {
- "description": "Specifies additional capabilities enabled or disabled on the Virtual Machines in the Virtual Machine Scale Set. For instance: whether the Virtual Machines have the capability to support attaching managed data disks with UltraSSD_LRS storage account type.",
- "oneOf": [
- {
- "$ref": "#/definitions/AdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "automaticRepairsPolicy": {
- "description": "Policy for automatic repairs.",
- "oneOf": [
- {
- "$ref": "#/definitions/AutomaticRepairsPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "doNotRunExtensionsOnOverprovisionedVMs": {
- "description": "When Overprovision is enabled, extensions are launched only on the requested number of VMs which are finally kept. This property will hence ensure that the extensions do not run on the extra overprovisioned VMs.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hostGroup": {
- "description": "Specifies information about the dedicated host group that the virtual machine scale set resides in.
Minimum api-version: 2020-06-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "orchestrationMode": {
- "description": "Specifies the orchestration mode for the virtual machine scale set.",
- "oneOf": [
- {
- "enum": [
- "Uniform",
- "Flexible"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "overprovision": {
- "description": "Specifies whether the Virtual Machine Scale Set should be overprovisioned.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformFaultDomainCount": {
- "description": "Fault Domain count for each placement group.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the virtual machine scale set should be assigned to.
Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "scaleInPolicy": {
- "description": "Specifies the scale-in policy that decides which virtual machines are chosen for removal when a Virtual Machine Scale Set is scaled-in.",
- "oneOf": [
- {
- "$ref": "#/definitions/ScaleInPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "singlePlacementGroup": {
- "description": "When true this limits the scale set to a single placement group, of max size 100 virtual machines. NOTE: If singlePlacementGroup is true, it may be modified to false. However, if singlePlacementGroup is false, it may not be modified to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "upgradePolicy": {
- "description": "The upgrade policy.",
- "oneOf": [
- {
- "$ref": "#/definitions/UpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "virtualMachineProfile": {
- "description": "The virtual machine profile.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "zoneBalance": {
- "description": "Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfiguration": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "properties": {
- "name": {
- "description": "The publicIP address configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings": {
- "description": "Describes a virtual machines scale sets network configuration's DNS settings.",
- "properties": {
- "domainNameLabel": {
- "description": "The Domain name label.The concatenation of the domain name label and vm index will be the domain name labels of the PublicIPAddress resources that will be created",
- "type": "string"
- }
- },
- "required": [
- "domainNameLabel"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfigurationProperties": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "properties": {
- "dnsSettings": {
- "description": "The dns settings to be applied on the publicIP addresses .",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "idleTimeoutInMinutes": {
- "description": "The idle timeout of the public IP address.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipTags": {
- "description": "The list of IP tags associated with the public IP address.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetIpTag"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressVersion": {
- "description": "Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPPrefix": {
- "description": "The PublicIPPrefix from which to allocate publicIP addresses.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetStorageProfile": {
- "description": "Describes a virtual machine scale set storage profile.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add data disks to the virtual machines in the scale set.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetDataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machines in the scale set.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetOSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMNetworkProfileConfiguration": {
- "description": "Describes a virtual machine scale set VM network profile.",
- "properties": {
- "networkInterfaceConfigurations": {
- "description": "The list of network configurations.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProfile": {
- "description": "Describes a virtual machine scale set virtual machine profile.",
- "properties": {
- "billingProfile": {
- "description": "Specifies the billing related details of a Azure Spot VMSS.
Minimum api-version: 2019-03-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/BillingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "evictionPolicy": {
- "description": "Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set.
For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01.
For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview.",
- "oneOf": [
- {
- "enum": [
- "Deallocate",
- "Delete"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extensionProfile": {
- "description": "Specifies a collection of settings for extensions installed on virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetExtensionProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises.
Possible values for Windows Server operating system are:
Windows_Client
Windows_Server
Possible values for Linux Server operating system are:
RHEL_BYOS (for RHEL)
SLES_BYOS (for SUSE)
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)
[Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies properties of the network interfaces of the virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings for the virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetOSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "priority": {
- "description": "Specifies the priority for the virtual machines in the scale set.
Minimum api-version: 2017-10-30-preview",
- "oneOf": [
- {
- "enum": [
- "Regular",
- "Low",
- "Spot"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "scheduledEventsProfile": {
- "description": "Specifies Scheduled Event related configurations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ScheduledEventsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Specifies the Security related profile settings for the virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/SecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProperties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "properties": {
- "additionalCapabilities": {
- "description": "Specifies additional capabilities enabled or disabled on the virtual machine in the scale set. For instance: whether the virtual machine has the capability to support attaching managed data disks with UltraSSD_LRS storage account type.",
- "oneOf": [
- {
- "$ref": "#/definitions/AdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "availabilitySet": {
- "description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/HardwareProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises.
Possible values for Windows Server operating system are:
Windows_Client
Windows_Server
Possible values for Linux Server operating system are:
RHEL_BYOS (for RHEL)
SLES_BYOS (for SUSE)
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)
[Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkProfileConfiguration": {
- "description": "Specifies the network profile configuration of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMNetworkProfileConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectionPolicy": {
- "description": "Specifies the protection policy of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProtectionPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Specifies the Security related profile settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/SecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/StorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProtectionPolicy": {
- "description": "The protection policy of a virtual machine scale set VM.",
- "properties": {
- "protectFromScaleIn": {
- "description": "Indicates that the virtual machine scale set VM shouldn't be considered for deletion during a scale-in operation.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectFromScaleSetActions": {
- "description": "Indicates that model updates or actions (including scale-in) initiated on the virtual machine scale set should not be applied to the virtual machine scale set VM.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WinRMConfiguration": {
- "description": "Describes Windows Remote Management configuration of the VM",
- "properties": {
- "listeners": {
- "description": "The list of Windows Remote Management listeners",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/WinRMListener"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WinRMListener": {
- "description": "Describes Protocol and thumbprint of Windows Remote Management listener",
- "properties": {
- "certificateUrl": {
- "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:
{
\"data\":\"\",
\"dataType\":\"pfx\",
\"password\":\"\"
}",
- "type": "string"
- },
- "protocol": {
- "description": "Specifies the protocol of WinRM listener.
Possible values are:
**http**
**https**",
- "oneOf": [
- {
- "enum": [
- "Http",
- "Https"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WindowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "properties": {
- "additionalUnattendContent": {
- "description": "Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/AdditionalUnattendContent"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticUpdates": {
- "description": "Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value is true.
For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "patchSettings": {
- "description": "[Preview Feature] Specifies settings related to VM Guest Patching on Windows.",
- "oneOf": [
- {
- "$ref": "#/definitions/PatchSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionVMAgent": {
- "description": "Indicates whether virtual machine agent should be provisioned on the virtual machine.
When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "timeZone": {
- "description": "Specifies the time zone of the virtual machine. e.g. \"Pacific Standard Time\".
Possible values can be [TimeZoneInfo.Id](https://docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.id?#System_TimeZoneInfo_Id) value from time zones returned by [TimeZoneInfo.GetSystemTimeZones](https://docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.getsystemtimezones).",
- "type": "string"
- },
- "winRM": {
- "description": "Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.",
- "oneOf": [
- {
- "$ref": "#/definitions/WinRMConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "diskAccesses_privateEndpointConnections_childResource": {
- "description": "Microsoft.Compute/diskAccesses/privateEndpointConnections",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-12-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the private endpoint connection",
- "type": "string"
- },
- "properties": {
- "description": "Resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/PrivateEndpointConnectionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "privateEndpointConnections"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "hostGroups_hosts_childResource": {
- "description": "Microsoft.Compute/hostGroups/hosts",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-12-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the dedicated host .",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the dedicated host.",
- "oneOf": [
- {
- "$ref": "#/definitions/DedicatedHostProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be set. List Microsoft.Compute SKUs for a list of possible values.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "hosts"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-12-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the VM scale set extension.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Scale Set Extension.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetExtensionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-12-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine extension.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Extension.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_runCommands_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/runCommands",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-12-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine run command.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "runCommands"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualmachines_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualmachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-12-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The instance ID of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "virtualmachines"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachines/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-12-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine extension.",
- "type": "string"
- },
- "properties": {
- "anyOf": [
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/genericExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/bgInfo"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/dscExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackup"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/chefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/dockerExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/eset"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/puppetAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/customScript"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines_runCommands_childResource": {
- "description": "Microsoft.Compute/virtualMachines/runCommands",
- "properties": {
- "apiVersion": {
- "enum": [
- "2020-12-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine run command.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "runCommands"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- }
-}
\ No newline at end of file
diff --git a/schemas/2021-03-01/Microsoft.Compute.json b/schemas/2021-03-01/Microsoft.Compute.json
deleted file mode 100644
index 481dc5e313..0000000000
--- a/schemas/2021-03-01/Microsoft.Compute.json
+++ /dev/null
@@ -1,6964 +0,0 @@
-{
- "id": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.json#",
- "title": "Microsoft.Compute",
- "description": "Microsoft Compute Resource Types",
- "$schema": "http://json-schema.org/draft-04/schema#",
- "resourceDefinitions": {
- "availabilitySets": {
- "description": "Microsoft.Compute/availabilitySets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the availability set.",
- "type": "string"
- },
- "properties": {
- "description": "The instance view of a resource.",
- "oneOf": [
- {
- "$ref": "#/definitions/AvailabilitySetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "Sku of the availability set, only name is required to be set. See AvailabilitySetSkuTypes for possible set of values. Use 'Aligned' for virtual machines with managed disks and 'Classic' for virtual machines with unmanaged disks. Default value is 'Classic'.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/availabilitySets"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "cloudServices": {
- "description": "Microsoft.Compute/cloudServices",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location.",
- "type": "string"
- },
- "name": {
- "description": "Name of the cloud service.",
- "type": "string"
- },
- "properties": {
- "description": "Cloud service properties",
- "oneOf": [
- {
- "$ref": "#/definitions/CloudServiceProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags.",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/cloudServices"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "hostGroups": {
- "description": "Microsoft.Compute/hostGroups",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the dedicated host group.",
- "type": "string"
- },
- "properties": {
- "description": "Dedicated Host Group Properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/DedicatedHostGroupProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/hostGroups_hosts_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/hostGroups"
- ],
- "type": "string"
- },
- "zones": {
- "description": "Availability Zone to use for this host group. Only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "hostGroups_hosts": {
- "description": "Microsoft.Compute/hostGroups/hosts",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the dedicated host .",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the dedicated host.",
- "oneOf": [
- {
- "$ref": "#/definitions/DedicatedHostProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be set. List Microsoft.Compute SKUs for a list of possible values.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/hostGroups/hosts"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "images": {
- "description": "Microsoft.Compute/images",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-03-01"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location of the Image.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the image.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of an Image.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/images"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "proximityPlacementGroups": {
- "description": "Microsoft.Compute/proximityPlacementGroups",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the proximity placement group.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Proximity Placement Group.",
- "oneOf": [
- {
- "$ref": "#/definitions/ProximityPlacementGroupProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/proximityPlacementGroups"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "restorePointCollections": {
- "description": "Microsoft.Compute/restorePointCollections",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the restore point collection.",
- "type": "string"
- },
- "properties": {
- "description": "The restore point collection properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/RestorePointCollectionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/restorePointCollections_restorePoints_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/restorePointCollections"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "restorePointCollections_restorePoints": {
- "description": "Microsoft.Compute/restorePointCollections/restorePoints",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-03-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the restore point.",
- "type": "string"
- },
- "properties": {
- "description": "The restore point properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/RestorePointProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/restorePointCollections/restorePoints"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "sshPublicKeys": {
- "description": "Microsoft.Compute/sshPublicKeys",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the SSH public key.",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the SSH public key.",
- "oneOf": [
- {
- "$ref": "#/definitions/SshPublicKeyResourceProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/sshPublicKeys"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets": {
- "description": "Microsoft.Compute/virtualMachineScaleSets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-03-01"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location of the Virtual Machine Scale Set.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "identity": {
- "description": "The identity of the virtual machine scale set, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the VM scale set to create or update.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Scale Set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachineScaleSets_extensions_childResource"
- },
- {
- "$ref": "#/definitions/virtualMachineScaleSets_virtualmachines_childResource"
- }
- ]
- },
- "type": "array"
- },
- "sku": {
- "description": "The virtual machine scale set sku.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The virtual machine scale set zones. NOTE: Availability zones can only be set when you create the scale set",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_extensions": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-03-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine extension.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Extension.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_runCommands": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/runCommands",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine run command.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/runCommands"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualmachines": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualmachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The instance ID of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachineScaleSets_virtualMachines_extensions_childResource"
- },
- {
- "$ref": "#/definitions/virtualMachineScaleSets_virtualMachines_runCommands_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets/virtualmachines"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines": {
- "description": "Microsoft.Compute/virtualMachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-03-01"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location of the Virtual Machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "identity": {
- "description": "The identity of the virtual machine, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachines_extensions_childResource"
- },
- {
- "$ref": "#/definitions/virtualMachines_runCommands_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachines"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The virtual machine zones.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines_runCommands": {
- "description": "Microsoft.Compute/virtualMachines/runCommands",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine run command.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachines/runCommands"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- },
- "definitions": {
- "AdditionalCapabilities": {
- "description": "Enables or disables a capability on the virtual machine or virtual machine scale set.",
- "properties": {
- "ultraSSDEnabled": {
- "description": "The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "AdditionalUnattendContent": {
- "description": "Specifies additional XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is applied.",
- "properties": {
- "componentName": {
- "description": "The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup.",
- "oneOf": [
- {
- "enum": [
- "Microsoft-Windows-Shell-Setup"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "content": {
- "description": "Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted.",
- "type": "string"
- },
- "passName": {
- "description": "The pass name. Currently, the only allowable value is OobeSystem.",
- "oneOf": [
- {
- "enum": [
- "OobeSystem"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "settingName": {
- "description": "Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon.",
- "oneOf": [
- {
- "enum": [
- "AutoLogon",
- "FirstLogonCommands"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ApiEntityReference": {
- "description": "The API entity reference.",
- "properties": {
- "id": {
- "description": "The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...",
- "type": "string"
- }
- },
- "type": "object"
- },
- "AutomaticOSUpgradePolicy": {
- "description": "The configuration parameters used for performing automatic OS upgrade.",
- "properties": {
- "disableAutomaticRollback": {
- "description": "Whether OS image rollback feature should be disabled. Default value is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticOSUpgrade": {
- "description": "Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. Default value is false.
If this is set to true for Windows based scale sets, [enableAutomaticUpdates](https://docs.microsoft.com/dotnet/api/microsoft.azure.management.compute.models.windowsconfiguration.enableautomaticupdates?view=azure-dotnet) is automatically set to false and cannot be set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "AutomaticRepairsPolicy": {
- "description": "Specifies the configuration parameters for automatic repairs on the virtual machine scale set.",
- "properties": {
- "enabled": {
- "description": "Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "gracePeriod": {
- "description": "The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The minimum allowed grace period is 30 minutes (PT30M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M).",
- "type": "string"
- }
- },
- "type": "object"
- },
- "AvailabilitySetProperties": {
- "description": "The instance view of a resource.",
- "properties": {
- "platformFaultDomainCount": {
- "description": "Fault Domain count.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformUpdateDomainCount": {
- "description": "Update Domain count.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the availability set should be assigned to.
Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "virtualMachines": {
- "description": "A list of references to all virtual machines in the availability set.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "BillingProfile": {
- "description": "Specifies the billing related details of a Azure Spot VM or VMSS.
Minimum api-version: 2019-03-01.",
- "properties": {
- "maxPrice": {
- "description": "Specifies the maximum price you are willing to pay for a Azure Spot VM/VMSS. This price is in US Dollars.
This price will be compared with the current Azure Spot price for the VM size. Also, the prices are compared at the time of create/update of Azure Spot VM/VMSS and the operation will only succeed if the maxPrice is greater than the current Azure Spot price.
The maxPrice will also be used for evicting a Azure Spot VM/VMSS if the current Azure Spot price goes beyond the maxPrice after creation of VM/VMSS.
Possible values are:
- Any decimal value greater than zero. Example: 0.01538
-1 – indicates default price to be up-to on-demand.
You can set the maxPrice to -1 to indicate that the Azure Spot VM/VMSS should not be evicted for price reasons. Also, the default max price is -1 if it is not provided by you.
Minimum api-version: 2019-03-01.",
- "oneOf": [
- {
- "type": "number"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "BootDiagnostics": {
- "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.",
- "properties": {
- "enabled": {
- "description": "Whether boot diagnostics should be enabled on the Virtual Machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageUri": {
- "description": "Uri of the storage account to use for placing the console output and screenshot.
If storageUri is not specified while enabling boot diagnostics, managed storage will be used.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "CloudServiceExtensionProfile": {
- "description": "Describes a cloud service extension profile.",
- "properties": {
- "extensions": {
- "description": "List of extensions for the cloud service.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/Extension"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "CloudServiceExtensionProperties": {
- "description": "Extension Properties.",
- "properties": {
- "autoUpgradeMinorVersion": {
- "description": "Explicitly specify whether platform can automatically upgrade typeHandlerVersion to higher minor versions when they become available.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "forceUpdateTag": {
- "description": "Tag to force apply the provided public and protected settings.\r\nChanging the tag value allows for re-running the extension without changing any of the public or protected settings.\r\nIf forceUpdateTag is not changed, updates to public or protected settings would still be applied by the handler.\r\nIf neither forceUpdateTag nor any of public or protected settings change, extension would flow to the role instance with the same sequence-number, and\r\nit is up to handler implementation whether to re-run it or not",
- "type": "string"
- },
- "protectedSettings": {
- "description": "Protected settings for the extension which are encrypted before sent to the role instance.",
- "type": "string"
- },
- "protectedSettingsFromKeyVault": {
- "oneOf": [
- {
- "$ref": "#/definitions/CloudServiceVaultAndSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publisher": {
- "description": "The name of the extension handler publisher.",
- "type": "string"
- },
- "rolesAppliedTo": {
- "description": "Optional list of roles to apply this extension. If property is not specified or '*' is specified, extension is applied to all roles in the cloud service.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "settings": {
- "description": "Public settings for the extension. For JSON extensions, this is the JSON settings for the extension. For XML Extension (like RDP), this is the XML setting for the extension.",
- "type": "string"
- },
- "type": {
- "description": "Specifies the type of the extension.",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the extension. Specifies the version of the extension. If this element is not specified or an asterisk (*) is used as the value, the latest version of the extension is used. If the value is specified with a major version number and an asterisk as the minor version number (X.), the latest minor version of the specified major version is selected. If a major version number and a minor version number are specified (X.Y), the specific extension version is selected. If a version is specified, an auto-upgrade is performed on the role instance.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "CloudServiceNetworkProfile": {
- "description": "Network Profile for the cloud service.",
- "properties": {
- "loadBalancerConfigurations": {
- "description": "List of Load balancer configurations. Cloud service can have up to two load balancer configurations, corresponding to a Public Load Balancer and an Internal Load Balancer.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/LoadBalancerConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "swappableCloudService": {
- "description": "The id reference of the cloud service containing the target IP with which the subject cloud service can perform a swap. This property cannot be updated once it is set. The swappable cloud service referred by this id must be present otherwise an error will be thrown.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "CloudServiceOsProfile": {
- "description": "Describes the OS profile for the cloud service.",
- "properties": {
- "secrets": {
- "description": "Specifies set of certificates that should be installed onto the role instances.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/CloudServiceVaultSecretGroup"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "CloudServiceProperties": {
- "description": "Cloud service properties",
- "properties": {
- "allowModelOverride": {
- "description": "(Optional) Indicates whether the role sku properties (roleProfile.roles.sku) specified in the model/template should override the role instance count and vm size specified in the .cscfg and .csdef respectively.\r\nThe default value is `false`.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "configuration": {
- "description": "Specifies the XML service configuration (.cscfg) for the cloud service.",
- "type": "string"
- },
- "configurationUrl": {
- "description": "Specifies a URL that refers to the location of the service configuration in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account.\r\nThis is a write-only property and is not returned in GET calls.",
- "type": "string"
- },
- "extensionProfile": {
- "description": "Describes a cloud service extension profile.",
- "oneOf": [
- {
- "$ref": "#/definitions/CloudServiceExtensionProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkProfile": {
- "description": "Network Profile for the cloud service.",
- "oneOf": [
- {
- "$ref": "#/definitions/CloudServiceNetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Describes the OS profile for the cloud service.",
- "oneOf": [
- {
- "$ref": "#/definitions/CloudServiceOsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "packageUrl": {
- "description": "Specifies a URL that refers to the location of the service package in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account.\r\nThis is a write-only property and is not returned in GET calls.",
- "type": "string"
- },
- "roleProfile": {
- "description": "Describes the role profile for the cloud service.",
- "oneOf": [
- {
- "$ref": "#/definitions/CloudServiceRoleProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "startCloudService": {
- "description": "(Optional) Indicates whether to start the cloud service immediately after it is created. The default value is `true`.\r\nIf false, the service model is still deployed, but the code is not run immediately. Instead, the service is PoweredOff until you call Start, at which time the service will be started. A deployed service still incurs charges, even if it is poweredoff.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "upgradeMode": {
- "description": "Update mode for the cloud service. Role instances are allocated to update domains when the service is deployed. Updates can be initiated manually in each update domain or initiated automatically in all update domains.\r\nPossible Values are
**Auto**
**Manual**
**Simultaneous**
\r\nIf not specified, the default value is Auto. If set to Manual, PUT UpdateDomain must be called to apply the update. If set to Auto, the update is automatically applied to each update domain in sequence.",
- "oneOf": [
- {
- "enum": [
- "Auto",
- "Manual",
- "Simultaneous"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "CloudServiceRoleProfile": {
- "description": "Describes the role profile for the cloud service.",
- "properties": {
- "roles": {
- "description": "List of roles for the cloud service.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/CloudServiceRoleProfileProperties"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "CloudServiceRoleProfileProperties": {
- "description": "Describes the role properties.",
- "properties": {
- "name": {
- "description": "Resource name.",
- "type": "string"
- },
- "sku": {
- "description": "Describes the cloud service role sku.",
- "oneOf": [
- {
- "$ref": "#/definitions/CloudServiceRoleSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "CloudServiceRoleSku": {
- "description": "Describes the cloud service role sku.",
- "properties": {
- "capacity": {
- "description": "Specifies the number of role instances in the cloud service.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The sku name. NOTE: If the new SKU is not supported on the hardware the cloud service is currently on, you need to delete and recreate the cloud service or move back to the old sku.",
- "type": "string"
- },
- "tier": {
- "description": "Specifies the tier of the cloud service. Possible Values are
**Standard**
**Basic**",
- "type": "string"
- }
- },
- "type": "object"
- },
- "CloudServiceVaultAndSecretReference": {
- "properties": {
- "secretUrl": {
- "type": "string"
- },
- "sourceVault": {
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "CloudServiceVaultCertificate": {
- "description": "Describes a single certificate reference in a Key Vault, and where the certificate should reside on the role instance.",
- "properties": {
- "certificateUrl": {
- "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "CloudServiceVaultSecretGroup": {
- "description": "Describes a set of certificates which are all in the same Key Vault.",
- "properties": {
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing all of the certificates in VaultCertificates.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vaultCertificates": {
- "description": "The list of key vault references in SourceVault which contain certificates.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/CloudServiceVaultCertificate"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DataDisk": {
- "description": "Describes a data disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machine should be created.
Possible values are:
**Attach** \\u2013 This value is used when you are using a specialized disk to create the virtual machine.
**FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "deleteOption": {
- "description": "Specifies whether data disk should be deleted or detached upon VM deletion.
Possible values:
**Delete** If this value is used, the data disk is deleted when VM is deleted.
**Detach** If this value is used, the data disk is retained after VM is deleted.
The default value is set to **detach**",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "detachOption": {
- "description": "Specifies the detach behavior to be used while detaching a disk or which is already in the process of detachment from the virtual machine. Supported values: **ForceDetach**.
detachOption: **ForceDetach** is applicable only for managed data disks. If a previous detachment attempt of the data disk did not complete due to an unexpected failure from the virtual machine and the disk is still not released then use force-detach as a last resort option to detach the disk forcibly from the VM. All writes might not have been flushed when using this detach behavior.
This feature is still in preview mode and is not supported for VirtualMachineScaleSet. To force-detach a data disk update toBeDetached to 'true' along with setting detachOption: 'ForceDetach'.",
- "oneOf": [
- {
- "enum": [
- "ForceDetach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/ManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "toBeDetached": {
- "description": "Specifies whether the data disk is in process of detachment from the VirtualMachine/VirtualMachineScaleset",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhd": {
- "description": "The virtual hard disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun",
- "createOption"
- ],
- "type": "object"
- },
- "DedicatedHostGroupProperties": {
- "description": "Dedicated Host Group Properties.",
- "properties": {
- "platformFaultDomainCount": {
- "description": "Number of fault domains that the host group can span.",
- "oneOf": [
- {
- "minimum": 1,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "supportAutomaticPlacement": {
- "description": "Specifies whether virtual machines or virtual machine scale sets can be placed automatically on the dedicated host group. Automatic placement means resources are allocated on dedicated hosts, that are chosen by Azure, under the dedicated host group. The value is defaulted to 'false' when not provided.
Minimum api-version: 2020-06-01.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "platformFaultDomainCount"
- ],
- "type": "object"
- },
- "DedicatedHostProperties": {
- "description": "Properties of the dedicated host.",
- "properties": {
- "autoReplaceOnFailure": {
- "description": "Specifies whether the dedicated host should be replaced automatically in case of a failure. The value is defaulted to 'true' when not provided.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies the software license type that will be applied to the VMs deployed on the dedicated host.
Possible values are:
**None**
**Windows_Server_Hybrid**
**Windows_Server_Perpetual**
Default: **None**",
- "oneOf": [
- {
- "enum": [
- "None",
- "Windows_Server_Hybrid",
- "Windows_Server_Perpetual"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformFaultDomain": {
- "description": "Fault domain of the dedicated host within a dedicated host group.",
- "oneOf": [
- {
- "minimum": 0,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "properties": {
- "bootDiagnostics": {
- "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.",
- "oneOf": [
- {
- "$ref": "#/definitions/BootDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiffDiskSettings": {
- "description": "Describes the parameters of ephemeral disk settings that can be specified for operating system disk.
NOTE: The ephemeral disk settings can only be specified for managed disk.",
- "properties": {
- "option": {
- "description": "Specifies the ephemeral disk settings for operating system disk.",
- "oneOf": [
- {
- "enum": [
- "Local"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "placement": {
- "description": "Specifies the ephemeral disk placement for operating system disk.
Possible values are:
**CacheDisk**
**ResourceDisk**
Default: **CacheDisk** if one is configured for the VM size otherwise **ResourceDisk** is used.
Refer to VM size documentation for Windows VM at https://docs.microsoft.com/azure/virtual-machines/windows/sizes and Linux VM at https://docs.microsoft.com/azure/virtual-machines/linux/sizes to check which VM sizes exposes a cache disk.",
- "oneOf": [
- {
- "enum": [
- "CacheDisk",
- "ResourceDisk"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiskEncryptionSetParameters": {
- "description": "Describes the parameter of customer managed disk encryption set resource id that can be specified for disk.
NOTE: The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "DiskEncryptionSettings": {
- "description": "Describes a Encryption Settings for a Disk",
- "properties": {
- "diskEncryptionKey": {
- "description": "Specifies the location of the disk encryption key, which is a Key Vault Secret.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enabled": {
- "description": "Specifies whether disk encryption should be enabled on the virtual machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "keyEncryptionKey": {
- "description": "Specifies the location of the key encryption key in Key Vault.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultKeyReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ExtendedLocation": {
- "description": "The complex type of the extended location.",
- "properties": {
- "name": {
- "description": "The name of the extended location.",
- "type": "string"
- },
- "type": {
- "description": "The type of the extended location.",
- "oneOf": [
- {
- "enum": [
- "EdgeZone"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Extension": {
- "description": "Describes a cloud service Extension.",
- "properties": {
- "name": {
- "description": "The name of the extension.",
- "type": "string"
- },
- "properties": {
- "description": "Extension Properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/CloudServiceExtensionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "HardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "properties": {
- "vmSize": {
- "description": "Specifies the size of the virtual machine.
The enum data type is currently deprecated and will be removed by December 23rd 2023.
Recommended way to get the list of available sizes is using these APIs:
[List all available virtual machine sizes in an availability set](https://docs.microsoft.com/rest/api/compute/availabilitysets/listavailablesizes)
[List all available virtual machine sizes in a region]( https://docs.microsoft.com/rest/api/compute/resourceskus/list)
[List all available virtual machine sizes for resizing](https://docs.microsoft.com/rest/api/compute/virtualmachines/listavailablesizes). For more information about virtual machine sizes, see [Sizes for virtual machines](https://docs.microsoft.com/azure/virtual-machines/sizes).
The available VM sizes depend on region and availability set.",
- "oneOf": [
- {
- "enum": [
- "Basic_A0",
- "Basic_A1",
- "Basic_A2",
- "Basic_A3",
- "Basic_A4",
- "Standard_A0",
- "Standard_A1",
- "Standard_A2",
- "Standard_A3",
- "Standard_A4",
- "Standard_A5",
- "Standard_A6",
- "Standard_A7",
- "Standard_A8",
- "Standard_A9",
- "Standard_A10",
- "Standard_A11",
- "Standard_A1_v2",
- "Standard_A2_v2",
- "Standard_A4_v2",
- "Standard_A8_v2",
- "Standard_A2m_v2",
- "Standard_A4m_v2",
- "Standard_A8m_v2",
- "Standard_B1s",
- "Standard_B1ms",
- "Standard_B2s",
- "Standard_B2ms",
- "Standard_B4ms",
- "Standard_B8ms",
- "Standard_D1",
- "Standard_D2",
- "Standard_D3",
- "Standard_D4",
- "Standard_D11",
- "Standard_D12",
- "Standard_D13",
- "Standard_D14",
- "Standard_D1_v2",
- "Standard_D2_v2",
- "Standard_D3_v2",
- "Standard_D4_v2",
- "Standard_D5_v2",
- "Standard_D2_v3",
- "Standard_D4_v3",
- "Standard_D8_v3",
- "Standard_D16_v3",
- "Standard_D32_v3",
- "Standard_D64_v3",
- "Standard_D2s_v3",
- "Standard_D4s_v3",
- "Standard_D8s_v3",
- "Standard_D16s_v3",
- "Standard_D32s_v3",
- "Standard_D64s_v3",
- "Standard_D11_v2",
- "Standard_D12_v2",
- "Standard_D13_v2",
- "Standard_D14_v2",
- "Standard_D15_v2",
- "Standard_DS1",
- "Standard_DS2",
- "Standard_DS3",
- "Standard_DS4",
- "Standard_DS11",
- "Standard_DS12",
- "Standard_DS13",
- "Standard_DS14",
- "Standard_DS1_v2",
- "Standard_DS2_v2",
- "Standard_DS3_v2",
- "Standard_DS4_v2",
- "Standard_DS5_v2",
- "Standard_DS11_v2",
- "Standard_DS12_v2",
- "Standard_DS13_v2",
- "Standard_DS14_v2",
- "Standard_DS15_v2",
- "Standard_DS13-4_v2",
- "Standard_DS13-2_v2",
- "Standard_DS14-8_v2",
- "Standard_DS14-4_v2",
- "Standard_E2_v3",
- "Standard_E4_v3",
- "Standard_E8_v3",
- "Standard_E16_v3",
- "Standard_E32_v3",
- "Standard_E64_v3",
- "Standard_E2s_v3",
- "Standard_E4s_v3",
- "Standard_E8s_v3",
- "Standard_E16s_v3",
- "Standard_E32s_v3",
- "Standard_E64s_v3",
- "Standard_E32-16_v3",
- "Standard_E32-8s_v3",
- "Standard_E64-32s_v3",
- "Standard_E64-16s_v3",
- "Standard_F1",
- "Standard_F2",
- "Standard_F4",
- "Standard_F8",
- "Standard_F16",
- "Standard_F1s",
- "Standard_F2s",
- "Standard_F4s",
- "Standard_F8s",
- "Standard_F16s",
- "Standard_F2s_v2",
- "Standard_F4s_v2",
- "Standard_F8s_v2",
- "Standard_F16s_v2",
- "Standard_F32s_v2",
- "Standard_F64s_v2",
- "Standard_F72s_v2",
- "Standard_G1",
- "Standard_G2",
- "Standard_G3",
- "Standard_G4",
- "Standard_G5",
- "Standard_GS1",
- "Standard_GS2",
- "Standard_GS3",
- "Standard_GS4",
- "Standard_GS5",
- "Standard_GS4-8",
- "Standard_GS4-4",
- "Standard_GS5-16",
- "Standard_GS5-8",
- "Standard_H8",
- "Standard_H16",
- "Standard_H8m",
- "Standard_H16m",
- "Standard_H16r",
- "Standard_H16mr",
- "Standard_L4s",
- "Standard_L8s",
- "Standard_L16s",
- "Standard_L32s",
- "Standard_M64s",
- "Standard_M64ms",
- "Standard_M128s",
- "Standard_M128ms",
- "Standard_M64-32ms",
- "Standard_M64-16ms",
- "Standard_M128-64ms",
- "Standard_M128-32ms",
- "Standard_NC6",
- "Standard_NC12",
- "Standard_NC24",
- "Standard_NC24r",
- "Standard_NC6s_v2",
- "Standard_NC12s_v2",
- "Standard_NC24s_v2",
- "Standard_NC24rs_v2",
- "Standard_NC6s_v3",
- "Standard_NC12s_v3",
- "Standard_NC24s_v3",
- "Standard_NC24rs_v3",
- "Standard_ND6s",
- "Standard_ND12s",
- "Standard_ND24s",
- "Standard_ND24rs",
- "Standard_NV6",
- "Standard_NV12",
- "Standard_NV24"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImageDataDisk": {
- "description": "Describes a data disk.",
- "properties": {
- "blobUri": {
- "description": "The Virtual Hard Disk.",
- "type": "string"
- },
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed image disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managedDisk.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "snapshot": {
- "description": "The snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS",
- "Premium_ZRS",
- "StandardSSD_ZRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun"
- ],
- "type": "object"
- },
- "ImageOSDisk": {
- "description": "Describes an Operating System disk.",
- "properties": {
- "blobUri": {
- "description": "The Virtual Hard Disk.",
- "type": "string"
- },
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed image disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managedDisk.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osState": {
- "description": "The OS State.",
- "oneOf": [
- {
- "enum": [
- "Generalized",
- "Specialized"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from a custom image.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "snapshot": {
- "description": "The snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS",
- "Premium_ZRS",
- "StandardSSD_ZRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "osType",
- "osState"
- ],
- "type": "object"
- },
- "ImageProperties": {
- "description": "Describes the properties of an Image.",
- "properties": {
- "hyperVGeneration": {
- "description": "Specifies the HyperVGenerationType of the VirtualMachine created from the image. From API Version 2019-03-01 if the image source is a blob, then we need the user to specify the value, if the source is managed resource like disk or snapshot, we may require the user to specify the property if we cannot deduce it from the source managed resource.",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sourceVirtualMachine": {
- "description": "The source virtual machine from which Image is created.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. NOTE: Image reference publisher and offer can only be set when you create the scale set.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "offer": {
- "description": "Specifies the offer of the platform image or marketplace image used to create the virtual machine.",
- "type": "string"
- },
- "publisher": {
- "description": "The image publisher.",
- "type": "string"
- },
- "sku": {
- "description": "The image SKU.",
- "type": "string"
- },
- "version": {
- "description": "Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ImageStorageProfile": {
- "description": "Describes a storage profile.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add a data disk to a virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/ImageDataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageOSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "zoneResilient": {
- "description": "Specifies whether an image is zone resilient or not. Default is false. Zone resilient images can be created only in regions that provide Zone Redundant Storage (ZRS).",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "InstanceViewStatus": {
- "description": "Instance view status.",
- "properties": {
- "code": {
- "description": "The status code.",
- "type": "string"
- },
- "displayStatus": {
- "description": "The short localizable label for the status.",
- "type": "string"
- },
- "level": {
- "description": "The level code.",
- "oneOf": [
- {
- "enum": [
- "Info",
- "Warning",
- "Error"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "message": {
- "description": "The detailed status message, including for alerts and error messages.",
- "type": "string"
- },
- "time": {
- "description": "The time of the status.",
- "format": "date-time",
- "type": "string"
- }
- },
- "type": "object"
- },
- "KeyVaultKeyReference": {
- "description": "Describes a reference to Key Vault Key",
- "properties": {
- "keyUrl": {
- "description": "The URL referencing a key encryption key in Key Vault.",
- "type": "string"
- },
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing the key.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "keyUrl",
- "sourceVault"
- ],
- "type": "object"
- },
- "KeyVaultSecretReference": {
- "description": "Describes a reference to Key Vault Secret",
- "properties": {
- "secretUrl": {
- "description": "The URL referencing a secret in a Key Vault.",
- "type": "string"
- },
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing the secret.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "secretUrl",
- "sourceVault"
- ],
- "type": "object"
- },
- "LinuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros).",
- "properties": {
- "disablePasswordAuthentication": {
- "description": "Specifies whether password authentication should be disabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "patchSettings": {
- "description": "[Preview Feature] Specifies settings related to VM Guest Patching on Linux.",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxPatchSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionVMAgent": {
- "description": "Indicates whether virtual machine agent should be provisioned on the virtual machine.
When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ssh": {
- "description": "Specifies the ssh key configuration for a Linux OS.",
- "oneOf": [
- {
- "$ref": "#/definitions/SshConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "LinuxPatchSettings": {
- "description": "Specifies settings related to VM Guest Patching on Linux.",
- "properties": {
- "assessmentMode": {
- "description": "Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine.
Possible values are:
**ImageDefault** - You control the timing of patch assessments on a virtual machine.
**AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true.",
- "oneOf": [
- {
- "enum": [
- "ImageDefault",
- "AutomaticByPlatform"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "patchMode": {
- "description": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.
Possible values are:
**ImageDefault** - The virtual machine's default patching configuration is used.
**AutomaticByPlatform** - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true",
- "oneOf": [
- {
- "enum": [
- "ImageDefault",
- "AutomaticByPlatform"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "LoadBalancerConfiguration": {
- "description": "Describes the load balancer configuration.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "name": {
- "description": "The name of the Load balancer",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the load balancer configuration.",
- "oneOf": [
- {
- "$ref": "#/definitions/LoadBalancerConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties"
- ],
- "type": "object"
- },
- "LoadBalancerConfigurationProperties": {
- "properties": {
- "frontendIPConfigurations": {
- "description": "Specifies the frontend IP to be used for the load balancer. Only IPv4 frontend IP address is supported. Each load balancer configuration must have exactly one frontend IP configuration.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/LoadBalancerFrontendIPConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "frontendIPConfigurations"
- ],
- "type": "object"
- },
- "LoadBalancerFrontendIPConfiguration": {
- "properties": {
- "name": {
- "description": "The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.",
- "type": "string"
- },
- "properties": {
- "description": "Properties of load balancer frontend ip configuration.",
- "oneOf": [
- {
- "$ref": "#/definitions/LoadBalancerFrontendIPConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties"
- ],
- "type": "object"
- },
- "LoadBalancerFrontendIPConfigurationProperties": {
- "description": "Describes a cloud service IP Configuration",
- "properties": {
- "privateIPAddress": {
- "description": "The virtual network private IP address of the IP configuration.",
- "type": "string"
- },
- "publicIPAddress": {
- "description": "The reference to the public ip address resource.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "subnet": {
- "description": "The reference to the virtual network subnet resource.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ManagedDiskParameters": {
- "description": "The parameters of a managed disk.",
- "properties": {
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. Managed OS disk storage account type can only be set when you create the scale set. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS",
- "Premium_ZRS",
- "StandardSSD_ZRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkInterfaceReference": {
- "description": "Describes a network interface reference.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "properties": {
- "description": "Describes a network interface reference properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkInterfaceReferenceProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkInterfaceReferenceProperties": {
- "description": "Describes a network interface reference properties.",
- "properties": {
- "deleteOption": {
- "description": "Specify what happens to the network interface when the VM is deleted",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkProfile": {
- "description": "Specifies the network interfaces or the networking configuration of the virtual machine.",
- "properties": {
- "networkApiVersion": {
- "description": "specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations",
- "oneOf": [
- {
- "enum": [
- "2020-11-01"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkInterfaceConfigurations": {
- "description": "Specifies the networking configurations that will be used to create the virtual machine networking resources.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineNetworkInterfaceConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkInterfaces": {
- "description": "Specifies the list of resource Ids for the network interfaces associated with the virtual machine.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/NetworkInterfaceReference"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "OSDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None** for Standard storage. **ReadOnly** for Premium storage.",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machine should be created.
Possible values are:
**Attach** \\u2013 This value is used when you are using a specialized disk to create the virtual machine.
**FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "deleteOption": {
- "description": "Specifies whether OS Disk should be deleted or detached upon VM deletion.
Possible values:
**Delete** If this value is used, the OS disk is deleted when VM is deleted.
**Detach** If this value is used, the os disk is retained after VM is deleted.
The default value is set to **detach**. For an ephemeral OS Disk, the default value is set to **Delete**. User cannot change the delete option for ephemeral OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diffDiskSettings": {
- "description": "Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiffDiskSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettings": {
- "description": "Specifies the encryption settings for the OS Disk.
Minimum api-version: 2015-06-15",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/ManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhd": {
- "description": "The virtual hard disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "OSProfile": {
- "description": "Specifies the operating system settings for the virtual machine. Some of the settings cannot be changed once VM is provisioned.",
- "properties": {
- "adminPassword": {
- "description": "Specifies the password of the administrator account.
**Minimum-length (Windows):** 8 characters
**Minimum-length (Linux):** 6 characters
**Max-length (Windows):** 123 characters
**Max-length (Linux):** 72 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])
**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"
For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp)
For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)",
- "type": "string"
- },
- "adminUsername": {
- "description": "Specifies the name of the administrator account.
This property cannot be updated after the VM is created.
**Windows-only restriction:** Cannot end in \".\"
**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters.",
- "type": "string"
- },
- "allowExtensionOperations": {
- "description": "Specifies whether extension operations should be allowed on the virtual machine.
This may only be set to False when no extensions are present on the virtual machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "computerName": {
- "description": "Specifies the host OS name of the virtual machine.
This name cannot be updated after the VM is created.
**Max-length (Windows):** 15 characters
**Max-length (Linux):** 64 characters.
For naming conventions and restrictions see [Azure infrastructure services implementation guidelines](https://docs.microsoft.com/azure/azure-resource-manager/management/resource-name-rules).",
- "type": "string"
- },
- "customData": {
- "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes.
**Note: Do not pass any secrets or passwords in customData property**
This property cannot be updated after the VM is created.
customData is passed to the VM to be saved as a file, for more information see [Custom Data on Azure VMs](https://azure.microsoft.com/blog/custom-data-and-cloud-init-on-windows-azure/)
For using cloud-init for your Linux VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init)",
- "type": "string"
- },
- "linuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros).",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "requireGuestProvisionSignal": {
- "description": "Specifies whether the guest provision signal is required to infer provision success of the virtual machine. **Note: This property is for private testing only, and all customers must not set the property to false.**",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "secrets": {
- "description": "Specifies set of certificates that should be installed onto the virtual machine. To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultSecretGroup"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "windowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/WindowsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "PatchSettings": {
- "description": "Specifies settings related to VM Guest Patching on Windows.",
- "properties": {
- "assessmentMode": {
- "description": "Specifies the mode of VM Guest patch assessment for the IaaS virtual machine.
Possible values are:
**ImageDefault** - You control the timing of patch assessments on a virtual machine.
**AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true. ",
- "oneOf": [
- {
- "enum": [
- "ImageDefault",
- "AutomaticByPlatform"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableHotpatching": {
- "description": "Enables customers to patch their Azure VMs without requiring a reboot. For enableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode' must be set to 'AutomaticByPlatform'.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "patchMode": {
- "description": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.
Possible values are:
**Manual** - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false
**AutomaticByOS** - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true.
**AutomaticByPlatform** - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true ",
- "oneOf": [
- {
- "enum": [
- "Manual",
- "AutomaticByOS",
- "AutomaticByPlatform"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "properties": {
- "name": {
- "description": "The plan ID.",
- "type": "string"
- },
- "product": {
- "description": "Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.",
- "type": "string"
- },
- "promotionCode": {
- "description": "The promotion code.",
- "type": "string"
- },
- "publisher": {
- "description": "The publisher ID.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ProximityPlacementGroupProperties": {
- "description": "Describes the properties of a Proximity Placement Group.",
- "properties": {
- "colocationStatus": {
- "description": "Describes colocation status of the Proximity Placement Group.",
- "oneOf": [
- {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroupType": {
- "description": "Specifies the type of the proximity placement group.
Possible values are:
**Standard** : Co-locate resources within an Azure region or Availability Zone.
**Ultra** : For future use.",
- "oneOf": [
- {
- "enum": [
- "Standard",
- "Ultra"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "PublicIPAddressSku": {
- "description": "Describes the public IP Sku",
- "properties": {
- "name": {
- "description": "Specify public IP sku name",
- "oneOf": [
- {
- "enum": [
- "Basic",
- "Standard"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tier": {
- "description": "Specify public IP sku tier",
- "oneOf": [
- {
- "enum": [
- "Regional",
- "Global"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RestorePointCollectionProperties": {
- "description": "The restore point collection properties.",
- "properties": {
- "source": {
- "description": "The properties of the source resource that this restore point collection is created from.",
- "oneOf": [
- {
- "$ref": "#/definitions/RestorePointCollectionSourceProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RestorePointCollectionSourceProperties": {
- "description": "The properties of the source resource that this restore point collection is created from.",
- "properties": {
- "id": {
- "description": "Resource Id of the source resource used to create this restore point collection",
- "type": "string"
- }
- },
- "type": "object"
- },
- "RestorePointProperties": {
- "description": "The restore point properties.",
- "properties": {
- "excludeDisks": {
- "description": "List of disk resource ids that the customer wishes to exclude from the restore point. If no disks are specified, all disks will be included.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/ApiEntityReference"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "timeCreated": {
- "description": "Gets the creation time of the restore point.",
- "format": "date-time",
- "type": "string"
- }
- },
- "type": "object"
- },
- "RollingUpgradePolicy": {
- "description": "The configuration parameters used while performing a rolling upgrade.",
- "properties": {
- "enableCrossZoneUpgrade": {
- "description": "Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxBatchInstancePercent": {
- "description": "The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 5,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxUnhealthyInstancePercent": {
- "description": "The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 5,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxUnhealthyUpgradedInstancePercent": {
- "description": "The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "pauseTimeBetweenBatches": {
- "description": "The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format. The default value is 0 seconds (PT0S).",
- "type": "string"
- },
- "prioritizeUnhealthyInstances": {
- "description": "Upgrade all unhealthy instances in a scale set before any healthy instances.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RunCommandInputParameter": {
- "description": "Describes the properties of a run command parameter.",
- "properties": {
- "name": {
- "description": "The run command parameter name.",
- "type": "string"
- },
- "value": {
- "description": "The run command parameter value.",
- "type": "string"
- }
- },
- "required": [
- "name",
- "value"
- ],
- "type": "object"
- },
- "ScaleInPolicy": {
- "description": "Describes a scale-in policy for a virtual machine scale set.",
- "properties": {
- "rules": {
- "description": "The rules to be followed when scaling-in a virtual machine scale set.
Possible values are:
**Default** When a virtual machine scale set is scaled in, the scale set will first be balanced across zones if it is a zonal scale set. Then, it will be balanced across Fault Domains as far as possible. Within each Fault Domain, the virtual machines chosen for removal will be the newest ones that are not protected from scale-in.
**OldestVM** When a virtual machine scale set is being scaled-in, the oldest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the oldest virtual machines that are not protected will be chosen for removal.
**NewestVM** When a virtual machine scale set is being scaled-in, the newest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the newest virtual machines that are not protected will be chosen for removal.
",
- "oneOf": [
- {
- "items": {
- "enum": [
- "Default",
- "OldestVM",
- "NewestVM"
- ],
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ScheduledEventsProfile": {
- "properties": {
- "terminateNotificationProfile": {
- "description": "Specifies Terminate Scheduled Event related configurations.",
- "oneOf": [
- {
- "$ref": "#/definitions/TerminateNotificationProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SecurityProfile": {
- "description": "Specifies the Security profile settings for the virtual machine or virtual machine scale set.",
- "properties": {
- "encryptionAtHost": {
- "description": "This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself.
Default: The Encryption at host will be disabled unless this property is set to true for the resource.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityType": {
- "description": "Specifies the SecurityType of the virtual machine. It is set as TrustedLaunch to enable UefiSettings.
Default: UefiSettings will not be enabled unless this property is set as TrustedLaunch.",
- "oneOf": [
- {
- "enum": [
- "TrustedLaunch"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "uefiSettings": {
- "description": "Specifies the security settings like secure boot and vTPM used while creating the virtual machine.
Minimum api-version: 2020-12-01",
- "oneOf": [
- {
- "$ref": "#/definitions/UefiSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Sku": {
- "description": "Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name.",
- "properties": {
- "capacity": {
- "description": "Specifies the number of virtual machines in the scale set.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The sku name.",
- "type": "string"
- },
- "tier": {
- "description": "Specifies the tier of virtual machines in a scale set.
Possible Values:
**Standard**
**Basic**",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SshConfiguration": {
- "description": "SSH configuration for Linux based VMs running on Azure",
- "properties": {
- "publicKeys": {
- "description": "The list of SSH public keys used to authenticate with linux based VMs.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SshPublicKey"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SshPublicKey": {
- "description": "Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed.",
- "properties": {
- "keyData": {
- "description": "SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format.
For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed).",
- "type": "string"
- },
- "path": {
- "description": "Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SshPublicKeyResourceProperties": {
- "description": "Properties of the SSH public key.",
- "properties": {
- "publicKey": {
- "description": "SSH public key used to authenticate to a virtual machine through ssh. If this property is not initially provided when the resource is created, the publicKey property will be populated when generateKeyPair is called. If the public key is provided upon resource creation, the provided public key needs to be at least 2048-bit and in ssh-rsa format.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "StorageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add a data disk to a virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/DataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "$ref": "#/definitions/OSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SubResource": {
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "TerminateNotificationProfile": {
- "properties": {
- "enable": {
- "description": "Specifies whether the Terminate Scheduled event is enabled or disabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "notBeforeTimeout": {
- "description": "Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M)",
- "type": "string"
- }
- },
- "type": "object"
- },
- "UefiSettings": {
- "description": "Specifies the security settings like secure boot and vTPM used while creating the virtual machine.
Minimum api-version: 2020-12-01",
- "properties": {
- "secureBootEnabled": {
- "description": "Specifies whether secure boot should be enabled on the virtual machine.
Minimum api-version: 2020-12-01",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vTpmEnabled": {
- "description": "Specifies whether vTPM should be enabled on the virtual machine.
Minimum api-version: 2020-12-01",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "UpgradePolicy": {
- "description": "Describes an upgrade policy - automatic, manual, or rolling.",
- "properties": {
- "automaticOSUpgradePolicy": {
- "description": "Configuration parameters used for performing automatic OS Upgrade.",
- "oneOf": [
- {
- "$ref": "#/definitions/AutomaticOSUpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "mode": {
- "description": "Specifies the mode of an upgrade to virtual machines in the scale set.
Possible values are:
**Manual** - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.
**Automatic** - All virtual machines in the scale set are automatically updated at the same time.",
- "oneOf": [
- {
- "enum": [
- "Automatic",
- "Manual",
- "Rolling"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "rollingUpgradePolicy": {
- "description": "The configuration parameters used while performing a rolling upgrade.",
- "oneOf": [
- {
- "$ref": "#/definitions/RollingUpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "UserAssignedIdentitiesValue": {
- "properties": {},
- "type": "object"
- },
- "VaultCertificate": {
- "description": "Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM.",
- "properties": {
- "certificateStore": {
- "description": "For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account.
For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of these files are .pem formatted.",
- "type": "string"
- },
- "certificateUrl": {
- "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:
{
\"data\":\"\",
\"dataType\":\"pfx\",
\"password\":\"\"
}
To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VaultSecretGroup": {
- "description": "Describes a set of certificates which are all in the same Key Vault.",
- "properties": {
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing all of the certificates in VaultCertificates.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vaultCertificates": {
- "description": "The list of key vault references in SourceVault which contain certificates.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultCertificate"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualHardDisk": {
- "description": "Describes the uri of a disk.",
- "properties": {
- "uri": {
- "description": "Specifies the virtual hard disk's uri.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineExtensionInstanceView": {
- "description": "The instance view of a virtual machine extension.",
- "properties": {
- "name": {
- "description": "The virtual machine extension name.",
- "type": "string"
- },
- "statuses": {
- "description": "The resource status information.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "substatuses": {
- "description": "The resource status information.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineExtensionProperties": {
- "description": "Describes the properties of a Virtual Machine Extension.",
- "properties": {
- "autoUpgradeMinorVersion": {
- "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticUpgrade": {
- "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "forceUpdateTag": {
- "description": "How the extension handler should be forced to update even if the extension configuration has not changed.",
- "type": "string"
- },
- "instanceView": {
- "description": "The virtual machine extension instance view.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionInstanceView"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedSettings": {
- "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publisher": {
- "description": "The name of the extension handler publisher.",
- "type": "string"
- },
- "settings": {
- "description": "Json formatted public settings for the extension.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineIdentity": {
- "description": "Identity for the virtual machine.",
- "properties": {
- "type": {
- "description": "The type of identity used for the virtual machine. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned",
- "UserAssigned",
- "SystemAssigned, UserAssigned",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userAssignedIdentities": {
- "description": "The list of user identities associated with the Virtual Machine. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
- "oneOf": [
- {
- "additionalProperties": {
- "$ref": "#/definitions/UserAssignedIdentitiesValue"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineIpTag": {
- "description": "Contains the IP tag associated with the public IP address.",
- "properties": {
- "ipTagType": {
- "description": "IP tag type. Example: FirstPartyUsage.",
- "type": "string"
- },
- "tag": {
- "description": "IP tag associated with the public IP. Example: SQL, Storage etc.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineNetworkInterfaceConfiguration": {
- "description": "Describes a virtual machine network interface configurations.",
- "properties": {
- "name": {
- "description": "The network interface configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine network profile's IP configuration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineNetworkInterfaceConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineNetworkInterfaceConfigurationProperties": {
- "description": "Describes a virtual machine network profile's IP configuration.",
- "properties": {
- "deleteOption": {
- "description": "Specify what happens to the network interface when the VM is deleted",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dnsSettings": {
- "description": "The dns settings to be applied on the network interfaces.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineNetworkInterfaceDnsSettingsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dscpConfiguration": {
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAcceleratedNetworking": {
- "description": "Specifies whether the network interface is accelerated networking-enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableFpga": {
- "description": "Specifies whether the network interface is FPGA networking-enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableIPForwarding": {
- "description": "Whether IP forwarding enabled on this NIC.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipConfigurations": {
- "description": "Specifies the IP configurations of the network interface.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineNetworkInterfaceIPConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkSecurityGroup": {
- "description": "The network security group.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "ipConfigurations"
- ],
- "type": "object"
- },
- "VirtualMachineNetworkInterfaceDnsSettingsConfiguration": {
- "description": "Describes a virtual machines network configuration's DNS settings.",
- "properties": {
- "dnsServers": {
- "description": "List of DNS servers IP addresses",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineNetworkInterfaceIPConfiguration": {
- "description": "Describes a virtual machine network profile's IP configuration.",
- "properties": {
- "name": {
- "description": "The IP configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine network interface IP configuration properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineNetworkInterfaceIPConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineNetworkInterfaceIPConfigurationProperties": {
- "description": "Describes a virtual machine network interface IP configuration properties.",
- "properties": {
- "applicationGatewayBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of application gateways. A virtual machine can reference backend address pools of multiple application gateways. Multiple virtual machines cannot use the same application gateway.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "applicationSecurityGroups": {
- "description": "Specifies an array of references to application security group.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of load balancers. A virtual machine can reference backend address pools of one public and one internal load balancer. [Multiple virtual machines cannot use the same basic sku load balancer].",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "privateIPAddressVersion": {
- "description": "Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressConfiguration": {
- "description": "The publicIPAddressConfiguration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachinePublicIPAddressConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "subnet": {
- "description": "Specifies the identifier of the subnet.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineProperties": {
- "description": "Describes the properties of a Virtual Machine.",
- "properties": {
- "additionalCapabilities": {
- "description": "Specifies additional capabilities enabled or disabled on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/AdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "availabilitySet": {
- "description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Availability sets overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview).
For more information on Azure planned maintenance, see [Maintenance and updates for Virtual Machines in Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates)
Currently, a VM can only be added to availability set at creation time. The availability set to which the VM is being added should be under the same resource group as the availability set resource. An existing VM cannot be added to an availability set.
This property cannot exist along with a non-null properties.virtualMachineScaleSet reference.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "billingProfile": {
- "description": "Specifies the billing related details of a Azure Spot virtual machine.
Minimum api-version: 2019-03-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/BillingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "evictionPolicy": {
- "description": "Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set.
For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01.
For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview.",
- "oneOf": [
- {
- "enum": [
- "Deallocate",
- "Delete"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extensionsTimeBudget": {
- "description": "Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M).
Minimum api-version: 2020-06-01",
- "type": "string"
- },
- "hardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/HardwareProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "host": {
- "description": "Specifies information about the dedicated host that the virtual machine resides in.
Minimum api-version: 2018-10-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hostGroup": {
- "description": "Specifies information about the dedicated host group that the virtual machine resides in.
Minimum api-version: 2020-06-01.
NOTE: User cannot specify both host and hostGroup properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises.
Possible values for Windows Server operating system are:
Windows_Client
Windows_Server
Possible values for Linux Server operating system are:
RHEL_BYOS (for RHEL)
SLES_BYOS (for SUSE)
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)
[Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings used while creating the virtual machine. Some of the settings cannot be changed once VM is provisioned.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformFaultDomain": {
- "description": "Specifies the scale set logical fault domain into which the Virtual Machine will be created. By default, the Virtual Machine will by automatically assigned to a fault domain that best maintains balance across available fault domains.
This is applicable only if the 'virtualMachineScaleSet' property of this Virtual Machine is set.The Virtual Machine Scale Set that is referenced, must have 'platformFaultDomainCount' > 1.This property cannot be updated once the Virtual Machine is created.Fault domain assignment can be viewed in the Virtual Machine Instance View.
Minimum api‐version: 2020‐12‐01",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "priority": {
- "description": "Specifies the priority for the virtual machine.
Minimum api-version: 2019-03-01",
- "oneOf": [
- {
- "enum": [
- "Regular",
- "Low",
- "Spot"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the virtual machine should be assigned to.
Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "scheduledEventsProfile": {
- "description": "Specifies Scheduled Event related configurations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ScheduledEventsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Specifies the Security related profile settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/SecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/StorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userData": {
- "description": "UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here.
Minimum api-version: 2021-03-01",
- "type": "string"
- },
- "virtualMachineScaleSet": {
- "description": "Specifies information about the virtual machine scale set that the virtual machine should be assigned to. Virtual machines specified in the same virtual machine scale set are allocated to different nodes to maximize availability. Currently, a VM can only be added to virtual machine scale set at creation time. An existing VM cannot be added to a virtual machine scale set.
This property cannot exist along with a non-null properties.availabilitySet reference.
Minimum api‐version: 2019‐03‐01",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachinePublicIPAddressConfiguration": {
- "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration",
- "properties": {
- "name": {
- "description": "The publicIP address configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachinePublicIPAddressConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "Describes the public IP Sku",
- "oneOf": [
- {
- "$ref": "#/definitions/PublicIPAddressSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachinePublicIPAddressConfigurationProperties": {
- "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration",
- "properties": {
- "deleteOption": {
- "description": "Specify what happens to the public IP address when the VM is deleted",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dnsSettings": {
- "description": "The dns settings to be applied on the publicIP addresses .",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachinePublicIPAddressDnsSettingsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "idleTimeoutInMinutes": {
- "description": "The idle timeout of the public IP address.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipTags": {
- "description": "The list of IP tags associated with the public IP address.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineIpTag"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressVersion": {
- "description": "Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAllocationMethod": {
- "description": "Specify the public IP allocation type",
- "oneOf": [
- {
- "enum": [
- "Dynamic",
- "Static"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPPrefix": {
- "description": "The PublicIPPrefix from which to allocate publicIP addresses.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachinePublicIPAddressDnsSettingsConfiguration": {
- "description": "Describes a virtual machines network configuration's DNS settings.",
- "properties": {
- "domainNameLabel": {
- "description": "The Domain name label prefix of the PublicIPAddress resources that will be created. The generated name label is the concatenation of the domain name label and vm network profile unique ID.",
- "type": "string"
- }
- },
- "required": [
- "domainNameLabel"
- ],
- "type": "object"
- },
- "VirtualMachineRunCommandProperties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "properties": {
- "asyncExecution": {
- "description": "Optional. If set to true, provisioning will complete as soon as the script starts and will not wait for script to complete.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "errorBlobUri": {
- "description": "Specifies the Azure storage blob where script error stream will be uploaded.",
- "type": "string"
- },
- "outputBlobUri": {
- "description": "Specifies the Azure storage blob where script output stream will be uploaded.",
- "type": "string"
- },
- "parameters": {
- "description": "The parameters used by the script.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/RunCommandInputParameter"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedParameters": {
- "description": "The parameters used by the script.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/RunCommandInputParameter"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "runAsPassword": {
- "description": "Specifies the user account password on the VM when executing the run command.",
- "type": "string"
- },
- "runAsUser": {
- "description": "Specifies the user account on the VM when executing the run command.",
- "type": "string"
- },
- "source": {
- "description": "The source of the run command script.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandScriptSource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "timeoutInSeconds": {
- "description": "The timeout in seconds to execute the run command.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineRunCommandScriptSource": {
- "description": "Describes the script sources for run command.",
- "properties": {
- "commandId": {
- "description": "Specifies a commandId of predefined built-in script.",
- "type": "string"
- },
- "script": {
- "description": "Specifies the script content to be executed on the VM.",
- "type": "string"
- },
- "scriptUri": {
- "description": "Specifies the script download location.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetDataDisk": {
- "description": "Describes a virtual machine scale set data disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "The create option.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskIOPSReadWrite": {
- "description": "Specifies the Read-Write IOPS for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskMBpsReadWrite": {
- "description": "Specifies the bandwidth in MB per second for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun",
- "createOption"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetExtension": {
- "description": "Describes a Virtual Machine Scale Set Extension.",
- "properties": {
- "name": {
- "description": "The name of the extension.",
- "type": "string"
- },
- "properties": {
- "anyOf": [
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/genericExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/bgInfo"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/dscExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackup"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/chefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/dockerExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/eset"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/puppetAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/customScript"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetExtensionProfile": {
- "description": "Describes a virtual machine scale set extension profile.",
- "properties": {
- "extensions": {
- "description": "The virtual machine scale set child extension resources.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetExtension"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extensionsTimeBudget": {
- "description": "Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M).
Minimum api-version: 2020-06-01",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetExtensionProperties": {
- "description": "Describes the properties of a Virtual Machine Scale Set Extension.",
- "properties": {
- "autoUpgradeMinorVersion": {
- "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticUpgrade": {
- "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "forceUpdateTag": {
- "description": "If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.",
- "type": "string"
- },
- "protectedSettings": {
- "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionAfterExtensions": {
- "description": "Collection of extension names after which this extension needs to be provisioned.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publisher": {
- "description": "The name of the extension handler publisher.",
- "type": "string"
- },
- "settings": {
- "description": "Json formatted public settings for the extension.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIPConfiguration": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "name": {
- "description": "The IP configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetIPConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetIPConfigurationProperties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration properties.",
- "properties": {
- "applicationGatewayBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of application gateways. A scale set can reference backend address pools of multiple application gateways. Multiple scale sets cannot use the same application gateway.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "applicationSecurityGroups": {
- "description": "Specifies an array of references to application security group.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of load balancers. A scale set can reference backend address pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerInboundNatPools": {
- "description": "Specifies an array of references to inbound Nat pools of the load balancers. A scale set can reference inbound nat pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "privateIPAddressVersion": {
- "description": "Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressConfiguration": {
- "description": "The publicIPAddressConfiguration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "subnet": {
- "description": "Specifies the identifier of the subnet.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApiEntityReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIdentity": {
- "description": "Identity for the virtual machine scale set.",
- "properties": {
- "type": {
- "description": "The type of identity used for the virtual machine scale set. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine scale set.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned",
- "UserAssigned",
- "SystemAssigned, UserAssigned",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userAssignedIdentities": {
- "description": "The list of user identities associated with the virtual machine scale set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
- "oneOf": [
- {
- "additionalProperties": {
- "$ref": "#/definitions/VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue": {
- "properties": {},
- "type": "object"
- },
- "VirtualMachineScaleSetIpTag": {
- "description": "Contains the IP tag associated with the public IP address.",
- "properties": {
- "ipTagType": {
- "description": "IP tag type. Example: FirstPartyUsage.",
- "type": "string"
- },
- "tag": {
- "description": "IP tag associated with the public IP. Example: SQL, Storage etc.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetManagedDiskParameters": {
- "description": "Describes the parameters of a ScaleSet managed disk.",
- "properties": {
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS",
- "Premium_ZRS",
- "StandardSSD_ZRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfiguration": {
- "description": "Describes a virtual machine scale set network profile's network configurations.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "name": {
- "description": "The network configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfigurationDnsSettings": {
- "description": "Describes a virtual machines scale sets network configuration's DNS settings.",
- "properties": {
- "dnsServers": {
- "description": "List of DNS servers IP addresses",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfigurationProperties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "properties": {
- "deleteOption": {
- "description": "Specify what happens to the network interface when the VM is deleted",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dnsSettings": {
- "description": "The dns settings to be applied on the network interfaces.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationDnsSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAcceleratedNetworking": {
- "description": "Specifies whether the network interface is accelerated networking-enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableFpga": {
- "description": "Specifies whether the network interface is FPGA networking-enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableIPForwarding": {
- "description": "Whether IP forwarding enabled on this NIC.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipConfigurations": {
- "description": "Specifies the IP configurations of the network interface.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetIPConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkSecurityGroup": {
- "description": "The network security group.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "ipConfigurations"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkProfile": {
- "description": "Describes a virtual machine scale set network profile.",
- "properties": {
- "healthProbe": {
- "description": "A reference to a load balancer probe used to determine the health of an instance in the virtual machine scale set. The reference will be in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApiEntityReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkApiVersion": {
- "description": "specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations for Virtual Machine Scale Set with orchestration mode 'Flexible'",
- "oneOf": [
- {
- "enum": [
- "2020-11-01"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkInterfaceConfigurations": {
- "description": "The list of network configurations.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetOSDisk": {
- "description": "Describes a virtual machine scale set operating system disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machines in the scale set should be created.
The only allowed value is: **FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diffDiskSettings": {
- "description": "Specifies the ephemeral disk Settings for the operating system disk used by the virtual machine scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiffDiskSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of the operating system disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "Specifies information about the unmanaged user image to base the scale set on.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhdContainers": {
- "description": "Specifies the container urls that are used to store operating system disks for the scale set.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetOSProfile": {
- "description": "Describes a virtual machine scale set OS profile.",
- "properties": {
- "adminPassword": {
- "description": "Specifies the password of the administrator account.
**Minimum-length (Windows):** 8 characters
**Minimum-length (Linux):** 6 characters
**Max-length (Windows):** 123 characters
**Max-length (Linux):** 72 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])
**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"
For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp)
For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)",
- "type": "string"
- },
- "adminUsername": {
- "description": "Specifies the name of the administrator account.
**Windows-only restriction:** Cannot end in \".\"
**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters",
- "type": "string"
- },
- "computerNamePrefix": {
- "description": "Specifies the computer name prefix for all of the virtual machines in the scale set. Computer name prefixes must be 1 to 15 characters long.",
- "type": "string"
- },
- "customData": {
- "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes.
For using cloud-init for your VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init)",
- "type": "string"
- },
- "linuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros).",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "secrets": {
- "description": "Specifies set of certificates that should be installed onto the virtual machines in the scale set. To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultSecretGroup"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "windowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/WindowsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetProperties": {
- "description": "Describes the properties of a Virtual Machine Scale Set.",
- "properties": {
- "additionalCapabilities": {
- "description": "Specifies additional capabilities enabled or disabled on the Virtual Machines in the Virtual Machine Scale Set. For instance: whether the Virtual Machines have the capability to support attaching managed data disks with UltraSSD_LRS storage account type.",
- "oneOf": [
- {
- "$ref": "#/definitions/AdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "automaticRepairsPolicy": {
- "description": "Policy for automatic repairs.",
- "oneOf": [
- {
- "$ref": "#/definitions/AutomaticRepairsPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "doNotRunExtensionsOnOverprovisionedVMs": {
- "description": "When Overprovision is enabled, extensions are launched only on the requested number of VMs which are finally kept. This property will hence ensure that the extensions do not run on the extra overprovisioned VMs.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hostGroup": {
- "description": "Specifies information about the dedicated host group that the virtual machine scale set resides in.
Minimum api-version: 2020-06-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "orchestrationMode": {
- "description": "Specifies the orchestration mode for the virtual machine scale set.",
- "oneOf": [
- {
- "enum": [
- "Uniform",
- "Flexible"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "overprovision": {
- "description": "Specifies whether the Virtual Machine Scale Set should be overprovisioned.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformFaultDomainCount": {
- "description": "Fault Domain count for each placement group.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the virtual machine scale set should be assigned to.
Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "scaleInPolicy": {
- "description": "Specifies the scale-in policy that decides which virtual machines are chosen for removal when a Virtual Machine Scale Set is scaled-in.",
- "oneOf": [
- {
- "$ref": "#/definitions/ScaleInPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "singlePlacementGroup": {
- "description": "When true this limits the scale set to a single placement group, of max size 100 virtual machines. NOTE: If singlePlacementGroup is true, it may be modified to false. However, if singlePlacementGroup is false, it may not be modified to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "upgradePolicy": {
- "description": "The upgrade policy.",
- "oneOf": [
- {
- "$ref": "#/definitions/UpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "virtualMachineProfile": {
- "description": "The virtual machine profile.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "zoneBalance": {
- "description": "Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfiguration": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "properties": {
- "name": {
- "description": "The publicIP address configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "Describes the public IP Sku",
- "oneOf": [
- {
- "$ref": "#/definitions/PublicIPAddressSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings": {
- "description": "Describes a virtual machines scale sets network configuration's DNS settings.",
- "properties": {
- "domainNameLabel": {
- "description": "The Domain name label.The concatenation of the domain name label and vm index will be the domain name labels of the PublicIPAddress resources that will be created",
- "type": "string"
- }
- },
- "required": [
- "domainNameLabel"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfigurationProperties": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "properties": {
- "deleteOption": {
- "description": "Specify what happens to the public IP when the VM is deleted",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dnsSettings": {
- "description": "The dns settings to be applied on the publicIP addresses .",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "idleTimeoutInMinutes": {
- "description": "The idle timeout of the public IP address.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipTags": {
- "description": "The list of IP tags associated with the public IP address.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetIpTag"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressVersion": {
- "description": "Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPPrefix": {
- "description": "The PublicIPPrefix from which to allocate publicIP addresses.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetStorageProfile": {
- "description": "Describes a virtual machine scale set storage profile.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add data disks to the virtual machines in the scale set.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetDataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machines in the scale set.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetOSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMNetworkProfileConfiguration": {
- "description": "Describes a virtual machine scale set VM network profile.",
- "properties": {
- "networkInterfaceConfigurations": {
- "description": "The list of network configurations.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProfile": {
- "description": "Describes a virtual machine scale set virtual machine profile.",
- "properties": {
- "billingProfile": {
- "description": "Specifies the billing related details of a Azure Spot VMSS.
Minimum api-version: 2019-03-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/BillingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "evictionPolicy": {
- "description": "Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set.
For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01.
For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview.",
- "oneOf": [
- {
- "enum": [
- "Deallocate",
- "Delete"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extensionProfile": {
- "description": "Specifies a collection of settings for extensions installed on virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetExtensionProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises.
Possible values for Windows Server operating system are:
Windows_Client
Windows_Server
Possible values for Linux Server operating system are:
RHEL_BYOS (for RHEL)
SLES_BYOS (for SUSE)
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)
[Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies properties of the network interfaces of the virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings for the virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetOSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "priority": {
- "description": "Specifies the priority for the virtual machines in the scale set.
Minimum api-version: 2017-10-30-preview",
- "oneOf": [
- {
- "enum": [
- "Regular",
- "Low",
- "Spot"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "scheduledEventsProfile": {
- "description": "Specifies Scheduled Event related configurations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ScheduledEventsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Specifies the Security related profile settings for the virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/SecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userData": {
- "description": "UserData for the virtual machines in the scale set, which must be base-64 encoded. Customer should not pass any secrets in here.
Minimum api-version: 2021-03-01",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProperties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "properties": {
- "additionalCapabilities": {
- "description": "Specifies additional capabilities enabled or disabled on the virtual machine in the scale set. For instance: whether the virtual machine has the capability to support attaching managed data disks with UltraSSD_LRS storage account type.",
- "oneOf": [
- {
- "$ref": "#/definitions/AdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "availabilitySet": {
- "description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Availability sets overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview).
For more information on Azure planned maintenance, see [Maintenance and updates for Virtual Machines in Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates)
Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/HardwareProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises.
Possible values for Windows Server operating system are:
Windows_Client
Windows_Server
Possible values for Linux Server operating system are:
RHEL_BYOS (for RHEL)
SLES_BYOS (for SUSE)
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)
[Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkProfileConfiguration": {
- "description": "Specifies the network profile configuration of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMNetworkProfileConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectionPolicy": {
- "description": "Specifies the protection policy of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProtectionPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Specifies the Security related profile settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/SecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/StorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userData": {
- "description": "UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here.
Minimum api-version: 2021-03-01",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProtectionPolicy": {
- "description": "The protection policy of a virtual machine scale set VM.",
- "properties": {
- "protectFromScaleIn": {
- "description": "Indicates that the virtual machine scale set VM shouldn't be considered for deletion during a scale-in operation.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectFromScaleSetActions": {
- "description": "Indicates that model updates or actions (including scale-in) initiated on the virtual machine scale set should not be applied to the virtual machine scale set VM.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WinRMConfiguration": {
- "description": "Describes Windows Remote Management configuration of the VM",
- "properties": {
- "listeners": {
- "description": "The list of Windows Remote Management listeners",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/WinRMListener"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WinRMListener": {
- "description": "Describes Protocol and thumbprint of Windows Remote Management listener",
- "properties": {
- "certificateUrl": {
- "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:
{
\"data\":\"\",
\"dataType\":\"pfx\",
\"password\":\"\"
}
To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).",
- "type": "string"
- },
- "protocol": {
- "description": "Specifies the protocol of WinRM listener.
Possible values are:
**http**
**https**",
- "oneOf": [
- {
- "enum": [
- "Http",
- "Https"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WindowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "properties": {
- "additionalUnattendContent": {
- "description": "Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/AdditionalUnattendContent"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticUpdates": {
- "description": "Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value is true.
For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "patchSettings": {
- "description": "[Preview Feature] Specifies settings related to VM Guest Patching on Windows.",
- "oneOf": [
- {
- "$ref": "#/definitions/PatchSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionVMAgent": {
- "description": "Indicates whether virtual machine agent should be provisioned on the virtual machine.
When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "timeZone": {
- "description": "Specifies the time zone of the virtual machine. e.g. \"Pacific Standard Time\".
Possible values can be [TimeZoneInfo.Id](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.id?#System_TimeZoneInfo_Id) value from time zones returned by [TimeZoneInfo.GetSystemTimeZones](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.getsystemtimezones).",
- "type": "string"
- },
- "winRM": {
- "description": "Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.",
- "oneOf": [
- {
- "$ref": "#/definitions/WinRMConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "hostGroups_hosts_childResource": {
- "description": "Microsoft.Compute/hostGroups/hosts",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the dedicated host .",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the dedicated host.",
- "oneOf": [
- {
- "$ref": "#/definitions/DedicatedHostProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be set. List Microsoft.Compute SKUs for a list of possible values.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "hosts"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "restorePointCollections_restorePoints_childResource": {
- "description": "Microsoft.Compute/restorePointCollections/restorePoints",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-03-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the restore point.",
- "type": "string"
- },
- "properties": {
- "description": "The restore point properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/RestorePointProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "restorePoints"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-03-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the VM scale set extension.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Scale Set Extension.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetExtensionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-03-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine extension.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Extension.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_runCommands_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/runCommands",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine run command.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "runCommands"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualmachines_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualmachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The instance ID of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "virtualmachines"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachines/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine extension.",
- "type": "string"
- },
- "properties": {
- "anyOf": [
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/genericExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/bgInfo"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/dscExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackup"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/chefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/dockerExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/eset"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/puppetAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/customScript"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines_runCommands_childResource": {
- "description": "Microsoft.Compute/virtualMachines/runCommands",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine run command.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "runCommands"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- }
-}
\ No newline at end of file
diff --git a/schemas/2021-04-01/Microsoft.Compute.json b/schemas/2021-04-01/Microsoft.Compute.json
deleted file mode 100644
index 98226a51ab..0000000000
--- a/schemas/2021-04-01/Microsoft.Compute.json
+++ /dev/null
@@ -1,8074 +0,0 @@
-{
- "id": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.json#",
- "title": "Microsoft.Compute",
- "description": "Microsoft Compute Resource Types",
- "$schema": "http://json-schema.org/draft-04/schema#",
- "resourceDefinitions": {
- "availabilitySets": {
- "description": "Microsoft.Compute/availabilitySets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-04-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the availability set.",
- "type": "string"
- },
- "properties": {
- "description": "The instance view of a resource.",
- "oneOf": [
- {
- "$ref": "#/definitions/AvailabilitySetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "Sku of the availability set, only name is required to be set. See AvailabilitySetSkuTypes for possible set of values. Use 'Aligned' for virtual machines with managed disks and 'Classic' for virtual machines with unmanaged disks. Default value is 'Classic'.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/availabilitySets"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "capacityReservationGroups": {
- "description": "Microsoft.Compute/capacityReservationGroups",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-04-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the capacity reservation group.",
- "type": "string"
- },
- "properties": {
- "description": "capacity reservation group Properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/CapacityReservationGroupProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/capacityReservationGroups_capacityReservations_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/capacityReservationGroups"
- ],
- "type": "string"
- },
- "zones": {
- "description": "Availability Zones to use for this capacity reservation group. The zones can be assigned only during creation. If not provided, the group supports only regional resources in the region. If provided, enforces each capacity reservation in the group to be in one of the zones.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "capacityReservationGroups_capacityReservations": {
- "description": "Microsoft.Compute/capacityReservationGroups/capacityReservations",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-04-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the capacity reservation.",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the Capacity reservation.",
- "oneOf": [
- {
- "$ref": "#/definitions/CapacityReservationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "SKU of the resource for which capacity needs be reserved. The SKU name and capacity is required to be set. Currently VM Skus with the capability called 'CapacityReservationSupported' set to true are supported. Refer to List Microsoft.Compute SKUs in a region (https://docs.microsoft.com/rest/api/compute/resourceskus/list) for supported values.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/capacityReservationGroups/capacityReservations"
- ],
- "type": "string"
- },
- "zones": {
- "description": "Availability Zone to use for this capacity reservation. The zone has to be single value and also should be part for the list of zones specified during the capacity reservation group creation. The zone can be assigned only during creation. If not provided, the reservation supports only non-zonal deployments. If provided, enforces VM/VMSS using this capacity reservation to be in same zone.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "diskAccesses": {
- "description": "Microsoft.Compute/diskAccesses",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-04-01"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location where the disk access will be created. Extended location cannot be changed.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the disk access resource that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "oneOf": [
- {
- "$ref": "#/definitions/DiskAccessProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/diskAccesses_privateEndpointConnections_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/diskAccesses"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "diskAccesses_privateEndpointConnections": {
- "description": "Microsoft.Compute/diskAccesses/privateEndpointConnections",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-04-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the private endpoint connection.",
- "type": "string"
- },
- "properties": {
- "description": "Resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/PrivateEndpointConnectionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/diskAccesses/privateEndpointConnections"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "diskEncryptionSets": {
- "description": "Microsoft.Compute/diskEncryptionSets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-04-01"
- ],
- "type": "string"
- },
- "identity": {
- "description": "The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSetIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the disk encryption set that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/diskEncryptionSets"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "disks": {
- "description": "Microsoft.Compute/disks",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-04-01"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location where the disk will be created. Extended location cannot be changed.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Disk resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, or StandardSSD_ZRS.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/disks"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The Logical zone list for Disk.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "hostGroups": {
- "description": "Microsoft.Compute/hostGroups",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-04-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the dedicated host group.",
- "type": "string"
- },
- "properties": {
- "description": "Dedicated Host Group Properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/DedicatedHostGroupProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/hostGroups_hosts_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/hostGroups"
- ],
- "type": "string"
- },
- "zones": {
- "description": "Availability Zone to use for this host group. Only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "hostGroups_hosts": {
- "description": "Microsoft.Compute/hostGroups/hosts",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-04-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the dedicated host .",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the dedicated host.",
- "oneOf": [
- {
- "$ref": "#/definitions/DedicatedHostProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be set. List Microsoft.Compute SKUs for a list of possible values.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/hostGroups/hosts"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "images": {
- "description": "Microsoft.Compute/images",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-04-01"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location of the Image.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the image.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of an Image.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/images"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "proximityPlacementGroups": {
- "description": "Microsoft.Compute/proximityPlacementGroups",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-04-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the proximity placement group.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Proximity Placement Group.",
- "oneOf": [
- {
- "$ref": "#/definitions/ProximityPlacementGroupProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/proximityPlacementGroups"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "restorePointCollections": {
- "description": "Microsoft.Compute/restorePointCollections",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-04-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the restore point collection.",
- "type": "string"
- },
- "properties": {
- "description": "The restore point collection properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/RestorePointCollectionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/restorePointCollections_restorePoints_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/restorePointCollections"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "restorePointCollections_restorePoints": {
- "description": "Microsoft.Compute/restorePointCollections/restorePoints",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-04-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the restore point.",
- "type": "string"
- },
- "properties": {
- "description": "The restore point properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/RestorePointProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/restorePointCollections/restorePoints"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "snapshots": {
- "description": "Microsoft.Compute/snapshots",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-04-01"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location where the snapshot will be created. Extended location cannot be changed.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The max name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Snapshot resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/SnapshotProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot",
- "oneOf": [
- {
- "$ref": "#/definitions/SnapshotSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/snapshots"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "sshPublicKeys": {
- "description": "Microsoft.Compute/sshPublicKeys",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-04-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the SSH public key.",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the SSH public key.",
- "oneOf": [
- {
- "$ref": "#/definitions/SshPublicKeyResourceProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/sshPublicKeys"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets": {
- "description": "Microsoft.Compute/virtualMachineScaleSets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-04-01"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location of the Virtual Machine Scale Set.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "identity": {
- "description": "The identity of the virtual machine scale set, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the VM scale set to create or update.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Scale Set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachineScaleSets_extensions_childResource"
- },
- {
- "$ref": "#/definitions/virtualMachineScaleSets_virtualmachines_childResource"
- }
- ]
- },
- "type": "array"
- },
- "sku": {
- "description": "The virtual machine scale set sku.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The virtual machine scale set zones. NOTE: Availability zones can only be set when you create the scale set",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_extensions": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-04-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine extension.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Extension.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_runCommands": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/runCommands",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-04-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine run command.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/runCommands"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualmachines": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualmachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-04-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The instance ID of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachineScaleSets_virtualMachines_extensions_childResource"
- },
- {
- "$ref": "#/definitions/virtualMachineScaleSets_virtualMachines_runCommands_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets/virtualmachines"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines": {
- "description": "Microsoft.Compute/virtualMachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-04-01"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location of the Virtual Machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "identity": {
- "description": "The identity of the virtual machine, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachines_extensions_childResource"
- },
- {
- "$ref": "#/definitions/virtualMachines_runCommands_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachines"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The virtual machine zones.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines_runCommands": {
- "description": "Microsoft.Compute/virtualMachines/runCommands",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-04-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine run command.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachines/runCommands"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- },
- "definitions": {
- "AdditionalCapabilities": {
- "description": "Enables or disables a capability on the virtual machine or virtual machine scale set.",
- "properties": {
- "ultraSSDEnabled": {
- "description": "The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "AdditionalUnattendContent": {
- "description": "Specifies additional XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is applied.",
- "properties": {
- "componentName": {
- "description": "The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup.",
- "oneOf": [
- {
- "enum": [
- "Microsoft-Windows-Shell-Setup"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "content": {
- "description": "Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted.",
- "type": "string"
- },
- "passName": {
- "description": "The pass name. Currently, the only allowable value is OobeSystem.",
- "oneOf": [
- {
- "enum": [
- "OobeSystem"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "settingName": {
- "description": "Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon.",
- "oneOf": [
- {
- "enum": [
- "AutoLogon",
- "FirstLogonCommands"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ApiEntityReference": {
- "description": "The API entity reference.",
- "properties": {
- "id": {
- "description": "The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...",
- "type": "string"
- }
- },
- "type": "object"
- },
- "AutomaticOSUpgradePolicy": {
- "description": "The configuration parameters used for performing automatic OS upgrade.",
- "properties": {
- "disableAutomaticRollback": {
- "description": "Whether OS image rollback feature should be disabled. Default value is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticOSUpgrade": {
- "description": "Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. Default value is false.
If this is set to true for Windows based scale sets, [enableAutomaticUpdates](https://docs.microsoft.com/dotnet/api/microsoft.azure.management.compute.models.windowsconfiguration.enableautomaticupdates?view=azure-dotnet) is automatically set to false and cannot be set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "AutomaticRepairsPolicy": {
- "description": "Specifies the configuration parameters for automatic repairs on the virtual machine scale set.",
- "properties": {
- "enabled": {
- "description": "Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "gracePeriod": {
- "description": "The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The minimum allowed grace period is 30 minutes (PT30M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M).",
- "type": "string"
- }
- },
- "type": "object"
- },
- "AvailabilitySetProperties": {
- "description": "The instance view of a resource.",
- "properties": {
- "platformFaultDomainCount": {
- "description": "Fault Domain count.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformUpdateDomainCount": {
- "description": "Update Domain count.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the availability set should be assigned to.
Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "virtualMachines": {
- "description": "A list of references to all virtual machines in the availability set.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "BillingProfile": {
- "description": "Specifies the billing related details of a Azure Spot VM or VMSS.
Minimum api-version: 2019-03-01.",
- "properties": {
- "maxPrice": {
- "description": "Specifies the maximum price you are willing to pay for a Azure Spot VM/VMSS. This price is in US Dollars.
This price will be compared with the current Azure Spot price for the VM size. Also, the prices are compared at the time of create/update of Azure Spot VM/VMSS and the operation will only succeed if the maxPrice is greater than the current Azure Spot price.
The maxPrice will also be used for evicting a Azure Spot VM/VMSS if the current Azure Spot price goes beyond the maxPrice after creation of VM/VMSS.
Possible values are:
- Any decimal value greater than zero. Example: 0.01538
-1 – indicates default price to be up-to on-demand.
You can set the maxPrice to -1 to indicate that the Azure Spot VM/VMSS should not be evicted for price reasons. Also, the default max price is -1 if it is not provided by you.
Minimum api-version: 2019-03-01.",
- "oneOf": [
- {
- "type": "number"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "BootDiagnostics": {
- "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.",
- "properties": {
- "enabled": {
- "description": "Whether boot diagnostics should be enabled on the Virtual Machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageUri": {
- "description": "Uri of the storage account to use for placing the console output and screenshot.
If storageUri is not specified while enabling boot diagnostics, managed storage will be used.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "CapacityReservationGroupProperties": {
- "description": "capacity reservation group Properties.",
- "properties": {},
- "type": "object"
- },
- "CapacityReservationProfile": {
- "description": "The parameters of a capacity reservation Profile.",
- "properties": {
- "capacityReservationGroup": {
- "description": "Specifies the capacity reservation group resource id that should be used for allocating the virtual machine or scaleset vm instances provided enough capacity has been reserved. Please refer to https://aka.ms/CapacityReservation for more details.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "CapacityReservationProperties": {
- "description": "Properties of the Capacity reservation.",
- "properties": {},
- "type": "object"
- },
- "CreationData": {
- "description": "Data used when creating a disk.",
- "properties": {
- "createOption": {
- "description": "This enumerates the possible sources of a disk's creation.",
- "oneOf": [
- {
- "enum": [
- "Empty",
- "Attach",
- "FromImage",
- "Import",
- "Copy",
- "Restore",
- "Upload",
- "CopyStart"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "galleryImageReference": {
- "description": "Required if creating from a Gallery Image. The id of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageDiskReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Disk source information.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageDiskReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "logicalSectorSize": {
- "description": "Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sourceResourceId": {
- "description": "If createOption is Copy, this is the ARM id of the source snapshot or disk.",
- "type": "string"
- },
- "sourceUri": {
- "description": "If createOption is Import, this is the URI of a blob to be imported into a managed disk.",
- "type": "string"
- },
- "storageAccountId": {
- "description": "Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk.",
- "type": "string"
- },
- "uploadSizeBytes": {
- "description": "If createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer).",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "DataDisk": {
- "description": "Describes a data disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machine should be created.
Possible values are:
**Attach** \\u2013 This value is used when you are using a specialized disk to create the virtual machine.
**FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "deleteOption": {
- "description": "Specifies whether data disk should be deleted or detached upon VM deletion.
Possible values:
**Delete** If this value is used, the data disk is deleted when VM is deleted.
**Detach** If this value is used, the data disk is retained after VM is deleted.
The default value is set to **detach**",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "detachOption": {
- "description": "Specifies the detach behavior to be used while detaching a disk or which is already in the process of detachment from the virtual machine. Supported values: **ForceDetach**.
detachOption: **ForceDetach** is applicable only for managed data disks. If a previous detachment attempt of the data disk did not complete due to an unexpected failure from the virtual machine and the disk is still not released then use force-detach as a last resort option to detach the disk forcibly from the VM. All writes might not have been flushed when using this detach behavior.
This feature is still in preview mode and is not supported for VirtualMachineScaleSet. To force-detach a data disk update toBeDetached to 'true' along with setting detachOption: 'ForceDetach'.",
- "oneOf": [
- {
- "enum": [
- "ForceDetach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/ManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "toBeDetached": {
- "description": "Specifies whether the data disk is in process of detachment from the VirtualMachine/VirtualMachineScaleset",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhd": {
- "description": "The virtual hard disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun",
- "createOption"
- ],
- "type": "object"
- },
- "DedicatedHostGroupProperties": {
- "description": "Dedicated Host Group Properties.",
- "properties": {
- "platformFaultDomainCount": {
- "description": "Number of fault domains that the host group can span.",
- "oneOf": [
- {
- "minimum": 1,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "supportAutomaticPlacement": {
- "description": "Specifies whether virtual machines or virtual machine scale sets can be placed automatically on the dedicated host group. Automatic placement means resources are allocated on dedicated hosts, that are chosen by Azure, under the dedicated host group. The value is defaulted to 'false' when not provided.
Minimum api-version: 2020-06-01.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "platformFaultDomainCount"
- ],
- "type": "object"
- },
- "DedicatedHostProperties": {
- "description": "Properties of the dedicated host.",
- "properties": {
- "autoReplaceOnFailure": {
- "description": "Specifies whether the dedicated host should be replaced automatically in case of a failure. The value is defaulted to 'true' when not provided.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies the software license type that will be applied to the VMs deployed on the dedicated host.
Possible values are:
**None**
**Windows_Server_Hybrid**
**Windows_Server_Perpetual**
Default: **None**",
- "oneOf": [
- {
- "enum": [
- "None",
- "Windows_Server_Hybrid",
- "Windows_Server_Perpetual"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformFaultDomain": {
- "description": "Fault domain of the dedicated host within a dedicated host group.",
- "oneOf": [
- {
- "minimum": 0,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "properties": {
- "bootDiagnostics": {
- "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.",
- "oneOf": [
- {
- "$ref": "#/definitions/BootDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiffDiskSettings": {
- "description": "Describes the parameters of ephemeral disk settings that can be specified for operating system disk.
NOTE: The ephemeral disk settings can only be specified for managed disk.",
- "properties": {
- "option": {
- "description": "Specifies the ephemeral disk settings for operating system disk.",
- "oneOf": [
- {
- "enum": [
- "Local"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "placement": {
- "description": "Specifies the ephemeral disk placement for operating system disk.
Possible values are:
**CacheDisk**
**ResourceDisk**
Default: **CacheDisk** if one is configured for the VM size otherwise **ResourceDisk** is used.
Refer to VM size documentation for Windows VM at https://docs.microsoft.com/azure/virtual-machines/windows/sizes and Linux VM at https://docs.microsoft.com/azure/virtual-machines/linux/sizes to check which VM sizes exposes a cache disk.",
- "oneOf": [
- {
- "enum": [
- "CacheDisk",
- "ResourceDisk"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiskAccessProperties": {
- "properties": {},
- "type": "object"
- },
- "DiskEncryptionSetParameters": {
- "description": "Describes the parameter of customer managed disk encryption set resource id that can be specified for disk.
NOTE: The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "DiskEncryptionSettings": {
- "description": "Describes a Encryption Settings for a Disk",
- "properties": {
- "diskEncryptionKey": {
- "description": "Specifies the location of the disk encryption key, which is a Key Vault Secret.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enabled": {
- "description": "Specifies whether disk encryption should be enabled on the virtual machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "keyEncryptionKey": {
- "description": "Specifies the location of the key encryption key in Key Vault.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultKeyReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiskProperties": {
- "description": "Disk resource properties.",
- "properties": {
- "burstingEnabled": {
- "description": "Set to true to enable bursting beyond the provisioned performance target of the disk. Bursting is disabled by default. Does not apply to Ultra disks.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "completionPercent": {
- "description": "Percentage complete for the background copy when a resource is created via the CopyStart operation.",
- "oneOf": [
- {
- "type": "number"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "creationData": {
- "description": "Disk source information. CreationData information cannot be changed after the disk has been created.",
- "oneOf": [
- {
- "$ref": "#/definitions/CreationData"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskAccessId": {
- "description": "ARM id of the DiskAccess resource for using private endpoints on disks.",
- "type": "string"
- },
- "diskIOPSReadOnly": {
- "description": "The total number of IOPS that will be allowed across all VMs mounting the shared disk as ReadOnly. One operation can transfer between 4k and 256k bytes.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskIOPSReadWrite": {
- "description": "The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskMBpsReadOnly": {
- "description": "The total throughput (MBps) that will be allowed across all VMs mounting the shared disk as ReadOnly. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskMBpsReadWrite": {
- "description": "The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryption": {
- "description": "Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.",
- "oneOf": [
- {
- "$ref": "#/definitions/Encryption"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettingsCollection": {
- "description": "Encryption settings collection used for Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSettingsCollection"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hyperVGeneration": {
- "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxShares": {
- "description": "The maximum number of VMs that can attach to the disk at the same time. Value greater than one indicates a disk that can be mounted on multiple VMs at the same time.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkAccessPolicy": {
- "description": "Policy for accessing the disk via network.",
- "oneOf": [
- {
- "enum": [
- "AllowAll",
- "AllowPrivate",
- "DenyAll"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "The Operating System type.",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicNetworkAccess": {
- "description": "Policy for controlling export on the disk.",
- "oneOf": [
- {
- "enum": [
- "Enabled",
- "Disabled"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "purchasePlan": {
- "description": "Purchase plan information for the the image from which the OS disk was created. E.g. - {name: 2019-Datacenter, publisher: MicrosoftWindowsServer, product: WindowsServer}",
- "oneOf": [
- {
- "$ref": "#/definitions/PurchasePlan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Contains the security related information for the resource.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskSecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "supportedCapabilities": {
- "description": "List of supported capabilities for the image from which the OS disk was created.",
- "oneOf": [
- {
- "$ref": "#/definitions/SupportedCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "supportsHibernation": {
- "description": "Indicates the OS on a disk supports hibernation.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tier": {
- "description": "Performance tier of the disk (e.g, P4, S10) as described here: https://azure.microsoft.com/en-us/pricing/details/managed-disks/. Does not apply to Ultra disks.",
- "type": "string"
- }
- },
- "required": [
- "creationData"
- ],
- "type": "object"
- },
- "DiskSecurityProfile": {
- "description": "Contains the security related information for the resource.",
- "properties": {
- "securityType": {
- "description": "Specifies the SecurityType of the VM. Applicable for OS disks only.",
- "oneOf": [
- {
- "enum": [
- "TrustedLaunch"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiskSku": {
- "description": "The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, or StandardSSD_ZRS.",
- "properties": {
- "name": {
- "description": "The sku name.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS",
- "Premium_ZRS",
- "StandardSSD_ZRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Encryption": {
- "description": "Encryption at rest settings for disk or snapshot",
- "properties": {
- "diskEncryptionSetId": {
- "description": "ResourceId of the disk encryption set to use for enabling encryption at rest.",
- "type": "string"
- },
- "type": {
- "description": "The type of key used to encrypt the data of the disk.",
- "oneOf": [
- {
- "enum": [
- "EncryptionAtRestWithPlatformKey",
- "EncryptionAtRestWithCustomerKey",
- "EncryptionAtRestWithPlatformAndCustomerKeys"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "EncryptionSetIdentity": {
- "description": "The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks.",
- "properties": {
- "type": {
- "description": "The type of Managed Identity used by the DiskEncryptionSet. Only SystemAssigned is supported for new creations. Disk Encryption Sets can be updated with Identity type None during migration of subscription to a new Azure Active Directory tenant; it will cause the encrypted resources to lose access to the keys.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "EncryptionSetProperties": {
- "properties": {
- "activeKey": {
- "description": "The key vault key which is currently used by this disk encryption set.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyForDiskEncryptionSet"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionType": {
- "description": "The type of key used to encrypt the data of the disk.",
- "oneOf": [
- {
- "enum": [
- "EncryptionAtRestWithCustomerKey",
- "EncryptionAtRestWithPlatformAndCustomerKeys"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "rotationToLatestKeyVersionEnabled": {
- "description": "Set this flag to true to enable auto-updating of this disk encryption set to the latest key version.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "EncryptionSettingsCollection": {
- "description": "Encryption settings for disk or snapshot",
- "properties": {
- "enabled": {
- "description": "Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettings": {
- "description": "A collection of encryption settings, one for each disk volume.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/EncryptionSettingsElement"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettingsVersion": {
- "description": "Describes what type of encryption is used for the disks. Once this field is set, it cannot be overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption.",
- "type": "string"
- }
- },
- "required": [
- "enabled"
- ],
- "type": "object"
- },
- "EncryptionSettingsElement": {
- "description": "Encryption settings for one disk volume.",
- "properties": {
- "diskEncryptionKey": {
- "description": "Key Vault Secret Url and vault id of the disk encryption key",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultAndSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "keyEncryptionKey": {
- "description": "Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultAndKeyReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ExtendedLocation": {
- "description": "The complex type of the extended location.",
- "properties": {
- "name": {
- "description": "The name of the extended location.",
- "type": "string"
- },
- "type": {
- "description": "The type of the extended location.",
- "oneOf": [
- {
- "enum": [
- "EdgeZone"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "HardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "properties": {
- "vmSize": {
- "description": "Specifies the size of the virtual machine.
The enum data type is currently deprecated and will be removed by December 23rd 2023.
Recommended way to get the list of available sizes is using these APIs:
[List all available virtual machine sizes in an availability set](https://docs.microsoft.com/rest/api/compute/availabilitysets/listavailablesizes)
[List all available virtual machine sizes in a region]( https://docs.microsoft.com/rest/api/compute/resourceskus/list)
[List all available virtual machine sizes for resizing](https://docs.microsoft.com/rest/api/compute/virtualmachines/listavailablesizes). For more information about virtual machine sizes, see [Sizes for virtual machines](https://docs.microsoft.com/azure/virtual-machines/sizes).
The available VM sizes depend on region and availability set.",
- "oneOf": [
- {
- "enum": [
- "Basic_A0",
- "Basic_A1",
- "Basic_A2",
- "Basic_A3",
- "Basic_A4",
- "Standard_A0",
- "Standard_A1",
- "Standard_A2",
- "Standard_A3",
- "Standard_A4",
- "Standard_A5",
- "Standard_A6",
- "Standard_A7",
- "Standard_A8",
- "Standard_A9",
- "Standard_A10",
- "Standard_A11",
- "Standard_A1_v2",
- "Standard_A2_v2",
- "Standard_A4_v2",
- "Standard_A8_v2",
- "Standard_A2m_v2",
- "Standard_A4m_v2",
- "Standard_A8m_v2",
- "Standard_B1s",
- "Standard_B1ms",
- "Standard_B2s",
- "Standard_B2ms",
- "Standard_B4ms",
- "Standard_B8ms",
- "Standard_D1",
- "Standard_D2",
- "Standard_D3",
- "Standard_D4",
- "Standard_D11",
- "Standard_D12",
- "Standard_D13",
- "Standard_D14",
- "Standard_D1_v2",
- "Standard_D2_v2",
- "Standard_D3_v2",
- "Standard_D4_v2",
- "Standard_D5_v2",
- "Standard_D2_v3",
- "Standard_D4_v3",
- "Standard_D8_v3",
- "Standard_D16_v3",
- "Standard_D32_v3",
- "Standard_D64_v3",
- "Standard_D2s_v3",
- "Standard_D4s_v3",
- "Standard_D8s_v3",
- "Standard_D16s_v3",
- "Standard_D32s_v3",
- "Standard_D64s_v3",
- "Standard_D11_v2",
- "Standard_D12_v2",
- "Standard_D13_v2",
- "Standard_D14_v2",
- "Standard_D15_v2",
- "Standard_DS1",
- "Standard_DS2",
- "Standard_DS3",
- "Standard_DS4",
- "Standard_DS11",
- "Standard_DS12",
- "Standard_DS13",
- "Standard_DS14",
- "Standard_DS1_v2",
- "Standard_DS2_v2",
- "Standard_DS3_v2",
- "Standard_DS4_v2",
- "Standard_DS5_v2",
- "Standard_DS11_v2",
- "Standard_DS12_v2",
- "Standard_DS13_v2",
- "Standard_DS14_v2",
- "Standard_DS15_v2",
- "Standard_DS13-4_v2",
- "Standard_DS13-2_v2",
- "Standard_DS14-8_v2",
- "Standard_DS14-4_v2",
- "Standard_E2_v3",
- "Standard_E4_v3",
- "Standard_E8_v3",
- "Standard_E16_v3",
- "Standard_E32_v3",
- "Standard_E64_v3",
- "Standard_E2s_v3",
- "Standard_E4s_v3",
- "Standard_E8s_v3",
- "Standard_E16s_v3",
- "Standard_E32s_v3",
- "Standard_E64s_v3",
- "Standard_E32-16_v3",
- "Standard_E32-8s_v3",
- "Standard_E64-32s_v3",
- "Standard_E64-16s_v3",
- "Standard_F1",
- "Standard_F2",
- "Standard_F4",
- "Standard_F8",
- "Standard_F16",
- "Standard_F1s",
- "Standard_F2s",
- "Standard_F4s",
- "Standard_F8s",
- "Standard_F16s",
- "Standard_F2s_v2",
- "Standard_F4s_v2",
- "Standard_F8s_v2",
- "Standard_F16s_v2",
- "Standard_F32s_v2",
- "Standard_F64s_v2",
- "Standard_F72s_v2",
- "Standard_G1",
- "Standard_G2",
- "Standard_G3",
- "Standard_G4",
- "Standard_G5",
- "Standard_GS1",
- "Standard_GS2",
- "Standard_GS3",
- "Standard_GS4",
- "Standard_GS5",
- "Standard_GS4-8",
- "Standard_GS4-4",
- "Standard_GS5-16",
- "Standard_GS5-8",
- "Standard_H8",
- "Standard_H16",
- "Standard_H8m",
- "Standard_H16m",
- "Standard_H16r",
- "Standard_H16mr",
- "Standard_L4s",
- "Standard_L8s",
- "Standard_L16s",
- "Standard_L32s",
- "Standard_M64s",
- "Standard_M64ms",
- "Standard_M128s",
- "Standard_M128ms",
- "Standard_M64-32ms",
- "Standard_M64-16ms",
- "Standard_M128-64ms",
- "Standard_M128-32ms",
- "Standard_NC6",
- "Standard_NC12",
- "Standard_NC24",
- "Standard_NC24r",
- "Standard_NC6s_v2",
- "Standard_NC12s_v2",
- "Standard_NC24s_v2",
- "Standard_NC24rs_v2",
- "Standard_NC6s_v3",
- "Standard_NC12s_v3",
- "Standard_NC24s_v3",
- "Standard_NC24rs_v3",
- "Standard_ND6s",
- "Standard_ND12s",
- "Standard_ND24s",
- "Standard_ND24rs",
- "Standard_NV6",
- "Standard_NV12",
- "Standard_NV24"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImageDataDisk": {
- "description": "Describes a data disk.",
- "properties": {
- "blobUri": {
- "description": "The Virtual Hard Disk.",
- "type": "string"
- },
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed image disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managedDisk.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "snapshot": {
- "description": "The snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS",
- "Premium_ZRS",
- "StandardSSD_ZRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun"
- ],
- "type": "object"
- },
- "ImageDiskReference": {
- "description": "The source image used for creating the disk.",
- "properties": {
- "id": {
- "description": "A relative uri containing either a Platform Image Repository or user image reference.",
- "type": "string"
- },
- "lun": {
- "description": "If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "id"
- ],
- "type": "object"
- },
- "ImageOSDisk": {
- "description": "Describes an Operating System disk.",
- "properties": {
- "blobUri": {
- "description": "The Virtual Hard Disk.",
- "type": "string"
- },
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed image disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managedDisk.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osState": {
- "description": "The OS State.",
- "oneOf": [
- {
- "enum": [
- "Generalized",
- "Specialized"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from a custom image.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "snapshot": {
- "description": "The snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS",
- "Premium_ZRS",
- "StandardSSD_ZRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "osType",
- "osState"
- ],
- "type": "object"
- },
- "ImageProperties": {
- "description": "Describes the properties of an Image.",
- "properties": {
- "hyperVGeneration": {
- "description": "Specifies the HyperVGenerationType of the VirtualMachine created from the image. From API Version 2019-03-01 if the image source is a blob, then we need the user to specify the value, if the source is managed resource like disk or snapshot, we may require the user to specify the property if we cannot deduce it from the source managed resource.",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sourceVirtualMachine": {
- "description": "The source virtual machine from which Image is created.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. NOTE: Image reference publisher and offer can only be set when you create the scale set.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "offer": {
- "description": "Specifies the offer of the platform image or marketplace image used to create the virtual machine.",
- "type": "string"
- },
- "publisher": {
- "description": "The image publisher.",
- "type": "string"
- },
- "sku": {
- "description": "The image SKU.",
- "type": "string"
- },
- "version": {
- "description": "Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ImageStorageProfile": {
- "description": "Describes a storage profile.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add a data disk to a virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/ImageDataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageOSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "zoneResilient": {
- "description": "Specifies whether an image is zone resilient or not. Default is false. Zone resilient images can be created only in regions that provide Zone Redundant Storage (ZRS).",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "InstanceViewStatus": {
- "description": "Instance view status.",
- "properties": {
- "code": {
- "description": "The status code.",
- "type": "string"
- },
- "displayStatus": {
- "description": "The short localizable label for the status.",
- "type": "string"
- },
- "level": {
- "description": "The level code.",
- "oneOf": [
- {
- "enum": [
- "Info",
- "Warning",
- "Error"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "message": {
- "description": "The detailed status message, including for alerts and error messages.",
- "type": "string"
- },
- "time": {
- "description": "The time of the status.",
- "format": "date-time",
- "type": "string"
- }
- },
- "type": "object"
- },
- "KeyForDiskEncryptionSet": {
- "description": "Key Vault Key Url to be used for server side encryption of Managed Disks and Snapshots",
- "properties": {
- "keyUrl": {
- "description": "Fully versioned Key Url pointing to a key in KeyVault. Version segment of the Url is required regardless of rotationToLatestKeyVersionEnabled value.",
- "type": "string"
- },
- "sourceVault": {
- "description": "Resource id of the KeyVault containing the key or secret. This property is optional and cannot be used if the KeyVault subscription is not the same as the Disk Encryption Set subscription.",
- "oneOf": [
- {
- "$ref": "#/definitions/SourceVault"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "keyUrl"
- ],
- "type": "object"
- },
- "KeyVaultAndKeyReference": {
- "description": "Key Vault Key Url and vault id of KeK, KeK is optional and when provided is used to unwrap the encryptionKey",
- "properties": {
- "keyUrl": {
- "description": "Url pointing to a key or secret in KeyVault",
- "type": "string"
- },
- "sourceVault": {
- "description": "Resource id of the KeyVault containing the key or secret",
- "oneOf": [
- {
- "$ref": "#/definitions/SourceVault"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "sourceVault",
- "keyUrl"
- ],
- "type": "object"
- },
- "KeyVaultAndSecretReference": {
- "description": "Key Vault Secret Url and vault id of the encryption key ",
- "properties": {
- "secretUrl": {
- "description": "Url pointing to a key or secret in KeyVault",
- "type": "string"
- },
- "sourceVault": {
- "description": "Resource id of the KeyVault containing the key or secret",
- "oneOf": [
- {
- "$ref": "#/definitions/SourceVault"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "sourceVault",
- "secretUrl"
- ],
- "type": "object"
- },
- "KeyVaultKeyReference": {
- "description": "Describes a reference to Key Vault Key",
- "properties": {
- "keyUrl": {
- "description": "The URL referencing a key encryption key in Key Vault.",
- "type": "string"
- },
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing the key.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "keyUrl",
- "sourceVault"
- ],
- "type": "object"
- },
- "KeyVaultSecretReference": {
- "description": "Describes a reference to Key Vault Secret",
- "properties": {
- "secretUrl": {
- "description": "The URL referencing a secret in a Key Vault.",
- "type": "string"
- },
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing the secret.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "secretUrl",
- "sourceVault"
- ],
- "type": "object"
- },
- "LinuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros).",
- "properties": {
- "disablePasswordAuthentication": {
- "description": "Specifies whether password authentication should be disabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "patchSettings": {
- "description": "[Preview Feature] Specifies settings related to VM Guest Patching on Linux.",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxPatchSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionVMAgent": {
- "description": "Indicates whether virtual machine agent should be provisioned on the virtual machine.
When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ssh": {
- "description": "Specifies the ssh key configuration for a Linux OS.",
- "oneOf": [
- {
- "$ref": "#/definitions/SshConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "LinuxPatchSettings": {
- "description": "Specifies settings related to VM Guest Patching on Linux.",
- "properties": {
- "assessmentMode": {
- "description": "Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine.
Possible values are:
**ImageDefault** - You control the timing of patch assessments on a virtual machine.
**AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true.",
- "oneOf": [
- {
- "enum": [
- "ImageDefault",
- "AutomaticByPlatform"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "patchMode": {
- "description": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.
Possible values are:
**ImageDefault** - The virtual machine's default patching configuration is used.
**AutomaticByPlatform** - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true",
- "oneOf": [
- {
- "enum": [
- "ImageDefault",
- "AutomaticByPlatform"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ManagedDiskParameters": {
- "description": "The parameters of a managed disk.",
- "properties": {
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS",
- "Premium_ZRS",
- "StandardSSD_ZRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkInterfaceReference": {
- "description": "Describes a network interface reference.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "properties": {
- "description": "Describes a network interface reference properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkInterfaceReferenceProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkInterfaceReferenceProperties": {
- "description": "Describes a network interface reference properties.",
- "properties": {
- "deleteOption": {
- "description": "Specify what happens to the network interface when the VM is deleted",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkProfile": {
- "description": "Specifies the network interfaces or the networking configuration of the virtual machine.",
- "properties": {
- "networkApiVersion": {
- "description": "specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations",
- "oneOf": [
- {
- "enum": [
- "2020-11-01"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkInterfaceConfigurations": {
- "description": "Specifies the networking configurations that will be used to create the virtual machine networking resources.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineNetworkInterfaceConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkInterfaces": {
- "description": "Specifies the list of resource Ids for the network interfaces associated with the virtual machine.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/NetworkInterfaceReference"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "OSDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None** for Standard storage. **ReadOnly** for Premium storage.",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machine should be created.
Possible values are:
**Attach** \\u2013 This value is used when you are using a specialized disk to create the virtual machine.
**FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "deleteOption": {
- "description": "Specifies whether OS Disk should be deleted or detached upon VM deletion.
Possible values:
**Delete** If this value is used, the OS disk is deleted when VM is deleted.
**Detach** If this value is used, the os disk is retained after VM is deleted.
The default value is set to **detach**. For an ephemeral OS Disk, the default value is set to **Delete**. User cannot change the delete option for ephemeral OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diffDiskSettings": {
- "description": "Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiffDiskSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettings": {
- "description": "Specifies the encryption settings for the OS Disk.
Minimum api-version: 2015-06-15",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/ManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhd": {
- "description": "The virtual hard disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "OSProfile": {
- "description": "Specifies the operating system settings for the virtual machine. Some of the settings cannot be changed once VM is provisioned.",
- "properties": {
- "adminPassword": {
- "description": "Specifies the password of the administrator account.
**Minimum-length (Windows):** 8 characters
**Minimum-length (Linux):** 6 characters
**Max-length (Windows):** 123 characters
**Max-length (Linux):** 72 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])
**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"
For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp)
For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)",
- "type": "string"
- },
- "adminUsername": {
- "description": "Specifies the name of the administrator account.
This property cannot be updated after the VM is created.
**Windows-only restriction:** Cannot end in \".\"
**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters.",
- "type": "string"
- },
- "allowExtensionOperations": {
- "description": "Specifies whether extension operations should be allowed on the virtual machine.
This may only be set to False when no extensions are present on the virtual machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "computerName": {
- "description": "Specifies the host OS name of the virtual machine.
This name cannot be updated after the VM is created.
**Max-length (Windows):** 15 characters
**Max-length (Linux):** 64 characters.
For naming conventions and restrictions see [Azure infrastructure services implementation guidelines](https://docs.microsoft.com/azure/azure-resource-manager/management/resource-name-rules).",
- "type": "string"
- },
- "customData": {
- "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes.
**Note: Do not pass any secrets or passwords in customData property**
This property cannot be updated after the VM is created.
customData is passed to the VM to be saved as a file, for more information see [Custom Data on Azure VMs](https://azure.microsoft.com/blog/custom-data-and-cloud-init-on-windows-azure/)
For using cloud-init for your Linux VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init)",
- "type": "string"
- },
- "linuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros).",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "requireGuestProvisionSignal": {
- "description": "Specifies whether the guest provision signal is required to infer provision success of the virtual machine. **Note: This property is for private testing only, and all customers must not set the property to false.**",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "secrets": {
- "description": "Specifies set of certificates that should be installed onto the virtual machine. To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultSecretGroup"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "windowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/WindowsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "PatchSettings": {
- "description": "Specifies settings related to VM Guest Patching on Windows.",
- "properties": {
- "assessmentMode": {
- "description": "Specifies the mode of VM Guest patch assessment for the IaaS virtual machine.
Possible values are:
**ImageDefault** - You control the timing of patch assessments on a virtual machine.
**AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true. ",
- "oneOf": [
- {
- "enum": [
- "ImageDefault",
- "AutomaticByPlatform"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableHotpatching": {
- "description": "Enables customers to patch their Azure VMs without requiring a reboot. For enableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode' must be set to 'AutomaticByPlatform'.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "patchMode": {
- "description": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.
Possible values are:
**Manual** - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false
**AutomaticByOS** - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true.
**AutomaticByPlatform** - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true ",
- "oneOf": [
- {
- "enum": [
- "Manual",
- "AutomaticByOS",
- "AutomaticByPlatform"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "properties": {
- "name": {
- "description": "The plan ID.",
- "type": "string"
- },
- "product": {
- "description": "Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.",
- "type": "string"
- },
- "promotionCode": {
- "description": "The promotion code.",
- "type": "string"
- },
- "publisher": {
- "description": "The publisher ID.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "PrivateEndpointConnectionProperties": {
- "description": "Properties of the PrivateEndpointConnectProperties.",
- "properties": {
- "privateLinkServiceConnectionState": {
- "description": "A collection of information about the state of the connection between DiskAccess and Virtual Network.",
- "oneOf": [
- {
- "$ref": "#/definitions/PrivateLinkServiceConnectionState"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "privateLinkServiceConnectionState"
- ],
- "type": "object"
- },
- "PrivateLinkServiceConnectionState": {
- "description": "A collection of information about the state of the connection between service consumer and provider.",
- "properties": {
- "actionsRequired": {
- "description": "A message indicating if changes on the service provider require any updates on the consumer.",
- "type": "string"
- },
- "description": {
- "description": "The reason for approval/rejection of the connection.",
- "type": "string"
- },
- "status": {
- "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.",
- "oneOf": [
- {
- "enum": [
- "Pending",
- "Approved",
- "Rejected"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ProximityPlacementGroupProperties": {
- "description": "Describes the properties of a Proximity Placement Group.",
- "properties": {
- "colocationStatus": {
- "description": "Describes colocation status of the Proximity Placement Group.",
- "oneOf": [
- {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroupType": {
- "description": "Specifies the type of the proximity placement group.
Possible values are:
**Standard** : Co-locate resources within an Azure region or Availability Zone.
**Ultra** : For future use.",
- "oneOf": [
- {
- "enum": [
- "Standard",
- "Ultra"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "PublicIPAddressSku": {
- "description": "Describes the public IP Sku",
- "properties": {
- "name": {
- "description": "Specify public IP sku name",
- "oneOf": [
- {
- "enum": [
- "Basic",
- "Standard"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tier": {
- "description": "Specify public IP sku tier",
- "oneOf": [
- {
- "enum": [
- "Regional",
- "Global"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "PurchasePlan": {
- "description": "Used for establishing the purchase context of any 3rd Party artifact through MarketPlace.",
- "properties": {
- "name": {
- "description": "The plan ID.",
- "type": "string"
- },
- "product": {
- "description": "Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.",
- "type": "string"
- },
- "promotionCode": {
- "description": "The Offer Promotion Code.",
- "type": "string"
- },
- "publisher": {
- "description": "The publisher ID.",
- "type": "string"
- }
- },
- "required": [
- "name",
- "publisher",
- "product"
- ],
- "type": "object"
- },
- "RestorePointCollectionProperties": {
- "description": "The restore point collection properties.",
- "properties": {
- "source": {
- "description": "The properties of the source resource that this restore point collection is created from.",
- "oneOf": [
- {
- "$ref": "#/definitions/RestorePointCollectionSourceProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RestorePointCollectionSourceProperties": {
- "description": "The properties of the source resource that this restore point collection is created from.",
- "properties": {
- "id": {
- "description": "Resource Id of the source resource used to create this restore point collection",
- "type": "string"
- }
- },
- "type": "object"
- },
- "RestorePointProperties": {
- "description": "The restore point properties.",
- "properties": {
- "excludeDisks": {
- "description": "List of disk resource ids that the customer wishes to exclude from the restore point. If no disks are specified, all disks will be included.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/ApiEntityReference"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "timeCreated": {
- "description": "Gets the creation time of the restore point.",
- "format": "date-time",
- "type": "string"
- }
- },
- "type": "object"
- },
- "RollingUpgradePolicy": {
- "description": "The configuration parameters used while performing a rolling upgrade.",
- "properties": {
- "enableCrossZoneUpgrade": {
- "description": "Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxBatchInstancePercent": {
- "description": "The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 5,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxUnhealthyInstancePercent": {
- "description": "The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 5,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxUnhealthyUpgradedInstancePercent": {
- "description": "The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "pauseTimeBetweenBatches": {
- "description": "The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format. The default value is 0 seconds (PT0S).",
- "type": "string"
- },
- "prioritizeUnhealthyInstances": {
- "description": "Upgrade all unhealthy instances in a scale set before any healthy instances.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RunCommandInputParameter": {
- "description": "Describes the properties of a run command parameter.",
- "properties": {
- "name": {
- "description": "The run command parameter name.",
- "type": "string"
- },
- "value": {
- "description": "The run command parameter value.",
- "type": "string"
- }
- },
- "required": [
- "name",
- "value"
- ],
- "type": "object"
- },
- "ScaleInPolicy": {
- "description": "Describes a scale-in policy for a virtual machine scale set.",
- "properties": {
- "rules": {
- "description": "The rules to be followed when scaling-in a virtual machine scale set.
Possible values are:
**Default** When a virtual machine scale set is scaled in, the scale set will first be balanced across zones if it is a zonal scale set. Then, it will be balanced across Fault Domains as far as possible. Within each Fault Domain, the virtual machines chosen for removal will be the newest ones that are not protected from scale-in.
**OldestVM** When a virtual machine scale set is being scaled-in, the oldest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the oldest virtual machines that are not protected will be chosen for removal.
**NewestVM** When a virtual machine scale set is being scaled-in, the newest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the newest virtual machines that are not protected will be chosen for removal.
",
- "oneOf": [
- {
- "items": {
- "enum": [
- "Default",
- "OldestVM",
- "NewestVM"
- ],
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ScheduledEventsProfile": {
- "properties": {
- "terminateNotificationProfile": {
- "description": "Specifies Terminate Scheduled Event related configurations.",
- "oneOf": [
- {
- "$ref": "#/definitions/TerminateNotificationProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SecurityProfile": {
- "description": "Specifies the Security profile settings for the virtual machine or virtual machine scale set.",
- "properties": {
- "encryptionAtHost": {
- "description": "This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself.
Default: The Encryption at host will be disabled unless this property is set to true for the resource.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityType": {
- "description": "Specifies the SecurityType of the virtual machine. It is set as TrustedLaunch to enable UefiSettings.
Default: UefiSettings will not be enabled unless this property is set as TrustedLaunch.",
- "oneOf": [
- {
- "enum": [
- "TrustedLaunch"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "uefiSettings": {
- "description": "Specifies the security settings like secure boot and vTPM used while creating the virtual machine.
Minimum api-version: 2020-12-01",
- "oneOf": [
- {
- "$ref": "#/definitions/UefiSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Sku": {
- "description": "Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name.",
- "properties": {
- "capacity": {
- "description": "Specifies the number of virtual machines in the scale set.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The sku name.",
- "type": "string"
- },
- "tier": {
- "description": "Specifies the tier of virtual machines in a scale set.
Possible Values:
**Standard**
**Basic**",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SnapshotProperties": {
- "description": "Snapshot resource properties.",
- "properties": {
- "completionPercent": {
- "description": "Percentage complete for the background copy when a resource is created via the CopyStart operation.",
- "oneOf": [
- {
- "type": "number"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "creationData": {
- "description": "Disk source information. CreationData information cannot be changed after the disk has been created.",
- "oneOf": [
- {
- "$ref": "#/definitions/CreationData"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskAccessId": {
- "description": "ARM id of the DiskAccess resource for using private endpoints on disks.",
- "type": "string"
- },
- "diskSizeGB": {
- "description": "If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryption": {
- "description": "Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.",
- "oneOf": [
- {
- "$ref": "#/definitions/Encryption"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettingsCollection": {
- "description": "Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSettingsCollection"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hyperVGeneration": {
- "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "incremental": {
- "description": "Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full snapshots and can be diffed.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkAccessPolicy": {
- "description": "Policy for accessing the disk via network.",
- "oneOf": [
- {
- "enum": [
- "AllowAll",
- "AllowPrivate",
- "DenyAll"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "The Operating System type.",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicNetworkAccess": {
- "description": "Policy for controlling export on the disk.",
- "oneOf": [
- {
- "enum": [
- "Enabled",
- "Disabled"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "purchasePlan": {
- "description": "Purchase plan information for the image from which the source disk for the snapshot was originally created.",
- "oneOf": [
- {
- "$ref": "#/definitions/PurchasePlan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "supportedCapabilities": {
- "description": "List of supported capabilities (like Accelerated Networking) for the image from which the source disk from the snapshot was originally created.",
- "oneOf": [
- {
- "$ref": "#/definitions/SupportedCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "supportsHibernation": {
- "description": "Indicates the OS on a snapshot supports hibernation.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "creationData"
- ],
- "type": "object"
- },
- "SnapshotSku": {
- "description": "The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot",
- "properties": {
- "name": {
- "description": "The sku name.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "Standard_ZRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SourceVault": {
- "description": "The vault id is an Azure Resource Manager Resource id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SpotRestorePolicy": {
- "description": "Specifies the Spot-Try-Restore properties for the virtual machine scale set.
With this property customer can enable or disable automatic restore of the evicted Spot VMSS VM instances opportunistically based on capacity availability and pricing constraint.",
- "properties": {
- "enabled": {
- "description": "Enables the Spot-Try-Restore feature where evicted VMSS SPOT instances will be tried to be restored opportunistically based on capacity availability and pricing constraints",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "restoreTimeout": {
- "description": "Timeout value expressed as an ISO 8601 time duration after which the platform will not try to restore the VMSS SPOT instances",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SshConfiguration": {
- "description": "SSH configuration for Linux based VMs running on Azure",
- "properties": {
- "publicKeys": {
- "description": "The list of SSH public keys used to authenticate with linux based VMs.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SshPublicKey"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SshPublicKey": {
- "description": "Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed.",
- "properties": {
- "keyData": {
- "description": "SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format.
For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed).",
- "type": "string"
- },
- "path": {
- "description": "Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SshPublicKeyResourceProperties": {
- "description": "Properties of the SSH public key.",
- "properties": {
- "publicKey": {
- "description": "SSH public key used to authenticate to a virtual machine through ssh. If this property is not initially provided when the resource is created, the publicKey property will be populated when generateKeyPair is called. If the public key is provided upon resource creation, the provided public key needs to be at least 2048-bit and in ssh-rsa format.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "StorageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add a data disk to a virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/DataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "$ref": "#/definitions/OSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SubResource": {
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SupportedCapabilities": {
- "description": "List of supported capabilities (like accelerated networking) persisted on the disk resource for VM use.",
- "properties": {
- "acceleratedNetwork": {
- "description": "True if the image from which the OS disk is created supports accelerated networking.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "TerminateNotificationProfile": {
- "properties": {
- "enable": {
- "description": "Specifies whether the Terminate Scheduled event is enabled or disabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "notBeforeTimeout": {
- "description": "Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M)",
- "type": "string"
- }
- },
- "type": "object"
- },
- "UefiSettings": {
- "description": "Specifies the security settings like secure boot and vTPM used while creating the virtual machine.
Minimum api-version: 2020-12-01",
- "properties": {
- "secureBootEnabled": {
- "description": "Specifies whether secure boot should be enabled on the virtual machine.
Minimum api-version: 2020-12-01",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vTpmEnabled": {
- "description": "Specifies whether vTPM should be enabled on the virtual machine.
Minimum api-version: 2020-12-01",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "UpgradePolicy": {
- "description": "Describes an upgrade policy - automatic, manual, or rolling.",
- "properties": {
- "automaticOSUpgradePolicy": {
- "description": "Configuration parameters used for performing automatic OS Upgrade.",
- "oneOf": [
- {
- "$ref": "#/definitions/AutomaticOSUpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "mode": {
- "description": "Specifies the mode of an upgrade to virtual machines in the scale set.
Possible values are:
**Manual** - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.
**Automatic** - All virtual machines in the scale set are automatically updated at the same time.",
- "oneOf": [
- {
- "enum": [
- "Automatic",
- "Manual",
- "Rolling"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "rollingUpgradePolicy": {
- "description": "The configuration parameters used while performing a rolling upgrade.",
- "oneOf": [
- {
- "$ref": "#/definitions/RollingUpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "UserAssignedIdentitiesValue": {
- "properties": {},
- "type": "object"
- },
- "VaultCertificate": {
- "description": "Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM.",
- "properties": {
- "certificateStore": {
- "description": "For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account.
For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of these files are .pem formatted.",
- "type": "string"
- },
- "certificateUrl": {
- "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:
{
\"data\":\"\",
\"dataType\":\"pfx\",
\"password\":\"\"
}
To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VaultSecretGroup": {
- "description": "Describes a set of certificates which are all in the same Key Vault.",
- "properties": {
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing all of the certificates in VaultCertificates.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vaultCertificates": {
- "description": "The list of key vault references in SourceVault which contain certificates.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultCertificate"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualHardDisk": {
- "description": "Describes the uri of a disk.",
- "properties": {
- "uri": {
- "description": "Specifies the virtual hard disk's uri.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineExtensionInstanceView": {
- "description": "The instance view of a virtual machine extension.",
- "properties": {
- "name": {
- "description": "The virtual machine extension name.",
- "type": "string"
- },
- "statuses": {
- "description": "The resource status information.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "substatuses": {
- "description": "The resource status information.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineExtensionProperties": {
- "description": "Describes the properties of a Virtual Machine Extension.",
- "properties": {
- "autoUpgradeMinorVersion": {
- "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticUpgrade": {
- "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "forceUpdateTag": {
- "description": "How the extension handler should be forced to update even if the extension configuration has not changed.",
- "type": "string"
- },
- "instanceView": {
- "description": "The virtual machine extension instance view.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionInstanceView"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedSettings": {
- "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publisher": {
- "description": "The name of the extension handler publisher.",
- "type": "string"
- },
- "settings": {
- "description": "Json formatted public settings for the extension.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineIdentity": {
- "description": "Identity for the virtual machine.",
- "properties": {
- "type": {
- "description": "The type of identity used for the virtual machine. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned",
- "UserAssigned",
- "SystemAssigned, UserAssigned",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userAssignedIdentities": {
- "description": "The list of user identities associated with the Virtual Machine. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
- "oneOf": [
- {
- "additionalProperties": {
- "$ref": "#/definitions/UserAssignedIdentitiesValue"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineIpTag": {
- "description": "Contains the IP tag associated with the public IP address.",
- "properties": {
- "ipTagType": {
- "description": "IP tag type. Example: FirstPartyUsage.",
- "type": "string"
- },
- "tag": {
- "description": "IP tag associated with the public IP. Example: SQL, Storage etc.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineNetworkInterfaceConfiguration": {
- "description": "Describes a virtual machine network interface configurations.",
- "properties": {
- "name": {
- "description": "The network interface configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine network profile's IP configuration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineNetworkInterfaceConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineNetworkInterfaceConfigurationProperties": {
- "description": "Describes a virtual machine network profile's IP configuration.",
- "properties": {
- "deleteOption": {
- "description": "Specify what happens to the network interface when the VM is deleted",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dnsSettings": {
- "description": "The dns settings to be applied on the network interfaces.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineNetworkInterfaceDnsSettingsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dscpConfiguration": {
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAcceleratedNetworking": {
- "description": "Specifies whether the network interface is accelerated networking-enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableFpga": {
- "description": "Specifies whether the network interface is FPGA networking-enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableIPForwarding": {
- "description": "Whether IP forwarding enabled on this NIC.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipConfigurations": {
- "description": "Specifies the IP configurations of the network interface.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineNetworkInterfaceIPConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkSecurityGroup": {
- "description": "The network security group.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "ipConfigurations"
- ],
- "type": "object"
- },
- "VirtualMachineNetworkInterfaceDnsSettingsConfiguration": {
- "description": "Describes a virtual machines network configuration's DNS settings.",
- "properties": {
- "dnsServers": {
- "description": "List of DNS servers IP addresses",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineNetworkInterfaceIPConfiguration": {
- "description": "Describes a virtual machine network profile's IP configuration.",
- "properties": {
- "name": {
- "description": "The IP configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine network interface IP configuration properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineNetworkInterfaceIPConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineNetworkInterfaceIPConfigurationProperties": {
- "description": "Describes a virtual machine network interface IP configuration properties.",
- "properties": {
- "applicationGatewayBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of application gateways. A virtual machine can reference backend address pools of multiple application gateways. Multiple virtual machines cannot use the same application gateway.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "applicationSecurityGroups": {
- "description": "Specifies an array of references to application security group.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of load balancers. A virtual machine can reference backend address pools of one public and one internal load balancer. [Multiple virtual machines cannot use the same basic sku load balancer].",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "privateIPAddressVersion": {
- "description": "Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressConfiguration": {
- "description": "The publicIPAddressConfiguration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachinePublicIPAddressConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "subnet": {
- "description": "Specifies the identifier of the subnet.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineProperties": {
- "description": "Describes the properties of a Virtual Machine.",
- "properties": {
- "additionalCapabilities": {
- "description": "Specifies additional capabilities enabled or disabled on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/AdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "availabilitySet": {
- "description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Availability sets overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview).
For more information on Azure planned maintenance, see [Maintenance and updates for Virtual Machines in Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates)
Currently, a VM can only be added to availability set at creation time. The availability set to which the VM is being added should be under the same resource group as the availability set resource. An existing VM cannot be added to an availability set.
This property cannot exist along with a non-null properties.virtualMachineScaleSet reference.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "billingProfile": {
- "description": "Specifies the billing related details of a Azure Spot virtual machine.
Minimum api-version: 2019-03-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/BillingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "capacityReservation": {
- "description": "Specifies information about the capacity reservation that is used to allocate virtual machine.
Minimum api-version: 2021-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/CapacityReservationProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "evictionPolicy": {
- "description": "Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set.
For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01.
For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview.",
- "oneOf": [
- {
- "enum": [
- "Deallocate",
- "Delete"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extensionsTimeBudget": {
- "description": "Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M).
Minimum api-version: 2020-06-01",
- "type": "string"
- },
- "hardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/HardwareProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "host": {
- "description": "Specifies information about the dedicated host that the virtual machine resides in.
Minimum api-version: 2018-10-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hostGroup": {
- "description": "Specifies information about the dedicated host group that the virtual machine resides in.
Minimum api-version: 2020-06-01.
NOTE: User cannot specify both host and hostGroup properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises.
Possible values for Windows Server operating system are:
Windows_Client
Windows_Server
Possible values for Linux Server operating system are:
RHEL_BYOS (for RHEL)
SLES_BYOS (for SUSE)
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)
[Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings used while creating the virtual machine. Some of the settings cannot be changed once VM is provisioned.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformFaultDomain": {
- "description": "Specifies the scale set logical fault domain into which the Virtual Machine will be created. By default, the Virtual Machine will by automatically assigned to a fault domain that best maintains balance across available fault domains.
This is applicable only if the 'virtualMachineScaleSet' property of this Virtual Machine is set.The Virtual Machine Scale Set that is referenced, must have 'platformFaultDomainCount' > 1.This property cannot be updated once the Virtual Machine is created.Fault domain assignment can be viewed in the Virtual Machine Instance View.
Minimum api‐version: 2020‐12‐01",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "priority": {
- "description": "Specifies the priority for the virtual machine.
Minimum api-version: 2019-03-01",
- "oneOf": [
- {
- "enum": [
- "Regular",
- "Low",
- "Spot"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the virtual machine should be assigned to.
Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "scheduledEventsProfile": {
- "description": "Specifies Scheduled Event related configurations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ScheduledEventsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Specifies the Security related profile settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/SecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/StorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userData": {
- "description": "UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here.
Minimum api-version: 2021-03-01",
- "type": "string"
- },
- "virtualMachineScaleSet": {
- "description": "Specifies information about the virtual machine scale set that the virtual machine should be assigned to. Virtual machines specified in the same virtual machine scale set are allocated to different nodes to maximize availability. Currently, a VM can only be added to virtual machine scale set at creation time. An existing VM cannot be added to a virtual machine scale set.
This property cannot exist along with a non-null properties.availabilitySet reference.
Minimum api‐version: 2019‐03‐01",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachinePublicIPAddressConfiguration": {
- "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration",
- "properties": {
- "name": {
- "description": "The publicIP address configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachinePublicIPAddressConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "Describes the public IP Sku",
- "oneOf": [
- {
- "$ref": "#/definitions/PublicIPAddressSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachinePublicIPAddressConfigurationProperties": {
- "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration",
- "properties": {
- "deleteOption": {
- "description": "Specify what happens to the public IP address when the VM is deleted",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dnsSettings": {
- "description": "The dns settings to be applied on the publicIP addresses .",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachinePublicIPAddressDnsSettingsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "idleTimeoutInMinutes": {
- "description": "The idle timeout of the public IP address.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipTags": {
- "description": "The list of IP tags associated with the public IP address.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineIpTag"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressVersion": {
- "description": "Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAllocationMethod": {
- "description": "Specify the public IP allocation type",
- "oneOf": [
- {
- "enum": [
- "Dynamic",
- "Static"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPPrefix": {
- "description": "The PublicIPPrefix from which to allocate publicIP addresses.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachinePublicIPAddressDnsSettingsConfiguration": {
- "description": "Describes a virtual machines network configuration's DNS settings.",
- "properties": {
- "domainNameLabel": {
- "description": "The Domain name label prefix of the PublicIPAddress resources that will be created. The generated name label is the concatenation of the domain name label and vm network profile unique ID.",
- "type": "string"
- }
- },
- "required": [
- "domainNameLabel"
- ],
- "type": "object"
- },
- "VirtualMachineRunCommandProperties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "properties": {
- "asyncExecution": {
- "description": "Optional. If set to true, provisioning will complete as soon as the script starts and will not wait for script to complete.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "errorBlobUri": {
- "description": "Specifies the Azure storage blob where script error stream will be uploaded.",
- "type": "string"
- },
- "outputBlobUri": {
- "description": "Specifies the Azure storage blob where script output stream will be uploaded.",
- "type": "string"
- },
- "parameters": {
- "description": "The parameters used by the script.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/RunCommandInputParameter"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedParameters": {
- "description": "The parameters used by the script.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/RunCommandInputParameter"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "runAsPassword": {
- "description": "Specifies the user account password on the VM when executing the run command.",
- "type": "string"
- },
- "runAsUser": {
- "description": "Specifies the user account on the VM when executing the run command.",
- "type": "string"
- },
- "source": {
- "description": "The source of the run command script.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandScriptSource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "timeoutInSeconds": {
- "description": "The timeout in seconds to execute the run command.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineRunCommandScriptSource": {
- "description": "Describes the script sources for run command.",
- "properties": {
- "commandId": {
- "description": "Specifies a commandId of predefined built-in script.",
- "type": "string"
- },
- "script": {
- "description": "Specifies the script content to be executed on the VM.",
- "type": "string"
- },
- "scriptUri": {
- "description": "Specifies the script download location.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetDataDisk": {
- "description": "Describes a virtual machine scale set data disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "The create option.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskIOPSReadWrite": {
- "description": "Specifies the Read-Write IOPS for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskMBpsReadWrite": {
- "description": "Specifies the bandwidth in MB per second for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun",
- "createOption"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetExtension": {
- "description": "Describes a Virtual Machine Scale Set Extension.",
- "properties": {
- "name": {
- "description": "The name of the extension.",
- "type": "string"
- },
- "properties": {
- "anyOf": [
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/genericExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/bgInfo"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/dscExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackup"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/chefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/dockerExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/eset"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/puppetAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/customScript"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetExtensionProfile": {
- "description": "Describes a virtual machine scale set extension profile.",
- "properties": {
- "extensions": {
- "description": "The virtual machine scale set child extension resources.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetExtension"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extensionsTimeBudget": {
- "description": "Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M).
Minimum api-version: 2020-06-01",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetExtensionProperties": {
- "description": "Describes the properties of a Virtual Machine Scale Set Extension.",
- "properties": {
- "autoUpgradeMinorVersion": {
- "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticUpgrade": {
- "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "forceUpdateTag": {
- "description": "If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.",
- "type": "string"
- },
- "protectedSettings": {
- "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionAfterExtensions": {
- "description": "Collection of extension names after which this extension needs to be provisioned.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publisher": {
- "description": "The name of the extension handler publisher.",
- "type": "string"
- },
- "settings": {
- "description": "Json formatted public settings for the extension.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIPConfiguration": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "name": {
- "description": "The IP configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetIPConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetIPConfigurationProperties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration properties.",
- "properties": {
- "applicationGatewayBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of application gateways. A scale set can reference backend address pools of multiple application gateways. Multiple scale sets cannot use the same application gateway.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "applicationSecurityGroups": {
- "description": "Specifies an array of references to application security group.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of load balancers. A scale set can reference backend address pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerInboundNatPools": {
- "description": "Specifies an array of references to inbound Nat pools of the load balancers. A scale set can reference inbound nat pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "privateIPAddressVersion": {
- "description": "Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressConfiguration": {
- "description": "The publicIPAddressConfiguration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "subnet": {
- "description": "Specifies the identifier of the subnet.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApiEntityReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIdentity": {
- "description": "Identity for the virtual machine scale set.",
- "properties": {
- "type": {
- "description": "The type of identity used for the virtual machine scale set. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine scale set.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned",
- "UserAssigned",
- "SystemAssigned, UserAssigned",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userAssignedIdentities": {
- "description": "The list of user identities associated with the virtual machine scale set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
- "oneOf": [
- {
- "additionalProperties": {
- "$ref": "#/definitions/VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue": {
- "properties": {},
- "type": "object"
- },
- "VirtualMachineScaleSetIpTag": {
- "description": "Contains the IP tag associated with the public IP address.",
- "properties": {
- "ipTagType": {
- "description": "IP tag type. Example: FirstPartyUsage.",
- "type": "string"
- },
- "tag": {
- "description": "IP tag associated with the public IP. Example: SQL, Storage etc.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetManagedDiskParameters": {
- "description": "Describes the parameters of a ScaleSet managed disk.",
- "properties": {
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS",
- "Premium_ZRS",
- "StandardSSD_ZRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfiguration": {
- "description": "Describes a virtual machine scale set network profile's network configurations.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "name": {
- "description": "The network configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfigurationDnsSettings": {
- "description": "Describes a virtual machines scale sets network configuration's DNS settings.",
- "properties": {
- "dnsServers": {
- "description": "List of DNS servers IP addresses",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfigurationProperties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "properties": {
- "deleteOption": {
- "description": "Specify what happens to the network interface when the VM is deleted",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dnsSettings": {
- "description": "The dns settings to be applied on the network interfaces.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationDnsSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAcceleratedNetworking": {
- "description": "Specifies whether the network interface is accelerated networking-enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableFpga": {
- "description": "Specifies whether the network interface is FPGA networking-enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableIPForwarding": {
- "description": "Whether IP forwarding enabled on this NIC.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipConfigurations": {
- "description": "Specifies the IP configurations of the network interface.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetIPConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkSecurityGroup": {
- "description": "The network security group.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "ipConfigurations"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkProfile": {
- "description": "Describes a virtual machine scale set network profile.",
- "properties": {
- "healthProbe": {
- "description": "A reference to a load balancer probe used to determine the health of an instance in the virtual machine scale set. The reference will be in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApiEntityReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkApiVersion": {
- "description": "specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations for Virtual Machine Scale Set with orchestration mode 'Flexible'",
- "oneOf": [
- {
- "enum": [
- "2020-11-01"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkInterfaceConfigurations": {
- "description": "The list of network configurations.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetOSDisk": {
- "description": "Describes a virtual machine scale set operating system disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machines in the scale set should be created.
The only allowed value is: **FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diffDiskSettings": {
- "description": "Specifies the ephemeral disk Settings for the operating system disk used by the virtual machine scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiffDiskSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of the operating system disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "Specifies information about the unmanaged user image to base the scale set on.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhdContainers": {
- "description": "Specifies the container urls that are used to store operating system disks for the scale set.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetOSProfile": {
- "description": "Describes a virtual machine scale set OS profile.",
- "properties": {
- "adminPassword": {
- "description": "Specifies the password of the administrator account.
**Minimum-length (Windows):** 8 characters
**Minimum-length (Linux):** 6 characters
**Max-length (Windows):** 123 characters
**Max-length (Linux):** 72 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])
**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"
For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp)
For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)",
- "type": "string"
- },
- "adminUsername": {
- "description": "Specifies the name of the administrator account.
**Windows-only restriction:** Cannot end in \".\"
**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters",
- "type": "string"
- },
- "computerNamePrefix": {
- "description": "Specifies the computer name prefix for all of the virtual machines in the scale set. Computer name prefixes must be 1 to 15 characters long.",
- "type": "string"
- },
- "customData": {
- "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes.
For using cloud-init for your VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init)",
- "type": "string"
- },
- "linuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros).",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "secrets": {
- "description": "Specifies set of certificates that should be installed onto the virtual machines in the scale set. To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultSecretGroup"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "windowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/WindowsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetProperties": {
- "description": "Describes the properties of a Virtual Machine Scale Set.",
- "properties": {
- "additionalCapabilities": {
- "description": "Specifies additional capabilities enabled or disabled on the Virtual Machines in the Virtual Machine Scale Set. For instance: whether the Virtual Machines have the capability to support attaching managed data disks with UltraSSD_LRS storage account type.",
- "oneOf": [
- {
- "$ref": "#/definitions/AdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "automaticRepairsPolicy": {
- "description": "Policy for automatic repairs.",
- "oneOf": [
- {
- "$ref": "#/definitions/AutomaticRepairsPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "doNotRunExtensionsOnOverprovisionedVMs": {
- "description": "When Overprovision is enabled, extensions are launched only on the requested number of VMs which are finally kept. This property will hence ensure that the extensions do not run on the extra overprovisioned VMs.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hostGroup": {
- "description": "Specifies information about the dedicated host group that the virtual machine scale set resides in.
Minimum api-version: 2020-06-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "orchestrationMode": {
- "description": "Specifies the orchestration mode for the virtual machine scale set.",
- "oneOf": [
- {
- "enum": [
- "Uniform",
- "Flexible"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "overprovision": {
- "description": "Specifies whether the Virtual Machine Scale Set should be overprovisioned.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformFaultDomainCount": {
- "description": "Fault Domain count for each placement group.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the virtual machine scale set should be assigned to.
Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "scaleInPolicy": {
- "description": "Specifies the scale-in policy that decides which virtual machines are chosen for removal when a Virtual Machine Scale Set is scaled-in.",
- "oneOf": [
- {
- "$ref": "#/definitions/ScaleInPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "singlePlacementGroup": {
- "description": "When true this limits the scale set to a single placement group, of max size 100 virtual machines. NOTE: If singlePlacementGroup is true, it may be modified to false. However, if singlePlacementGroup is false, it may not be modified to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "spotRestorePolicy": {
- "description": "Specifies the Spot Restore properties for the virtual machine scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/SpotRestorePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "upgradePolicy": {
- "description": "The upgrade policy.",
- "oneOf": [
- {
- "$ref": "#/definitions/UpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "virtualMachineProfile": {
- "description": "The virtual machine profile.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "zoneBalance": {
- "description": "Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage. zoneBalance property can only be set if the zones property of the scale set contains more than one zone. If there are no zones or only one zone specified, then zoneBalance property should not be set.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfiguration": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "properties": {
- "name": {
- "description": "The publicIP address configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "Describes the public IP Sku",
- "oneOf": [
- {
- "$ref": "#/definitions/PublicIPAddressSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings": {
- "description": "Describes a virtual machines scale sets network configuration's DNS settings.",
- "properties": {
- "domainNameLabel": {
- "description": "The Domain name label.The concatenation of the domain name label and vm index will be the domain name labels of the PublicIPAddress resources that will be created",
- "type": "string"
- }
- },
- "required": [
- "domainNameLabel"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfigurationProperties": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "properties": {
- "deleteOption": {
- "description": "Specify what happens to the public IP when the VM is deleted",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dnsSettings": {
- "description": "The dns settings to be applied on the publicIP addresses .",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "idleTimeoutInMinutes": {
- "description": "The idle timeout of the public IP address.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipTags": {
- "description": "The list of IP tags associated with the public IP address.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetIpTag"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressVersion": {
- "description": "Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPPrefix": {
- "description": "The PublicIPPrefix from which to allocate publicIP addresses.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetStorageProfile": {
- "description": "Describes a virtual machine scale set storage profile.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add data disks to the virtual machines in the scale set.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetDataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machines in the scale set.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetOSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMNetworkProfileConfiguration": {
- "description": "Describes a virtual machine scale set VM network profile.",
- "properties": {
- "networkInterfaceConfigurations": {
- "description": "The list of network configurations.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProfile": {
- "description": "Describes a virtual machine scale set virtual machine profile.",
- "properties": {
- "billingProfile": {
- "description": "Specifies the billing related details of a Azure Spot VMSS.
Minimum api-version: 2019-03-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/BillingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "capacityReservation": {
- "description": "Specifies the capacity reservation related details of a scale set.
Minimum api-version: 2021-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/CapacityReservationProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "evictionPolicy": {
- "description": "Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set.
For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01.
For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview.",
- "oneOf": [
- {
- "enum": [
- "Deallocate",
- "Delete"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extensionProfile": {
- "description": "Specifies a collection of settings for extensions installed on virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetExtensionProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises.
Possible values for Windows Server operating system are:
Windows_Client
Windows_Server
Possible values for Linux Server operating system are:
RHEL_BYOS (for RHEL)
SLES_BYOS (for SUSE)
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)
[Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies properties of the network interfaces of the virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings for the virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetOSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "priority": {
- "description": "Specifies the priority for the virtual machines in the scale set.
Minimum api-version: 2017-10-30-preview",
- "oneOf": [
- {
- "enum": [
- "Regular",
- "Low",
- "Spot"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "scheduledEventsProfile": {
- "description": "Specifies Scheduled Event related configurations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ScheduledEventsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Specifies the Security related profile settings for the virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/SecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userData": {
- "description": "UserData for the virtual machines in the scale set, which must be base-64 encoded. Customer should not pass any secrets in here.
Minimum api-version: 2021-03-01",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProperties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "properties": {
- "additionalCapabilities": {
- "description": "Specifies additional capabilities enabled or disabled on the virtual machine in the scale set. For instance: whether the virtual machine has the capability to support attaching managed data disks with UltraSSD_LRS storage account type.",
- "oneOf": [
- {
- "$ref": "#/definitions/AdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "availabilitySet": {
- "description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Availability sets overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview).
For more information on Azure planned maintenance, see [Maintenance and updates for Virtual Machines in Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates)
Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/HardwareProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises.
Possible values for Windows Server operating system are:
Windows_Client
Windows_Server
Possible values for Linux Server operating system are:
RHEL_BYOS (for RHEL)
SLES_BYOS (for SUSE)
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)
[Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkProfileConfiguration": {
- "description": "Specifies the network profile configuration of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMNetworkProfileConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectionPolicy": {
- "description": "Specifies the protection policy of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProtectionPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Specifies the Security related profile settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/SecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/StorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userData": {
- "description": "UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here.
Minimum api-version: 2021-03-01",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProtectionPolicy": {
- "description": "The protection policy of a virtual machine scale set VM.",
- "properties": {
- "protectFromScaleIn": {
- "description": "Indicates that the virtual machine scale set VM shouldn't be considered for deletion during a scale-in operation.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectFromScaleSetActions": {
- "description": "Indicates that model updates or actions (including scale-in) initiated on the virtual machine scale set should not be applied to the virtual machine scale set VM.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WinRMConfiguration": {
- "description": "Describes Windows Remote Management configuration of the VM",
- "properties": {
- "listeners": {
- "description": "The list of Windows Remote Management listeners",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/WinRMListener"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WinRMListener": {
- "description": "Describes Protocol and thumbprint of Windows Remote Management listener",
- "properties": {
- "certificateUrl": {
- "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:
{
\"data\":\"\",
\"dataType\":\"pfx\",
\"password\":\"\"
}
To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).",
- "type": "string"
- },
- "protocol": {
- "description": "Specifies the protocol of WinRM listener.
Possible values are:
**http**
**https**",
- "oneOf": [
- {
- "enum": [
- "Http",
- "Https"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WindowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "properties": {
- "additionalUnattendContent": {
- "description": "Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/AdditionalUnattendContent"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticUpdates": {
- "description": "Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value is true.
For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "patchSettings": {
- "description": "[Preview Feature] Specifies settings related to VM Guest Patching on Windows.",
- "oneOf": [
- {
- "$ref": "#/definitions/PatchSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionVMAgent": {
- "description": "Indicates whether virtual machine agent should be provisioned on the virtual machine.
When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "timeZone": {
- "description": "Specifies the time zone of the virtual machine. e.g. \"Pacific Standard Time\".
Possible values can be [TimeZoneInfo.Id](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.id?#System_TimeZoneInfo_Id) value from time zones returned by [TimeZoneInfo.GetSystemTimeZones](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.getsystemtimezones).",
- "type": "string"
- },
- "winRM": {
- "description": "Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.",
- "oneOf": [
- {
- "$ref": "#/definitions/WinRMConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "capacityReservationGroups_capacityReservations_childResource": {
- "description": "Microsoft.Compute/capacityReservationGroups/capacityReservations",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-04-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the capacity reservation.",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the Capacity reservation.",
- "oneOf": [
- {
- "$ref": "#/definitions/CapacityReservationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "SKU of the resource for which capacity needs be reserved. The SKU name and capacity is required to be set. Currently VM Skus with the capability called 'CapacityReservationSupported' set to true are supported. Refer to List Microsoft.Compute SKUs in a region (https://docs.microsoft.com/rest/api/compute/resourceskus/list) for supported values.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "capacityReservations"
- ],
- "type": "string"
- },
- "zones": {
- "description": "Availability Zone to use for this capacity reservation. The zone has to be single value and also should be part for the list of zones specified during the capacity reservation group creation. The zone can be assigned only during creation. If not provided, the reservation supports only non-zonal deployments. If provided, enforces VM/VMSS using this capacity reservation to be in same zone.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "diskAccesses_privateEndpointConnections_childResource": {
- "description": "Microsoft.Compute/diskAccesses/privateEndpointConnections",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-04-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the private endpoint connection.",
- "type": "string"
- },
- "properties": {
- "description": "Resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/PrivateEndpointConnectionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "privateEndpointConnections"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "hostGroups_hosts_childResource": {
- "description": "Microsoft.Compute/hostGroups/hosts",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-04-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the dedicated host .",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the dedicated host.",
- "oneOf": [
- {
- "$ref": "#/definitions/DedicatedHostProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be set. List Microsoft.Compute SKUs for a list of possible values.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "hosts"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "restorePointCollections_restorePoints_childResource": {
- "description": "Microsoft.Compute/restorePointCollections/restorePoints",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-04-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the restore point.",
- "type": "string"
- },
- "properties": {
- "description": "The restore point properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/RestorePointProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "restorePoints"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-04-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the VM scale set extension.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Scale Set Extension.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetExtensionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-04-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine extension.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Extension.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_runCommands_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/runCommands",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-04-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine run command.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "runCommands"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualmachines_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualmachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-04-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The instance ID of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "virtualmachines"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachines/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-04-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine extension.",
- "type": "string"
- },
- "properties": {
- "anyOf": [
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/genericExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/bgInfo"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/dscExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackup"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/chefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/dockerExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/eset"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/puppetAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/customScript"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines_runCommands_childResource": {
- "description": "Microsoft.Compute/virtualMachines/runCommands",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-04-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine run command.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "runCommands"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- }
-}
\ No newline at end of file
diff --git a/schemas/2021-07-01/Microsoft.Compute.json b/schemas/2021-07-01/Microsoft.Compute.json
deleted file mode 100644
index c46640d7ba..0000000000
--- a/schemas/2021-07-01/Microsoft.Compute.json
+++ /dev/null
@@ -1,8391 +0,0 @@
-{
- "id": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.json#",
- "title": "Microsoft.Compute",
- "description": "Microsoft Compute Resource Types",
- "$schema": "http://json-schema.org/draft-04/schema#",
- "resourceDefinitions": {
- "availabilitySets": {
- "description": "Microsoft.Compute/availabilitySets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the availability set.",
- "type": "string"
- },
- "properties": {
- "description": "The instance view of a resource.",
- "oneOf": [
- {
- "$ref": "#/definitions/AvailabilitySetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "Sku of the availability set, only name is required to be set. See AvailabilitySetSkuTypes for possible set of values. Use 'Aligned' for virtual machines with managed disks and 'Classic' for virtual machines with unmanaged disks. Default value is 'Classic'.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/availabilitySets"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "capacityReservationGroups": {
- "description": "Microsoft.Compute/capacityReservationGroups",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the capacity reservation group.",
- "type": "string"
- },
- "properties": {
- "description": "capacity reservation group Properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/CapacityReservationGroupProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/capacityReservationGroups_capacityReservations_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/capacityReservationGroups"
- ],
- "type": "string"
- },
- "zones": {
- "description": "Availability Zones to use for this capacity reservation group. The zones can be assigned only during creation. If not provided, the group supports only regional resources in the region. If provided, enforces each capacity reservation in the group to be in one of the zones.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "capacityReservationGroups_capacityReservations": {
- "description": "Microsoft.Compute/capacityReservationGroups/capacityReservations",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the capacity reservation.",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the Capacity reservation.",
- "oneOf": [
- {
- "$ref": "#/definitions/CapacityReservationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "SKU of the resource for which capacity needs be reserved. The SKU name and capacity is required to be set. Currently VM Skus with the capability called 'CapacityReservationSupported' set to true are supported. Refer to List Microsoft.Compute SKUs in a region (https://docs.microsoft.com/rest/api/compute/resourceskus/list) for supported values.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/capacityReservationGroups/capacityReservations"
- ],
- "type": "string"
- },
- "zones": {
- "description": "Availability Zone to use for this capacity reservation. The zone has to be single value and also should be part for the list of zones specified during the capacity reservation group creation. The zone can be assigned only during creation. If not provided, the reservation supports only non-zonal deployments. If provided, enforces VM/VMSS using this capacity reservation to be in same zone.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries": {
- "description": "Microsoft.Compute/galleries",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the Shared Image Gallery. The allowed characters are alphabets and numbers with dots and periods allowed in the middle. The maximum length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Shared Image Gallery.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/galleries_images_childResource"
- },
- {
- "$ref": "#/definitions/galleries_applications_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/galleries"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_applications": {
- "description": "Microsoft.Compute/galleries/applications",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Application Definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery Application Definition.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryApplicationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/galleries_applications_versions_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/galleries/applications"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_applications_versions": {
- "description": "Microsoft.Compute/galleries/applications/versions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Application Version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery image version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryApplicationVersionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/galleries/applications/versions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_images": {
- "description": "Microsoft.Compute/galleries/images",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery image definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery image definition.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/galleries_images_versions_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/galleries/images"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_images_versions": {
- "description": "Microsoft.Compute/galleries/images/versions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery image version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery image version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageVersionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/galleries/images/versions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "hostGroups": {
- "description": "Microsoft.Compute/hostGroups",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the dedicated host group.",
- "type": "string"
- },
- "properties": {
- "description": "Dedicated Host Group Properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/DedicatedHostGroupProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/hostGroups_hosts_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/hostGroups"
- ],
- "type": "string"
- },
- "zones": {
- "description": "Availability Zone to use for this host group. Only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "hostGroups_hosts": {
- "description": "Microsoft.Compute/hostGroups/hosts",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the dedicated host .",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the dedicated host.",
- "oneOf": [
- {
- "$ref": "#/definitions/DedicatedHostProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be set. List Microsoft.Compute SKUs for a list of possible values.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/hostGroups/hosts"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "images": {
- "description": "Microsoft.Compute/images",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-07-01"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location of the Image.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the image.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of an Image.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/images"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "proximityPlacementGroups": {
- "description": "Microsoft.Compute/proximityPlacementGroups",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the proximity placement group.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Proximity Placement Group.",
- "oneOf": [
- {
- "$ref": "#/definitions/ProximityPlacementGroupProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/proximityPlacementGroups"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "restorePointCollections": {
- "description": "Microsoft.Compute/restorePointCollections",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the restore point collection.",
- "type": "string"
- },
- "properties": {
- "description": "The restore point collection properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/RestorePointCollectionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/restorePointCollections_restorePoints_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/restorePointCollections"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "restorePointCollections_restorePoints": {
- "description": "Microsoft.Compute/restorePointCollections/restorePoints",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-07-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the restore point.",
- "type": "string"
- },
- "properties": {
- "description": "The restore point properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/RestorePointProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/restorePointCollections/restorePoints"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "sshPublicKeys": {
- "description": "Microsoft.Compute/sshPublicKeys",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the SSH public key.",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the SSH public key.",
- "oneOf": [
- {
- "$ref": "#/definitions/SshPublicKeyResourceProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/sshPublicKeys"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets": {
- "description": "Microsoft.Compute/virtualMachineScaleSets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-07-01"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location of the Virtual Machine Scale Set.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "identity": {
- "description": "The identity of the virtual machine scale set, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the VM scale set to create or update.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Scale Set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachineScaleSets_extensions_childResource"
- },
- {
- "$ref": "#/definitions/virtualMachineScaleSets_virtualmachines_childResource"
- }
- ]
- },
- "type": "array"
- },
- "sku": {
- "description": "The virtual machine scale set sku.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The virtual machine scale set zones. NOTE: Availability zones can only be set when you create the scale set",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_extensions": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-07-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine extension.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Extension.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_runCommands": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/runCommands",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine run command.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/runCommands"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualmachines": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualmachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The instance ID of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachineScaleSets_virtualMachines_extensions_childResource"
- },
- {
- "$ref": "#/definitions/virtualMachineScaleSets_virtualMachines_runCommands_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets/virtualmachines"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines": {
- "description": "Microsoft.Compute/virtualMachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-07-01"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location of the Virtual Machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "identity": {
- "description": "The identity of the virtual machine, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachines_extensions_childResource"
- },
- {
- "$ref": "#/definitions/virtualMachines_runCommands_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachines"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The virtual machine zones.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines_runCommands": {
- "description": "Microsoft.Compute/virtualMachines/runCommands",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine run command.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachines/runCommands"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- },
- "definitions": {
- "AdditionalCapabilities": {
- "description": "Enables or disables a capability on the virtual machine or virtual machine scale set.",
- "properties": {
- "hibernationEnabled": {
- "description": "The flag that enables or disables hibernation capability on the VM.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ultraSSDEnabled": {
- "description": "The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "AdditionalUnattendContent": {
- "description": "Specifies additional XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is applied.",
- "properties": {
- "componentName": {
- "description": "The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup.",
- "oneOf": [
- {
- "enum": [
- "Microsoft-Windows-Shell-Setup"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "content": {
- "description": "Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted.",
- "type": "string"
- },
- "passName": {
- "description": "The pass name. Currently, the only allowable value is OobeSystem.",
- "oneOf": [
- {
- "enum": [
- "OobeSystem"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "settingName": {
- "description": "Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon.",
- "oneOf": [
- {
- "enum": [
- "AutoLogon",
- "FirstLogonCommands"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ApiEntityReference": {
- "description": "The API entity reference.",
- "properties": {
- "id": {
- "description": "The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ApplicationProfile": {
- "description": "Contains the list of gallery applications that should be made available to the VM/VMSS",
- "properties": {
- "galleryApplications": {
- "description": "Specifies the gallery applications that should be made available to the VM/VMSS",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VMGalleryApplication"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "AutomaticOSUpgradePolicy": {
- "description": "The configuration parameters used for performing automatic OS upgrade.",
- "properties": {
- "disableAutomaticRollback": {
- "description": "Whether OS image rollback feature should be disabled. Default value is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticOSUpgrade": {
- "description": "Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. Default value is false.
If this is set to true for Windows based scale sets, [enableAutomaticUpdates](https://docs.microsoft.com/dotnet/api/microsoft.azure.management.compute.models.windowsconfiguration.enableautomaticupdates?view=azure-dotnet) is automatically set to false and cannot be set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "AutomaticRepairsPolicy": {
- "description": "Specifies the configuration parameters for automatic repairs on the virtual machine scale set.",
- "properties": {
- "enabled": {
- "description": "Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "gracePeriod": {
- "description": "The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The minimum allowed grace period is 30 minutes (PT30M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M).",
- "type": "string"
- }
- },
- "type": "object"
- },
- "AvailabilitySetProperties": {
- "description": "The instance view of a resource.",
- "properties": {
- "platformFaultDomainCount": {
- "description": "Fault Domain count.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformUpdateDomainCount": {
- "description": "Update Domain count.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the availability set should be assigned to.
Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "virtualMachines": {
- "description": "A list of references to all virtual machines in the availability set.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "BillingProfile": {
- "description": "Specifies the billing related details of a Azure Spot VM or VMSS.
Minimum api-version: 2019-03-01.",
- "properties": {
- "maxPrice": {
- "description": "Specifies the maximum price you are willing to pay for a Azure Spot VM/VMSS. This price is in US Dollars.
This price will be compared with the current Azure Spot price for the VM size. Also, the prices are compared at the time of create/update of Azure Spot VM/VMSS and the operation will only succeed if the maxPrice is greater than the current Azure Spot price.
The maxPrice will also be used for evicting a Azure Spot VM/VMSS if the current Azure Spot price goes beyond the maxPrice after creation of VM/VMSS.
Possible values are:
- Any decimal value greater than zero. Example: 0.01538
-1 – indicates default price to be up-to on-demand.
You can set the maxPrice to -1 to indicate that the Azure Spot VM/VMSS should not be evicted for price reasons. Also, the default max price is -1 if it is not provided by you.
Minimum api-version: 2019-03-01.",
- "oneOf": [
- {
- "type": "number"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "BootDiagnostics": {
- "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.",
- "properties": {
- "enabled": {
- "description": "Whether boot diagnostics should be enabled on the Virtual Machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageUri": {
- "description": "Uri of the storage account to use for placing the console output and screenshot.
If storageUri is not specified while enabling boot diagnostics, managed storage will be used.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "CapacityReservationGroupProperties": {
- "description": "capacity reservation group Properties.",
- "properties": {},
- "type": "object"
- },
- "CapacityReservationProfile": {
- "description": "The parameters of a capacity reservation Profile.",
- "properties": {
- "capacityReservationGroup": {
- "description": "Specifies the capacity reservation group resource id that should be used for allocating the virtual machine or scaleset vm instances provided enough capacity has been reserved. Please refer to https://aka.ms/CapacityReservation for more details.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "CapacityReservationProperties": {
- "description": "Properties of the Capacity reservation.",
- "properties": {},
- "type": "object"
- },
- "DataDisk": {
- "description": "Describes a data disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machine should be created.
Possible values are:
**Attach** \\u2013 This value is used when you are using a specialized disk to create the virtual machine.
**FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "deleteOption": {
- "description": "Specifies whether data disk should be deleted or detached upon VM deletion.
Possible values:
**Delete** If this value is used, the data disk is deleted when VM is deleted.
**Detach** If this value is used, the data disk is retained after VM is deleted.
The default value is set to **detach**",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "detachOption": {
- "description": "Specifies the detach behavior to be used while detaching a disk or which is already in the process of detachment from the virtual machine. Supported values: **ForceDetach**.
detachOption: **ForceDetach** is applicable only for managed data disks. If a previous detachment attempt of the data disk did not complete due to an unexpected failure from the virtual machine and the disk is still not released then use force-detach as a last resort option to detach the disk forcibly from the VM. All writes might not have been flushed when using this detach behavior.
This feature is still in preview mode and is not supported for VirtualMachineScaleSet. To force-detach a data disk update toBeDetached to 'true' along with setting detachOption: 'ForceDetach'.",
- "oneOf": [
- {
- "enum": [
- "ForceDetach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/ManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "toBeDetached": {
- "description": "Specifies whether the data disk is in process of detachment from the VirtualMachine/VirtualMachineScaleset",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhd": {
- "description": "The virtual hard disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun",
- "createOption"
- ],
- "type": "object"
- },
- "DataDiskImageEncryption": {
- "description": "Contains encryption settings for a data disk image.",
- "properties": {
- "diskEncryptionSetId": {
- "description": "A relative URI containing the resource ID of the disk encryption set.",
- "type": "string"
- },
- "lun": {
- "description": "This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun"
- ],
- "type": "object"
- },
- "DedicatedHostGroupProperties": {
- "description": "Dedicated Host Group Properties.",
- "properties": {
- "platformFaultDomainCount": {
- "description": "Number of fault domains that the host group can span.",
- "oneOf": [
- {
- "minimum": 1,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "supportAutomaticPlacement": {
- "description": "Specifies whether virtual machines or virtual machine scale sets can be placed automatically on the dedicated host group. Automatic placement means resources are allocated on dedicated hosts, that are chosen by Azure, under the dedicated host group. The value is defaulted to 'false' when not provided.
Minimum api-version: 2020-06-01.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "platformFaultDomainCount"
- ],
- "type": "object"
- },
- "DedicatedHostProperties": {
- "description": "Properties of the dedicated host.",
- "properties": {
- "autoReplaceOnFailure": {
- "description": "Specifies whether the dedicated host should be replaced automatically in case of a failure. The value is defaulted to 'true' when not provided.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies the software license type that will be applied to the VMs deployed on the dedicated host.
Possible values are:
**None**
**Windows_Server_Hybrid**
**Windows_Server_Perpetual**
Default: **None**",
- "oneOf": [
- {
- "enum": [
- "None",
- "Windows_Server_Hybrid",
- "Windows_Server_Perpetual"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformFaultDomain": {
- "description": "Fault domain of the dedicated host within a dedicated host group.",
- "oneOf": [
- {
- "minimum": 0,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "properties": {
- "bootDiagnostics": {
- "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
**NOTE**: If storageUri is being specified then ensure that the storage account is in the same region and subscription as the VM.
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.",
- "oneOf": [
- {
- "$ref": "#/definitions/BootDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiffDiskSettings": {
- "description": "Describes the parameters of ephemeral disk settings that can be specified for operating system disk.
NOTE: The ephemeral disk settings can only be specified for managed disk.",
- "properties": {
- "option": {
- "description": "Specifies the ephemeral disk settings for operating system disk.",
- "oneOf": [
- {
- "enum": [
- "Local"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "placement": {
- "description": "Specifies the ephemeral disk placement for operating system disk.
Possible values are:
**CacheDisk**
**ResourceDisk**
Default: **CacheDisk** if one is configured for the VM size otherwise **ResourceDisk** is used.
Refer to VM size documentation for Windows VM at https://docs.microsoft.com/azure/virtual-machines/windows/sizes and Linux VM at https://docs.microsoft.com/azure/virtual-machines/linux/sizes to check which VM sizes exposes a cache disk.",
- "oneOf": [
- {
- "enum": [
- "CacheDisk",
- "ResourceDisk"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Disallowed": {
- "description": "Describes the disallowed disk types.",
- "properties": {
- "diskTypes": {
- "description": "A list of disk types.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiskEncryptionSetParameters": {
- "description": "Describes the parameter of customer managed disk encryption set resource id that can be specified for disk.
NOTE: The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "DiskEncryptionSettings": {
- "description": "Describes a Encryption Settings for a Disk",
- "properties": {
- "diskEncryptionKey": {
- "description": "Specifies the location of the disk encryption key, which is a Key Vault Secret.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enabled": {
- "description": "Specifies whether disk encryption should be enabled on the virtual machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "keyEncryptionKey": {
- "description": "Specifies the location of the key encryption key in Key Vault.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultKeyReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "EncryptionImages": {
- "description": "Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact.",
- "properties": {
- "dataDiskImages": {
- "description": "A list of encryption specifications for data disk images.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/DataDiskImageEncryption"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDiskImage": {
- "description": "Contains encryption settings for an OS disk image.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSDiskImageEncryption"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ExtendedLocation": {
- "description": "The complex type of the extended location.",
- "properties": {
- "name": {
- "description": "The name of the extended location.",
- "type": "string"
- },
- "type": {
- "description": "The type of the extended location.",
- "oneOf": [
- {
- "enum": [
- "EdgeZone"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryApplicationProperties": {
- "description": "Describes the properties of a gallery Application Definition.",
- "properties": {
- "description": {
- "description": "The description of this gallery Application Definition resource. This property is updatable.",
- "type": "string"
- },
- "endOfLifeDate": {
- "description": "The end of life date of the gallery Application Definition. This property can be used for decommissioning purposes. This property is updatable.",
- "format": "date-time",
- "type": "string"
- },
- "eula": {
- "description": "The Eula agreement for the gallery Application Definition.",
- "type": "string"
- },
- "privacyStatementUri": {
- "description": "The privacy statement uri.",
- "type": "string"
- },
- "releaseNoteUri": {
- "description": "The release note uri.",
- "type": "string"
- },
- "supportedOSType": {
- "description": "This property allows you to specify the supported type of the OS that application is built for.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "supportedOSType"
- ],
- "type": "object"
- },
- "GalleryApplicationVersionProperties": {
- "description": "Describes the properties of a gallery image version.",
- "properties": {
- "publishingProfile": {
- "description": "The publishing profile of a gallery image version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryApplicationVersionPublishingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "publishingProfile"
- ],
- "type": "object"
- },
- "GalleryApplicationVersionPublishingProfile": {
- "description": "The publishing profile of a gallery image version.",
- "properties": {
- "enableHealthCheck": {
- "description": "Optional. Whether or not this application reports health.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "endOfLifeDate": {
- "description": "The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable.",
- "format": "date-time",
- "type": "string"
- },
- "excludeFromLatest": {
- "description": "If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "manageActions": {
- "oneOf": [
- {
- "$ref": "#/definitions/UserArtifactManage"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "replicaCount": {
- "description": "The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "replicationMode": {
- "description": "Optional parameter which specifies the mode to be used for replication. This property is not updatable.",
- "oneOf": [
- {
- "enum": [
- "Full",
- "Shallow"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "source": {
- "description": "The source image from which the Image Version is going to be created.",
- "oneOf": [
- {
- "$ref": "#/definitions/UserArtifactSource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type to be used to store the image. This property is not updatable.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Standard_ZRS",
- "Premium_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "targetRegions": {
- "description": "The target regions where the Image Version is going to be replicated to. This property is updatable.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/TargetRegion"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "source"
- ],
- "type": "object"
- },
- "GalleryArtifactVersionSource": {
- "description": "The gallery artifact version source.",
- "properties": {
- "id": {
- "description": "The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, user image or storage account resource.",
- "type": "string"
- },
- "uri": {
- "description": "The uri of the gallery artifact version source. Currently used to specify vhd/blob source.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "GalleryDataDiskImage": {
- "description": "This is the data disk image.",
- "properties": {
- "hostCaching": {
- "description": "The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "source": {
- "description": "The gallery artifact version source.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryArtifactVersionSource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun"
- ],
- "type": "object"
- },
- "GalleryIdentifier": {
- "description": "Describes the gallery unique name.",
- "properties": {},
- "type": "object"
- },
- "GalleryImageFeature": {
- "description": "A feature for gallery image.",
- "properties": {
- "name": {
- "description": "The name of the gallery image feature.",
- "type": "string"
- },
- "value": {
- "description": "The value of the gallery image feature.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "GalleryImageIdentifier": {
- "description": "This is the gallery image definition identifier.",
- "properties": {
- "offer": {
- "description": "The name of the gallery image definition offer.",
- "type": "string"
- },
- "publisher": {
- "description": "The name of the gallery image definition publisher.",
- "type": "string"
- },
- "sku": {
- "description": "The name of the gallery image definition SKU.",
- "type": "string"
- }
- },
- "required": [
- "publisher",
- "offer",
- "sku"
- ],
- "type": "object"
- },
- "GalleryImageProperties": {
- "description": "Describes the properties of a gallery image definition.",
- "properties": {
- "description": {
- "description": "The description of this gallery image definition resource. This property is updatable.",
- "type": "string"
- },
- "disallowed": {
- "description": "Describes the disallowed disk types.",
- "oneOf": [
- {
- "$ref": "#/definitions/Disallowed"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "endOfLifeDate": {
- "description": "The end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable.",
- "format": "date-time",
- "type": "string"
- },
- "eula": {
- "description": "The Eula agreement for the gallery image definition.",
- "type": "string"
- },
- "features": {
- "description": "A list of gallery image features.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/GalleryImageFeature"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hyperVGeneration": {
- "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "identifier": {
- "description": "This is the gallery image definition identifier.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageIdentifier"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osState": {
- "description": "This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'.",
- "oneOf": [
- {
- "enum": [
- "Generalized",
- "Specialized"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "privacyStatementUri": {
- "description": "The privacy statement uri.",
- "type": "string"
- },
- "purchasePlan": {
- "description": "Describes the gallery image definition purchase plan. This is used by marketplace images.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImagePurchasePlan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "recommended": {
- "description": "The properties describe the recommended machine configuration for this Image Definition. These properties are updatable.",
- "oneOf": [
- {
- "$ref": "#/definitions/RecommendedMachineConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "releaseNoteUri": {
- "description": "The release note uri.",
- "type": "string"
- }
- },
- "required": [
- "osType",
- "osState",
- "identifier"
- ],
- "type": "object"
- },
- "GalleryImageVersionProperties": {
- "description": "Describes the properties of a gallery image version.",
- "properties": {
- "publishingProfile": {
- "description": "The publishing profile of a gallery image Version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageVersionPublishingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "This is the storage profile of a Gallery Image Version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageVersionStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "storageProfile"
- ],
- "type": "object"
- },
- "GalleryImageVersionPublishingProfile": {
- "description": "The publishing profile of a gallery image Version.",
- "properties": {
- "endOfLifeDate": {
- "description": "The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable.",
- "format": "date-time",
- "type": "string"
- },
- "excludeFromLatest": {
- "description": "If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "replicaCount": {
- "description": "The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "replicationMode": {
- "description": "Optional parameter which specifies the mode to be used for replication. This property is not updatable.",
- "oneOf": [
- {
- "enum": [
- "Full",
- "Shallow"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type to be used to store the image. This property is not updatable.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Standard_ZRS",
- "Premium_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "targetRegions": {
- "description": "The target regions where the Image Version is going to be replicated to. This property is updatable.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/TargetRegion"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryImageVersionStorageProfile": {
- "description": "This is the storage profile of a Gallery Image Version.",
- "properties": {
- "dataDiskImages": {
- "description": "A list of data disk images.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/GalleryDataDiskImage"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDiskImage": {
- "description": "This is the OS disk image.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryOSDiskImage"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "source": {
- "description": "The gallery artifact version source.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryArtifactVersionSource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryOSDiskImage": {
- "description": "This is the OS disk image.",
- "properties": {
- "hostCaching": {
- "description": "The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "source": {
- "description": "The gallery artifact version source.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryArtifactVersionSource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryProperties": {
- "description": "Describes the properties of a Shared Image Gallery.",
- "properties": {
- "description": {
- "description": "The description of this Shared Image Gallery resource. This property is updatable.",
- "type": "string"
- },
- "identifier": {
- "description": "Describes the gallery unique name.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryIdentifier"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sharingProfile": {
- "description": "Profile for gallery sharing to subscription or tenant",
- "oneOf": [
- {
- "$ref": "#/definitions/SharingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "softDeletePolicy": {
- "description": "Contains information about the soft deletion policy of the gallery.",
- "oneOf": [
- {
- "$ref": "#/definitions/SoftDeletePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "HardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "properties": {
- "vmSize": {
- "description": "Specifies the size of the virtual machine.
The enum data type is currently deprecated and will be removed by December 23rd 2023.
Recommended way to get the list of available sizes is using these APIs:
[List all available virtual machine sizes in an availability set](https://docs.microsoft.com/rest/api/compute/availabilitysets/listavailablesizes)
[List all available virtual machine sizes in a region]( https://docs.microsoft.com/rest/api/compute/resourceskus/list)
[List all available virtual machine sizes for resizing](https://docs.microsoft.com/rest/api/compute/virtualmachines/listavailablesizes). For more information about virtual machine sizes, see [Sizes for virtual machines](https://docs.microsoft.com/azure/virtual-machines/sizes).
The available VM sizes depend on region and availability set.",
- "oneOf": [
- {
- "enum": [
- "Basic_A0",
- "Basic_A1",
- "Basic_A2",
- "Basic_A3",
- "Basic_A4",
- "Standard_A0",
- "Standard_A1",
- "Standard_A2",
- "Standard_A3",
- "Standard_A4",
- "Standard_A5",
- "Standard_A6",
- "Standard_A7",
- "Standard_A8",
- "Standard_A9",
- "Standard_A10",
- "Standard_A11",
- "Standard_A1_v2",
- "Standard_A2_v2",
- "Standard_A4_v2",
- "Standard_A8_v2",
- "Standard_A2m_v2",
- "Standard_A4m_v2",
- "Standard_A8m_v2",
- "Standard_B1s",
- "Standard_B1ms",
- "Standard_B2s",
- "Standard_B2ms",
- "Standard_B4ms",
- "Standard_B8ms",
- "Standard_D1",
- "Standard_D2",
- "Standard_D3",
- "Standard_D4",
- "Standard_D11",
- "Standard_D12",
- "Standard_D13",
- "Standard_D14",
- "Standard_D1_v2",
- "Standard_D2_v2",
- "Standard_D3_v2",
- "Standard_D4_v2",
- "Standard_D5_v2",
- "Standard_D2_v3",
- "Standard_D4_v3",
- "Standard_D8_v3",
- "Standard_D16_v3",
- "Standard_D32_v3",
- "Standard_D64_v3",
- "Standard_D2s_v3",
- "Standard_D4s_v3",
- "Standard_D8s_v3",
- "Standard_D16s_v3",
- "Standard_D32s_v3",
- "Standard_D64s_v3",
- "Standard_D11_v2",
- "Standard_D12_v2",
- "Standard_D13_v2",
- "Standard_D14_v2",
- "Standard_D15_v2",
- "Standard_DS1",
- "Standard_DS2",
- "Standard_DS3",
- "Standard_DS4",
- "Standard_DS11",
- "Standard_DS12",
- "Standard_DS13",
- "Standard_DS14",
- "Standard_DS1_v2",
- "Standard_DS2_v2",
- "Standard_DS3_v2",
- "Standard_DS4_v2",
- "Standard_DS5_v2",
- "Standard_DS11_v2",
- "Standard_DS12_v2",
- "Standard_DS13_v2",
- "Standard_DS14_v2",
- "Standard_DS15_v2",
- "Standard_DS13-4_v2",
- "Standard_DS13-2_v2",
- "Standard_DS14-8_v2",
- "Standard_DS14-4_v2",
- "Standard_E2_v3",
- "Standard_E4_v3",
- "Standard_E8_v3",
- "Standard_E16_v3",
- "Standard_E32_v3",
- "Standard_E64_v3",
- "Standard_E2s_v3",
- "Standard_E4s_v3",
- "Standard_E8s_v3",
- "Standard_E16s_v3",
- "Standard_E32s_v3",
- "Standard_E64s_v3",
- "Standard_E32-16_v3",
- "Standard_E32-8s_v3",
- "Standard_E64-32s_v3",
- "Standard_E64-16s_v3",
- "Standard_F1",
- "Standard_F2",
- "Standard_F4",
- "Standard_F8",
- "Standard_F16",
- "Standard_F1s",
- "Standard_F2s",
- "Standard_F4s",
- "Standard_F8s",
- "Standard_F16s",
- "Standard_F2s_v2",
- "Standard_F4s_v2",
- "Standard_F8s_v2",
- "Standard_F16s_v2",
- "Standard_F32s_v2",
- "Standard_F64s_v2",
- "Standard_F72s_v2",
- "Standard_G1",
- "Standard_G2",
- "Standard_G3",
- "Standard_G4",
- "Standard_G5",
- "Standard_GS1",
- "Standard_GS2",
- "Standard_GS3",
- "Standard_GS4",
- "Standard_GS5",
- "Standard_GS4-8",
- "Standard_GS4-4",
- "Standard_GS5-16",
- "Standard_GS5-8",
- "Standard_H8",
- "Standard_H16",
- "Standard_H8m",
- "Standard_H16m",
- "Standard_H16r",
- "Standard_H16mr",
- "Standard_L4s",
- "Standard_L8s",
- "Standard_L16s",
- "Standard_L32s",
- "Standard_M64s",
- "Standard_M64ms",
- "Standard_M128s",
- "Standard_M128ms",
- "Standard_M64-32ms",
- "Standard_M64-16ms",
- "Standard_M128-64ms",
- "Standard_M128-32ms",
- "Standard_NC6",
- "Standard_NC12",
- "Standard_NC24",
- "Standard_NC24r",
- "Standard_NC6s_v2",
- "Standard_NC12s_v2",
- "Standard_NC24s_v2",
- "Standard_NC24rs_v2",
- "Standard_NC6s_v3",
- "Standard_NC12s_v3",
- "Standard_NC24s_v3",
- "Standard_NC24rs_v3",
- "Standard_ND6s",
- "Standard_ND12s",
- "Standard_ND24s",
- "Standard_ND24rs",
- "Standard_NV6",
- "Standard_NV12",
- "Standard_NV24"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vmSizeProperties": {
- "description": "Specifies the properties for customizing the size of the virtual machine. Minimum api-version: 2021-07-01.
This feature is still in preview mode and is not supported for VirtualMachineScaleSet.
Please follow the instructions in [VM Customization](https://aka.ms/vmcustomization) for more details.",
- "oneOf": [
- {
- "$ref": "#/definitions/VMSizeProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImageDataDisk": {
- "description": "Describes a data disk.",
- "properties": {
- "blobUri": {
- "description": "The Virtual Hard Disk.",
- "type": "string"
- },
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed image disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managedDisk.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "snapshot": {
- "description": "The snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS",
- "Premium_ZRS",
- "StandardSSD_ZRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun"
- ],
- "type": "object"
- },
- "ImageOSDisk": {
- "description": "Describes an Operating System disk.",
- "properties": {
- "blobUri": {
- "description": "The Virtual Hard Disk.",
- "type": "string"
- },
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed image disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managedDisk.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osState": {
- "description": "The OS State.",
- "oneOf": [
- {
- "enum": [
- "Generalized",
- "Specialized"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from a custom image.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "snapshot": {
- "description": "The snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS",
- "Premium_ZRS",
- "StandardSSD_ZRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "osType",
- "osState"
- ],
- "type": "object"
- },
- "ImageProperties": {
- "description": "Describes the properties of an Image.",
- "properties": {
- "hyperVGeneration": {
- "description": "Specifies the HyperVGenerationType of the VirtualMachine created from the image. From API Version 2019-03-01 if the image source is a blob, then we need the user to specify the value, if the source is managed resource like disk or snapshot, we may require the user to specify the property if we cannot deduce it from the source managed resource.",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sourceVirtualMachine": {
- "description": "The source virtual machine from which Image is created.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImagePurchasePlan": {
- "description": "Describes the gallery image definition purchase plan. This is used by marketplace images.",
- "properties": {
- "name": {
- "description": "The plan ID.",
- "type": "string"
- },
- "product": {
- "description": "The product ID.",
- "type": "string"
- },
- "publisher": {
- "description": "The publisher ID.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ImageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. NOTE: Image reference publisher and offer can only be set when you create the scale set.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "offer": {
- "description": "Specifies the offer of the platform image or marketplace image used to create the virtual machine.",
- "type": "string"
- },
- "publisher": {
- "description": "The image publisher.",
- "type": "string"
- },
- "sharedGalleryImageId": {
- "description": "Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call.",
- "type": "string"
- },
- "sku": {
- "description": "The image SKU.",
- "type": "string"
- },
- "version": {
- "description": "Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ImageStorageProfile": {
- "description": "Describes a storage profile.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add a data disk to a virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/ImageDataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageOSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "zoneResilient": {
- "description": "Specifies whether an image is zone resilient or not. Default is false. Zone resilient images can be created only in regions that provide Zone Redundant Storage (ZRS).",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "InstanceViewStatus": {
- "description": "Instance view status.",
- "properties": {
- "code": {
- "description": "The status code.",
- "type": "string"
- },
- "displayStatus": {
- "description": "The short localizable label for the status.",
- "type": "string"
- },
- "level": {
- "description": "The level code.",
- "oneOf": [
- {
- "enum": [
- "Info",
- "Warning",
- "Error"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "message": {
- "description": "The detailed status message, including for alerts and error messages.",
- "type": "string"
- },
- "time": {
- "description": "The time of the status.",
- "format": "date-time",
- "type": "string"
- }
- },
- "type": "object"
- },
- "KeyVaultKeyReference": {
- "description": "Describes a reference to Key Vault Key",
- "properties": {
- "keyUrl": {
- "description": "The URL referencing a key encryption key in Key Vault.",
- "type": "string"
- },
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing the key.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "keyUrl",
- "sourceVault"
- ],
- "type": "object"
- },
- "KeyVaultSecretReference": {
- "description": "Describes a reference to Key Vault Secret",
- "properties": {
- "secretUrl": {
- "description": "The URL referencing a secret in a Key Vault.",
- "type": "string"
- },
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing the secret.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "secretUrl",
- "sourceVault"
- ],
- "type": "object"
- },
- "LinuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros).",
- "properties": {
- "disablePasswordAuthentication": {
- "description": "Specifies whether password authentication should be disabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "patchSettings": {
- "description": "[Preview Feature] Specifies settings related to VM Guest Patching on Linux.",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxPatchSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionVMAgent": {
- "description": "Indicates whether virtual machine agent should be provisioned on the virtual machine.
When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ssh": {
- "description": "Specifies the ssh key configuration for a Linux OS.",
- "oneOf": [
- {
- "$ref": "#/definitions/SshConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "LinuxPatchSettings": {
- "description": "Specifies settings related to VM Guest Patching on Linux.",
- "properties": {
- "assessmentMode": {
- "description": "Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine.
Possible values are:
**ImageDefault** - You control the timing of patch assessments on a virtual machine.
**AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true.",
- "oneOf": [
- {
- "enum": [
- "ImageDefault",
- "AutomaticByPlatform"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "patchMode": {
- "description": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.
Possible values are:
**ImageDefault** - The virtual machine's default patching configuration is used.
**AutomaticByPlatform** - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true",
- "oneOf": [
- {
- "enum": [
- "ImageDefault",
- "AutomaticByPlatform"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ManagedDiskParameters": {
- "description": "The parameters of a managed disk.",
- "properties": {
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS",
- "Premium_ZRS",
- "StandardSSD_ZRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkInterfaceReference": {
- "description": "Describes a network interface reference.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "properties": {
- "description": "Describes a network interface reference properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkInterfaceReferenceProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkInterfaceReferenceProperties": {
- "description": "Describes a network interface reference properties.",
- "properties": {
- "deleteOption": {
- "description": "Specify what happens to the network interface when the VM is deleted",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkProfile": {
- "description": "Specifies the network interfaces or the networking configuration of the virtual machine.",
- "properties": {
- "networkApiVersion": {
- "description": "specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations",
- "oneOf": [
- {
- "enum": [
- "2020-11-01"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkInterfaceConfigurations": {
- "description": "Specifies the networking configurations that will be used to create the virtual machine networking resources.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineNetworkInterfaceConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkInterfaces": {
- "description": "Specifies the list of resource Ids for the network interfaces associated with the virtual machine.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/NetworkInterfaceReference"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "OSDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None** for Standard storage. **ReadOnly** for Premium storage.",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machine should be created.
Possible values are:
**Attach** \\u2013 This value is used when you are using a specialized disk to create the virtual machine.
**FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "deleteOption": {
- "description": "Specifies whether OS Disk should be deleted or detached upon VM deletion.
Possible values:
**Delete** If this value is used, the OS disk is deleted when VM is deleted.
**Detach** If this value is used, the os disk is retained after VM is deleted.
The default value is set to **detach**. For an ephemeral OS Disk, the default value is set to **Delete**. User cannot change the delete option for ephemeral OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diffDiskSettings": {
- "description": "Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiffDiskSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettings": {
- "description": "Specifies the encryption settings for the OS Disk.
Minimum api-version: 2015-06-15",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/ManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhd": {
- "description": "The virtual hard disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "OSDiskImageEncryption": {
- "description": "Contains encryption settings for an OS disk image.",
- "properties": {
- "diskEncryptionSetId": {
- "description": "A relative URI containing the resource ID of the disk encryption set.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "OSProfile": {
- "description": "Specifies the operating system settings for the virtual machine. Some of the settings cannot be changed once VM is provisioned.",
- "properties": {
- "adminPassword": {
- "description": "Specifies the password of the administrator account.
**Minimum-length (Windows):** 8 characters
**Minimum-length (Linux):** 6 characters
**Max-length (Windows):** 123 characters
**Max-length (Linux):** 72 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])
**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"
For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp)
For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)",
- "type": "string"
- },
- "adminUsername": {
- "description": "Specifies the name of the administrator account.
This property cannot be updated after the VM is created.
**Windows-only restriction:** Cannot end in \".\"
**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters.",
- "type": "string"
- },
- "allowExtensionOperations": {
- "description": "Specifies whether extension operations should be allowed on the virtual machine.
This may only be set to False when no extensions are present on the virtual machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "computerName": {
- "description": "Specifies the host OS name of the virtual machine.
This name cannot be updated after the VM is created.
**Max-length (Windows):** 15 characters
**Max-length (Linux):** 64 characters.
For naming conventions and restrictions see [Azure infrastructure services implementation guidelines](https://docs.microsoft.com/azure/azure-resource-manager/management/resource-name-rules).",
- "type": "string"
- },
- "customData": {
- "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes.
**Note: Do not pass any secrets or passwords in customData property**
This property cannot be updated after the VM is created.
customData is passed to the VM to be saved as a file, for more information see [Custom Data on Azure VMs](https://azure.microsoft.com/blog/custom-data-and-cloud-init-on-windows-azure/)
For using cloud-init for your Linux VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init)",
- "type": "string"
- },
- "linuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros).",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "requireGuestProvisionSignal": {
- "description": "Specifies whether the guest provision signal is required to infer provision success of the virtual machine. **Note: This property is for private testing only, and all customers must not set the property to false.**",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "secrets": {
- "description": "Specifies set of certificates that should be installed onto the virtual machine. To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultSecretGroup"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "windowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/WindowsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "PatchSettings": {
- "description": "Specifies settings related to VM Guest Patching on Windows.",
- "properties": {
- "assessmentMode": {
- "description": "Specifies the mode of VM Guest patch assessment for the IaaS virtual machine.
Possible values are:
**ImageDefault** - You control the timing of patch assessments on a virtual machine.
**AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true. ",
- "oneOf": [
- {
- "enum": [
- "ImageDefault",
- "AutomaticByPlatform"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableHotpatching": {
- "description": "Enables customers to patch their Azure VMs without requiring a reboot. For enableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode' must be set to 'AutomaticByPlatform'.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "patchMode": {
- "description": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.
Possible values are:
**Manual** - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false
**AutomaticByOS** - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true.
**AutomaticByPlatform** - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true ",
- "oneOf": [
- {
- "enum": [
- "Manual",
- "AutomaticByOS",
- "AutomaticByPlatform"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "properties": {
- "name": {
- "description": "The plan ID.",
- "type": "string"
- },
- "product": {
- "description": "Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.",
- "type": "string"
- },
- "promotionCode": {
- "description": "The promotion code.",
- "type": "string"
- },
- "publisher": {
- "description": "The publisher ID.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ProximityPlacementGroupProperties": {
- "description": "Describes the properties of a Proximity Placement Group.",
- "properties": {
- "colocationStatus": {
- "description": "Describes colocation status of the Proximity Placement Group.",
- "oneOf": [
- {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroupType": {
- "description": "Specifies the type of the proximity placement group.
Possible values are:
**Standard** : Co-locate resources within an Azure region or Availability Zone.
**Ultra** : For future use.",
- "oneOf": [
- {
- "enum": [
- "Standard",
- "Ultra"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "PublicIPAddressSku": {
- "description": "Describes the public IP Sku",
- "properties": {
- "name": {
- "description": "Specify public IP sku name",
- "oneOf": [
- {
- "enum": [
- "Basic",
- "Standard"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tier": {
- "description": "Specify public IP sku tier",
- "oneOf": [
- {
- "enum": [
- "Regional",
- "Global"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RecommendedMachineConfiguration": {
- "description": "The properties describe the recommended machine configuration for this Image Definition. These properties are updatable.",
- "properties": {
- "memory": {
- "description": "Describes the resource range.",
- "oneOf": [
- {
- "$ref": "#/definitions/ResourceRange"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vCPUs": {
- "description": "Describes the resource range.",
- "oneOf": [
- {
- "$ref": "#/definitions/ResourceRange"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ResourceRange": {
- "description": "Describes the resource range.",
- "properties": {
- "max": {
- "description": "The maximum number of the resource.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "min": {
- "description": "The minimum number of the resource.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RestorePointCollectionProperties": {
- "description": "The restore point collection properties.",
- "properties": {
- "source": {
- "description": "The properties of the source resource that this restore point collection is created from.",
- "oneOf": [
- {
- "$ref": "#/definitions/RestorePointCollectionSourceProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RestorePointCollectionSourceProperties": {
- "description": "The properties of the source resource that this restore point collection is created from.",
- "properties": {
- "id": {
- "description": "Resource Id of the source resource used to create this restore point collection",
- "type": "string"
- }
- },
- "type": "object"
- },
- "RestorePointProperties": {
- "description": "The restore point properties.",
- "properties": {
- "excludeDisks": {
- "description": "List of disk resource ids that the customer wishes to exclude from the restore point. If no disks are specified, all disks will be included.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/ApiEntityReference"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "timeCreated": {
- "description": "Gets the creation time of the restore point.",
- "format": "date-time",
- "type": "string"
- }
- },
- "type": "object"
- },
- "RollingUpgradePolicy": {
- "description": "The configuration parameters used while performing a rolling upgrade.",
- "properties": {
- "enableCrossZoneUpgrade": {
- "description": "Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxBatchInstancePercent": {
- "description": "The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 5,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxUnhealthyInstancePercent": {
- "description": "The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 5,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxUnhealthyUpgradedInstancePercent": {
- "description": "The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "pauseTimeBetweenBatches": {
- "description": "The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format. The default value is 0 seconds (PT0S).",
- "type": "string"
- },
- "prioritizeUnhealthyInstances": {
- "description": "Upgrade all unhealthy instances in a scale set before any healthy instances.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RunCommandInputParameter": {
- "description": "Describes the properties of a run command parameter.",
- "properties": {
- "name": {
- "description": "The run command parameter name.",
- "type": "string"
- },
- "value": {
- "description": "The run command parameter value.",
- "type": "string"
- }
- },
- "required": [
- "name",
- "value"
- ],
- "type": "object"
- },
- "ScaleInPolicy": {
- "description": "Describes a scale-in policy for a virtual machine scale set.",
- "properties": {
- "forceDeletion": {
- "description": "This property allows you to specify if virtual machines chosen for removal have to be force deleted when a virtual machine scale set is being scaled-in.(Feature in Preview)",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "rules": {
- "description": "The rules to be followed when scaling-in a virtual machine scale set.
Possible values are:
**Default** When a virtual machine scale set is scaled in, the scale set will first be balanced across zones if it is a zonal scale set. Then, it will be balanced across Fault Domains as far as possible. Within each Fault Domain, the virtual machines chosen for removal will be the newest ones that are not protected from scale-in.
**OldestVM** When a virtual machine scale set is being scaled-in, the oldest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the oldest virtual machines that are not protected will be chosen for removal.
**NewestVM** When a virtual machine scale set is being scaled-in, the newest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the newest virtual machines that are not protected will be chosen for removal.
",
- "oneOf": [
- {
- "items": {
- "enum": [
- "Default",
- "OldestVM",
- "NewestVM"
- ],
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ScheduledEventsProfile": {
- "properties": {
- "terminateNotificationProfile": {
- "description": "Specifies Terminate Scheduled Event related configurations.",
- "oneOf": [
- {
- "$ref": "#/definitions/TerminateNotificationProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SecurityProfile": {
- "description": "Specifies the Security profile settings for the virtual machine or virtual machine scale set.",
- "properties": {
- "encryptionAtHost": {
- "description": "This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself.
Default: The Encryption at host will be disabled unless this property is set to true for the resource.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityType": {
- "description": "Specifies the SecurityType of the virtual machine. It is set as TrustedLaunch to enable UefiSettings.
Default: UefiSettings will not be enabled unless this property is set as TrustedLaunch.",
- "oneOf": [
- {
- "enum": [
- "TrustedLaunch"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "uefiSettings": {
- "description": "Specifies the security settings like secure boot and vTPM used while creating the virtual machine.
Minimum api-version: 2020-12-01",
- "oneOf": [
- {
- "$ref": "#/definitions/UefiSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SharingProfile": {
- "description": "Profile for gallery sharing to subscription or tenant",
- "properties": {
- "permissions": {
- "description": "This property allows you to specify the permission of sharing gallery.
Possible values are:
**Private**
**Groups**",
- "oneOf": [
- {
- "enum": [
- "Private",
- "Groups"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Sku": {
- "description": "Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name.",
- "properties": {
- "capacity": {
- "description": "Specifies the number of virtual machines in the scale set.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The sku name.",
- "type": "string"
- },
- "tier": {
- "description": "Specifies the tier of virtual machines in a scale set.
Possible Values:
**Standard**
**Basic**",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SoftDeletePolicy": {
- "description": "Contains information about the soft deletion policy of the gallery.",
- "properties": {
- "isSoftDeleteEnabled": {
- "description": "Enables soft-deletion for resources in this gallery, allowing them to be recovered within retention time.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SpotRestorePolicy": {
- "description": "Specifies the Spot-Try-Restore properties for the virtual machine scale set.
With this property customer can enable or disable automatic restore of the evicted Spot VMSS VM instances opportunistically based on capacity availability and pricing constraint.",
- "properties": {
- "enabled": {
- "description": "Enables the Spot-Try-Restore feature where evicted VMSS SPOT instances will be tried to be restored opportunistically based on capacity availability and pricing constraints",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "restoreTimeout": {
- "description": "Timeout value expressed as an ISO 8601 time duration after which the platform will not try to restore the VMSS SPOT instances",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SshConfiguration": {
- "description": "SSH configuration for Linux based VMs running on Azure",
- "properties": {
- "publicKeys": {
- "description": "The list of SSH public keys used to authenticate with linux based VMs.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SshPublicKey"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SshPublicKey": {
- "description": "Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed.",
- "properties": {
- "keyData": {
- "description": "SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format.
For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed).",
- "type": "string"
- },
- "path": {
- "description": "Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SshPublicKeyResourceProperties": {
- "description": "Properties of the SSH public key.",
- "properties": {
- "publicKey": {
- "description": "SSH public key used to authenticate to a virtual machine through ssh. If this property is not initially provided when the resource is created, the publicKey property will be populated when generateKeyPair is called. If the public key is provided upon resource creation, the provided public key needs to be at least 2048-bit and in ssh-rsa format.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "StorageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add a data disk to a virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/DataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "$ref": "#/definitions/OSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SubResource": {
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "TargetRegion": {
- "description": "Describes the target region information.",
- "properties": {
- "encryption": {
- "description": "Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionImages"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The name of the region.",
- "type": "string"
- },
- "regionalReplicaCount": {
- "description": "The number of replicas of the Image Version to be created per region. This property is updatable.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type to be used to store the image. This property is not updatable.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Standard_ZRS",
- "Premium_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "TerminateNotificationProfile": {
- "properties": {
- "enable": {
- "description": "Specifies whether the Terminate Scheduled event is enabled or disabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "notBeforeTimeout": {
- "description": "Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M)",
- "type": "string"
- }
- },
- "type": "object"
- },
- "UefiSettings": {
- "description": "Specifies the security settings like secure boot and vTPM used while creating the virtual machine.
Minimum api-version: 2020-12-01",
- "properties": {
- "secureBootEnabled": {
- "description": "Specifies whether secure boot should be enabled on the virtual machine.
Minimum api-version: 2020-12-01",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vTpmEnabled": {
- "description": "Specifies whether vTPM should be enabled on the virtual machine.
Minimum api-version: 2020-12-01",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "UpgradePolicy": {
- "description": "Describes an upgrade policy - automatic, manual, or rolling.",
- "properties": {
- "automaticOSUpgradePolicy": {
- "description": "Configuration parameters used for performing automatic OS Upgrade.",
- "oneOf": [
- {
- "$ref": "#/definitions/AutomaticOSUpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "mode": {
- "description": "Specifies the mode of an upgrade to virtual machines in the scale set.
Possible values are:
**Manual** - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.
**Automatic** - All virtual machines in the scale set are automatically updated at the same time.",
- "oneOf": [
- {
- "enum": [
- "Automatic",
- "Manual",
- "Rolling"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "rollingUpgradePolicy": {
- "description": "The configuration parameters used while performing a rolling upgrade.",
- "oneOf": [
- {
- "$ref": "#/definitions/RollingUpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "UserArtifactManage": {
- "properties": {
- "install": {
- "description": "Required. The path and arguments to install the gallery application. This is limited to 4096 characters.",
- "type": "string"
- },
- "remove": {
- "description": "Required. The path and arguments to remove the gallery application. This is limited to 4096 characters.",
- "type": "string"
- },
- "update": {
- "description": "Optional. The path and arguments to update the gallery application. If not present, then update operation will invoke remove command on the previous version and install command on the current version of the gallery application. This is limited to 4096 characters.",
- "type": "string"
- }
- },
- "required": [
- "install",
- "remove"
- ],
- "type": "object"
- },
- "UserArtifactSource": {
- "description": "The source image from which the Image Version is going to be created.",
- "properties": {
- "defaultConfigurationLink": {
- "description": "Optional. The defaultConfigurationLink of the artifact, must be a readable storage page blob.",
- "type": "string"
- },
- "mediaLink": {
- "description": "Required. The mediaLink of the artifact, must be a readable storage page blob.",
- "type": "string"
- }
- },
- "required": [
- "mediaLink"
- ],
- "type": "object"
- },
- "UserAssignedIdentitiesValue": {
- "properties": {},
- "type": "object"
- },
- "VMGalleryApplication": {
- "description": "Specifies the required information to reference a compute gallery application version",
- "properties": {
- "configurationReference": {
- "description": "Optional, Specifies the uri to an azure blob that will replace the default configuration for the package if provided",
- "type": "string"
- },
- "order": {
- "description": "Optional, Specifies the order in which the packages have to be installed",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "packageReferenceId": {
- "description": "Specifies the GalleryApplicationVersion resource id on the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version}",
- "type": "string"
- },
- "tags": {
- "description": "Optional, Specifies a passthrough value for more generic context.",
- "type": "string"
- }
- },
- "required": [
- "packageReferenceId"
- ],
- "type": "object"
- },
- "VMSizeProperties": {
- "description": "Specifies VM Size Property settings on the virtual machine.",
- "properties": {
- "vCPUsAvailable": {
- "description": "Specifies the number of vCPUs available for the VM.
When this property is not specified in the request body the default behavior is to set it to the value of vCPUs available for that VM size exposed in api response of [List all available virtual machine sizes in a region](https://docs.microsoft.com/en-us/rest/api/compute/resource-skus/list) .",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vCPUsPerCore": {
- "description": "Specifies the vCPU to physical core ratio.
When this property is not specified in the request body the default behavior is set to the value of vCPUsPerCore for the VM Size exposed in api response of [List all available virtual machine sizes in a region](https://docs.microsoft.com/en-us/rest/api/compute/resource-skus/list)
Setting this property to 1 also means that hyper-threading is disabled.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VaultCertificate": {
- "description": "Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM.",
- "properties": {
- "certificateStore": {
- "description": "For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account.
For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of these files are .pem formatted.",
- "type": "string"
- },
- "certificateUrl": {
- "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:
{
\"data\":\"\",
\"dataType\":\"pfx\",
\"password\":\"\"
}
To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VaultSecretGroup": {
- "description": "Describes a set of certificates which are all in the same Key Vault.",
- "properties": {
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing all of the certificates in VaultCertificates.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vaultCertificates": {
- "description": "The list of key vault references in SourceVault which contain certificates.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultCertificate"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualHardDisk": {
- "description": "Describes the uri of a disk.",
- "properties": {
- "uri": {
- "description": "Specifies the virtual hard disk's uri.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineExtensionInstanceView": {
- "description": "The instance view of a virtual machine extension.",
- "properties": {
- "name": {
- "description": "The virtual machine extension name.",
- "type": "string"
- },
- "statuses": {
- "description": "The resource status information.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "substatuses": {
- "description": "The resource status information.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineExtensionProperties": {
- "description": "Describes the properties of a Virtual Machine Extension.",
- "properties": {
- "autoUpgradeMinorVersion": {
- "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticUpgrade": {
- "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "forceUpdateTag": {
- "description": "How the extension handler should be forced to update even if the extension configuration has not changed.",
- "type": "string"
- },
- "instanceView": {
- "description": "The virtual machine extension instance view.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionInstanceView"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedSettings": {
- "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publisher": {
- "description": "The name of the extension handler publisher.",
- "type": "string"
- },
- "settings": {
- "description": "Json formatted public settings for the extension.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "suppressFailures": {
- "description": "Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineIdentity": {
- "description": "Identity for the virtual machine.",
- "properties": {
- "type": {
- "description": "The type of identity used for the virtual machine. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned",
- "UserAssigned",
- "SystemAssigned, UserAssigned",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userAssignedIdentities": {
- "description": "The list of user identities associated with the Virtual Machine. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
- "oneOf": [
- {
- "additionalProperties": {
- "$ref": "#/definitions/UserAssignedIdentitiesValue"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineIpTag": {
- "description": "Contains the IP tag associated with the public IP address.",
- "properties": {
- "ipTagType": {
- "description": "IP tag type. Example: FirstPartyUsage.",
- "type": "string"
- },
- "tag": {
- "description": "IP tag associated with the public IP. Example: SQL, Storage etc.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineNetworkInterfaceConfiguration": {
- "description": "Describes a virtual machine network interface configurations.",
- "properties": {
- "name": {
- "description": "The network interface configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine network profile's IP configuration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineNetworkInterfaceConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineNetworkInterfaceConfigurationProperties": {
- "description": "Describes a virtual machine network profile's IP configuration.",
- "properties": {
- "deleteOption": {
- "description": "Specify what happens to the network interface when the VM is deleted",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dnsSettings": {
- "description": "The dns settings to be applied on the network interfaces.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineNetworkInterfaceDnsSettingsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dscpConfiguration": {
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAcceleratedNetworking": {
- "description": "Specifies whether the network interface is accelerated networking-enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableFpga": {
- "description": "Specifies whether the network interface is FPGA networking-enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableIPForwarding": {
- "description": "Whether IP forwarding enabled on this NIC.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipConfigurations": {
- "description": "Specifies the IP configurations of the network interface.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineNetworkInterfaceIPConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkSecurityGroup": {
- "description": "The network security group.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "ipConfigurations"
- ],
- "type": "object"
- },
- "VirtualMachineNetworkInterfaceDnsSettingsConfiguration": {
- "description": "Describes a virtual machines network configuration's DNS settings.",
- "properties": {
- "dnsServers": {
- "description": "List of DNS servers IP addresses",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineNetworkInterfaceIPConfiguration": {
- "description": "Describes a virtual machine network profile's IP configuration.",
- "properties": {
- "name": {
- "description": "The IP configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine network interface IP configuration properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineNetworkInterfaceIPConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineNetworkInterfaceIPConfigurationProperties": {
- "description": "Describes a virtual machine network interface IP configuration properties.",
- "properties": {
- "applicationGatewayBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of application gateways. A virtual machine can reference backend address pools of multiple application gateways. Multiple virtual machines cannot use the same application gateway.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "applicationSecurityGroups": {
- "description": "Specifies an array of references to application security group.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of load balancers. A virtual machine can reference backend address pools of one public and one internal load balancer. [Multiple virtual machines cannot use the same basic sku load balancer].",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "privateIPAddressVersion": {
- "description": "Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressConfiguration": {
- "description": "The publicIPAddressConfiguration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachinePublicIPAddressConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "subnet": {
- "description": "Specifies the identifier of the subnet.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineProperties": {
- "description": "Describes the properties of a Virtual Machine.",
- "properties": {
- "additionalCapabilities": {
- "description": "Specifies additional capabilities enabled or disabled on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/AdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "applicationProfile": {
- "description": "Specifies the gallery applications that should be made available to the VM/VMSS",
- "oneOf": [
- {
- "$ref": "#/definitions/ApplicationProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "availabilitySet": {
- "description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Availability sets overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview).
For more information on Azure planned maintenance, see [Maintenance and updates for Virtual Machines in Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates)
Currently, a VM can only be added to availability set at creation time. The availability set to which the VM is being added should be under the same resource group as the availability set resource. An existing VM cannot be added to an availability set.
This property cannot exist along with a non-null properties.virtualMachineScaleSet reference.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "billingProfile": {
- "description": "Specifies the billing related details of a Azure Spot virtual machine.
Minimum api-version: 2019-03-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/BillingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "capacityReservation": {
- "description": "Specifies information about the capacity reservation that is used to allocate virtual machine.
Minimum api-version: 2021-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/CapacityReservationProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "evictionPolicy": {
- "description": "Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set.
For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01.
For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview.",
- "oneOf": [
- {
- "enum": [
- "Deallocate",
- "Delete"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extensionsTimeBudget": {
- "description": "Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M).
Minimum api-version: 2020-06-01",
- "type": "string"
- },
- "hardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/HardwareProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "host": {
- "description": "Specifies information about the dedicated host that the virtual machine resides in.
Minimum api-version: 2018-10-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hostGroup": {
- "description": "Specifies information about the dedicated host group that the virtual machine resides in.
Minimum api-version: 2020-06-01.
NOTE: User cannot specify both host and hostGroup properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises.
Possible values for Windows Server operating system are:
Windows_Client
Windows_Server
Possible values for Linux Server operating system are:
RHEL_BYOS (for RHEL)
SLES_BYOS (for SUSE)
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)
[Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings used while creating the virtual machine. Some of the settings cannot be changed once VM is provisioned.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformFaultDomain": {
- "description": "Specifies the scale set logical fault domain into which the Virtual Machine will be created. By default, the Virtual Machine will by automatically assigned to a fault domain that best maintains balance across available fault domains.
This is applicable only if the 'virtualMachineScaleSet' property of this Virtual Machine is set.The Virtual Machine Scale Set that is referenced, must have 'platformFaultDomainCount' > 1.This property cannot be updated once the Virtual Machine is created.Fault domain assignment can be viewed in the Virtual Machine Instance View.
Minimum api‐version: 2020‐12‐01",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "priority": {
- "description": "Specifies the priority for the virtual machine.
Minimum api-version: 2019-03-01",
- "oneOf": [
- {
- "enum": [
- "Regular",
- "Low",
- "Spot"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the virtual machine should be assigned to.
Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "scheduledEventsProfile": {
- "description": "Specifies Scheduled Event related configurations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ScheduledEventsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Specifies the Security related profile settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/SecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/StorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userData": {
- "description": "UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here.
Minimum api-version: 2021-03-01",
- "type": "string"
- },
- "virtualMachineScaleSet": {
- "description": "Specifies information about the virtual machine scale set that the virtual machine should be assigned to. Virtual machines specified in the same virtual machine scale set are allocated to different nodes to maximize availability. Currently, a VM can only be added to virtual machine scale set at creation time. An existing VM cannot be added to a virtual machine scale set.
This property cannot exist along with a non-null properties.availabilitySet reference.
Minimum api‐version: 2019‐03‐01",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachinePublicIPAddressConfiguration": {
- "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration",
- "properties": {
- "name": {
- "description": "The publicIP address configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachinePublicIPAddressConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "Describes the public IP Sku",
- "oneOf": [
- {
- "$ref": "#/definitions/PublicIPAddressSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachinePublicIPAddressConfigurationProperties": {
- "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration",
- "properties": {
- "deleteOption": {
- "description": "Specify what happens to the public IP address when the VM is deleted",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dnsSettings": {
- "description": "The dns settings to be applied on the publicIP addresses .",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachinePublicIPAddressDnsSettingsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "idleTimeoutInMinutes": {
- "description": "The idle timeout of the public IP address.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipTags": {
- "description": "The list of IP tags associated with the public IP address.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineIpTag"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressVersion": {
- "description": "Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAllocationMethod": {
- "description": "Specify the public IP allocation type",
- "oneOf": [
- {
- "enum": [
- "Dynamic",
- "Static"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPPrefix": {
- "description": "The PublicIPPrefix from which to allocate publicIP addresses.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachinePublicIPAddressDnsSettingsConfiguration": {
- "description": "Describes a virtual machines network configuration's DNS settings.",
- "properties": {
- "domainNameLabel": {
- "description": "The Domain name label prefix of the PublicIPAddress resources that will be created. The generated name label is the concatenation of the domain name label and vm network profile unique ID.",
- "type": "string"
- }
- },
- "required": [
- "domainNameLabel"
- ],
- "type": "object"
- },
- "VirtualMachineRunCommandProperties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "properties": {
- "asyncExecution": {
- "description": "Optional. If set to true, provisioning will complete as soon as the script starts and will not wait for script to complete.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "errorBlobUri": {
- "description": "Specifies the Azure storage blob where script error stream will be uploaded.",
- "type": "string"
- },
- "outputBlobUri": {
- "description": "Specifies the Azure storage blob where script output stream will be uploaded.",
- "type": "string"
- },
- "parameters": {
- "description": "The parameters used by the script.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/RunCommandInputParameter"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedParameters": {
- "description": "The parameters used by the script.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/RunCommandInputParameter"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "runAsPassword": {
- "description": "Specifies the user account password on the VM when executing the run command.",
- "type": "string"
- },
- "runAsUser": {
- "description": "Specifies the user account on the VM when executing the run command.",
- "type": "string"
- },
- "source": {
- "description": "The source of the run command script.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandScriptSource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "timeoutInSeconds": {
- "description": "The timeout in seconds to execute the run command.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineRunCommandScriptSource": {
- "description": "Describes the script sources for run command.",
- "properties": {
- "commandId": {
- "description": "Specifies a commandId of predefined built-in script.",
- "type": "string"
- },
- "script": {
- "description": "Specifies the script content to be executed on the VM.",
- "type": "string"
- },
- "scriptUri": {
- "description": "Specifies the script download location.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetDataDisk": {
- "description": "Describes a virtual machine scale set data disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "The create option.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskIOPSReadWrite": {
- "description": "Specifies the Read-Write IOPS for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskMBpsReadWrite": {
- "description": "Specifies the bandwidth in MB per second for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun",
- "createOption"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetExtension": {
- "description": "Describes a Virtual Machine Scale Set Extension.",
- "properties": {
- "name": {
- "description": "The name of the extension.",
- "type": "string"
- },
- "properties": {
- "anyOf": [
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/genericExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/bgInfo"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/dscExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackup"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/chefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/dockerExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/eset"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/puppetAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/customScript"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetExtensionProfile": {
- "description": "Describes a virtual machine scale set extension profile.",
- "properties": {
- "extensions": {
- "description": "The virtual machine scale set child extension resources.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetExtension"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extensionsTimeBudget": {
- "description": "Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M).
Minimum api-version: 2020-06-01",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetExtensionProperties": {
- "description": "Describes the properties of a Virtual Machine Scale Set Extension.",
- "properties": {
- "autoUpgradeMinorVersion": {
- "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticUpgrade": {
- "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "forceUpdateTag": {
- "description": "If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.",
- "type": "string"
- },
- "protectedSettings": {
- "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionAfterExtensions": {
- "description": "Collection of extension names after which this extension needs to be provisioned.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publisher": {
- "description": "The name of the extension handler publisher.",
- "type": "string"
- },
- "settings": {
- "description": "Json formatted public settings for the extension.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "suppressFailures": {
- "description": "Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIPConfiguration": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "name": {
- "description": "The IP configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetIPConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetIPConfigurationProperties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration properties.",
- "properties": {
- "applicationGatewayBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of application gateways. A scale set can reference backend address pools of multiple application gateways. Multiple scale sets cannot use the same application gateway.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "applicationSecurityGroups": {
- "description": "Specifies an array of references to application security group.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of load balancers. A scale set can reference backend address pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerInboundNatPools": {
- "description": "Specifies an array of references to inbound Nat pools of the load balancers. A scale set can reference inbound nat pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "privateIPAddressVersion": {
- "description": "Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressConfiguration": {
- "description": "The publicIPAddressConfiguration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "subnet": {
- "description": "Specifies the identifier of the subnet.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApiEntityReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIdentity": {
- "description": "Identity for the virtual machine scale set.",
- "properties": {
- "type": {
- "description": "The type of identity used for the virtual machine scale set. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine scale set.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned",
- "UserAssigned",
- "SystemAssigned, UserAssigned",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userAssignedIdentities": {
- "description": "The list of user identities associated with the virtual machine scale set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
- "oneOf": [
- {
- "additionalProperties": {
- "$ref": "#/definitions/VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue": {
- "properties": {},
- "type": "object"
- },
- "VirtualMachineScaleSetIpTag": {
- "description": "Contains the IP tag associated with the public IP address.",
- "properties": {
- "ipTagType": {
- "description": "IP tag type. Example: FirstPartyUsage.",
- "type": "string"
- },
- "tag": {
- "description": "IP tag associated with the public IP. Example: SQL, Storage etc.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetManagedDiskParameters": {
- "description": "Describes the parameters of a ScaleSet managed disk.",
- "properties": {
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS",
- "Premium_ZRS",
- "StandardSSD_ZRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfiguration": {
- "description": "Describes a virtual machine scale set network profile's network configurations.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "name": {
- "description": "The network configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfigurationDnsSettings": {
- "description": "Describes a virtual machines scale sets network configuration's DNS settings.",
- "properties": {
- "dnsServers": {
- "description": "List of DNS servers IP addresses",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfigurationProperties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "properties": {
- "deleteOption": {
- "description": "Specify what happens to the network interface when the VM is deleted",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dnsSettings": {
- "description": "The dns settings to be applied on the network interfaces.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationDnsSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAcceleratedNetworking": {
- "description": "Specifies whether the network interface is accelerated networking-enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableFpga": {
- "description": "Specifies whether the network interface is FPGA networking-enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableIPForwarding": {
- "description": "Whether IP forwarding enabled on this NIC.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipConfigurations": {
- "description": "Specifies the IP configurations of the network interface.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetIPConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkSecurityGroup": {
- "description": "The network security group.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "ipConfigurations"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkProfile": {
- "description": "Describes a virtual machine scale set network profile.",
- "properties": {
- "healthProbe": {
- "description": "A reference to a load balancer probe used to determine the health of an instance in the virtual machine scale set. The reference will be in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApiEntityReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkApiVersion": {
- "description": "specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations for Virtual Machine Scale Set with orchestration mode 'Flexible'",
- "oneOf": [
- {
- "enum": [
- "2020-11-01"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkInterfaceConfigurations": {
- "description": "The list of network configurations.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetOSDisk": {
- "description": "Describes a virtual machine scale set operating system disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machines in the scale set should be created.
The only allowed value is: **FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diffDiskSettings": {
- "description": "Specifies the ephemeral disk Settings for the operating system disk used by the virtual machine scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiffDiskSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of the operating system disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "Specifies information about the unmanaged user image to base the scale set on.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhdContainers": {
- "description": "Specifies the container urls that are used to store operating system disks for the scale set.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetOSProfile": {
- "description": "Describes a virtual machine scale set OS profile.",
- "properties": {
- "adminPassword": {
- "description": "Specifies the password of the administrator account.
**Minimum-length (Windows):** 8 characters
**Minimum-length (Linux):** 6 characters
**Max-length (Windows):** 123 characters
**Max-length (Linux):** 72 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])
**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"
For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp)
For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)",
- "type": "string"
- },
- "adminUsername": {
- "description": "Specifies the name of the administrator account.
**Windows-only restriction:** Cannot end in \".\"
**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters",
- "type": "string"
- },
- "computerNamePrefix": {
- "description": "Specifies the computer name prefix for all of the virtual machines in the scale set. Computer name prefixes must be 1 to 15 characters long.",
- "type": "string"
- },
- "customData": {
- "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes.
For using cloud-init for your VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init)",
- "type": "string"
- },
- "linuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros).",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "secrets": {
- "description": "Specifies set of certificates that should be installed onto the virtual machines in the scale set. To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultSecretGroup"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "windowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/WindowsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetProperties": {
- "description": "Describes the properties of a Virtual Machine Scale Set.",
- "properties": {
- "additionalCapabilities": {
- "description": "Specifies additional capabilities enabled or disabled on the Virtual Machines in the Virtual Machine Scale Set. For instance: whether the Virtual Machines have the capability to support attaching managed data disks with UltraSSD_LRS storage account type.",
- "oneOf": [
- {
- "$ref": "#/definitions/AdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "automaticRepairsPolicy": {
- "description": "Policy for automatic repairs.",
- "oneOf": [
- {
- "$ref": "#/definitions/AutomaticRepairsPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "doNotRunExtensionsOnOverprovisionedVMs": {
- "description": "When Overprovision is enabled, extensions are launched only on the requested number of VMs which are finally kept. This property will hence ensure that the extensions do not run on the extra overprovisioned VMs.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hostGroup": {
- "description": "Specifies information about the dedicated host group that the virtual machine scale set resides in.
Minimum api-version: 2020-06-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "orchestrationMode": {
- "description": "Specifies the orchestration mode for the virtual machine scale set.",
- "oneOf": [
- {
- "enum": [
- "Uniform",
- "Flexible"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "overprovision": {
- "description": "Specifies whether the Virtual Machine Scale Set should be overprovisioned.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformFaultDomainCount": {
- "description": "Fault Domain count for each placement group.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the virtual machine scale set should be assigned to.
Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "scaleInPolicy": {
- "description": "Specifies the policies applied when scaling in Virtual Machines in the Virtual Machine Scale Set.",
- "oneOf": [
- {
- "$ref": "#/definitions/ScaleInPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "singlePlacementGroup": {
- "description": "When true this limits the scale set to a single placement group, of max size 100 virtual machines. NOTE: If singlePlacementGroup is true, it may be modified to false. However, if singlePlacementGroup is false, it may not be modified to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "spotRestorePolicy": {
- "description": "Specifies the Spot Restore properties for the virtual machine scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/SpotRestorePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "upgradePolicy": {
- "description": "The upgrade policy.",
- "oneOf": [
- {
- "$ref": "#/definitions/UpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "virtualMachineProfile": {
- "description": "The virtual machine profile.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "zoneBalance": {
- "description": "Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage. zoneBalance property can only be set if the zones property of the scale set contains more than one zone. If there are no zones or only one zone specified, then zoneBalance property should not be set.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfiguration": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "properties": {
- "name": {
- "description": "The publicIP address configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "Describes the public IP Sku",
- "oneOf": [
- {
- "$ref": "#/definitions/PublicIPAddressSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings": {
- "description": "Describes a virtual machines scale sets network configuration's DNS settings.",
- "properties": {
- "domainNameLabel": {
- "description": "The Domain name label.The concatenation of the domain name label and vm index will be the domain name labels of the PublicIPAddress resources that will be created",
- "type": "string"
- }
- },
- "required": [
- "domainNameLabel"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfigurationProperties": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "properties": {
- "deleteOption": {
- "description": "Specify what happens to the public IP when the VM is deleted",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dnsSettings": {
- "description": "The dns settings to be applied on the publicIP addresses .",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "idleTimeoutInMinutes": {
- "description": "The idle timeout of the public IP address.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipTags": {
- "description": "The list of IP tags associated with the public IP address.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetIpTag"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressVersion": {
- "description": "Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPPrefix": {
- "description": "The PublicIPPrefix from which to allocate publicIP addresses.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetStorageProfile": {
- "description": "Describes a virtual machine scale set storage profile.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add data disks to the virtual machines in the scale set.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetDataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machines in the scale set.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetOSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMNetworkProfileConfiguration": {
- "description": "Describes a virtual machine scale set VM network profile.",
- "properties": {
- "networkInterfaceConfigurations": {
- "description": "The list of network configurations.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProfile": {
- "description": "Describes a virtual machine scale set virtual machine profile.",
- "properties": {
- "applicationProfile": {
- "description": "Specifies the gallery applications that should be made available to the VM/VMSS",
- "oneOf": [
- {
- "$ref": "#/definitions/ApplicationProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "billingProfile": {
- "description": "Specifies the billing related details of a Azure Spot VMSS.
Minimum api-version: 2019-03-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/BillingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "capacityReservation": {
- "description": "Specifies the capacity reservation related details of a scale set.
Minimum api-version: 2021-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/CapacityReservationProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "evictionPolicy": {
- "description": "Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set.
For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01.
For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview.",
- "oneOf": [
- {
- "enum": [
- "Deallocate",
- "Delete"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extensionProfile": {
- "description": "Specifies a collection of settings for extensions installed on virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetExtensionProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises.
Possible values for Windows Server operating system are:
Windows_Client
Windows_Server
Possible values for Linux Server operating system are:
RHEL_BYOS (for RHEL)
SLES_BYOS (for SUSE)
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)
[Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies properties of the network interfaces of the virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings for the virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetOSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "priority": {
- "description": "Specifies the priority for the virtual machines in the scale set.
Minimum api-version: 2017-10-30-preview",
- "oneOf": [
- {
- "enum": [
- "Regular",
- "Low",
- "Spot"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "scheduledEventsProfile": {
- "description": "Specifies Scheduled Event related configurations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ScheduledEventsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Specifies the Security related profile settings for the virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/SecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userData": {
- "description": "UserData for the virtual machines in the scale set, which must be base-64 encoded. Customer should not pass any secrets in here.
Minimum api-version: 2021-03-01",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProperties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "properties": {
- "additionalCapabilities": {
- "description": "Specifies additional capabilities enabled or disabled on the virtual machine in the scale set. For instance: whether the virtual machine has the capability to support attaching managed data disks with UltraSSD_LRS storage account type.",
- "oneOf": [
- {
- "$ref": "#/definitions/AdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "availabilitySet": {
- "description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Availability sets overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview).
For more information on Azure planned maintenance, see [Maintenance and updates for Virtual Machines in Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates)
Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/HardwareProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises.
Possible values for Windows Server operating system are:
Windows_Client
Windows_Server
Possible values for Linux Server operating system are:
RHEL_BYOS (for RHEL)
SLES_BYOS (for SUSE)
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)
[Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkProfileConfiguration": {
- "description": "Specifies the network profile configuration of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMNetworkProfileConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectionPolicy": {
- "description": "Specifies the protection policy of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProtectionPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Specifies the Security related profile settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/SecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/StorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userData": {
- "description": "UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here.
Minimum api-version: 2021-03-01",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProtectionPolicy": {
- "description": "The protection policy of a virtual machine scale set VM.",
- "properties": {
- "protectFromScaleIn": {
- "description": "Indicates that the virtual machine scale set VM shouldn't be considered for deletion during a scale-in operation.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectFromScaleSetActions": {
- "description": "Indicates that model updates or actions (including scale-in) initiated on the virtual machine scale set should not be applied to the virtual machine scale set VM.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WinRMConfiguration": {
- "description": "Describes Windows Remote Management configuration of the VM",
- "properties": {
- "listeners": {
- "description": "The list of Windows Remote Management listeners",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/WinRMListener"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WinRMListener": {
- "description": "Describes Protocol and thumbprint of Windows Remote Management listener",
- "properties": {
- "certificateUrl": {
- "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:
{
\"data\":\"\",
\"dataType\":\"pfx\",
\"password\":\"\"
}
To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).",
- "type": "string"
- },
- "protocol": {
- "description": "Specifies the protocol of WinRM listener.
Possible values are:
**http**
**https**",
- "oneOf": [
- {
- "enum": [
- "Http",
- "Https"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WindowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "properties": {
- "additionalUnattendContent": {
- "description": "Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/AdditionalUnattendContent"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticUpdates": {
- "description": "Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value is true.
For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "patchSettings": {
- "description": "[Preview Feature] Specifies settings related to VM Guest Patching on Windows.",
- "oneOf": [
- {
- "$ref": "#/definitions/PatchSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionVMAgent": {
- "description": "Indicates whether virtual machine agent should be provisioned on the virtual machine.
When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "timeZone": {
- "description": "Specifies the time zone of the virtual machine. e.g. \"Pacific Standard Time\".
Possible values can be [TimeZoneInfo.Id](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.id?#System_TimeZoneInfo_Id) value from time zones returned by [TimeZoneInfo.GetSystemTimeZones](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.getsystemtimezones).",
- "type": "string"
- },
- "winRM": {
- "description": "Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.",
- "oneOf": [
- {
- "$ref": "#/definitions/WinRMConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "capacityReservationGroups_capacityReservations_childResource": {
- "description": "Microsoft.Compute/capacityReservationGroups/capacityReservations",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the capacity reservation.",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the Capacity reservation.",
- "oneOf": [
- {
- "$ref": "#/definitions/CapacityReservationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "SKU of the resource for which capacity needs be reserved. The SKU name and capacity is required to be set. Currently VM Skus with the capability called 'CapacityReservationSupported' set to true are supported. Refer to List Microsoft.Compute SKUs in a region (https://docs.microsoft.com/rest/api/compute/resourceskus/list) for supported values.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "capacityReservations"
- ],
- "type": "string"
- },
- "zones": {
- "description": "Availability Zone to use for this capacity reservation. The zone has to be single value and also should be part for the list of zones specified during the capacity reservation group creation. The zone can be assigned only during creation. If not provided, the reservation supports only non-zonal deployments. If provided, enforces VM/VMSS using this capacity reservation to be in same zone.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_applications_childResource": {
- "description": "Microsoft.Compute/galleries/applications",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Application Definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery Application Definition.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryApplicationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "applications"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_applications_versions_childResource": {
- "description": "Microsoft.Compute/galleries/applications/versions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Application Version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery image version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryApplicationVersionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "versions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_images_childResource": {
- "description": "Microsoft.Compute/galleries/images",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery image definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery image definition.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "images"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_images_versions_childResource": {
- "description": "Microsoft.Compute/galleries/images/versions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery image version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery image version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageVersionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "versions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "hostGroups_hosts_childResource": {
- "description": "Microsoft.Compute/hostGroups/hosts",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the dedicated host .",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the dedicated host.",
- "oneOf": [
- {
- "$ref": "#/definitions/DedicatedHostProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be set. List Microsoft.Compute SKUs for a list of possible values.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "hosts"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "restorePointCollections_restorePoints_childResource": {
- "description": "Microsoft.Compute/restorePointCollections/restorePoints",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-07-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the restore point.",
- "type": "string"
- },
- "properties": {
- "description": "The restore point properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/RestorePointProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "restorePoints"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-07-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the VM scale set extension.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Scale Set Extension.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetExtensionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-07-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine extension.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Extension.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_runCommands_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/runCommands",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine run command.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "runCommands"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualmachines_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualmachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The instance ID of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "virtualmachines"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachines/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine extension.",
- "type": "string"
- },
- "properties": {
- "anyOf": [
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/genericExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/bgInfo"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/dscExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackup"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/chefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/dockerExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/eset"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/puppetAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/customScript"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines_runCommands_childResource": {
- "description": "Microsoft.Compute/virtualMachines/runCommands",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine run command.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "runCommands"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- }
-}
\ No newline at end of file
diff --git a/schemas/2021-08-01/Microsoft.Compute.json b/schemas/2021-08-01/Microsoft.Compute.json
deleted file mode 100644
index 8f240fbb11..0000000000
--- a/schemas/2021-08-01/Microsoft.Compute.json
+++ /dev/null
@@ -1,1387 +0,0 @@
-{
- "id": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.Compute.json#",
- "title": "Microsoft.Compute",
- "description": "Microsoft Compute Resource Types",
- "$schema": "http://json-schema.org/draft-04/schema#",
- "resourceDefinitions": {
- "diskAccesses": {
- "description": "Microsoft.Compute/diskAccesses",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-08-01"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location where the disk access will be created. Extended location cannot be changed.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the disk access resource that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "oneOf": [
- {
- "$ref": "#/definitions/DiskAccessProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/diskAccesses_privateEndpointConnections_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/diskAccesses"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "diskAccesses_privateEndpointConnections": {
- "description": "Microsoft.Compute/diskAccesses/privateEndpointConnections",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-08-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the private endpoint connection.",
- "type": "string"
- },
- "properties": {
- "description": "Resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/PrivateEndpointConnectionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/diskAccesses/privateEndpointConnections"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "diskEncryptionSets": {
- "description": "Microsoft.Compute/diskEncryptionSets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-08-01"
- ],
- "type": "string"
- },
- "identity": {
- "description": "The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSetIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the disk encryption set that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/diskEncryptionSets"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "disks": {
- "description": "Microsoft.Compute/disks",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-08-01"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location where the disk will be created. Extended location cannot be changed.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Disk resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, or StandardSSD_ZRS.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/disks"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The Logical zone list for Disk.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "snapshots": {
- "description": "Microsoft.Compute/snapshots",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-08-01"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location where the snapshot will be created. Extended location cannot be changed.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The max name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Snapshot resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/SnapshotProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot",
- "oneOf": [
- {
- "$ref": "#/definitions/SnapshotSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/snapshots"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- },
- "definitions": {
- "CreationData": {
- "description": "Data used when creating a disk.",
- "properties": {
- "createOption": {
- "description": "This enumerates the possible sources of a disk's creation.",
- "oneOf": [
- {
- "enum": [
- "Empty",
- "Attach",
- "FromImage",
- "Import",
- "Copy",
- "Restore",
- "Upload",
- "CopyStart",
- "ImportSecure",
- "UploadPreparedSecure"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "galleryImageReference": {
- "description": "Required if creating from a Gallery Image. The id of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageDiskReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Disk source information.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageDiskReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "logicalSectorSize": {
- "description": "Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityDataUri": {
- "description": "If createOption is ImportSecure, this is the URI of a blob to be imported into VM guest state.",
- "type": "string"
- },
- "sourceResourceId": {
- "description": "If createOption is Copy, this is the ARM id of the source snapshot or disk.",
- "type": "string"
- },
- "sourceUri": {
- "description": "If createOption is Import, this is the URI of a blob to be imported into a managed disk.",
- "type": "string"
- },
- "storageAccountId": {
- "description": "Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk.",
- "type": "string"
- },
- "uploadSizeBytes": {
- "description": "If createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer).",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "DiskAccessProperties": {
- "properties": {},
- "type": "object"
- },
- "DiskProperties": {
- "description": "Disk resource properties.",
- "properties": {
- "burstingEnabled": {
- "description": "Set to true to enable bursting beyond the provisioned performance target of the disk. Bursting is disabled by default. Does not apply to Ultra disks.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "completionPercent": {
- "description": "Percentage complete for the background copy when a resource is created via the CopyStart operation.",
- "oneOf": [
- {
- "type": "number"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "creationData": {
- "description": "Disk source information. CreationData information cannot be changed after the disk has been created.",
- "oneOf": [
- {
- "$ref": "#/definitions/CreationData"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskAccessId": {
- "description": "ARM id of the DiskAccess resource for using private endpoints on disks.",
- "type": "string"
- },
- "diskIOPSReadOnly": {
- "description": "The total number of IOPS that will be allowed across all VMs mounting the shared disk as ReadOnly. One operation can transfer between 4k and 256k bytes.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskIOPSReadWrite": {
- "description": "The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskMBpsReadOnly": {
- "description": "The total throughput (MBps) that will be allowed across all VMs mounting the shared disk as ReadOnly. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskMBpsReadWrite": {
- "description": "The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryption": {
- "description": "Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.",
- "oneOf": [
- {
- "$ref": "#/definitions/Encryption"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettingsCollection": {
- "description": "Encryption settings collection used for Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSettingsCollection"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hyperVGeneration": {
- "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxShares": {
- "description": "The maximum number of VMs that can attach to the disk at the same time. Value greater than one indicates a disk that can be mounted on multiple VMs at the same time.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkAccessPolicy": {
- "description": "Policy for accessing the disk via network.",
- "oneOf": [
- {
- "enum": [
- "AllowAll",
- "AllowPrivate",
- "DenyAll"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "The Operating System type.",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicNetworkAccess": {
- "description": "Policy for controlling export on the disk.",
- "oneOf": [
- {
- "enum": [
- "Enabled",
- "Disabled"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "purchasePlan": {
- "description": "Purchase plan information for the the image from which the OS disk was created. E.g. - {name: 2019-Datacenter, publisher: MicrosoftWindowsServer, product: WindowsServer}",
- "oneOf": [
- {
- "$ref": "#/definitions/PurchasePlan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Contains the security related information for the resource.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskSecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "supportedCapabilities": {
- "description": "List of supported capabilities for the image from which the OS disk was created.",
- "oneOf": [
- {
- "$ref": "#/definitions/SupportedCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "supportsHibernation": {
- "description": "Indicates the OS on a disk supports hibernation.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tier": {
- "description": "Performance tier of the disk (e.g, P4, S10) as described here: https://azure.microsoft.com/en-us/pricing/details/managed-disks/. Does not apply to Ultra disks.",
- "type": "string"
- }
- },
- "required": [
- "creationData"
- ],
- "type": "object"
- },
- "DiskSecurityProfile": {
- "description": "Contains the security related information for the resource.",
- "properties": {
- "secureVMDiskEncryptionSetId": {
- "description": "ResourceId of the disk encryption set associated to Confidential VM supported disk encrypted with customer managed key",
- "type": "string"
- },
- "securityType": {
- "description": "Specifies the SecurityType of the VM. Applicable for OS disks only.",
- "oneOf": [
- {
- "enum": [
- "TrustedLaunch",
- "ConfidentialVM_VMGuestStateOnlyEncryptedWithPlatformKey",
- "ConfidentialVM_DiskEncryptedWithPlatformKey",
- "ConfidentialVM_DiskEncryptedWithCustomerKey"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiskSku": {
- "description": "The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, or StandardSSD_ZRS.",
- "properties": {
- "name": {
- "description": "The sku name.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS",
- "Premium_ZRS",
- "StandardSSD_ZRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Encryption": {
- "description": "Encryption at rest settings for disk or snapshot",
- "properties": {
- "diskEncryptionSetId": {
- "description": "ResourceId of the disk encryption set to use for enabling encryption at rest.",
- "type": "string"
- },
- "type": {
- "description": "The type of key used to encrypt the data of the disk.",
- "oneOf": [
- {
- "enum": [
- "EncryptionAtRestWithPlatformKey",
- "EncryptionAtRestWithCustomerKey",
- "EncryptionAtRestWithPlatformAndCustomerKeys"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "EncryptionSetIdentity": {
- "description": "The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks.",
- "properties": {
- "type": {
- "description": "The type of Managed Identity used by the DiskEncryptionSet. Only SystemAssigned is supported for new creations. Disk Encryption Sets can be updated with Identity type None during migration of subscription to a new Azure Active Directory tenant; it will cause the encrypted resources to lose access to the keys.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "EncryptionSetProperties": {
- "properties": {
- "activeKey": {
- "description": "The key vault key which is currently used by this disk encryption set.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyForDiskEncryptionSet"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionType": {
- "description": "The type of key used to encrypt the data of the disk.",
- "oneOf": [
- {
- "enum": [
- "EncryptionAtRestWithCustomerKey",
- "EncryptionAtRestWithPlatformAndCustomerKeys",
- "ConfidentialVmEncryptedWithCustomerKey"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "rotationToLatestKeyVersionEnabled": {
- "description": "Set this flag to true to enable auto-updating of this disk encryption set to the latest key version.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "EncryptionSettingsCollection": {
- "description": "Encryption settings for disk or snapshot",
- "properties": {
- "enabled": {
- "description": "Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettings": {
- "description": "A collection of encryption settings, one for each disk volume.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/EncryptionSettingsElement"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettingsVersion": {
- "description": "Describes what type of encryption is used for the disks. Once this field is set, it cannot be overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption.",
- "type": "string"
- }
- },
- "required": [
- "enabled"
- ],
- "type": "object"
- },
- "EncryptionSettingsElement": {
- "description": "Encryption settings for one disk volume.",
- "properties": {
- "diskEncryptionKey": {
- "description": "Key Vault Secret Url and vault id of the disk encryption key",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultAndSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "keyEncryptionKey": {
- "description": "Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultAndKeyReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ExtendedLocation": {
- "description": "The complex type of the extended location.",
- "properties": {
- "name": {
- "description": "The name of the extended location.",
- "type": "string"
- },
- "type": {
- "description": "The type of the extended location.",
- "oneOf": [
- {
- "enum": [
- "EdgeZone"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImageDiskReference": {
- "description": "The source image used for creating the disk.",
- "properties": {
- "id": {
- "description": "A relative uri containing either a Platform Image Repository or user image reference.",
- "type": "string"
- },
- "lun": {
- "description": "If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "id"
- ],
- "type": "object"
- },
- "KeyForDiskEncryptionSet": {
- "description": "Key Vault Key Url to be used for server side encryption of Managed Disks and Snapshots",
- "properties": {
- "keyUrl": {
- "description": "Fully versioned Key Url pointing to a key in KeyVault. Version segment of the Url is required regardless of rotationToLatestKeyVersionEnabled value.",
- "type": "string"
- },
- "sourceVault": {
- "description": "Resource id of the KeyVault containing the key or secret. This property is optional and cannot be used if the KeyVault subscription is not the same as the Disk Encryption Set subscription.",
- "oneOf": [
- {
- "$ref": "#/definitions/SourceVault"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "keyUrl"
- ],
- "type": "object"
- },
- "KeyVaultAndKeyReference": {
- "description": "Key Vault Key Url and vault id of KeK, KeK is optional and when provided is used to unwrap the encryptionKey",
- "properties": {
- "keyUrl": {
- "description": "Url pointing to a key or secret in KeyVault",
- "type": "string"
- },
- "sourceVault": {
- "description": "Resource id of the KeyVault containing the key or secret",
- "oneOf": [
- {
- "$ref": "#/definitions/SourceVault"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "sourceVault",
- "keyUrl"
- ],
- "type": "object"
- },
- "KeyVaultAndSecretReference": {
- "description": "Key Vault Secret Url and vault id of the encryption key ",
- "properties": {
- "secretUrl": {
- "description": "Url pointing to a key or secret in KeyVault",
- "type": "string"
- },
- "sourceVault": {
- "description": "Resource id of the KeyVault containing the key or secret",
- "oneOf": [
- {
- "$ref": "#/definitions/SourceVault"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "sourceVault",
- "secretUrl"
- ],
- "type": "object"
- },
- "PrivateEndpointConnectionProperties": {
- "description": "Properties of the PrivateEndpointConnectProperties.",
- "properties": {
- "privateLinkServiceConnectionState": {
- "description": "A collection of information about the state of the connection between DiskAccess and Virtual Network.",
- "oneOf": [
- {
- "$ref": "#/definitions/PrivateLinkServiceConnectionState"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "privateLinkServiceConnectionState"
- ],
- "type": "object"
- },
- "PrivateLinkServiceConnectionState": {
- "description": "A collection of information about the state of the connection between service consumer and provider.",
- "properties": {
- "actionsRequired": {
- "description": "A message indicating if changes on the service provider require any updates on the consumer.",
- "type": "string"
- },
- "description": {
- "description": "The reason for approval/rejection of the connection.",
- "type": "string"
- },
- "status": {
- "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.",
- "oneOf": [
- {
- "enum": [
- "Pending",
- "Approved",
- "Rejected"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "PurchasePlan": {
- "description": "Used for establishing the purchase context of any 3rd Party artifact through MarketPlace.",
- "properties": {
- "name": {
- "description": "The plan ID.",
- "type": "string"
- },
- "product": {
- "description": "Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.",
- "type": "string"
- },
- "promotionCode": {
- "description": "The Offer Promotion Code.",
- "type": "string"
- },
- "publisher": {
- "description": "The publisher ID.",
- "type": "string"
- }
- },
- "required": [
- "name",
- "publisher",
- "product"
- ],
- "type": "object"
- },
- "SnapshotProperties": {
- "description": "Snapshot resource properties.",
- "properties": {
- "completionPercent": {
- "description": "Percentage complete for the background copy when a resource is created via the CopyStart operation.",
- "oneOf": [
- {
- "type": "number"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "creationData": {
- "description": "Disk source information. CreationData information cannot be changed after the disk has been created.",
- "oneOf": [
- {
- "$ref": "#/definitions/CreationData"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskAccessId": {
- "description": "ARM id of the DiskAccess resource for using private endpoints on disks.",
- "type": "string"
- },
- "diskSizeGB": {
- "description": "If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryption": {
- "description": "Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.",
- "oneOf": [
- {
- "$ref": "#/definitions/Encryption"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettingsCollection": {
- "description": "Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSettingsCollection"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hyperVGeneration": {
- "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "incremental": {
- "description": "Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full snapshots and can be diffed.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkAccessPolicy": {
- "description": "Policy for accessing the disk via network.",
- "oneOf": [
- {
- "enum": [
- "AllowAll",
- "AllowPrivate",
- "DenyAll"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "The Operating System type.",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicNetworkAccess": {
- "description": "Policy for controlling export on the disk.",
- "oneOf": [
- {
- "enum": [
- "Enabled",
- "Disabled"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "purchasePlan": {
- "description": "Purchase plan information for the image from which the source disk for the snapshot was originally created.",
- "oneOf": [
- {
- "$ref": "#/definitions/PurchasePlan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Contains the security related information for the resource.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskSecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "supportedCapabilities": {
- "description": "List of supported capabilities (like Accelerated Networking) for the image from which the source disk from the snapshot was originally created.",
- "oneOf": [
- {
- "$ref": "#/definitions/SupportedCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "supportsHibernation": {
- "description": "Indicates the OS on a snapshot supports hibernation.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "creationData"
- ],
- "type": "object"
- },
- "SnapshotSku": {
- "description": "The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot",
- "properties": {
- "name": {
- "description": "The sku name.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "Standard_ZRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SourceVault": {
- "description": "The vault id is an Azure Resource Manager Resource id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SupportedCapabilities": {
- "description": "List of supported capabilities (like accelerated networking) persisted on the disk resource for VM use.",
- "properties": {
- "acceleratedNetwork": {
- "description": "True if the image from which the OS disk is created supports accelerated networking.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "diskAccesses_privateEndpointConnections_childResource": {
- "description": "Microsoft.Compute/diskAccesses/privateEndpointConnections",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-08-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the private endpoint connection.",
- "type": "string"
- },
- "properties": {
- "description": "Resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/PrivateEndpointConnectionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "privateEndpointConnections"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- }
-}
\ No newline at end of file
diff --git a/schemas/2021-10-01/Microsoft.Compute.json b/schemas/2021-10-01/Microsoft.Compute.json
deleted file mode 100644
index 6776916926..0000000000
--- a/schemas/2021-10-01/Microsoft.Compute.json
+++ /dev/null
@@ -1,1693 +0,0 @@
-{
- "id": "https://schema.management.azure.com/schemas/2021-10-01/Microsoft.Compute.json#",
- "title": "Microsoft.Compute",
- "description": "Microsoft Compute Resource Types",
- "$schema": "http://json-schema.org/draft-04/schema#",
- "resourceDefinitions": {
- "galleries": {
- "description": "Microsoft.Compute/galleries",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-10-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the Shared Image Gallery. The allowed characters are alphabets and numbers with dots and periods allowed in the middle. The maximum length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Shared Image Gallery.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/galleries_images_childResource"
- },
- {
- "$ref": "#/definitions/galleries_applications_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/galleries"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_applications": {
- "description": "Microsoft.Compute/galleries/applications",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-10-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Application Definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery Application Definition.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryApplicationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/galleries_applications_versions_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/galleries/applications"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_applications_versions": {
- "description": "Microsoft.Compute/galleries/applications/versions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-10-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Application Version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery image version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryApplicationVersionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/galleries/applications/versions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_images": {
- "description": "Microsoft.Compute/galleries/images",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-10-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery image definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery image definition.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/galleries_images_versions_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/galleries/images"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_images_versions": {
- "description": "Microsoft.Compute/galleries/images/versions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-10-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery image version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery image version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageVersionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/galleries/images/versions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- },
- "definitions": {
- "CommunityGalleryInfo": {
- "description": "Information of community gallery if current gallery is shared to community",
- "properties": {
- "eula": {
- "description": "Community gallery publisher eula",
- "type": "string"
- },
- "publicNamePrefix": {
- "description": "Community gallery public name prefix",
- "type": "string"
- },
- "publisherContact": {
- "description": "Community gallery publisher contact email",
- "type": "string"
- },
- "publisherUri": {
- "description": "Community gallery publisher uri",
- "type": "string"
- }
- },
- "type": "object"
- },
- "DataDiskImageEncryption": {
- "description": "Contains encryption settings for a data disk image.",
- "properties": {
- "diskEncryptionSetId": {
- "description": "A relative URI containing the resource ID of the disk encryption set.",
- "type": "string"
- },
- "lun": {
- "description": "This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun"
- ],
- "type": "object"
- },
- "Disallowed": {
- "description": "Describes the disallowed disk types.",
- "properties": {
- "diskTypes": {
- "description": "A list of disk types.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "EncryptionImages": {
- "description": "Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact.",
- "properties": {
- "dataDiskImages": {
- "description": "A list of encryption specifications for data disk images.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/DataDiskImageEncryption"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDiskImage": {
- "description": "Contains encryption settings for an OS disk image.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSDiskImageEncryption"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryApplicationProperties": {
- "description": "Describes the properties of a gallery Application Definition.",
- "properties": {
- "description": {
- "description": "The description of this gallery Application Definition resource. This property is updatable.",
- "type": "string"
- },
- "endOfLifeDate": {
- "description": "The end of life date of the gallery Application Definition. This property can be used for decommissioning purposes. This property is updatable.",
- "format": "date-time",
- "type": "string"
- },
- "eula": {
- "description": "The Eula agreement for the gallery Application Definition.",
- "type": "string"
- },
- "privacyStatementUri": {
- "description": "The privacy statement uri.",
- "type": "string"
- },
- "releaseNoteUri": {
- "description": "The release note uri.",
- "type": "string"
- },
- "supportedOSType": {
- "description": "This property allows you to specify the supported type of the OS that application is built for.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "supportedOSType"
- ],
- "type": "object"
- },
- "GalleryApplicationVersionProperties": {
- "description": "Describes the properties of a gallery image version.",
- "properties": {
- "publishingProfile": {
- "description": "The publishing profile of a gallery image version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryApplicationVersionPublishingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "publishingProfile"
- ],
- "type": "object"
- },
- "GalleryApplicationVersionPublishingProfile": {
- "description": "The publishing profile of a gallery image version.",
- "properties": {
- "enableHealthCheck": {
- "description": "Optional. Whether or not this application reports health.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "endOfLifeDate": {
- "description": "The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable.",
- "format": "date-time",
- "type": "string"
- },
- "excludeFromLatest": {
- "description": "If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "manageActions": {
- "oneOf": [
- {
- "$ref": "#/definitions/UserArtifactManage"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "replicaCount": {
- "description": "The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "replicationMode": {
- "description": "Optional parameter which specifies the mode to be used for replication. This property is not updatable.",
- "oneOf": [
- {
- "enum": [
- "Full",
- "Shallow"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "source": {
- "description": "The source image from which the Image Version is going to be created.",
- "oneOf": [
- {
- "$ref": "#/definitions/UserArtifactSource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type to be used to store the image. This property is not updatable.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Standard_ZRS",
- "Premium_LRS",
- "StandardSSD_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "targetExtendedLocations": {
- "description": "The target extended locations where the Image Version is going to be replicated to. This property is updatable.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/GalleryTargetExtendedLocation"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "targetRegions": {
- "description": "The target regions where the Image Version is going to be replicated to. This property is updatable.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/TargetRegion"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "source"
- ],
- "type": "object"
- },
- "GalleryArtifactVersionSource": {
- "description": "The gallery artifact version source.",
- "properties": {
- "id": {
- "description": "The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, user image or storage account resource.",
- "type": "string"
- },
- "uri": {
- "description": "The uri of the gallery artifact version source. Currently used to specify vhd/blob source.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "GalleryDataDiskImage": {
- "description": "This is the data disk image.",
- "properties": {
- "hostCaching": {
- "description": "The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "source": {
- "description": "The gallery artifact version source.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryArtifactVersionSource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun"
- ],
- "type": "object"
- },
- "GalleryExtendedLocation": {
- "description": "The name of the extended location.",
- "properties": {
- "name": {
- "type": "string"
- },
- "type": {
- "description": "It is type of the extended location.",
- "oneOf": [
- {
- "enum": [
- "EdgeZone",
- "Unknown"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryIdentifier": {
- "description": "Describes the gallery unique name.",
- "properties": {},
- "type": "object"
- },
- "GalleryImageFeature": {
- "description": "A feature for gallery image.",
- "properties": {
- "name": {
- "description": "The name of the gallery image feature.",
- "type": "string"
- },
- "value": {
- "description": "The value of the gallery image feature.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "GalleryImageIdentifier": {
- "description": "This is the gallery image definition identifier.",
- "properties": {
- "offer": {
- "description": "The name of the gallery image definition offer.",
- "type": "string"
- },
- "publisher": {
- "description": "The name of the gallery image definition publisher.",
- "type": "string"
- },
- "sku": {
- "description": "The name of the gallery image definition SKU.",
- "type": "string"
- }
- },
- "required": [
- "publisher",
- "offer",
- "sku"
- ],
- "type": "object"
- },
- "GalleryImageProperties": {
- "description": "Describes the properties of a gallery image definition.",
- "properties": {
- "architecture": {
- "description": "The architecture of the image. Applicable to OS disks only.",
- "oneOf": [
- {
- "enum": [
- "x64",
- "Arm64"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "description": {
- "description": "The description of this gallery image definition resource. This property is updatable.",
- "type": "string"
- },
- "disallowed": {
- "description": "Describes the disallowed disk types.",
- "oneOf": [
- {
- "$ref": "#/definitions/Disallowed"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "endOfLifeDate": {
- "description": "The end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable.",
- "format": "date-time",
- "type": "string"
- },
- "eula": {
- "description": "The Eula agreement for the gallery image definition.",
- "type": "string"
- },
- "features": {
- "description": "A list of gallery image features.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/GalleryImageFeature"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hyperVGeneration": {
- "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "identifier": {
- "description": "This is the gallery image definition identifier.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageIdentifier"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osState": {
- "description": "This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'.",
- "oneOf": [
- {
- "enum": [
- "Generalized",
- "Specialized"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "privacyStatementUri": {
- "description": "The privacy statement uri.",
- "type": "string"
- },
- "purchasePlan": {
- "description": "Describes the gallery image definition purchase plan. This is used by marketplace images.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImagePurchasePlan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "recommended": {
- "description": "The properties describe the recommended machine configuration for this Image Definition. These properties are updatable.",
- "oneOf": [
- {
- "$ref": "#/definitions/RecommendedMachineConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "releaseNoteUri": {
- "description": "The release note uri.",
- "type": "string"
- }
- },
- "required": [
- "osType",
- "osState",
- "identifier"
- ],
- "type": "object"
- },
- "GalleryImageVersionProperties": {
- "description": "Describes the properties of a gallery image version.",
- "properties": {
- "publishingProfile": {
- "description": "The publishing profile of a gallery image Version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageVersionPublishingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "This is the storage profile of a Gallery Image Version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageVersionStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "storageProfile"
- ],
- "type": "object"
- },
- "GalleryImageVersionPublishingProfile": {
- "description": "The publishing profile of a gallery image Version.",
- "properties": {
- "endOfLifeDate": {
- "description": "The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable.",
- "format": "date-time",
- "type": "string"
- },
- "excludeFromLatest": {
- "description": "If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "replicaCount": {
- "description": "The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "replicationMode": {
- "description": "Optional parameter which specifies the mode to be used for replication. This property is not updatable.",
- "oneOf": [
- {
- "enum": [
- "Full",
- "Shallow"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type to be used to store the image. This property is not updatable.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Standard_ZRS",
- "Premium_LRS",
- "StandardSSD_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "targetExtendedLocations": {
- "description": "The target extended locations where the Image Version is going to be replicated to. This property is updatable.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/GalleryTargetExtendedLocation"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "targetRegions": {
- "description": "The target regions where the Image Version is going to be replicated to. This property is updatable.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/TargetRegion"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryImageVersionStorageProfile": {
- "description": "This is the storage profile of a Gallery Image Version.",
- "properties": {
- "dataDiskImages": {
- "description": "A list of data disk images.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/GalleryDataDiskImage"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDiskImage": {
- "description": "This is the OS disk image.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryOSDiskImage"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "source": {
- "description": "The gallery artifact version source.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryArtifactVersionSource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryOSDiskImage": {
- "description": "This is the OS disk image.",
- "properties": {
- "hostCaching": {
- "description": "The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "source": {
- "description": "The gallery artifact version source.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryArtifactVersionSource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryProperties": {
- "description": "Describes the properties of a Shared Image Gallery.",
- "properties": {
- "description": {
- "description": "The description of this Shared Image Gallery resource. This property is updatable.",
- "type": "string"
- },
- "identifier": {
- "description": "Describes the gallery unique name.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryIdentifier"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sharingProfile": {
- "description": "Profile for gallery sharing to subscription or tenant",
- "oneOf": [
- {
- "$ref": "#/definitions/SharingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "softDeletePolicy": {
- "description": "Contains information about the soft deletion policy of the gallery.",
- "oneOf": [
- {
- "$ref": "#/definitions/SoftDeletePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryTargetExtendedLocation": {
- "properties": {
- "encryption": {
- "description": "Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionImages"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extendedLocation": {
- "description": "The name of the extended location.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extendedLocationReplicaCount": {
- "description": "The number of replicas of the Image Version to be created per extended location. This property is updatable.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The name of the region.",
- "type": "string"
- },
- "storageAccountType": {
- "description": "Specifies the storage account type to be used to store the image. This property is not updatable.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Standard_ZRS",
- "Premium_LRS",
- "StandardSSD_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImagePurchasePlan": {
- "description": "Describes the gallery image definition purchase plan. This is used by marketplace images.",
- "properties": {
- "name": {
- "description": "The plan ID.",
- "type": "string"
- },
- "product": {
- "description": "The product ID.",
- "type": "string"
- },
- "publisher": {
- "description": "The publisher ID.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "OSDiskImageEncryption": {
- "description": "Contains encryption settings for an OS disk image.",
- "properties": {
- "diskEncryptionSetId": {
- "description": "A relative URI containing the resource ID of the disk encryption set.",
- "type": "string"
- },
- "securityProfile": {
- "description": "This property specifies the security profile of an OS disk image.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSDiskImageSecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "OSDiskImageSecurityProfile": {
- "description": "Contains security profile for an OS disk image.",
- "properties": {
- "confidentialVMEncryptionType": {
- "description": "confidential VM encryption types",
- "oneOf": [
- {
- "enum": [
- "EncryptedVMGuestStateOnlyWithPmk",
- "EncryptedWithPmk",
- "EncryptedWithCmk"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "secureVMDiskEncryptionSetId": {
- "description": "secure VM disk encryption set id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "RecommendedMachineConfiguration": {
- "description": "The properties describe the recommended machine configuration for this Image Definition. These properties are updatable.",
- "properties": {
- "memory": {
- "description": "Describes the resource range.",
- "oneOf": [
- {
- "$ref": "#/definitions/ResourceRange"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vCPUs": {
- "description": "Describes the resource range.",
- "oneOf": [
- {
- "$ref": "#/definitions/ResourceRange"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ResourceRange": {
- "description": "Describes the resource range.",
- "properties": {
- "max": {
- "description": "The maximum number of the resource.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "min": {
- "description": "The minimum number of the resource.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SharingProfile": {
- "description": "Profile for gallery sharing to subscription or tenant",
- "properties": {
- "communityGalleryInfo": {
- "description": "Information of community gallery if current gallery is shared to community.",
- "oneOf": [
- {
- "$ref": "#/definitions/CommunityGalleryInfo"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "permissions": {
- "description": "This property allows you to specify the permission of sharing gallery.
Possible values are:
**Private**
**Groups**",
- "oneOf": [
- {
- "enum": [
- "Private",
- "Groups"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SoftDeletePolicy": {
- "description": "Contains information about the soft deletion policy of the gallery.",
- "properties": {
- "isSoftDeleteEnabled": {
- "description": "Enables soft-deletion for resources in this gallery, allowing them to be recovered within retention time.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "TargetRegion": {
- "description": "Describes the target region information.",
- "properties": {
- "encryption": {
- "description": "Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionImages"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The name of the region.",
- "type": "string"
- },
- "regionalReplicaCount": {
- "description": "The number of replicas of the Image Version to be created per region. This property is updatable.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type to be used to store the image. This property is not updatable.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Standard_ZRS",
- "Premium_LRS",
- "StandardSSD_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "UserArtifactManage": {
- "properties": {
- "install": {
- "description": "Required. The path and arguments to install the gallery application. This is limited to 4096 characters.",
- "type": "string"
- },
- "remove": {
- "description": "Required. The path and arguments to remove the gallery application. This is limited to 4096 characters.",
- "type": "string"
- },
- "update": {
- "description": "Optional. The path and arguments to update the gallery application. If not present, then update operation will invoke remove command on the previous version and install command on the current version of the gallery application. This is limited to 4096 characters.",
- "type": "string"
- }
- },
- "required": [
- "install",
- "remove"
- ],
- "type": "object"
- },
- "UserArtifactSource": {
- "description": "The source image from which the Image Version is going to be created.",
- "properties": {
- "defaultConfigurationLink": {
- "description": "Optional. The defaultConfigurationLink of the artifact, must be a readable storage page blob.",
- "type": "string"
- },
- "mediaLink": {
- "description": "Required. The mediaLink of the artifact, must be a readable storage page blob.",
- "type": "string"
- }
- },
- "required": [
- "mediaLink"
- ],
- "type": "object"
- },
- "galleries_applications_childResource": {
- "description": "Microsoft.Compute/galleries/applications",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-10-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Application Definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery Application Definition.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryApplicationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "applications"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_applications_versions_childResource": {
- "description": "Microsoft.Compute/galleries/applications/versions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-10-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Application Version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery image version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryApplicationVersionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "versions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_images_childResource": {
- "description": "Microsoft.Compute/galleries/images",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-10-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery image definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery image definition.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "images"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_images_versions_childResource": {
- "description": "Microsoft.Compute/galleries/images/versions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-10-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery image version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery image version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageVersionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "versions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- }
-}
\ No newline at end of file
diff --git a/schemas/2021-11-01/Microsoft.Compute.json b/schemas/2021-11-01/Microsoft.Compute.json
deleted file mode 100644
index 18bf2f00d2..0000000000
--- a/schemas/2021-11-01/Microsoft.Compute.json
+++ /dev/null
@@ -1,7054 +0,0 @@
-{
- "id": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.json#",
- "title": "Microsoft.Compute",
- "description": "Microsoft Compute Resource Types",
- "$schema": "http://json-schema.org/draft-04/schema#",
- "resourceDefinitions": {
- "availabilitySets": {
- "description": "Microsoft.Compute/availabilitySets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-11-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the availability set.",
- "type": "string"
- },
- "properties": {
- "description": "The instance view of a resource.",
- "oneOf": [
- {
- "$ref": "#/definitions/AvailabilitySetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "Sku of the availability set, only name is required to be set. See AvailabilitySetSkuTypes for possible set of values. Use 'Aligned' for virtual machines with managed disks and 'Classic' for virtual machines with unmanaged disks. Default value is 'Classic'.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/availabilitySets"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "capacityReservationGroups": {
- "description": "Microsoft.Compute/capacityReservationGroups",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-11-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the capacity reservation group.",
- "type": "string"
- },
- "properties": {
- "description": "capacity reservation group Properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/CapacityReservationGroupProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/capacityReservationGroups_capacityReservations_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/capacityReservationGroups"
- ],
- "type": "string"
- },
- "zones": {
- "description": "Availability Zones to use for this capacity reservation group. The zones can be assigned only during creation. If not provided, the group supports only regional resources in the region. If provided, enforces each capacity reservation in the group to be in one of the zones.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "capacityReservationGroups_capacityReservations": {
- "description": "Microsoft.Compute/capacityReservationGroups/capacityReservations",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-11-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the capacity reservation.",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the Capacity reservation.",
- "oneOf": [
- {
- "$ref": "#/definitions/CapacityReservationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "SKU of the resource for which capacity needs be reserved. The SKU name and capacity is required to be set. Currently VM Skus with the capability called 'CapacityReservationSupported' set to true are supported. Refer to List Microsoft.Compute SKUs in a region (https://docs.microsoft.com/rest/api/compute/resourceskus/list) for supported values.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/capacityReservationGroups/capacityReservations"
- ],
- "type": "string"
- },
- "zones": {
- "description": "Availability Zone to use for this capacity reservation. The zone has to be single value and also should be part for the list of zones specified during the capacity reservation group creation. The zone can be assigned only during creation. If not provided, the reservation supports only non-zonal deployments. If provided, enforces VM/VMSS using this capacity reservation to be in same zone.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "hostGroups": {
- "description": "Microsoft.Compute/hostGroups",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-11-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the dedicated host group.",
- "type": "string"
- },
- "properties": {
- "description": "Dedicated Host Group Properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/DedicatedHostGroupProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/hostGroups_hosts_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/hostGroups"
- ],
- "type": "string"
- },
- "zones": {
- "description": "Availability Zone to use for this host group. Only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "hostGroups_hosts": {
- "description": "Microsoft.Compute/hostGroups/hosts",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-11-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the dedicated host .",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the dedicated host.",
- "oneOf": [
- {
- "$ref": "#/definitions/DedicatedHostProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be set. List Microsoft.Compute SKUs for a list of possible values.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/hostGroups/hosts"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "images": {
- "description": "Microsoft.Compute/images",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-11-01"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location of the Image.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the image.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of an Image.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/images"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "proximityPlacementGroups": {
- "description": "Microsoft.Compute/proximityPlacementGroups",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-11-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the proximity placement group.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Proximity Placement Group.",
- "oneOf": [
- {
- "$ref": "#/definitions/ProximityPlacementGroupProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/proximityPlacementGroups"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "restorePointCollections": {
- "description": "Microsoft.Compute/restorePointCollections",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-11-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the restore point collection.",
- "type": "string"
- },
- "properties": {
- "description": "The restore point collection properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/RestorePointCollectionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/restorePointCollections_restorePoints_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/restorePointCollections"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "restorePointCollections_restorePoints": {
- "description": "Microsoft.Compute/restorePointCollections/restorePoints",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-11-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the restore point.",
- "type": "string"
- },
- "properties": {
- "description": "The restore point properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/RestorePointProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/restorePointCollections/restorePoints"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "sshPublicKeys": {
- "description": "Microsoft.Compute/sshPublicKeys",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-11-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the SSH public key.",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the SSH public key.",
- "oneOf": [
- {
- "$ref": "#/definitions/SshPublicKeyResourceProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/sshPublicKeys"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets": {
- "description": "Microsoft.Compute/virtualMachineScaleSets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-11-01"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location of the Virtual Machine Scale Set.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "identity": {
- "description": "The identity of the virtual machine scale set, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the VM scale set to create or update.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Scale Set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachineScaleSets_extensions_childResource"
- },
- {
- "$ref": "#/definitions/virtualMachineScaleSets_virtualMachines_childResource"
- }
- ]
- },
- "type": "array"
- },
- "sku": {
- "description": "The virtual machine scale set sku.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The virtual machine scale set zones. NOTE: Availability zones can only be set when you create the scale set",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-11-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The instance ID of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachineScaleSets_virtualMachines_extensions_childResource"
- },
- {
- "$ref": "#/definitions/virtualMachineScaleSets_virtualMachines_runCommands_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets/virtualMachines"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_extensions": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-11-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine extension.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Extension.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_runCommands": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/runCommands",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-11-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine run command.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/runCommands"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines": {
- "description": "Microsoft.Compute/virtualMachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-11-01"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location of the Virtual Machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "identity": {
- "description": "The identity of the virtual machine, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachines_extensions_childResource"
- },
- {
- "$ref": "#/definitions/virtualMachines_runCommands_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachines"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The virtual machine zones.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines_runCommands": {
- "description": "Microsoft.Compute/virtualMachines/runCommands",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-11-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine run command.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachines/runCommands"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- },
- "definitions": {
- "AdditionalCapabilities": {
- "description": "Enables or disables a capability on the virtual machine or virtual machine scale set.",
- "properties": {
- "hibernationEnabled": {
- "description": "The flag that enables or disables hibernation capability on the VM.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ultraSSDEnabled": {
- "description": "The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "AdditionalUnattendContent": {
- "description": "Specifies additional XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is applied.",
- "properties": {
- "componentName": {
- "description": "The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup.",
- "oneOf": [
- {
- "enum": [
- "Microsoft-Windows-Shell-Setup"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "content": {
- "description": "Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted.",
- "type": "string"
- },
- "passName": {
- "description": "The pass name. Currently, the only allowable value is OobeSystem.",
- "oneOf": [
- {
- "enum": [
- "OobeSystem"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "settingName": {
- "description": "Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon.",
- "oneOf": [
- {
- "enum": [
- "AutoLogon",
- "FirstLogonCommands"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ApiEntityReference": {
- "description": "The API entity reference.",
- "properties": {
- "id": {
- "description": "The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ApplicationProfile": {
- "description": "Contains the list of gallery applications that should be made available to the VM/VMSS",
- "properties": {
- "galleryApplications": {
- "description": "Specifies the gallery applications that should be made available to the VM/VMSS",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VMGalleryApplication"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "AutomaticOSUpgradePolicy": {
- "description": "The configuration parameters used for performing automatic OS upgrade.",
- "properties": {
- "disableAutomaticRollback": {
- "description": "Whether OS image rollback feature should be disabled. Default value is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticOSUpgrade": {
- "description": "Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. Default value is false.
If this is set to true for Windows based scale sets, [enableAutomaticUpdates](https://docs.microsoft.com/dotnet/api/microsoft.azure.management.compute.models.windowsconfiguration.enableautomaticupdates?view=azure-dotnet) is automatically set to false and cannot be set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "AutomaticRepairsPolicy": {
- "description": "Specifies the configuration parameters for automatic repairs on the virtual machine scale set.",
- "properties": {
- "enabled": {
- "description": "Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "gracePeriod": {
- "description": "The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The minimum allowed grace period is 10 minutes (PT10M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M).",
- "type": "string"
- },
- "repairAction": {
- "description": "Type of repair action (replace, restart, reimage) that will be used for repairing unhealthy virtual machines in the scale set. Default value is replace.",
- "oneOf": [
- {
- "enum": [
- "Replace",
- "Restart",
- "Reimage"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "AvailabilitySetProperties": {
- "description": "The instance view of a resource.",
- "properties": {
- "platformFaultDomainCount": {
- "description": "Fault Domain count.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformUpdateDomainCount": {
- "description": "Update Domain count.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the availability set should be assigned to.
Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "virtualMachines": {
- "description": "A list of references to all virtual machines in the availability set.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "BillingProfile": {
- "description": "Specifies the billing related details of a Azure Spot VM or VMSS.
Minimum api-version: 2019-03-01.",
- "properties": {
- "maxPrice": {
- "description": "Specifies the maximum price you are willing to pay for a Azure Spot VM/VMSS. This price is in US Dollars.
This price will be compared with the current Azure Spot price for the VM size. Also, the prices are compared at the time of create/update of Azure Spot VM/VMSS and the operation will only succeed if the maxPrice is greater than the current Azure Spot price.
The maxPrice will also be used for evicting a Azure Spot VM/VMSS if the current Azure Spot price goes beyond the maxPrice after creation of VM/VMSS.
Possible values are:
- Any decimal value greater than zero. Example: 0.01538
-1 – indicates default price to be up-to on-demand.
You can set the maxPrice to -1 to indicate that the Azure Spot VM/VMSS should not be evicted for price reasons. Also, the default max price is -1 if it is not provided by you.
Minimum api-version: 2019-03-01.",
- "oneOf": [
- {
- "type": "number"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "BootDiagnostics": {
- "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.",
- "properties": {
- "enabled": {
- "description": "Whether boot diagnostics should be enabled on the Virtual Machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageUri": {
- "description": "Uri of the storage account to use for placing the console output and screenshot.
If storageUri is not specified while enabling boot diagnostics, managed storage will be used.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "CapacityReservationGroupProperties": {
- "description": "capacity reservation group Properties.",
- "properties": {},
- "type": "object"
- },
- "CapacityReservationProfile": {
- "description": "The parameters of a capacity reservation Profile.",
- "properties": {
- "capacityReservationGroup": {
- "description": "Specifies the capacity reservation group resource id that should be used for allocating the virtual machine or scaleset vm instances provided enough capacity has been reserved. Please refer to https://aka.ms/CapacityReservation for more details.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "CapacityReservationProperties": {
- "description": "Properties of the Capacity reservation.",
- "properties": {},
- "type": "object"
- },
- "DataDisk": {
- "description": "Describes a data disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machine should be created.
Possible values are:
**Attach** \\u2013 This value is used when you are using a specialized disk to create the virtual machine.
**FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "deleteOption": {
- "description": "Specifies whether data disk should be deleted or detached upon VM deletion.
Possible values:
**Delete** If this value is used, the data disk is deleted when VM is deleted.
**Detach** If this value is used, the data disk is retained after VM is deleted.
The default value is set to **detach**",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "detachOption": {
- "description": "Specifies the detach behavior to be used while detaching a disk or which is already in the process of detachment from the virtual machine. Supported values: **ForceDetach**.
detachOption: **ForceDetach** is applicable only for managed data disks. If a previous detachment attempt of the data disk did not complete due to an unexpected failure from the virtual machine and the disk is still not released then use force-detach as a last resort option to detach the disk forcibly from the VM. All writes might not have been flushed when using this detach behavior.
This feature is still in preview mode and is not supported for VirtualMachineScaleSet. To force-detach a data disk update toBeDetached to 'true' along with setting detachOption: 'ForceDetach'.",
- "oneOf": [
- {
- "enum": [
- "ForceDetach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/ManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "toBeDetached": {
- "description": "Specifies whether the data disk is in process of detachment from the VirtualMachine/VirtualMachineScaleset",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhd": {
- "description": "The virtual hard disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun",
- "createOption"
- ],
- "type": "object"
- },
- "DedicatedHostGroupProperties": {
- "description": "Dedicated Host Group Properties.",
- "properties": {
- "platformFaultDomainCount": {
- "description": "Number of fault domains that the host group can span.",
- "oneOf": [
- {
- "minimum": 1,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "supportAutomaticPlacement": {
- "description": "Specifies whether virtual machines or virtual machine scale sets can be placed automatically on the dedicated host group. Automatic placement means resources are allocated on dedicated hosts, that are chosen by Azure, under the dedicated host group. The value is defaulted to 'false' when not provided.
Minimum api-version: 2020-06-01.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "platformFaultDomainCount"
- ],
- "type": "object"
- },
- "DedicatedHostProperties": {
- "description": "Properties of the dedicated host.",
- "properties": {
- "autoReplaceOnFailure": {
- "description": "Specifies whether the dedicated host should be replaced automatically in case of a failure. The value is defaulted to 'true' when not provided.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies the software license type that will be applied to the VMs deployed on the dedicated host.
Possible values are:
**None**
**Windows_Server_Hybrid**
**Windows_Server_Perpetual**
Default: **None**",
- "oneOf": [
- {
- "enum": [
- "None",
- "Windows_Server_Hybrid",
- "Windows_Server_Perpetual"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformFaultDomain": {
- "description": "Fault domain of the dedicated host within a dedicated host group.",
- "oneOf": [
- {
- "minimum": 0,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "properties": {
- "bootDiagnostics": {
- "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
**NOTE**: If storageUri is being specified then ensure that the storage account is in the same region and subscription as the VM.
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.",
- "oneOf": [
- {
- "$ref": "#/definitions/BootDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiffDiskSettings": {
- "description": "Describes the parameters of ephemeral disk settings that can be specified for operating system disk.
NOTE: The ephemeral disk settings can only be specified for managed disk.",
- "properties": {
- "option": {
- "description": "Specifies the ephemeral disk settings for operating system disk.",
- "oneOf": [
- {
- "enum": [
- "Local"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "placement": {
- "description": "Specifies the ephemeral disk placement for operating system disk.
Possible values are:
**CacheDisk**
**ResourceDisk**
Default: **CacheDisk** if one is configured for the VM size otherwise **ResourceDisk** is used.
Refer to VM size documentation for Windows VM at https://docs.microsoft.com/azure/virtual-machines/windows/sizes and Linux VM at https://docs.microsoft.com/azure/virtual-machines/linux/sizes to check which VM sizes exposes a cache disk.",
- "oneOf": [
- {
- "enum": [
- "CacheDisk",
- "ResourceDisk"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiskEncryptionSetParameters": {
- "description": "Describes the parameter of customer managed disk encryption set resource id that can be specified for disk.
NOTE: The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "DiskEncryptionSettings": {
- "description": "Describes a Encryption Settings for a Disk",
- "properties": {
- "diskEncryptionKey": {
- "description": "Specifies the location of the disk encryption key, which is a Key Vault Secret.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enabled": {
- "description": "Specifies whether disk encryption should be enabled on the virtual machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "keyEncryptionKey": {
- "description": "Specifies the location of the key encryption key in Key Vault.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultKeyReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ExtendedLocation": {
- "description": "The complex type of the extended location.",
- "properties": {
- "name": {
- "description": "The name of the extended location.",
- "type": "string"
- },
- "type": {
- "description": "The type of the extended location.",
- "oneOf": [
- {
- "enum": [
- "EdgeZone"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "HardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "properties": {
- "vmSize": {
- "description": "Specifies the size of the virtual machine.
The enum data type is currently deprecated and will be removed by December 23rd 2023.
Recommended way to get the list of available sizes is using these APIs:
[List all available virtual machine sizes in an availability set](https://docs.microsoft.com/rest/api/compute/availabilitysets/listavailablesizes)
[List all available virtual machine sizes in a region]( https://docs.microsoft.com/rest/api/compute/resourceskus/list)
[List all available virtual machine sizes for resizing](https://docs.microsoft.com/rest/api/compute/virtualmachines/listavailablesizes). For more information about virtual machine sizes, see [Sizes for virtual machines](https://docs.microsoft.com/azure/virtual-machines/sizes).
The available VM sizes depend on region and availability set.",
- "oneOf": [
- {
- "enum": [
- "Basic_A0",
- "Basic_A1",
- "Basic_A2",
- "Basic_A3",
- "Basic_A4",
- "Standard_A0",
- "Standard_A1",
- "Standard_A2",
- "Standard_A3",
- "Standard_A4",
- "Standard_A5",
- "Standard_A6",
- "Standard_A7",
- "Standard_A8",
- "Standard_A9",
- "Standard_A10",
- "Standard_A11",
- "Standard_A1_v2",
- "Standard_A2_v2",
- "Standard_A4_v2",
- "Standard_A8_v2",
- "Standard_A2m_v2",
- "Standard_A4m_v2",
- "Standard_A8m_v2",
- "Standard_B1s",
- "Standard_B1ms",
- "Standard_B2s",
- "Standard_B2ms",
- "Standard_B4ms",
- "Standard_B8ms",
- "Standard_D1",
- "Standard_D2",
- "Standard_D3",
- "Standard_D4",
- "Standard_D11",
- "Standard_D12",
- "Standard_D13",
- "Standard_D14",
- "Standard_D1_v2",
- "Standard_D2_v2",
- "Standard_D3_v2",
- "Standard_D4_v2",
- "Standard_D5_v2",
- "Standard_D2_v3",
- "Standard_D4_v3",
- "Standard_D8_v3",
- "Standard_D16_v3",
- "Standard_D32_v3",
- "Standard_D64_v3",
- "Standard_D2s_v3",
- "Standard_D4s_v3",
- "Standard_D8s_v3",
- "Standard_D16s_v3",
- "Standard_D32s_v3",
- "Standard_D64s_v3",
- "Standard_D11_v2",
- "Standard_D12_v2",
- "Standard_D13_v2",
- "Standard_D14_v2",
- "Standard_D15_v2",
- "Standard_DS1",
- "Standard_DS2",
- "Standard_DS3",
- "Standard_DS4",
- "Standard_DS11",
- "Standard_DS12",
- "Standard_DS13",
- "Standard_DS14",
- "Standard_DS1_v2",
- "Standard_DS2_v2",
- "Standard_DS3_v2",
- "Standard_DS4_v2",
- "Standard_DS5_v2",
- "Standard_DS11_v2",
- "Standard_DS12_v2",
- "Standard_DS13_v2",
- "Standard_DS14_v2",
- "Standard_DS15_v2",
- "Standard_DS13-4_v2",
- "Standard_DS13-2_v2",
- "Standard_DS14-8_v2",
- "Standard_DS14-4_v2",
- "Standard_E2_v3",
- "Standard_E4_v3",
- "Standard_E8_v3",
- "Standard_E16_v3",
- "Standard_E32_v3",
- "Standard_E64_v3",
- "Standard_E2s_v3",
- "Standard_E4s_v3",
- "Standard_E8s_v3",
- "Standard_E16s_v3",
- "Standard_E32s_v3",
- "Standard_E64s_v3",
- "Standard_E32-16_v3",
- "Standard_E32-8s_v3",
- "Standard_E64-32s_v3",
- "Standard_E64-16s_v3",
- "Standard_F1",
- "Standard_F2",
- "Standard_F4",
- "Standard_F8",
- "Standard_F16",
- "Standard_F1s",
- "Standard_F2s",
- "Standard_F4s",
- "Standard_F8s",
- "Standard_F16s",
- "Standard_F2s_v2",
- "Standard_F4s_v2",
- "Standard_F8s_v2",
- "Standard_F16s_v2",
- "Standard_F32s_v2",
- "Standard_F64s_v2",
- "Standard_F72s_v2",
- "Standard_G1",
- "Standard_G2",
- "Standard_G3",
- "Standard_G4",
- "Standard_G5",
- "Standard_GS1",
- "Standard_GS2",
- "Standard_GS3",
- "Standard_GS4",
- "Standard_GS5",
- "Standard_GS4-8",
- "Standard_GS4-4",
- "Standard_GS5-16",
- "Standard_GS5-8",
- "Standard_H8",
- "Standard_H16",
- "Standard_H8m",
- "Standard_H16m",
- "Standard_H16r",
- "Standard_H16mr",
- "Standard_L4s",
- "Standard_L8s",
- "Standard_L16s",
- "Standard_L32s",
- "Standard_M64s",
- "Standard_M64ms",
- "Standard_M128s",
- "Standard_M128ms",
- "Standard_M64-32ms",
- "Standard_M64-16ms",
- "Standard_M128-64ms",
- "Standard_M128-32ms",
- "Standard_NC6",
- "Standard_NC12",
- "Standard_NC24",
- "Standard_NC24r",
- "Standard_NC6s_v2",
- "Standard_NC12s_v2",
- "Standard_NC24s_v2",
- "Standard_NC24rs_v2",
- "Standard_NC6s_v3",
- "Standard_NC12s_v3",
- "Standard_NC24s_v3",
- "Standard_NC24rs_v3",
- "Standard_ND6s",
- "Standard_ND12s",
- "Standard_ND24s",
- "Standard_ND24rs",
- "Standard_NV6",
- "Standard_NV12",
- "Standard_NV24"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vmSizeProperties": {
- "description": "Specifies the properties for customizing the size of the virtual machine. Minimum api-version: 2021-07-01.
This feature is still in preview mode and is not supported for VirtualMachineScaleSet.
Please follow the instructions in [VM Customization](https://aka.ms/vmcustomization) for more details.",
- "oneOf": [
- {
- "$ref": "#/definitions/VMSizeProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImageDataDisk": {
- "description": "Describes a data disk.",
- "properties": {
- "blobUri": {
- "description": "The Virtual Hard Disk.",
- "type": "string"
- },
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed image disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managedDisk.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "snapshot": {
- "description": "The snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS",
- "Premium_ZRS",
- "StandardSSD_ZRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun"
- ],
- "type": "object"
- },
- "ImageOSDisk": {
- "description": "Describes an Operating System disk.",
- "properties": {
- "blobUri": {
- "description": "The Virtual Hard Disk.",
- "type": "string"
- },
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed image disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managedDisk.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osState": {
- "description": "The OS State.",
- "oneOf": [
- {
- "enum": [
- "Generalized",
- "Specialized"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from a custom image.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "snapshot": {
- "description": "The snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS",
- "Premium_ZRS",
- "StandardSSD_ZRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "osType",
- "osState"
- ],
- "type": "object"
- },
- "ImageProperties": {
- "description": "Describes the properties of an Image.",
- "properties": {
- "hyperVGeneration": {
- "description": "Specifies the HyperVGenerationType of the VirtualMachine created from the image. From API Version 2019-03-01 if the image source is a blob, then we need the user to specify the value, if the source is managed resource like disk or snapshot, we may require the user to specify the property if we cannot deduce it from the source managed resource.",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sourceVirtualMachine": {
- "description": "The source virtual machine from which Image is created.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. NOTE: Image reference publisher and offer can only be set when you create the scale set.",
- "properties": {
- "communityGalleryImageId": {
- "description": "Specified the community gallery image unique id for vm deployment. This can be fetched from community gallery image GET call.",
- "type": "string"
- },
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "offer": {
- "description": "Specifies the offer of the platform image or marketplace image used to create the virtual machine.",
- "type": "string"
- },
- "publisher": {
- "description": "The image publisher.",
- "type": "string"
- },
- "sharedGalleryImageId": {
- "description": "Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call.",
- "type": "string"
- },
- "sku": {
- "description": "The image SKU.",
- "type": "string"
- },
- "version": {
- "description": "Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available. Please do not use field 'version' for gallery image deployment, gallery image should always use 'id' field for deployment, to use 'latest' version of gallery image, just set '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}' in the 'id' field without version input.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ImageStorageProfile": {
- "description": "Describes a storage profile.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add a data disk to a virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/ImageDataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageOSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "zoneResilient": {
- "description": "Specifies whether an image is zone resilient or not. Default is false. Zone resilient images can be created only in regions that provide Zone Redundant Storage (ZRS).",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "InstanceViewStatus": {
- "description": "Instance view status.",
- "properties": {
- "code": {
- "description": "The status code.",
- "type": "string"
- },
- "displayStatus": {
- "description": "The short localizable label for the status.",
- "type": "string"
- },
- "level": {
- "description": "The level code.",
- "oneOf": [
- {
- "enum": [
- "Info",
- "Warning",
- "Error"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "message": {
- "description": "The detailed status message, including for alerts and error messages.",
- "type": "string"
- },
- "time": {
- "description": "The time of the status.",
- "format": "date-time",
- "type": "string"
- }
- },
- "type": "object"
- },
- "KeyVaultKeyReference": {
- "description": "Describes a reference to Key Vault Key",
- "properties": {
- "keyUrl": {
- "description": "The URL referencing a key encryption key in Key Vault.",
- "type": "string"
- },
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing the key.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "keyUrl",
- "sourceVault"
- ],
- "type": "object"
- },
- "KeyVaultSecretReference": {
- "description": "Describes a reference to Key Vault Secret",
- "properties": {
- "secretUrl": {
- "description": "The URL referencing a secret in a Key Vault.",
- "type": "string"
- },
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing the secret.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "secretUrl",
- "sourceVault"
- ],
- "type": "object"
- },
- "LinuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros).",
- "properties": {
- "disablePasswordAuthentication": {
- "description": "Specifies whether password authentication should be disabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "patchSettings": {
- "description": "[Preview Feature] Specifies settings related to VM Guest Patching on Linux.",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxPatchSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionVMAgent": {
- "description": "Indicates whether virtual machine agent should be provisioned on the virtual machine.
When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ssh": {
- "description": "Specifies the ssh key configuration for a Linux OS.",
- "oneOf": [
- {
- "$ref": "#/definitions/SshConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "LinuxPatchSettings": {
- "description": "Specifies settings related to VM Guest Patching on Linux.",
- "properties": {
- "assessmentMode": {
- "description": "Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine.
Possible values are:
**ImageDefault** - You control the timing of patch assessments on a virtual machine.
**AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true.",
- "oneOf": [
- {
- "enum": [
- "ImageDefault",
- "AutomaticByPlatform"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "patchMode": {
- "description": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.
Possible values are:
**ImageDefault** - The virtual machine's default patching configuration is used.
**AutomaticByPlatform** - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true",
- "oneOf": [
- {
- "enum": [
- "ImageDefault",
- "AutomaticByPlatform"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ManagedDiskParameters": {
- "description": "The parameters of a managed disk.",
- "properties": {
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "securityProfile": {
- "description": "Specifies the security profile for the managed disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VMDiskSecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS",
- "Premium_ZRS",
- "StandardSSD_ZRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkInterfaceReference": {
- "description": "Describes a network interface reference.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "properties": {
- "description": "Describes a network interface reference properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkInterfaceReferenceProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkInterfaceReferenceProperties": {
- "description": "Describes a network interface reference properties.",
- "properties": {
- "deleteOption": {
- "description": "Specify what happens to the network interface when the VM is deleted",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkProfile": {
- "description": "Specifies the network interfaces or the networking configuration of the virtual machine.",
- "properties": {
- "networkApiVersion": {
- "description": "specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations",
- "oneOf": [
- {
- "enum": [
- "2020-11-01"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkInterfaceConfigurations": {
- "description": "Specifies the networking configurations that will be used to create the virtual machine networking resources.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineNetworkInterfaceConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkInterfaces": {
- "description": "Specifies the list of resource Ids for the network interfaces associated with the virtual machine.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/NetworkInterfaceReference"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "OSDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None** for Standard storage. **ReadOnly** for Premium storage.",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machine should be created.
Possible values are:
**Attach** \\u2013 This value is used when you are using a specialized disk to create the virtual machine.
**FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "deleteOption": {
- "description": "Specifies whether OS Disk should be deleted or detached upon VM deletion.
Possible values:
**Delete** If this value is used, the OS disk is deleted when VM is deleted.
**Detach** If this value is used, the os disk is retained after VM is deleted.
The default value is set to **detach**. For an ephemeral OS Disk, the default value is set to **Delete**. User cannot change the delete option for ephemeral OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diffDiskSettings": {
- "description": "Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiffDiskSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettings": {
- "description": "Specifies the encryption settings for the OS Disk.
Minimum api-version: 2015-06-15",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/ManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhd": {
- "description": "The virtual hard disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "OSProfile": {
- "description": "Specifies the operating system settings for the virtual machine. Some of the settings cannot be changed once VM is provisioned.",
- "properties": {
- "adminPassword": {
- "description": "Specifies the password of the administrator account.
**Minimum-length (Windows):** 8 characters
**Minimum-length (Linux):** 6 characters
**Max-length (Windows):** 123 characters
**Max-length (Linux):** 72 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])
**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"
For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp)
For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)",
- "type": "string"
- },
- "adminUsername": {
- "description": "Specifies the name of the administrator account.
This property cannot be updated after the VM is created.
**Windows-only restriction:** Cannot end in \".\"
**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters.",
- "type": "string"
- },
- "allowExtensionOperations": {
- "description": "Specifies whether extension operations should be allowed on the virtual machine.
This may only be set to False when no extensions are present on the virtual machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "computerName": {
- "description": "Specifies the host OS name of the virtual machine.
This name cannot be updated after the VM is created.
**Max-length (Windows):** 15 characters
**Max-length (Linux):** 64 characters.
For naming conventions and restrictions see [Azure infrastructure services implementation guidelines](https://docs.microsoft.com/azure/azure-resource-manager/management/resource-name-rules).",
- "type": "string"
- },
- "customData": {
- "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes.
**Note: Do not pass any secrets or passwords in customData property**
This property cannot be updated after the VM is created.
customData is passed to the VM to be saved as a file, for more information see [Custom Data on Azure VMs](https://azure.microsoft.com/blog/custom-data-and-cloud-init-on-windows-azure/)
For using cloud-init for your Linux VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init)",
- "type": "string"
- },
- "linuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros).",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "requireGuestProvisionSignal": {
- "description": "Optional property which must either be set to True or omitted.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "secrets": {
- "description": "Specifies set of certificates that should be installed onto the virtual machine. To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultSecretGroup"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "windowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/WindowsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "PatchSettings": {
- "description": "Specifies settings related to VM Guest Patching on Windows.",
- "properties": {
- "assessmentMode": {
- "description": "Specifies the mode of VM Guest patch assessment for the IaaS virtual machine.
Possible values are:
**ImageDefault** - You control the timing of patch assessments on a virtual machine.
**AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true. ",
- "oneOf": [
- {
- "enum": [
- "ImageDefault",
- "AutomaticByPlatform"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableHotpatching": {
- "description": "Enables customers to patch their Azure VMs without requiring a reboot. For enableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode' must be set to 'AutomaticByPlatform'.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "patchMode": {
- "description": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.
Possible values are:
**Manual** - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false
**AutomaticByOS** - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true.
**AutomaticByPlatform** - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true ",
- "oneOf": [
- {
- "enum": [
- "Manual",
- "AutomaticByOS",
- "AutomaticByPlatform"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "properties": {
- "name": {
- "description": "The plan ID.",
- "type": "string"
- },
- "product": {
- "description": "Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.",
- "type": "string"
- },
- "promotionCode": {
- "description": "The promotion code.",
- "type": "string"
- },
- "publisher": {
- "description": "The publisher ID.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ProximityPlacementGroupProperties": {
- "description": "Describes the properties of a Proximity Placement Group.",
- "properties": {
- "colocationStatus": {
- "description": "Describes colocation status of the Proximity Placement Group.",
- "oneOf": [
- {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroupType": {
- "description": "Specifies the type of the proximity placement group.
Possible values are:
**Standard** : Co-locate resources within an Azure region or Availability Zone.
**Ultra** : For future use.",
- "oneOf": [
- {
- "enum": [
- "Standard",
- "Ultra"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "PublicIPAddressSku": {
- "description": "Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible.",
- "properties": {
- "name": {
- "description": "Specify public IP sku name",
- "oneOf": [
- {
- "enum": [
- "Basic",
- "Standard"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tier": {
- "description": "Specify public IP sku tier",
- "oneOf": [
- {
- "enum": [
- "Regional",
- "Global"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RestorePointCollectionProperties": {
- "description": "The restore point collection properties.",
- "properties": {
- "source": {
- "description": "The properties of the source resource that this restore point collection is created from.",
- "oneOf": [
- {
- "$ref": "#/definitions/RestorePointCollectionSourceProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RestorePointCollectionSourceProperties": {
- "description": "The properties of the source resource that this restore point collection is created from.",
- "properties": {
- "id": {
- "description": "Resource Id of the source resource used to create this restore point collection",
- "type": "string"
- }
- },
- "type": "object"
- },
- "RestorePointProperties": {
- "description": "The restore point properties.",
- "properties": {
- "excludeDisks": {
- "description": "List of disk resource ids that the customer wishes to exclude from the restore point. If no disks are specified, all disks will be included.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/ApiEntityReference"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sourceRestorePoint": {
- "description": "Resource Id of the source restore point from which a copy needs to be created.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApiEntityReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "timeCreated": {
- "description": "Gets the creation time of the restore point.",
- "format": "date-time",
- "type": "string"
- }
- },
- "type": "object"
- },
- "RollingUpgradePolicy": {
- "description": "The configuration parameters used while performing a rolling upgrade.",
- "properties": {
- "enableCrossZoneUpgrade": {
- "description": "Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxBatchInstancePercent": {
- "description": "The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 5,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxUnhealthyInstancePercent": {
- "description": "The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 5,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxUnhealthyUpgradedInstancePercent": {
- "description": "The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "pauseTimeBetweenBatches": {
- "description": "The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format. The default value is 0 seconds (PT0S).",
- "type": "string"
- },
- "prioritizeUnhealthyInstances": {
- "description": "Upgrade all unhealthy instances in a scale set before any healthy instances.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RunCommandInputParameter": {
- "description": "Describes the properties of a run command parameter.",
- "properties": {
- "name": {
- "description": "The run command parameter name.",
- "type": "string"
- },
- "value": {
- "description": "The run command parameter value.",
- "type": "string"
- }
- },
- "required": [
- "name",
- "value"
- ],
- "type": "object"
- },
- "ScaleInPolicy": {
- "description": "Describes a scale-in policy for a virtual machine scale set.",
- "properties": {
- "forceDeletion": {
- "description": "This property allows you to specify if virtual machines chosen for removal have to be force deleted when a virtual machine scale set is being scaled-in.(Feature in Preview)",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "rules": {
- "description": "The rules to be followed when scaling-in a virtual machine scale set.
Possible values are:
**Default** When a virtual machine scale set is scaled in, the scale set will first be balanced across zones if it is a zonal scale set. Then, it will be balanced across Fault Domains as far as possible. Within each Fault Domain, the virtual machines chosen for removal will be the newest ones that are not protected from scale-in.
**OldestVM** When a virtual machine scale set is being scaled-in, the oldest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the oldest virtual machines that are not protected will be chosen for removal.
**NewestVM** When a virtual machine scale set is being scaled-in, the newest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the newest virtual machines that are not protected will be chosen for removal.
",
- "oneOf": [
- {
- "items": {
- "enum": [
- "Default",
- "OldestVM",
- "NewestVM"
- ],
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ScheduledEventsProfile": {
- "properties": {
- "terminateNotificationProfile": {
- "description": "Specifies Terminate Scheduled Event related configurations.",
- "oneOf": [
- {
- "$ref": "#/definitions/TerminateNotificationProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SecurityProfile": {
- "description": "Specifies the Security profile settings for the virtual machine or virtual machine scale set.",
- "properties": {
- "encryptionAtHost": {
- "description": "This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself.
Default: The Encryption at host will be disabled unless this property is set to true for the resource.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityType": {
- "description": "Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings.
Default: UefiSettings will not be enabled unless this property is set.",
- "oneOf": [
- {
- "enum": [
- "TrustedLaunch",
- "ConfidentialVM"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "uefiSettings": {
- "description": "Specifies the security settings like secure boot and vTPM used while creating the virtual machine.
Minimum api-version: 2020-12-01",
- "oneOf": [
- {
- "$ref": "#/definitions/UefiSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Sku": {
- "description": "Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name.",
- "properties": {
- "capacity": {
- "description": "Specifies the number of virtual machines in the scale set.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The sku name.",
- "type": "string"
- },
- "tier": {
- "description": "Specifies the tier of virtual machines in a scale set.
Possible Values:
**Standard**
**Basic**",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SpotRestorePolicy": {
- "description": "Specifies the Spot-Try-Restore properties for the virtual machine scale set.
With this property customer can enable or disable automatic restore of the evicted Spot VMSS VM instances opportunistically based on capacity availability and pricing constraint.",
- "properties": {
- "enabled": {
- "description": "Enables the Spot-Try-Restore feature where evicted VMSS SPOT instances will be tried to be restored opportunistically based on capacity availability and pricing constraints",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "restoreTimeout": {
- "description": "Timeout value expressed as an ISO 8601 time duration after which the platform will not try to restore the VMSS SPOT instances",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SshConfiguration": {
- "description": "SSH configuration for Linux based VMs running on Azure",
- "properties": {
- "publicKeys": {
- "description": "The list of SSH public keys used to authenticate with linux based VMs.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SshPublicKey"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SshPublicKey": {
- "description": "Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed.",
- "properties": {
- "keyData": {
- "description": "SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format.
For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure](https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed).",
- "type": "string"
- },
- "path": {
- "description": "Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SshPublicKeyResourceProperties": {
- "description": "Properties of the SSH public key.",
- "properties": {
- "publicKey": {
- "description": "SSH public key used to authenticate to a virtual machine through ssh. If this property is not initially provided when the resource is created, the publicKey property will be populated when generateKeyPair is called. If the public key is provided upon resource creation, the provided public key needs to be at least 2048-bit and in ssh-rsa format.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "StorageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add a data disk to a virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/DataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "$ref": "#/definitions/OSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SubResource": {
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "TerminateNotificationProfile": {
- "properties": {
- "enable": {
- "description": "Specifies whether the Terminate Scheduled event is enabled or disabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "notBeforeTimeout": {
- "description": "Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M)",
- "type": "string"
- }
- },
- "type": "object"
- },
- "UefiSettings": {
- "description": "Specifies the security settings like secure boot and vTPM used while creating the virtual machine.
Minimum api-version: 2020-12-01",
- "properties": {
- "secureBootEnabled": {
- "description": "Specifies whether secure boot should be enabled on the virtual machine.
Minimum api-version: 2020-12-01",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vTpmEnabled": {
- "description": "Specifies whether vTPM should be enabled on the virtual machine.
Minimum api-version: 2020-12-01",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "UpgradePolicy": {
- "description": "Describes an upgrade policy - automatic, manual, or rolling.",
- "properties": {
- "automaticOSUpgradePolicy": {
- "description": "Configuration parameters used for performing automatic OS Upgrade.",
- "oneOf": [
- {
- "$ref": "#/definitions/AutomaticOSUpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "mode": {
- "description": "Specifies the mode of an upgrade to virtual machines in the scale set.
Possible values are:
**Manual** - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.
**Automatic** - All virtual machines in the scale set are automatically updated at the same time.",
- "oneOf": [
- {
- "enum": [
- "Automatic",
- "Manual",
- "Rolling"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "rollingUpgradePolicy": {
- "description": "The configuration parameters used while performing a rolling upgrade.",
- "oneOf": [
- {
- "$ref": "#/definitions/RollingUpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "UserAssignedIdentitiesValue": {
- "properties": {},
- "type": "object"
- },
- "VMDiskSecurityProfile": {
- "description": "Specifies the security profile settings for the managed disk.
NOTE: It can only be set for Confidential VMs",
- "properties": {
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed disk that is used for Customer Managed Key encrypted ConfidentialVM OS Disk and VMGuest blob.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityEncryptionType": {
- "description": "Specifies the EncryptionType of the managed disk.
It is set to DiskWithVMGuestState for encryption of the managed disk along with VMGuestState blob, and VMGuestStateOnly for encryption of just the VMGuestState blob.
NOTE: It can be set for only Confidential VMs.",
- "oneOf": [
- {
- "enum": [
- "VMGuestStateOnly",
- "DiskWithVMGuestState"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VMGalleryApplication": {
- "description": "Specifies the required information to reference a compute gallery application version",
- "properties": {
- "configurationReference": {
- "description": "Optional, Specifies the uri to an azure blob that will replace the default configuration for the package if provided",
- "type": "string"
- },
- "order": {
- "description": "Optional, Specifies the order in which the packages have to be installed",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "packageReferenceId": {
- "description": "Specifies the GalleryApplicationVersion resource id on the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version}",
- "type": "string"
- },
- "tags": {
- "description": "Optional, Specifies a passthrough value for more generic context.",
- "type": "string"
- }
- },
- "required": [
- "packageReferenceId"
- ],
- "type": "object"
- },
- "VMSizeProperties": {
- "description": "Specifies VM Size Property settings on the virtual machine.",
- "properties": {
- "vCPUsAvailable": {
- "description": "Specifies the number of vCPUs available for the VM.
When this property is not specified in the request body the default behavior is to set it to the value of vCPUs available for that VM size exposed in api response of [List all available virtual machine sizes in a region](https://docs.microsoft.com/en-us/rest/api/compute/resource-skus/list) .",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vCPUsPerCore": {
- "description": "Specifies the vCPU to physical core ratio.
When this property is not specified in the request body the default behavior is set to the value of vCPUsPerCore for the VM Size exposed in api response of [List all available virtual machine sizes in a region](https://docs.microsoft.com/en-us/rest/api/compute/resource-skus/list)
Setting this property to 1 also means that hyper-threading is disabled.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VaultCertificate": {
- "description": "Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM.",
- "properties": {
- "certificateStore": {
- "description": "For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account.
For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of these files are .pem formatted.",
- "type": "string"
- },
- "certificateUrl": {
- "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:
{
\"data\":\"\",
\"dataType\":\"pfx\",
\"password\":\"\"
}
To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VaultSecretGroup": {
- "description": "Describes a set of certificates which are all in the same Key Vault.",
- "properties": {
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing all of the certificates in VaultCertificates.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vaultCertificates": {
- "description": "The list of key vault references in SourceVault which contain certificates.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultCertificate"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualHardDisk": {
- "description": "Describes the uri of a disk.",
- "properties": {
- "uri": {
- "description": "Specifies the virtual hard disk's uri.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineExtensionInstanceView": {
- "description": "The instance view of a virtual machine extension.",
- "properties": {
- "name": {
- "description": "The virtual machine extension name.",
- "type": "string"
- },
- "statuses": {
- "description": "The resource status information.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "substatuses": {
- "description": "The resource status information.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineExtensionProperties": {
- "description": "Describes the properties of a Virtual Machine Extension.",
- "properties": {
- "autoUpgradeMinorVersion": {
- "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticUpgrade": {
- "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "forceUpdateTag": {
- "description": "How the extension handler should be forced to update even if the extension configuration has not changed.",
- "type": "string"
- },
- "instanceView": {
- "description": "The virtual machine extension instance view.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionInstanceView"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedSettings": {
- "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedSettingsFromKeyVault": {
- "description": "The extensions protected settings that are passed by reference, and consumed from key vault",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publisher": {
- "description": "The name of the extension handler publisher.",
- "type": "string"
- },
- "settings": {
- "description": "Json formatted public settings for the extension.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "suppressFailures": {
- "description": "Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineIdentity": {
- "description": "Identity for the virtual machine.",
- "properties": {
- "type": {
- "description": "The type of identity used for the virtual machine. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned",
- "UserAssigned",
- "SystemAssigned, UserAssigned",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userAssignedIdentities": {
- "description": "The list of user identities associated with the Virtual Machine. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
- "oneOf": [
- {
- "additionalProperties": {
- "$ref": "#/definitions/UserAssignedIdentitiesValue"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineIpTag": {
- "description": "Contains the IP tag associated with the public IP address.",
- "properties": {
- "ipTagType": {
- "description": "IP tag type. Example: FirstPartyUsage.",
- "type": "string"
- },
- "tag": {
- "description": "IP tag associated with the public IP. Example: SQL, Storage etc.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineNetworkInterfaceConfiguration": {
- "description": "Describes a virtual machine network interface configurations.",
- "properties": {
- "name": {
- "description": "The network interface configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine network profile's IP configuration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineNetworkInterfaceConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineNetworkInterfaceConfigurationProperties": {
- "description": "Describes a virtual machine network profile's IP configuration.",
- "properties": {
- "deleteOption": {
- "description": "Specify what happens to the network interface when the VM is deleted",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dnsSettings": {
- "description": "The dns settings to be applied on the network interfaces.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineNetworkInterfaceDnsSettingsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dscpConfiguration": {
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAcceleratedNetworking": {
- "description": "Specifies whether the network interface is accelerated networking-enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableFpga": {
- "description": "Specifies whether the network interface is FPGA networking-enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableIPForwarding": {
- "description": "Whether IP forwarding enabled on this NIC.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipConfigurations": {
- "description": "Specifies the IP configurations of the network interface.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineNetworkInterfaceIPConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkSecurityGroup": {
- "description": "The network security group.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "ipConfigurations"
- ],
- "type": "object"
- },
- "VirtualMachineNetworkInterfaceDnsSettingsConfiguration": {
- "description": "Describes a virtual machines network configuration's DNS settings.",
- "properties": {
- "dnsServers": {
- "description": "List of DNS servers IP addresses",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineNetworkInterfaceIPConfiguration": {
- "description": "Describes a virtual machine network profile's IP configuration.",
- "properties": {
- "name": {
- "description": "The IP configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine network interface IP configuration properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineNetworkInterfaceIPConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineNetworkInterfaceIPConfigurationProperties": {
- "description": "Describes a virtual machine network interface IP configuration properties.",
- "properties": {
- "applicationGatewayBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of application gateways. A virtual machine can reference backend address pools of multiple application gateways. Multiple virtual machines cannot use the same application gateway.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "applicationSecurityGroups": {
- "description": "Specifies an array of references to application security group.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of load balancers. A virtual machine can reference backend address pools of one public and one internal load balancer. [Multiple virtual machines cannot use the same basic sku load balancer].",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "privateIPAddressVersion": {
- "description": "Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressConfiguration": {
- "description": "The publicIPAddressConfiguration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachinePublicIPAddressConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "subnet": {
- "description": "Specifies the identifier of the subnet.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineProperties": {
- "description": "Describes the properties of a Virtual Machine.",
- "properties": {
- "additionalCapabilities": {
- "description": "Specifies additional capabilities enabled or disabled on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/AdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "applicationProfile": {
- "description": "Specifies the gallery applications that should be made available to the VM/VMSS",
- "oneOf": [
- {
- "$ref": "#/definitions/ApplicationProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "availabilitySet": {
- "description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Availability sets overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview).
For more information on Azure planned maintenance, see [Maintenance and updates for Virtual Machines in Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates)
Currently, a VM can only be added to availability set at creation time. The availability set to which the VM is being added should be under the same resource group as the availability set resource. An existing VM cannot be added to an availability set.
This property cannot exist along with a non-null properties.virtualMachineScaleSet reference.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "billingProfile": {
- "description": "Specifies the billing related details of a Azure Spot virtual machine.
Minimum api-version: 2019-03-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/BillingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "capacityReservation": {
- "description": "Specifies information about the capacity reservation that is used to allocate virtual machine.
Minimum api-version: 2021-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/CapacityReservationProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "evictionPolicy": {
- "description": "Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set.
For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01.
For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview.",
- "oneOf": [
- {
- "enum": [
- "Deallocate",
- "Delete"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extensionsTimeBudget": {
- "description": "Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M).
Minimum api-version: 2020-06-01",
- "type": "string"
- },
- "hardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/HardwareProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "host": {
- "description": "Specifies information about the dedicated host that the virtual machine resides in.
Minimum api-version: 2018-10-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hostGroup": {
- "description": "Specifies information about the dedicated host group that the virtual machine resides in.
Minimum api-version: 2020-06-01.
NOTE: User cannot specify both host and hostGroup properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises.
Possible values for Windows Server operating system are:
Windows_Client
Windows_Server
Possible values for Linux Server operating system are:
RHEL_BYOS (for RHEL)
SLES_BYOS (for SUSE)
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)
[Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings used while creating the virtual machine. Some of the settings cannot be changed once VM is provisioned.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformFaultDomain": {
- "description": "Specifies the scale set logical fault domain into which the Virtual Machine will be created. By default, the Virtual Machine will by automatically assigned to a fault domain that best maintains balance across available fault domains.
This is applicable only if the 'virtualMachineScaleSet' property of this Virtual Machine is set.The Virtual Machine Scale Set that is referenced, must have 'platformFaultDomainCount' > 1.This property cannot be updated once the Virtual Machine is created.Fault domain assignment can be viewed in the Virtual Machine Instance View.
Minimum api‐version: 2020‐12‐01",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "priority": {
- "description": "Specifies the priority for the virtual machine.
Minimum api-version: 2019-03-01",
- "oneOf": [
- {
- "enum": [
- "Regular",
- "Low",
- "Spot"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the virtual machine should be assigned to.
Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "scheduledEventsProfile": {
- "description": "Specifies Scheduled Event related configurations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ScheduledEventsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Specifies the Security related profile settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/SecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/StorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userData": {
- "description": "UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here.
Minimum api-version: 2021-03-01",
- "type": "string"
- },
- "virtualMachineScaleSet": {
- "description": "Specifies information about the virtual machine scale set that the virtual machine should be assigned to. Virtual machines specified in the same virtual machine scale set are allocated to different nodes to maximize availability. Currently, a VM can only be added to virtual machine scale set at creation time. An existing VM cannot be added to a virtual machine scale set.
This property cannot exist along with a non-null properties.availabilitySet reference.
Minimum api‐version: 2019‐03‐01",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachinePublicIPAddressConfiguration": {
- "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration",
- "properties": {
- "name": {
- "description": "The publicIP address configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachinePublicIPAddressConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible.",
- "oneOf": [
- {
- "$ref": "#/definitions/PublicIPAddressSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachinePublicIPAddressConfigurationProperties": {
- "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration",
- "properties": {
- "deleteOption": {
- "description": "Specify what happens to the public IP address when the VM is deleted",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dnsSettings": {
- "description": "The dns settings to be applied on the publicIP addresses .",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachinePublicIPAddressDnsSettingsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "idleTimeoutInMinutes": {
- "description": "The idle timeout of the public IP address.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipTags": {
- "description": "The list of IP tags associated with the public IP address.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineIpTag"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressVersion": {
- "description": "Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAllocationMethod": {
- "description": "Specify the public IP allocation type",
- "oneOf": [
- {
- "enum": [
- "Dynamic",
- "Static"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPPrefix": {
- "description": "The PublicIPPrefix from which to allocate publicIP addresses.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachinePublicIPAddressDnsSettingsConfiguration": {
- "description": "Describes a virtual machines network configuration's DNS settings.",
- "properties": {
- "domainNameLabel": {
- "description": "The Domain name label prefix of the PublicIPAddress resources that will be created. The generated name label is the concatenation of the domain name label and vm network profile unique ID.",
- "type": "string"
- }
- },
- "required": [
- "domainNameLabel"
- ],
- "type": "object"
- },
- "VirtualMachineRunCommandProperties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "properties": {
- "asyncExecution": {
- "description": "Optional. If set to true, provisioning will complete as soon as the script starts and will not wait for script to complete.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "errorBlobUri": {
- "description": "Specifies the Azure storage blob where script error stream will be uploaded.",
- "type": "string"
- },
- "outputBlobUri": {
- "description": "Specifies the Azure storage blob where script output stream will be uploaded.",
- "type": "string"
- },
- "parameters": {
- "description": "The parameters used by the script.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/RunCommandInputParameter"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedParameters": {
- "description": "The parameters used by the script.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/RunCommandInputParameter"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "runAsPassword": {
- "description": "Specifies the user account password on the VM when executing the run command.",
- "type": "string"
- },
- "runAsUser": {
- "description": "Specifies the user account on the VM when executing the run command.",
- "type": "string"
- },
- "source": {
- "description": "The source of the run command script.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandScriptSource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "timeoutInSeconds": {
- "description": "The timeout in seconds to execute the run command.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineRunCommandScriptSource": {
- "description": "Describes the script sources for run command.",
- "properties": {
- "commandId": {
- "description": "Specifies a commandId of predefined built-in script.",
- "type": "string"
- },
- "script": {
- "description": "Specifies the script content to be executed on the VM.",
- "type": "string"
- },
- "scriptUri": {
- "description": "Specifies the script download location.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetDataDisk": {
- "description": "Describes a virtual machine scale set data disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "The create option.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskIOPSReadWrite": {
- "description": "Specifies the Read-Write IOPS for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskMBpsReadWrite": {
- "description": "Specifies the bandwidth in MB per second for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun",
- "createOption"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetExtension": {
- "description": "Describes a Virtual Machine Scale Set Extension.",
- "properties": {
- "name": {
- "description": "The name of the extension.",
- "type": "string"
- },
- "properties": {
- "anyOf": [
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/genericExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/bgInfo"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/dscExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackup"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/chefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/dockerExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/eset"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/puppetAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/customScript"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetExtensionProfile": {
- "description": "Describes a virtual machine scale set extension profile.",
- "properties": {
- "extensions": {
- "description": "The virtual machine scale set child extension resources.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetExtension"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extensionsTimeBudget": {
- "description": "Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M).
Minimum api-version: 2020-06-01",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetExtensionProperties": {
- "description": "Describes the properties of a Virtual Machine Scale Set Extension.",
- "properties": {
- "autoUpgradeMinorVersion": {
- "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticUpgrade": {
- "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "forceUpdateTag": {
- "description": "If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.",
- "type": "string"
- },
- "protectedSettings": {
- "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedSettingsFromKeyVault": {
- "description": "The extensions protected settings that are passed by reference, and consumed from key vault",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionAfterExtensions": {
- "description": "Collection of extension names after which this extension needs to be provisioned.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publisher": {
- "description": "The name of the extension handler publisher.",
- "type": "string"
- },
- "settings": {
- "description": "Json formatted public settings for the extension.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "suppressFailures": {
- "description": "Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetHardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine scale set.",
- "properties": {
- "vmSizeProperties": {
- "description": "Specifies the properties for customizing the size of the virtual machine. Minimum api-version: 2021-11-01.
Please follow the instructions in [VM Customization](https://aka.ms/vmcustomization) for more details.",
- "oneOf": [
- {
- "$ref": "#/definitions/VMSizeProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIPConfiguration": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "name": {
- "description": "The IP configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetIPConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetIPConfigurationProperties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration properties.",
- "properties": {
- "applicationGatewayBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of application gateways. A scale set can reference backend address pools of multiple application gateways. Multiple scale sets cannot use the same application gateway.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "applicationSecurityGroups": {
- "description": "Specifies an array of references to application security group.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of load balancers. A scale set can reference backend address pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerInboundNatPools": {
- "description": "Specifies an array of references to inbound Nat pools of the load balancers. A scale set can reference inbound nat pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "privateIPAddressVersion": {
- "description": "Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressConfiguration": {
- "description": "The publicIPAddressConfiguration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "subnet": {
- "description": "Specifies the identifier of the subnet.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApiEntityReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIdentity": {
- "description": "Identity for the virtual machine scale set.",
- "properties": {
- "type": {
- "description": "The type of identity used for the virtual machine scale set. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine scale set.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned",
- "UserAssigned",
- "SystemAssigned, UserAssigned",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userAssignedIdentities": {
- "description": "The list of user identities associated with the virtual machine scale set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
- "oneOf": [
- {
- "additionalProperties": {
- "$ref": "#/definitions/VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue": {
- "properties": {},
- "type": "object"
- },
- "VirtualMachineScaleSetIpTag": {
- "description": "Contains the IP tag associated with the public IP address.",
- "properties": {
- "ipTagType": {
- "description": "IP tag type. Example: FirstPartyUsage.",
- "type": "string"
- },
- "tag": {
- "description": "IP tag associated with the public IP. Example: SQL, Storage etc.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetManagedDiskParameters": {
- "description": "Describes the parameters of a ScaleSet managed disk.",
- "properties": {
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Specifies the security profile for the managed disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VMDiskSecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS",
- "Premium_ZRS",
- "StandardSSD_ZRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfiguration": {
- "description": "Describes a virtual machine scale set network profile's network configurations.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "name": {
- "description": "The network configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfigurationDnsSettings": {
- "description": "Describes a virtual machines scale sets network configuration's DNS settings.",
- "properties": {
- "dnsServers": {
- "description": "List of DNS servers IP addresses",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfigurationProperties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "properties": {
- "deleteOption": {
- "description": "Specify what happens to the network interface when the VM is deleted",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dnsSettings": {
- "description": "The dns settings to be applied on the network interfaces.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationDnsSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAcceleratedNetworking": {
- "description": "Specifies whether the network interface is accelerated networking-enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableFpga": {
- "description": "Specifies whether the network interface is FPGA networking-enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableIPForwarding": {
- "description": "Whether IP forwarding enabled on this NIC.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipConfigurations": {
- "description": "Specifies the IP configurations of the network interface.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetIPConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkSecurityGroup": {
- "description": "The network security group.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "ipConfigurations"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkProfile": {
- "description": "Describes a virtual machine scale set network profile.",
- "properties": {
- "healthProbe": {
- "description": "A reference to a load balancer probe used to determine the health of an instance in the virtual machine scale set. The reference will be in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApiEntityReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkApiVersion": {
- "description": "specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations for Virtual Machine Scale Set with orchestration mode 'Flexible'",
- "oneOf": [
- {
- "enum": [
- "2020-11-01"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkInterfaceConfigurations": {
- "description": "The list of network configurations.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetOSDisk": {
- "description": "Describes a virtual machine scale set operating system disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machines in the scale set should be created.
The only allowed value is: **FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diffDiskSettings": {
- "description": "Specifies the ephemeral disk Settings for the operating system disk used by the virtual machine scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiffDiskSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of the operating system disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "Specifies information about the unmanaged user image to base the scale set on.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhdContainers": {
- "description": "Specifies the container urls that are used to store operating system disks for the scale set.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetOSProfile": {
- "description": "Describes a virtual machine scale set OS profile.",
- "properties": {
- "adminPassword": {
- "description": "Specifies the password of the administrator account.
**Minimum-length (Windows):** 8 characters
**Minimum-length (Linux):** 6 characters
**Max-length (Windows):** 123 characters
**Max-length (Linux):** 72 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])
**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"
For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp)
For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)",
- "type": "string"
- },
- "adminUsername": {
- "description": "Specifies the name of the administrator account.
**Windows-only restriction:** Cannot end in \".\"
**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters",
- "type": "string"
- },
- "allowExtensionOperations": {
- "description": "Specifies whether extension operations should be allowed on the virtual machine scale set.
This may only be set to False when no extensions are present on the virtual machine scale set.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "computerNamePrefix": {
- "description": "Specifies the computer name prefix for all of the virtual machines in the scale set. Computer name prefixes must be 1 to 15 characters long.",
- "type": "string"
- },
- "customData": {
- "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes.
For using cloud-init for your VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init)",
- "type": "string"
- },
- "linuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros).",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "secrets": {
- "description": "Specifies set of certificates that should be installed onto the virtual machines in the scale set. To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultSecretGroup"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "windowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/WindowsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetProperties": {
- "description": "Describes the properties of a Virtual Machine Scale Set.",
- "properties": {
- "additionalCapabilities": {
- "description": "Specifies additional capabilities enabled or disabled on the Virtual Machines in the Virtual Machine Scale Set. For instance: whether the Virtual Machines have the capability to support attaching managed data disks with UltraSSD_LRS storage account type.",
- "oneOf": [
- {
- "$ref": "#/definitions/AdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "automaticRepairsPolicy": {
- "description": "Policy for automatic repairs.",
- "oneOf": [
- {
- "$ref": "#/definitions/AutomaticRepairsPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "doNotRunExtensionsOnOverprovisionedVMs": {
- "description": "When Overprovision is enabled, extensions are launched only on the requested number of VMs which are finally kept. This property will hence ensure that the extensions do not run on the extra overprovisioned VMs.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hostGroup": {
- "description": "Specifies information about the dedicated host group that the virtual machine scale set resides in.
Minimum api-version: 2020-06-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "orchestrationMode": {
- "description": "Specifies the orchestration mode for the virtual machine scale set.",
- "oneOf": [
- {
- "enum": [
- "Uniform",
- "Flexible"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "overprovision": {
- "description": "Specifies whether the Virtual Machine Scale Set should be overprovisioned.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformFaultDomainCount": {
- "description": "Fault Domain count for each placement group.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the virtual machine scale set should be assigned to.
Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "scaleInPolicy": {
- "description": "Specifies the policies applied when scaling in Virtual Machines in the Virtual Machine Scale Set.",
- "oneOf": [
- {
- "$ref": "#/definitions/ScaleInPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "singlePlacementGroup": {
- "description": "When true this limits the scale set to a single placement group, of max size 100 virtual machines. NOTE: If singlePlacementGroup is true, it may be modified to false. However, if singlePlacementGroup is false, it may not be modified to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "spotRestorePolicy": {
- "description": "Specifies the Spot Restore properties for the virtual machine scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/SpotRestorePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "upgradePolicy": {
- "description": "The upgrade policy.",
- "oneOf": [
- {
- "$ref": "#/definitions/UpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "virtualMachineProfile": {
- "description": "The virtual machine profile.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "zoneBalance": {
- "description": "Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage. zoneBalance property can only be set if the zones property of the scale set contains more than one zone. If there are no zones or only one zone specified, then zoneBalance property should not be set.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfiguration": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "properties": {
- "name": {
- "description": "The publicIP address configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible.",
- "oneOf": [
- {
- "$ref": "#/definitions/PublicIPAddressSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings": {
- "description": "Describes a virtual machines scale sets network configuration's DNS settings.",
- "properties": {
- "domainNameLabel": {
- "description": "The Domain name label.The concatenation of the domain name label and vm index will be the domain name labels of the PublicIPAddress resources that will be created",
- "type": "string"
- }
- },
- "required": [
- "domainNameLabel"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfigurationProperties": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "properties": {
- "deleteOption": {
- "description": "Specify what happens to the public IP when the VM is deleted",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dnsSettings": {
- "description": "The dns settings to be applied on the publicIP addresses .",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "idleTimeoutInMinutes": {
- "description": "The idle timeout of the public IP address.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipTags": {
- "description": "The list of IP tags associated with the public IP address.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetIpTag"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressVersion": {
- "description": "Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPPrefix": {
- "description": "The PublicIPPrefix from which to allocate publicIP addresses.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetStorageProfile": {
- "description": "Describes a virtual machine scale set storage profile.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add data disks to the virtual machines in the scale set.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetDataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machines in the scale set.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetOSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMNetworkProfileConfiguration": {
- "description": "Describes a virtual machine scale set VM network profile.",
- "properties": {
- "networkInterfaceConfigurations": {
- "description": "The list of network configurations.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProfile": {
- "description": "Describes a virtual machine scale set virtual machine profile.",
- "properties": {
- "applicationProfile": {
- "description": "Specifies the gallery applications that should be made available to the VM/VMSS",
- "oneOf": [
- {
- "$ref": "#/definitions/ApplicationProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "billingProfile": {
- "description": "Specifies the billing related details of a Azure Spot VMSS.
Minimum api-version: 2019-03-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/BillingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "capacityReservation": {
- "description": "Specifies the capacity reservation related details of a scale set.
Minimum api-version: 2021-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/CapacityReservationProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "evictionPolicy": {
- "description": "Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set.
For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01.
For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview.",
- "oneOf": [
- {
- "enum": [
- "Deallocate",
- "Delete"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extensionProfile": {
- "description": "Specifies a collection of settings for extensions installed on virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetExtensionProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hardwareProfile": {
- "description": "Specifies the hardware profile related details of a scale set.
Minimum api-version: 2021-11-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetHardwareProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises.
Possible values for Windows Server operating system are:
Windows_Client
Windows_Server
Possible values for Linux Server operating system are:
RHEL_BYOS (for RHEL)
SLES_BYOS (for SUSE)
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)
[Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies properties of the network interfaces of the virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings for the virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetOSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "priority": {
- "description": "Specifies the priority for the virtual machines in the scale set.
Minimum api-version: 2017-10-30-preview",
- "oneOf": [
- {
- "enum": [
- "Regular",
- "Low",
- "Spot"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "scheduledEventsProfile": {
- "description": "Specifies Scheduled Event related configurations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ScheduledEventsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Specifies the Security related profile settings for the virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/SecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userData": {
- "description": "UserData for the virtual machines in the scale set, which must be base-64 encoded. Customer should not pass any secrets in here.
Minimum api-version: 2021-03-01",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProperties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "properties": {
- "additionalCapabilities": {
- "description": "Specifies additional capabilities enabled or disabled on the virtual machine in the scale set. For instance: whether the virtual machine has the capability to support attaching managed data disks with UltraSSD_LRS storage account type.",
- "oneOf": [
- {
- "$ref": "#/definitions/AdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "availabilitySet": {
- "description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Availability sets overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview).
For more information on Azure planned maintenance, see [Maintenance and updates for Virtual Machines in Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates)
Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/HardwareProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises.
Possible values for Windows Server operating system are:
Windows_Client
Windows_Server
Possible values for Linux Server operating system are:
RHEL_BYOS (for RHEL)
SLES_BYOS (for SUSE)
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)
[Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkProfileConfiguration": {
- "description": "Specifies the network profile configuration of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMNetworkProfileConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectionPolicy": {
- "description": "Specifies the protection policy of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProtectionPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Specifies the Security related profile settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/SecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/StorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userData": {
- "description": "UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here.
Minimum api-version: 2021-03-01",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProtectionPolicy": {
- "description": "The protection policy of a virtual machine scale set VM.",
- "properties": {
- "protectFromScaleIn": {
- "description": "Indicates that the virtual machine scale set VM shouldn't be considered for deletion during a scale-in operation.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectFromScaleSetActions": {
- "description": "Indicates that model updates or actions (including scale-in) initiated on the virtual machine scale set should not be applied to the virtual machine scale set VM.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WinRMConfiguration": {
- "description": "Describes Windows Remote Management configuration of the VM",
- "properties": {
- "listeners": {
- "description": "The list of Windows Remote Management listeners",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/WinRMListener"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WinRMListener": {
- "description": "Describes Protocol and thumbprint of Windows Remote Management listener",
- "properties": {
- "certificateUrl": {
- "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:
{
\"data\":\"\",
\"dataType\":\"pfx\",
\"password\":\"\"
}
To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).",
- "type": "string"
- },
- "protocol": {
- "description": "Specifies the protocol of WinRM listener.
Possible values are:
**http**
**https**",
- "oneOf": [
- {
- "enum": [
- "Http",
- "Https"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WindowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "properties": {
- "additionalUnattendContent": {
- "description": "Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/AdditionalUnattendContent"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticUpdates": {
- "description": "Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value is true.
For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "patchSettings": {
- "description": "[Preview Feature] Specifies settings related to VM Guest Patching on Windows.",
- "oneOf": [
- {
- "$ref": "#/definitions/PatchSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionVMAgent": {
- "description": "Indicates whether virtual machine agent should be provisioned on the virtual machine.
When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "timeZone": {
- "description": "Specifies the time zone of the virtual machine. e.g. \"Pacific Standard Time\".
Possible values can be [TimeZoneInfo.Id](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.id?#System_TimeZoneInfo_Id) value from time zones returned by [TimeZoneInfo.GetSystemTimeZones](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.getsystemtimezones).",
- "type": "string"
- },
- "winRM": {
- "description": "Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.",
- "oneOf": [
- {
- "$ref": "#/definitions/WinRMConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "capacityReservationGroups_capacityReservations_childResource": {
- "description": "Microsoft.Compute/capacityReservationGroups/capacityReservations",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-11-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the capacity reservation.",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the Capacity reservation.",
- "oneOf": [
- {
- "$ref": "#/definitions/CapacityReservationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "SKU of the resource for which capacity needs be reserved. The SKU name and capacity is required to be set. Currently VM Skus with the capability called 'CapacityReservationSupported' set to true are supported. Refer to List Microsoft.Compute SKUs in a region (https://docs.microsoft.com/rest/api/compute/resourceskus/list) for supported values.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "capacityReservations"
- ],
- "type": "string"
- },
- "zones": {
- "description": "Availability Zone to use for this capacity reservation. The zone has to be single value and also should be part for the list of zones specified during the capacity reservation group creation. The zone can be assigned only during creation. If not provided, the reservation supports only non-zonal deployments. If provided, enforces VM/VMSS using this capacity reservation to be in same zone.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "hostGroups_hosts_childResource": {
- "description": "Microsoft.Compute/hostGroups/hosts",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-11-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the dedicated host .",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the dedicated host.",
- "oneOf": [
- {
- "$ref": "#/definitions/DedicatedHostProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be set. List Microsoft.Compute SKUs for a list of possible values.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "hosts"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "restorePointCollections_restorePoints_childResource": {
- "description": "Microsoft.Compute/restorePointCollections/restorePoints",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-11-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the restore point.",
- "type": "string"
- },
- "properties": {
- "description": "The restore point properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/RestorePointProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "restorePoints"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-11-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the VM scale set extension.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Scale Set Extension.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetExtensionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-11-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The instance ID of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "virtualMachines"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-11-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine extension.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Extension.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_runCommands_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/runCommands",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-11-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine run command.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "runCommands"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachines/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-11-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine extension.",
- "type": "string"
- },
- "properties": {
- "anyOf": [
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/genericExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/bgInfo"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/dscExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackup"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/chefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/dockerExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/eset"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/puppetAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/customScript"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines_runCommands_childResource": {
- "description": "Microsoft.Compute/virtualMachines/runCommands",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-11-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine run command.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "runCommands"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- }
-}
\ No newline at end of file
diff --git a/schemas/2021-12-01/Microsoft.Compute.json b/schemas/2021-12-01/Microsoft.Compute.json
deleted file mode 100644
index 9f5e427404..0000000000
--- a/schemas/2021-12-01/Microsoft.Compute.json
+++ /dev/null
@@ -1,1432 +0,0 @@
-{
- "id": "https://schema.management.azure.com/schemas/2021-12-01/Microsoft.Compute.json#",
- "title": "Microsoft.Compute",
- "description": "Microsoft Compute Resource Types",
- "$schema": "http://json-schema.org/draft-04/schema#",
- "resourceDefinitions": {
- "diskAccesses": {
- "description": "Microsoft.Compute/diskAccesses",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-12-01"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location where the disk access will be created. Extended location cannot be changed.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the disk access resource that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "oneOf": [
- {
- "$ref": "#/definitions/DiskAccessProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/diskAccesses_privateEndpointConnections_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/diskAccesses"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "diskAccesses_privateEndpointConnections": {
- "description": "Microsoft.Compute/diskAccesses/privateEndpointConnections",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-12-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the private endpoint connection.",
- "type": "string"
- },
- "properties": {
- "description": "Resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/PrivateEndpointConnectionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/diskAccesses/privateEndpointConnections"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "diskEncryptionSets": {
- "description": "Microsoft.Compute/diskEncryptionSets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-12-01"
- ],
- "type": "string"
- },
- "identity": {
- "description": "The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSetIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the disk encryption set that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/diskEncryptionSets"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "disks": {
- "description": "Microsoft.Compute/disks",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-12-01"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location where the disk will be created. Extended location cannot be changed.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Disk resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, or StandardSSD_ZRS.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/disks"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The Logical zone list for Disk.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "snapshots": {
- "description": "Microsoft.Compute/snapshots",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-12-01"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location where the snapshot will be created. Extended location cannot be changed.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The max name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Snapshot resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/SnapshotProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot",
- "oneOf": [
- {
- "$ref": "#/definitions/SnapshotSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/snapshots"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- },
- "definitions": {
- "CreationData": {
- "description": "Data used when creating a disk.",
- "properties": {
- "createOption": {
- "description": "This enumerates the possible sources of a disk's creation.",
- "oneOf": [
- {
- "enum": [
- "Empty",
- "Attach",
- "FromImage",
- "Import",
- "Copy",
- "Restore",
- "Upload",
- "CopyStart",
- "ImportSecure",
- "UploadPreparedSecure"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "galleryImageReference": {
- "description": "Required if creating from a Gallery Image. The id of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageDiskReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Disk source information.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageDiskReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "logicalSectorSize": {
- "description": "Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityDataUri": {
- "description": "If createOption is ImportSecure, this is the URI of a blob to be imported into VM guest state.",
- "type": "string"
- },
- "sourceResourceId": {
- "description": "If createOption is Copy, this is the ARM id of the source snapshot or disk.",
- "type": "string"
- },
- "sourceUri": {
- "description": "If createOption is Import, this is the URI of a blob to be imported into a managed disk.",
- "type": "string"
- },
- "storageAccountId": {
- "description": "Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk.",
- "type": "string"
- },
- "uploadSizeBytes": {
- "description": "If createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer).",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "DiskAccessProperties": {
- "properties": {},
- "type": "object"
- },
- "DiskProperties": {
- "description": "Disk resource properties.",
- "properties": {
- "burstingEnabled": {
- "description": "Set to true to enable bursting beyond the provisioned performance target of the disk. Bursting is disabled by default. Does not apply to Ultra disks.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "completionPercent": {
- "description": "Percentage complete for the background copy when a resource is created via the CopyStart operation.",
- "oneOf": [
- {
- "type": "number"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "creationData": {
- "description": "Disk source information. CreationData information cannot be changed after the disk has been created.",
- "oneOf": [
- {
- "$ref": "#/definitions/CreationData"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dataAccessAuthMode": {
- "description": "Additional authentication requirements when exporting or uploading to a disk or snapshot.",
- "oneOf": [
- {
- "enum": [
- "AzureActiveDirectory",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskAccessId": {
- "description": "ARM id of the DiskAccess resource for using private endpoints on disks.",
- "type": "string"
- },
- "diskIOPSReadOnly": {
- "description": "The total number of IOPS that will be allowed across all VMs mounting the shared disk as ReadOnly. One operation can transfer between 4k and 256k bytes.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskIOPSReadWrite": {
- "description": "The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskMBpsReadOnly": {
- "description": "The total throughput (MBps) that will be allowed across all VMs mounting the shared disk as ReadOnly. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskMBpsReadWrite": {
- "description": "The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryption": {
- "description": "Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.",
- "oneOf": [
- {
- "$ref": "#/definitions/Encryption"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettingsCollection": {
- "description": "Encryption settings collection used for Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSettingsCollection"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hyperVGeneration": {
- "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxShares": {
- "description": "The maximum number of VMs that can attach to the disk at the same time. Value greater than one indicates a disk that can be mounted on multiple VMs at the same time.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkAccessPolicy": {
- "description": "Policy for accessing the disk via network.",
- "oneOf": [
- {
- "enum": [
- "AllowAll",
- "AllowPrivate",
- "DenyAll"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "The Operating System type.",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicNetworkAccess": {
- "description": "Policy for controlling export on the disk.",
- "oneOf": [
- {
- "enum": [
- "Enabled",
- "Disabled"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "purchasePlan": {
- "description": "Purchase plan information for the the image from which the OS disk was created. E.g. - {name: 2019-Datacenter, publisher: MicrosoftWindowsServer, product: WindowsServer}",
- "oneOf": [
- {
- "$ref": "#/definitions/PurchasePlan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Contains the security related information for the resource.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskSecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "supportedCapabilities": {
- "description": "List of supported capabilities for the image from which the OS disk was created.",
- "oneOf": [
- {
- "$ref": "#/definitions/SupportedCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "supportsHibernation": {
- "description": "Indicates the OS on a disk supports hibernation.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tier": {
- "description": "Performance tier of the disk (e.g, P4, S10) as described here: https://azure.microsoft.com/en-us/pricing/details/managed-disks/. Does not apply to Ultra disks.",
- "type": "string"
- }
- },
- "required": [
- "creationData"
- ],
- "type": "object"
- },
- "DiskSecurityProfile": {
- "description": "Contains the security related information for the resource.",
- "properties": {
- "secureVMDiskEncryptionSetId": {
- "description": "ResourceId of the disk encryption set associated to Confidential VM supported disk encrypted with customer managed key",
- "type": "string"
- },
- "securityType": {
- "description": "Specifies the SecurityType of the VM. Applicable for OS disks only.",
- "oneOf": [
- {
- "enum": [
- "TrustedLaunch",
- "ConfidentialVM_VMGuestStateOnlyEncryptedWithPlatformKey",
- "ConfidentialVM_DiskEncryptedWithPlatformKey",
- "ConfidentialVM_DiskEncryptedWithCustomerKey"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiskSku": {
- "description": "The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, or StandardSSD_ZRS.",
- "properties": {
- "name": {
- "description": "The sku name.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS",
- "Premium_ZRS",
- "StandardSSD_ZRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Encryption": {
- "description": "Encryption at rest settings for disk or snapshot",
- "properties": {
- "diskEncryptionSetId": {
- "description": "ResourceId of the disk encryption set to use for enabling encryption at rest.",
- "type": "string"
- },
- "type": {
- "description": "The type of key used to encrypt the data of the disk.",
- "oneOf": [
- {
- "enum": [
- "EncryptionAtRestWithPlatformKey",
- "EncryptionAtRestWithCustomerKey",
- "EncryptionAtRestWithPlatformAndCustomerKeys"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "EncryptionSetIdentity": {
- "description": "The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks.",
- "properties": {
- "type": {
- "description": "The type of Managed Identity used by the DiskEncryptionSet. Only SystemAssigned is supported for new creations. Disk Encryption Sets can be updated with Identity type None during migration of subscription to a new Azure Active Directory tenant; it will cause the encrypted resources to lose access to the keys.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "EncryptionSetProperties": {
- "properties": {
- "activeKey": {
- "description": "The key vault key which is currently used by this disk encryption set.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyForDiskEncryptionSet"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionType": {
- "description": "The type of key used to encrypt the data of the disk.",
- "oneOf": [
- {
- "enum": [
- "EncryptionAtRestWithCustomerKey",
- "EncryptionAtRestWithPlatformAndCustomerKeys",
- "ConfidentialVmEncryptedWithCustomerKey"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "rotationToLatestKeyVersionEnabled": {
- "description": "Set this flag to true to enable auto-updating of this disk encryption set to the latest key version.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "EncryptionSettingsCollection": {
- "description": "Encryption settings for disk or snapshot",
- "properties": {
- "enabled": {
- "description": "Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettings": {
- "description": "A collection of encryption settings, one for each disk volume.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/EncryptionSettingsElement"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettingsVersion": {
- "description": "Describes what type of encryption is used for the disks. Once this field is set, it cannot be overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption.",
- "type": "string"
- }
- },
- "required": [
- "enabled"
- ],
- "type": "object"
- },
- "EncryptionSettingsElement": {
- "description": "Encryption settings for one disk volume.",
- "properties": {
- "diskEncryptionKey": {
- "description": "Key Vault Secret Url and vault id of the disk encryption key",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultAndSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "keyEncryptionKey": {
- "description": "Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultAndKeyReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ExtendedLocation": {
- "description": "The complex type of the extended location.",
- "properties": {
- "name": {
- "description": "The name of the extended location.",
- "type": "string"
- },
- "type": {
- "description": "The type of the extended location.",
- "oneOf": [
- {
- "enum": [
- "EdgeZone"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImageDiskReference": {
- "description": "The source image used for creating the disk.",
- "properties": {
- "id": {
- "description": "A relative uri containing either a Platform Image Repository or user image reference.",
- "type": "string"
- },
- "lun": {
- "description": "If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "id"
- ],
- "type": "object"
- },
- "KeyForDiskEncryptionSet": {
- "description": "Key Vault Key Url to be used for server side encryption of Managed Disks and Snapshots",
- "properties": {
- "keyUrl": {
- "description": "Fully versioned Key Url pointing to a key in KeyVault. Version segment of the Url is required regardless of rotationToLatestKeyVersionEnabled value.",
- "type": "string"
- },
- "sourceVault": {
- "description": "Resource id of the KeyVault containing the key or secret. This property is optional and cannot be used if the KeyVault subscription is not the same as the Disk Encryption Set subscription.",
- "oneOf": [
- {
- "$ref": "#/definitions/SourceVault"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "keyUrl"
- ],
- "type": "object"
- },
- "KeyVaultAndKeyReference": {
- "description": "Key Vault Key Url and vault id of KeK, KeK is optional and when provided is used to unwrap the encryptionKey",
- "properties": {
- "keyUrl": {
- "description": "Url pointing to a key or secret in KeyVault",
- "type": "string"
- },
- "sourceVault": {
- "description": "Resource id of the KeyVault containing the key or secret",
- "oneOf": [
- {
- "$ref": "#/definitions/SourceVault"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "sourceVault",
- "keyUrl"
- ],
- "type": "object"
- },
- "KeyVaultAndSecretReference": {
- "description": "Key Vault Secret Url and vault id of the encryption key ",
- "properties": {
- "secretUrl": {
- "description": "Url pointing to a key or secret in KeyVault",
- "type": "string"
- },
- "sourceVault": {
- "description": "Resource id of the KeyVault containing the key or secret",
- "oneOf": [
- {
- "$ref": "#/definitions/SourceVault"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "sourceVault",
- "secretUrl"
- ],
- "type": "object"
- },
- "PrivateEndpointConnectionProperties": {
- "description": "Properties of the PrivateEndpointConnectProperties.",
- "properties": {
- "privateLinkServiceConnectionState": {
- "description": "A collection of information about the state of the connection between DiskAccess and Virtual Network.",
- "oneOf": [
- {
- "$ref": "#/definitions/PrivateLinkServiceConnectionState"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "privateLinkServiceConnectionState"
- ],
- "type": "object"
- },
- "PrivateLinkServiceConnectionState": {
- "description": "A collection of information about the state of the connection between service consumer and provider.",
- "properties": {
- "actionsRequired": {
- "description": "A message indicating if changes on the service provider require any updates on the consumer.",
- "type": "string"
- },
- "description": {
- "description": "The reason for approval/rejection of the connection.",
- "type": "string"
- },
- "status": {
- "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.",
- "oneOf": [
- {
- "enum": [
- "Pending",
- "Approved",
- "Rejected"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "PurchasePlan": {
- "description": "Used for establishing the purchase context of any 3rd Party artifact through MarketPlace.",
- "properties": {
- "name": {
- "description": "The plan ID.",
- "type": "string"
- },
- "product": {
- "description": "Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.",
- "type": "string"
- },
- "promotionCode": {
- "description": "The Offer Promotion Code.",
- "type": "string"
- },
- "publisher": {
- "description": "The publisher ID.",
- "type": "string"
- }
- },
- "required": [
- "name",
- "publisher",
- "product"
- ],
- "type": "object"
- },
- "SnapshotProperties": {
- "description": "Snapshot resource properties.",
- "properties": {
- "completionPercent": {
- "description": "Percentage complete for the background copy when a resource is created via the CopyStart operation.",
- "oneOf": [
- {
- "type": "number"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "creationData": {
- "description": "Disk source information. CreationData information cannot be changed after the disk has been created.",
- "oneOf": [
- {
- "$ref": "#/definitions/CreationData"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dataAccessAuthMode": {
- "description": "Additional authentication requirements when exporting or uploading to a disk or snapshot.",
- "oneOf": [
- {
- "enum": [
- "AzureActiveDirectory",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskAccessId": {
- "description": "ARM id of the DiskAccess resource for using private endpoints on disks.",
- "type": "string"
- },
- "diskSizeGB": {
- "description": "If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryption": {
- "description": "Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.",
- "oneOf": [
- {
- "$ref": "#/definitions/Encryption"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettingsCollection": {
- "description": "Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSettingsCollection"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hyperVGeneration": {
- "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "incremental": {
- "description": "Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full snapshots and can be diffed.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkAccessPolicy": {
- "description": "Policy for accessing the disk via network.",
- "oneOf": [
- {
- "enum": [
- "AllowAll",
- "AllowPrivate",
- "DenyAll"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "The Operating System type.",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicNetworkAccess": {
- "description": "Policy for controlling export on the disk.",
- "oneOf": [
- {
- "enum": [
- "Enabled",
- "Disabled"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "purchasePlan": {
- "description": "Purchase plan information for the image from which the source disk for the snapshot was originally created.",
- "oneOf": [
- {
- "$ref": "#/definitions/PurchasePlan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Contains the security related information for the resource.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskSecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "supportedCapabilities": {
- "description": "List of supported capabilities for the image from which the source disk from the snapshot was originally created.",
- "oneOf": [
- {
- "$ref": "#/definitions/SupportedCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "supportsHibernation": {
- "description": "Indicates the OS on a snapshot supports hibernation.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "creationData"
- ],
- "type": "object"
- },
- "SnapshotSku": {
- "description": "The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot",
- "properties": {
- "name": {
- "description": "The sku name.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "Standard_ZRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SourceVault": {
- "description": "The vault id is an Azure Resource Manager Resource id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SupportedCapabilities": {
- "description": "List of supported capabilities persisted on the disk resource for VM use.",
- "properties": {
- "acceleratedNetwork": {
- "description": "True if the image from which the OS disk is created supports accelerated networking.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "architecture": {
- "description": "CPU architecture supported by an OS disk.",
- "oneOf": [
- {
- "enum": [
- "x64",
- "Arm64"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "diskAccesses_privateEndpointConnections_childResource": {
- "description": "Microsoft.Compute/diskAccesses/privateEndpointConnections",
- "properties": {
- "apiVersion": {
- "enum": [
- "2021-12-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the private endpoint connection.",
- "type": "string"
- },
- "properties": {
- "description": "Resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/PrivateEndpointConnectionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "privateEndpointConnections"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- }
-}
\ No newline at end of file
diff --git a/schemas/2022-01-03/Microsoft.Compute.json b/schemas/2022-01-03/Microsoft.Compute.json
deleted file mode 100644
index 454d16d34a..0000000000
--- a/schemas/2022-01-03/Microsoft.Compute.json
+++ /dev/null
@@ -1,1734 +0,0 @@
-{
- "id": "https://schema.management.azure.com/schemas/2022-01-03/Microsoft.Compute.json#",
- "title": "Microsoft.Compute",
- "description": "Microsoft Compute Resource Types",
- "$schema": "http://json-schema.org/draft-04/schema#",
- "resourceDefinitions": {
- "galleries": {
- "description": "Microsoft.Compute/galleries",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-01-03"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the Shared Image Gallery. The allowed characters are alphabets and numbers with dots and periods allowed in the middle. The maximum length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Shared Image Gallery.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/galleries_images_childResource"
- },
- {
- "$ref": "#/definitions/galleries_applications_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/galleries"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_applications": {
- "description": "Microsoft.Compute/galleries/applications",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-01-03"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Application Definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery Application Definition.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryApplicationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/galleries_applications_versions_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/galleries/applications"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_applications_versions": {
- "description": "Microsoft.Compute/galleries/applications/versions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-01-03"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Application Version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery image version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryApplicationVersionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/galleries/applications/versions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_images": {
- "description": "Microsoft.Compute/galleries/images",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-01-03"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery image definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery image definition.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/galleries_images_versions_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/galleries/images"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_images_versions": {
- "description": "Microsoft.Compute/galleries/images/versions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-01-03"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery image version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery image version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageVersionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/galleries/images/versions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- },
- "definitions": {
- "CommunityGalleryInfo": {
- "description": "Information of community gallery if current gallery is shared to community",
- "properties": {
- "eula": {
- "description": "End-user license agreement for community gallery image.",
- "type": "string"
- },
- "publicNamePrefix": {
- "description": "The prefix of the gallery name that will be displayed publicly. Visible to all users.",
- "type": "string"
- },
- "publisherContact": {
- "description": "Community gallery publisher support email. The email address of the publisher. Visible to all users.",
- "type": "string"
- },
- "publisherUri": {
- "description": "The link to the publisher website. Visible to all users.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "DataDiskImageEncryption": {
- "description": "Contains encryption settings for a data disk image.",
- "properties": {
- "diskEncryptionSetId": {
- "description": "A relative URI containing the resource ID of the disk encryption set.",
- "type": "string"
- },
- "lun": {
- "description": "This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun"
- ],
- "type": "object"
- },
- "Disallowed": {
- "description": "Describes the disallowed disk types.",
- "properties": {
- "diskTypes": {
- "description": "A list of disk types.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "EncryptionImages": {
- "description": "Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact.",
- "properties": {
- "dataDiskImages": {
- "description": "A list of encryption specifications for data disk images.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/DataDiskImageEncryption"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDiskImage": {
- "description": "Contains encryption settings for an OS disk image.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSDiskImageEncryption"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryApplicationProperties": {
- "description": "Describes the properties of a gallery Application Definition.",
- "properties": {
- "description": {
- "description": "The description of this gallery Application Definition resource. This property is updatable.",
- "type": "string"
- },
- "endOfLifeDate": {
- "description": "The end of life date of the gallery Application Definition. This property can be used for decommissioning purposes. This property is updatable.",
- "format": "date-time",
- "type": "string"
- },
- "eula": {
- "description": "The Eula agreement for the gallery Application Definition.",
- "type": "string"
- },
- "privacyStatementUri": {
- "description": "The privacy statement uri.",
- "type": "string"
- },
- "releaseNoteUri": {
- "description": "The release note uri.",
- "type": "string"
- },
- "supportedOSType": {
- "description": "This property allows you to specify the supported type of the OS that application is built for.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "supportedOSType"
- ],
- "type": "object"
- },
- "GalleryApplicationVersionProperties": {
- "description": "Describes the properties of a gallery image version.",
- "properties": {
- "publishingProfile": {
- "description": "The publishing profile of a gallery image version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryApplicationVersionPublishingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "publishingProfile"
- ],
- "type": "object"
- },
- "GalleryApplicationVersionPublishingProfile": {
- "description": "The publishing profile of a gallery image version.",
- "properties": {
- "advancedSettings": {
- "description": "Optional. Additional settings to pass to the vm-application-manager extension. For advanced use only.",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableHealthCheck": {
- "description": "Optional. Whether or not this application reports health.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "endOfLifeDate": {
- "description": "The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable.",
- "format": "date-time",
- "type": "string"
- },
- "excludeFromLatest": {
- "description": "If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "manageActions": {
- "oneOf": [
- {
- "$ref": "#/definitions/UserArtifactManage"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "replicaCount": {
- "description": "The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "replicationMode": {
- "description": "Optional parameter which specifies the mode to be used for replication. This property is not updatable.",
- "oneOf": [
- {
- "enum": [
- "Full",
- "Shallow"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "settings": {
- "description": "Additional settings for the VM app that contains the target package and config file name when it is deployed to target VM or VM scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/UserArtifactSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "source": {
- "description": "The source image from which the Image Version is going to be created.",
- "oneOf": [
- {
- "$ref": "#/definitions/UserArtifactSource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type to be used to store the image. This property is not updatable.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Standard_ZRS",
- "Premium_LRS",
- "StandardSSD_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "targetExtendedLocations": {
- "description": "The target extended locations where the Image Version is going to be replicated to. This property is updatable.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/GalleryTargetExtendedLocation"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "targetRegions": {
- "description": "The target regions where the Image Version is going to be replicated to. This property is updatable.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/TargetRegion"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "source"
- ],
- "type": "object"
- },
- "GalleryArtifactVersionSource": {
- "description": "The gallery artifact version source.",
- "properties": {
- "id": {
- "description": "The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, user image or storage account resource.",
- "type": "string"
- },
- "uri": {
- "description": "The uri of the gallery artifact version source. Currently used to specify vhd/blob source.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "GalleryDataDiskImage": {
- "description": "This is the data disk image.",
- "properties": {
- "hostCaching": {
- "description": "The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "source": {
- "description": "The gallery artifact version source.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryArtifactVersionSource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun"
- ],
- "type": "object"
- },
- "GalleryExtendedLocation": {
- "description": "The name of the extended location.",
- "properties": {
- "name": {
- "type": "string"
- },
- "type": {
- "description": "It is type of the extended location.",
- "oneOf": [
- {
- "enum": [
- "EdgeZone",
- "Unknown"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryIdentifier": {
- "description": "Describes the gallery unique name.",
- "properties": {},
- "type": "object"
- },
- "GalleryImageFeature": {
- "description": "A feature for gallery image.",
- "properties": {
- "name": {
- "description": "The name of the gallery image feature.",
- "type": "string"
- },
- "value": {
- "description": "The value of the gallery image feature.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "GalleryImageIdentifier": {
- "description": "This is the gallery image definition identifier.",
- "properties": {
- "offer": {
- "description": "The name of the gallery image definition offer.",
- "type": "string"
- },
- "publisher": {
- "description": "The name of the gallery image definition publisher.",
- "type": "string"
- },
- "sku": {
- "description": "The name of the gallery image definition SKU.",
- "type": "string"
- }
- },
- "required": [
- "publisher",
- "offer",
- "sku"
- ],
- "type": "object"
- },
- "GalleryImageProperties": {
- "description": "Describes the properties of a gallery image definition.",
- "properties": {
- "architecture": {
- "description": "The architecture of the image. Applicable to OS disks only.",
- "oneOf": [
- {
- "enum": [
- "x64",
- "Arm64"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "description": {
- "description": "The description of this gallery image definition resource. This property is updatable.",
- "type": "string"
- },
- "disallowed": {
- "description": "Describes the disallowed disk types.",
- "oneOf": [
- {
- "$ref": "#/definitions/Disallowed"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "endOfLifeDate": {
- "description": "The end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable.",
- "format": "date-time",
- "type": "string"
- },
- "eula": {
- "description": "The Eula agreement for the gallery image definition.",
- "type": "string"
- },
- "features": {
- "description": "A list of gallery image features.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/GalleryImageFeature"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hyperVGeneration": {
- "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "identifier": {
- "description": "This is the gallery image definition identifier.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageIdentifier"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osState": {
- "description": "This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'.",
- "oneOf": [
- {
- "enum": [
- "Generalized",
- "Specialized"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "privacyStatementUri": {
- "description": "The privacy statement uri.",
- "type": "string"
- },
- "purchasePlan": {
- "description": "Describes the gallery image definition purchase plan. This is used by marketplace images.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImagePurchasePlan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "recommended": {
- "description": "The properties describe the recommended machine configuration for this Image Definition. These properties are updatable.",
- "oneOf": [
- {
- "$ref": "#/definitions/RecommendedMachineConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "releaseNoteUri": {
- "description": "The release note uri.",
- "type": "string"
- }
- },
- "required": [
- "osType",
- "osState",
- "identifier"
- ],
- "type": "object"
- },
- "GalleryImageVersionProperties": {
- "description": "Describes the properties of a gallery image version.",
- "properties": {
- "publishingProfile": {
- "description": "The publishing profile of a gallery image Version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageVersionPublishingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "This is the storage profile of a Gallery Image Version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageVersionStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "storageProfile"
- ],
- "type": "object"
- },
- "GalleryImageVersionPublishingProfile": {
- "description": "The publishing profile of a gallery image Version.",
- "properties": {
- "endOfLifeDate": {
- "description": "The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable.",
- "format": "date-time",
- "type": "string"
- },
- "excludeFromLatest": {
- "description": "If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "replicaCount": {
- "description": "The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "replicationMode": {
- "description": "Optional parameter which specifies the mode to be used for replication. This property is not updatable.",
- "oneOf": [
- {
- "enum": [
- "Full",
- "Shallow"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type to be used to store the image. This property is not updatable.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Standard_ZRS",
- "Premium_LRS",
- "StandardSSD_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "targetExtendedLocations": {
- "description": "The target extended locations where the Image Version is going to be replicated to. This property is updatable.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/GalleryTargetExtendedLocation"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "targetRegions": {
- "description": "The target regions where the Image Version is going to be replicated to. This property is updatable.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/TargetRegion"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryImageVersionStorageProfile": {
- "description": "This is the storage profile of a Gallery Image Version.",
- "properties": {
- "dataDiskImages": {
- "description": "A list of data disk images.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/GalleryDataDiskImage"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDiskImage": {
- "description": "This is the OS disk image.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryOSDiskImage"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "source": {
- "description": "The gallery artifact version source.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryArtifactVersionSource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryOSDiskImage": {
- "description": "This is the OS disk image.",
- "properties": {
- "hostCaching": {
- "description": "The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "source": {
- "description": "The gallery artifact version source.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryArtifactVersionSource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryProperties": {
- "description": "Describes the properties of a Shared Image Gallery.",
- "properties": {
- "description": {
- "description": "The description of this Shared Image Gallery resource. This property is updatable.",
- "type": "string"
- },
- "identifier": {
- "description": "Describes the gallery unique name.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryIdentifier"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sharingProfile": {
- "description": "Profile for gallery sharing to subscription or tenant",
- "oneOf": [
- {
- "$ref": "#/definitions/SharingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "softDeletePolicy": {
- "description": "Contains information about the soft deletion policy of the gallery.",
- "oneOf": [
- {
- "$ref": "#/definitions/SoftDeletePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryTargetExtendedLocation": {
- "properties": {
- "encryption": {
- "description": "Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionImages"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extendedLocation": {
- "description": "The name of the extended location.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extendedLocationReplicaCount": {
- "description": "The number of replicas of the Image Version to be created per extended location. This property is updatable.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The name of the region.",
- "type": "string"
- },
- "storageAccountType": {
- "description": "Specifies the storage account type to be used to store the image. This property is not updatable.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Standard_ZRS",
- "Premium_LRS",
- "StandardSSD_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImagePurchasePlan": {
- "description": "Describes the gallery image definition purchase plan. This is used by marketplace images.",
- "properties": {
- "name": {
- "description": "The plan ID.",
- "type": "string"
- },
- "product": {
- "description": "The product ID.",
- "type": "string"
- },
- "publisher": {
- "description": "The publisher ID.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "OSDiskImageEncryption": {
- "description": "Contains encryption settings for an OS disk image.",
- "properties": {
- "diskEncryptionSetId": {
- "description": "A relative URI containing the resource ID of the disk encryption set.",
- "type": "string"
- },
- "securityProfile": {
- "description": "This property specifies the security profile of an OS disk image.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSDiskImageSecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "OSDiskImageSecurityProfile": {
- "description": "Contains security profile for an OS disk image.",
- "properties": {
- "confidentialVMEncryptionType": {
- "description": "confidential VM encryption types",
- "oneOf": [
- {
- "enum": [
- "EncryptedVMGuestStateOnlyWithPmk",
- "EncryptedWithPmk",
- "EncryptedWithCmk"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "secureVMDiskEncryptionSetId": {
- "description": "secure VM disk encryption set id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "RecommendedMachineConfiguration": {
- "description": "The properties describe the recommended machine configuration for this Image Definition. These properties are updatable.",
- "properties": {
- "memory": {
- "description": "Describes the resource range.",
- "oneOf": [
- {
- "$ref": "#/definitions/ResourceRange"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vCPUs": {
- "description": "Describes the resource range.",
- "oneOf": [
- {
- "$ref": "#/definitions/ResourceRange"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ResourceRange": {
- "description": "Describes the resource range.",
- "properties": {
- "max": {
- "description": "The maximum number of the resource.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "min": {
- "description": "The minimum number of the resource.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SharingProfile": {
- "description": "Profile for gallery sharing to subscription or tenant",
- "properties": {
- "communityGalleryInfo": {
- "description": "Information of community gallery if current gallery is shared to community.",
- "oneOf": [
- {
- "$ref": "#/definitions/CommunityGalleryInfo"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "permissions": {
- "description": "This property allows you to specify the permission of sharing gallery.
Possible values are:
**Private**
**Groups**
**Community**",
- "oneOf": [
- {
- "enum": [
- "Private",
- "Groups",
- "Community"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SoftDeletePolicy": {
- "description": "Contains information about the soft deletion policy of the gallery.",
- "properties": {
- "isSoftDeleteEnabled": {
- "description": "Enables soft-deletion for resources in this gallery, allowing them to be recovered within retention time.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "TargetRegion": {
- "description": "Describes the target region information.",
- "properties": {
- "encryption": {
- "description": "Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionImages"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The name of the region.",
- "type": "string"
- },
- "regionalReplicaCount": {
- "description": "The number of replicas of the Image Version to be created per region. This property is updatable.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type to be used to store the image. This property is not updatable.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Standard_ZRS",
- "Premium_LRS",
- "StandardSSD_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "UserArtifactManage": {
- "properties": {
- "install": {
- "description": "Required. The path and arguments to install the gallery application. This is limited to 4096 characters.",
- "type": "string"
- },
- "remove": {
- "description": "Required. The path and arguments to remove the gallery application. This is limited to 4096 characters.",
- "type": "string"
- },
- "update": {
- "description": "Optional. The path and arguments to update the gallery application. If not present, then update operation will invoke remove command on the previous version and install command on the current version of the gallery application. This is limited to 4096 characters.",
- "type": "string"
- }
- },
- "required": [
- "install",
- "remove"
- ],
- "type": "object"
- },
- "UserArtifactSettings": {
- "description": "Additional settings for the VM app that contains the target package and config file name when it is deployed to target VM or VM scale set.",
- "properties": {
- "configFileName": {
- "description": "Optional. The name to assign the downloaded config file on the VM. This is limited to 4096 characters. If not specified, the config file will be named the Gallery Application name appended with \"_config\".",
- "type": "string"
- },
- "packageFileName": {
- "description": "Optional. The name to assign the downloaded package file on the VM. This is limited to 4096 characters. If not specified, the package file will be named the same as the Gallery Application name.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "UserArtifactSource": {
- "description": "The source image from which the Image Version is going to be created.",
- "properties": {
- "defaultConfigurationLink": {
- "description": "Optional. The defaultConfigurationLink of the artifact, must be a readable storage page blob.",
- "type": "string"
- },
- "mediaLink": {
- "description": "Required. The mediaLink of the artifact, must be a readable storage page blob.",
- "type": "string"
- }
- },
- "required": [
- "mediaLink"
- ],
- "type": "object"
- },
- "galleries_applications_childResource": {
- "description": "Microsoft.Compute/galleries/applications",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-01-03"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Application Definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery Application Definition.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryApplicationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "applications"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_applications_versions_childResource": {
- "description": "Microsoft.Compute/galleries/applications/versions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-01-03"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Application Version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery image version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryApplicationVersionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "versions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_images_childResource": {
- "description": "Microsoft.Compute/galleries/images",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-01-03"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery image definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery image definition.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "images"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_images_versions_childResource": {
- "description": "Microsoft.Compute/galleries/images/versions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-01-03"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery image version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery image version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageVersionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "versions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- }
-}
\ No newline at end of file
diff --git a/schemas/2022-03-01/Microsoft.Compute.json b/schemas/2022-03-01/Microsoft.Compute.json
deleted file mode 100644
index d2d5d7bf0b..0000000000
--- a/schemas/2022-03-01/Microsoft.Compute.json
+++ /dev/null
@@ -1,7296 +0,0 @@
-{
- "id": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.json#",
- "title": "Microsoft.Compute",
- "description": "Microsoft Compute Resource Types",
- "$schema": "http://json-schema.org/draft-04/schema#",
- "resourceDefinitions": {
- "availabilitySets": {
- "description": "Microsoft.Compute/availabilitySets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the availability set.",
- "type": "string"
- },
- "properties": {
- "description": "The instance view of a resource.",
- "oneOf": [
- {
- "$ref": "#/definitions/AvailabilitySetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "Sku of the availability set, only name is required to be set. See AvailabilitySetSkuTypes for possible set of values. Use 'Aligned' for virtual machines with managed disks and 'Classic' for virtual machines with unmanaged disks. Default value is 'Classic'.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/availabilitySets"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "capacityReservationGroups": {
- "description": "Microsoft.Compute/capacityReservationGroups",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the capacity reservation group.",
- "type": "string"
- },
- "properties": {
- "description": "capacity reservation group Properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/CapacityReservationGroupProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/capacityReservationGroups_capacityReservations_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/capacityReservationGroups"
- ],
- "type": "string"
- },
- "zones": {
- "description": "Availability Zones to use for this capacity reservation group. The zones can be assigned only during creation. If not provided, the group supports only regional resources in the region. If provided, enforces each capacity reservation in the group to be in one of the zones.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "capacityReservationGroups_capacityReservations": {
- "description": "Microsoft.Compute/capacityReservationGroups/capacityReservations",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the capacity reservation.",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the Capacity reservation.",
- "oneOf": [
- {
- "$ref": "#/definitions/CapacityReservationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "SKU of the resource for which capacity needs be reserved. The SKU name and capacity is required to be set. Currently VM Skus with the capability called 'CapacityReservationSupported' set to true are supported. Refer to List Microsoft.Compute SKUs in a region (https://docs.microsoft.com/rest/api/compute/resourceskus/list) for supported values.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/capacityReservationGroups/capacityReservations"
- ],
- "type": "string"
- },
- "zones": {
- "description": "Availability Zone to use for this capacity reservation. The zone has to be single value and also should be part for the list of zones specified during the capacity reservation group creation. The zone can be assigned only during creation. If not provided, the reservation supports only non-zonal deployments. If provided, enforces VM/VMSS using this capacity reservation to be in same zone.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "hostGroups": {
- "description": "Microsoft.Compute/hostGroups",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the dedicated host group.",
- "type": "string"
- },
- "properties": {
- "description": "Dedicated Host Group Properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/DedicatedHostGroupProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/hostGroups_hosts_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/hostGroups"
- ],
- "type": "string"
- },
- "zones": {
- "description": "Availability Zone to use for this host group. Only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "hostGroups_hosts": {
- "description": "Microsoft.Compute/hostGroups/hosts",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the dedicated host .",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the dedicated host.",
- "oneOf": [
- {
- "$ref": "#/definitions/DedicatedHostProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be set. List Microsoft.Compute SKUs for a list of possible values.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/hostGroups/hosts"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "images": {
- "description": "Microsoft.Compute/images",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-03-01"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location of the Image.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the image.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of an Image.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/images"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "proximityPlacementGroups": {
- "description": "Microsoft.Compute/proximityPlacementGroups",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the proximity placement group.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Proximity Placement Group.",
- "oneOf": [
- {
- "$ref": "#/definitions/ProximityPlacementGroupProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/proximityPlacementGroups"
- ],
- "type": "string"
- },
- "zones": {
- "description": "Specifies the Availability Zone where virtual machine, virtual machine scale set or availability set associated with the proximity placement group can be created.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "restorePointCollections": {
- "description": "Microsoft.Compute/restorePointCollections",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the restore point collection.",
- "type": "string"
- },
- "properties": {
- "description": "The restore point collection properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/RestorePointCollectionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/restorePointCollections_restorePoints_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/restorePointCollections"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "restorePointCollections_restorePoints": {
- "description": "Microsoft.Compute/restorePointCollections/restorePoints",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-03-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the restore point.",
- "type": "string"
- },
- "properties": {
- "description": "The restore point properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/RestorePointProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/restorePointCollections/restorePoints"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "sshPublicKeys": {
- "description": "Microsoft.Compute/sshPublicKeys",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the SSH public key.",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the SSH public key.",
- "oneOf": [
- {
- "$ref": "#/definitions/SshPublicKeyResourceProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/sshPublicKeys"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets": {
- "description": "Microsoft.Compute/virtualMachineScaleSets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-03-01"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location of the Virtual Machine Scale Set.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "identity": {
- "description": "The identity of the virtual machine scale set, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the VM scale set to create or update.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Scale Set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachineScaleSets_extensions_childResource"
- },
- {
- "$ref": "#/definitions/virtualMachineScaleSets_virtualMachines_childResource"
- }
- ]
- },
- "type": "array"
- },
- "sku": {
- "description": "The virtual machine scale set sku.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The virtual machine scale set zones. NOTE: Availability zones can only be set when you create the scale set",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-03-01"
- ],
- "type": "string"
- },
- "identity": {
- "description": "The identity of the virtual machine, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The instance ID of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachineScaleSets_virtualMachines_extensions_childResource"
- },
- {
- "$ref": "#/definitions/virtualMachineScaleSets_virtualMachines_runCommands_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets/virtualMachines"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_extensions": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-03-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine extension.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Extension.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_runCommands": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/runCommands",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine run command.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/runCommands"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines": {
- "description": "Microsoft.Compute/virtualMachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-03-01"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location of the Virtual Machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "identity": {
- "description": "The identity of the virtual machine, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachines_extensions_childResource"
- },
- {
- "$ref": "#/definitions/virtualMachines_runCommands_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachines"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The virtual machine zones.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines_runCommands": {
- "description": "Microsoft.Compute/virtualMachines/runCommands",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine run command.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachines/runCommands"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- },
- "definitions": {
- "AdditionalCapabilities": {
- "description": "Enables or disables a capability on the virtual machine or virtual machine scale set.",
- "properties": {
- "hibernationEnabled": {
- "description": "The flag that enables or disables hibernation capability on the VM.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ultraSSDEnabled": {
- "description": "The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "AdditionalUnattendContent": {
- "description": "Specifies additional XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is applied.",
- "properties": {
- "componentName": {
- "description": "The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup.",
- "oneOf": [
- {
- "enum": [
- "Microsoft-Windows-Shell-Setup"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "content": {
- "description": "Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted.",
- "type": "string"
- },
- "passName": {
- "description": "The pass name. Currently, the only allowable value is OobeSystem.",
- "oneOf": [
- {
- "enum": [
- "OobeSystem"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "settingName": {
- "description": "Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon.",
- "oneOf": [
- {
- "enum": [
- "AutoLogon",
- "FirstLogonCommands"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ApiEntityReference": {
- "description": "The API entity reference.",
- "properties": {
- "id": {
- "description": "The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ApplicationProfile": {
- "description": "Contains the list of gallery applications that should be made available to the VM/VMSS",
- "properties": {
- "galleryApplications": {
- "description": "Specifies the gallery applications that should be made available to the VM/VMSS",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VMGalleryApplication"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "AutomaticOSUpgradePolicy": {
- "description": "The configuration parameters used for performing automatic OS upgrade.",
- "properties": {
- "disableAutomaticRollback": {
- "description": "Whether OS image rollback feature should be disabled. Default value is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticOSUpgrade": {
- "description": "Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. Default value is false.
If this is set to true for Windows based scale sets, [enableAutomaticUpdates](https://docs.microsoft.com/dotnet/api/microsoft.azure.management.compute.models.windowsconfiguration.enableautomaticupdates?view=azure-dotnet) is automatically set to false and cannot be set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "useRollingUpgradePolicy": {
- "description": "Indicates whether rolling upgrade policy should be used during Auto OS Upgrade. Default value is false. Auto OS Upgrade will fallback to the default policy if no policy is defined on the VMSS.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "AutomaticRepairsPolicy": {
- "description": "Specifies the configuration parameters for automatic repairs on the virtual machine scale set.",
- "properties": {
- "enabled": {
- "description": "Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "gracePeriod": {
- "description": "The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The minimum allowed grace period is 10 minutes (PT10M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M).",
- "type": "string"
- },
- "repairAction": {
- "description": "Type of repair action (replace, restart, reimage) that will be used for repairing unhealthy virtual machines in the scale set. Default value is replace.",
- "oneOf": [
- {
- "enum": [
- "Replace",
- "Restart",
- "Reimage"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "AvailabilitySetProperties": {
- "description": "The instance view of a resource.",
- "properties": {
- "platformFaultDomainCount": {
- "description": "Fault Domain count.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformUpdateDomainCount": {
- "description": "Update Domain count.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the availability set should be assigned to.
Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "virtualMachines": {
- "description": "A list of references to all virtual machines in the availability set.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "BillingProfile": {
- "description": "Specifies the billing related details of a Azure Spot VM or VMSS.
Minimum api-version: 2019-03-01.",
- "properties": {
- "maxPrice": {
- "description": "Specifies the maximum price you are willing to pay for a Azure Spot VM/VMSS. This price is in US Dollars.
This price will be compared with the current Azure Spot price for the VM size. Also, the prices are compared at the time of create/update of Azure Spot VM/VMSS and the operation will only succeed if the maxPrice is greater than the current Azure Spot price.
The maxPrice will also be used for evicting a Azure Spot VM/VMSS if the current Azure Spot price goes beyond the maxPrice after creation of VM/VMSS.
Possible values are:
- Any decimal value greater than zero. Example: 0.01538
-1 – indicates default price to be up-to on-demand.
You can set the maxPrice to -1 to indicate that the Azure Spot VM/VMSS should not be evicted for price reasons. Also, the default max price is -1 if it is not provided by you.
Minimum api-version: 2019-03-01.",
- "oneOf": [
- {
- "type": "number"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "BootDiagnostics": {
- "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.",
- "properties": {
- "enabled": {
- "description": "Whether boot diagnostics should be enabled on the Virtual Machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageUri": {
- "description": "Uri of the storage account to use for placing the console output and screenshot.
If storageUri is not specified while enabling boot diagnostics, managed storage will be used.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "CapacityReservationGroupProperties": {
- "description": "capacity reservation group Properties.",
- "properties": {},
- "type": "object"
- },
- "CapacityReservationProfile": {
- "description": "The parameters of a capacity reservation Profile.",
- "properties": {
- "capacityReservationGroup": {
- "description": "Specifies the capacity reservation group resource id that should be used for allocating the virtual machine or scaleset vm instances provided enough capacity has been reserved. Please refer to https://aka.ms/CapacityReservation for more details.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "CapacityReservationProperties": {
- "description": "Properties of the Capacity reservation.",
- "properties": {},
- "type": "object"
- },
- "DataDisk": {
- "description": "Describes a data disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machine should be created.
Possible values are:
**Attach** \\u2013 This value is used when you are using a specialized disk to create the virtual machine.
**FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "deleteOption": {
- "description": "Specifies whether data disk should be deleted or detached upon VM deletion.
Possible values:
**Delete** If this value is used, the data disk is deleted when VM is deleted.
**Detach** If this value is used, the data disk is retained after VM is deleted.
The default value is set to **detach**",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "detachOption": {
- "description": "Specifies the detach behavior to be used while detaching a disk or which is already in the process of detachment from the virtual machine. Supported values: **ForceDetach**.
detachOption: **ForceDetach** is applicable only for managed data disks. If a previous detachment attempt of the data disk did not complete due to an unexpected failure from the virtual machine and the disk is still not released then use force-detach as a last resort option to detach the disk forcibly from the VM. All writes might not have been flushed when using this detach behavior.
This feature is still in preview mode and is not supported for VirtualMachineScaleSet. To force-detach a data disk update toBeDetached to 'true' along with setting detachOption: 'ForceDetach'.",
- "oneOf": [
- {
- "enum": [
- "ForceDetach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/ManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "toBeDetached": {
- "description": "Specifies whether the data disk is in process of detachment from the VirtualMachine/VirtualMachineScaleset",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhd": {
- "description": "The virtual hard disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun",
- "createOption"
- ],
- "type": "object"
- },
- "DedicatedHostGroupProperties": {
- "description": "Dedicated Host Group Properties.",
- "properties": {
- "additionalCapabilities": {
- "description": "Enables or disables a capability on the dedicated host group.
Minimum api-version: 2022-03-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/DedicatedHostGroupPropertiesAdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformFaultDomainCount": {
- "description": "Number of fault domains that the host group can span.",
- "oneOf": [
- {
- "minimum": 1,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "supportAutomaticPlacement": {
- "description": "Specifies whether virtual machines or virtual machine scale sets can be placed automatically on the dedicated host group. Automatic placement means resources are allocated on dedicated hosts, that are chosen by Azure, under the dedicated host group. The value is defaulted to 'false' when not provided.
Minimum api-version: 2020-06-01.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "platformFaultDomainCount"
- ],
- "type": "object"
- },
- "DedicatedHostGroupPropertiesAdditionalCapabilities": {
- "description": "Enables or disables a capability on the dedicated host group.
Minimum api-version: 2022-03-01.",
- "properties": {
- "ultraSSDEnabled": {
- "description": "The flag that enables or disables a capability to have UltraSSD Enabled Virtual Machines on Dedicated Hosts of the Dedicated Host Group. For the Virtual Machines to be UltraSSD Enabled, UltraSSDEnabled flag for the resource needs to be set true as well. The value is defaulted to 'false' when not provided. Please refer to https://docs.microsoft.com/en-us/azure/virtual-machines/disks-enable-ultra-ssd for more details on Ultra SSD feature.
NOTE: The ultraSSDEnabled setting can only be enabled for Host Groups that are created as zonal.
Minimum api-version: 2022-03-01.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DedicatedHostProperties": {
- "description": "Properties of the dedicated host.",
- "properties": {
- "autoReplaceOnFailure": {
- "description": "Specifies whether the dedicated host should be replaced automatically in case of a failure. The value is defaulted to 'true' when not provided.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies the software license type that will be applied to the VMs deployed on the dedicated host.
Possible values are:
**None**
**Windows_Server_Hybrid**
**Windows_Server_Perpetual**
Default: **None**",
- "oneOf": [
- {
- "enum": [
- "None",
- "Windows_Server_Hybrid",
- "Windows_Server_Perpetual"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformFaultDomain": {
- "description": "Fault domain of the dedicated host within a dedicated host group.",
- "oneOf": [
- {
- "minimum": 0,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "properties": {
- "bootDiagnostics": {
- "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
**NOTE**: If storageUri is being specified then ensure that the storage account is in the same region and subscription as the VM.
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.",
- "oneOf": [
- {
- "$ref": "#/definitions/BootDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiffDiskSettings": {
- "description": "Describes the parameters of ephemeral disk settings that can be specified for operating system disk.
NOTE: The ephemeral disk settings can only be specified for managed disk.",
- "properties": {
- "option": {
- "description": "Specifies the ephemeral disk settings for operating system disk.",
- "oneOf": [
- {
- "enum": [
- "Local"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "placement": {
- "description": "Specifies the ephemeral disk placement for operating system disk.
Possible values are:
**CacheDisk**
**ResourceDisk**
Default: **CacheDisk** if one is configured for the VM size otherwise **ResourceDisk** is used.
Refer to VM size documentation for Windows VM at https://docs.microsoft.com/azure/virtual-machines/windows/sizes and Linux VM at https://docs.microsoft.com/azure/virtual-machines/linux/sizes to check which VM sizes exposes a cache disk.",
- "oneOf": [
- {
- "enum": [
- "CacheDisk",
- "ResourceDisk"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiskEncryptionSetParameters": {
- "description": "Describes the parameter of customer managed disk encryption set resource id that can be specified for disk.
NOTE: The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "DiskEncryptionSettings": {
- "description": "Describes a Encryption Settings for a Disk",
- "properties": {
- "diskEncryptionKey": {
- "description": "Specifies the location of the disk encryption key, which is a Key Vault Secret.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enabled": {
- "description": "Specifies whether disk encryption should be enabled on the virtual machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "keyEncryptionKey": {
- "description": "Specifies the location of the key encryption key in Key Vault.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultKeyReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ExtendedLocation": {
- "description": "The complex type of the extended location.",
- "properties": {
- "name": {
- "description": "The name of the extended location.",
- "type": "string"
- },
- "type": {
- "description": "The type of the extended location.",
- "oneOf": [
- {
- "enum": [
- "EdgeZone"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "HardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "properties": {
- "vmSize": {
- "description": "Specifies the size of the virtual machine.
The enum data type is currently deprecated and will be removed by December 23rd 2023.
Recommended way to get the list of available sizes is using these APIs:
[List all available virtual machine sizes in an availability set](https://docs.microsoft.com/rest/api/compute/availabilitysets/listavailablesizes)
[List all available virtual machine sizes in a region]( https://docs.microsoft.com/rest/api/compute/resourceskus/list)
[List all available virtual machine sizes for resizing](https://docs.microsoft.com/rest/api/compute/virtualmachines/listavailablesizes). For more information about virtual machine sizes, see [Sizes for virtual machines](https://docs.microsoft.com/azure/virtual-machines/sizes).
The available VM sizes depend on region and availability set.",
- "oneOf": [
- {
- "enum": [
- "Basic_A0",
- "Basic_A1",
- "Basic_A2",
- "Basic_A3",
- "Basic_A4",
- "Standard_A0",
- "Standard_A1",
- "Standard_A2",
- "Standard_A3",
- "Standard_A4",
- "Standard_A5",
- "Standard_A6",
- "Standard_A7",
- "Standard_A8",
- "Standard_A9",
- "Standard_A10",
- "Standard_A11",
- "Standard_A1_v2",
- "Standard_A2_v2",
- "Standard_A4_v2",
- "Standard_A8_v2",
- "Standard_A2m_v2",
- "Standard_A4m_v2",
- "Standard_A8m_v2",
- "Standard_B1s",
- "Standard_B1ms",
- "Standard_B2s",
- "Standard_B2ms",
- "Standard_B4ms",
- "Standard_B8ms",
- "Standard_D1",
- "Standard_D2",
- "Standard_D3",
- "Standard_D4",
- "Standard_D11",
- "Standard_D12",
- "Standard_D13",
- "Standard_D14",
- "Standard_D1_v2",
- "Standard_D2_v2",
- "Standard_D3_v2",
- "Standard_D4_v2",
- "Standard_D5_v2",
- "Standard_D2_v3",
- "Standard_D4_v3",
- "Standard_D8_v3",
- "Standard_D16_v3",
- "Standard_D32_v3",
- "Standard_D64_v3",
- "Standard_D2s_v3",
- "Standard_D4s_v3",
- "Standard_D8s_v3",
- "Standard_D16s_v3",
- "Standard_D32s_v3",
- "Standard_D64s_v3",
- "Standard_D11_v2",
- "Standard_D12_v2",
- "Standard_D13_v2",
- "Standard_D14_v2",
- "Standard_D15_v2",
- "Standard_DS1",
- "Standard_DS2",
- "Standard_DS3",
- "Standard_DS4",
- "Standard_DS11",
- "Standard_DS12",
- "Standard_DS13",
- "Standard_DS14",
- "Standard_DS1_v2",
- "Standard_DS2_v2",
- "Standard_DS3_v2",
- "Standard_DS4_v2",
- "Standard_DS5_v2",
- "Standard_DS11_v2",
- "Standard_DS12_v2",
- "Standard_DS13_v2",
- "Standard_DS14_v2",
- "Standard_DS15_v2",
- "Standard_DS13-4_v2",
- "Standard_DS13-2_v2",
- "Standard_DS14-8_v2",
- "Standard_DS14-4_v2",
- "Standard_E2_v3",
- "Standard_E4_v3",
- "Standard_E8_v3",
- "Standard_E16_v3",
- "Standard_E32_v3",
- "Standard_E64_v3",
- "Standard_E2s_v3",
- "Standard_E4s_v3",
- "Standard_E8s_v3",
- "Standard_E16s_v3",
- "Standard_E32s_v3",
- "Standard_E64s_v3",
- "Standard_E32-16_v3",
- "Standard_E32-8s_v3",
- "Standard_E64-32s_v3",
- "Standard_E64-16s_v3",
- "Standard_F1",
- "Standard_F2",
- "Standard_F4",
- "Standard_F8",
- "Standard_F16",
- "Standard_F1s",
- "Standard_F2s",
- "Standard_F4s",
- "Standard_F8s",
- "Standard_F16s",
- "Standard_F2s_v2",
- "Standard_F4s_v2",
- "Standard_F8s_v2",
- "Standard_F16s_v2",
- "Standard_F32s_v2",
- "Standard_F64s_v2",
- "Standard_F72s_v2",
- "Standard_G1",
- "Standard_G2",
- "Standard_G3",
- "Standard_G4",
- "Standard_G5",
- "Standard_GS1",
- "Standard_GS2",
- "Standard_GS3",
- "Standard_GS4",
- "Standard_GS5",
- "Standard_GS4-8",
- "Standard_GS4-4",
- "Standard_GS5-16",
- "Standard_GS5-8",
- "Standard_H8",
- "Standard_H16",
- "Standard_H8m",
- "Standard_H16m",
- "Standard_H16r",
- "Standard_H16mr",
- "Standard_L4s",
- "Standard_L8s",
- "Standard_L16s",
- "Standard_L32s",
- "Standard_M64s",
- "Standard_M64ms",
- "Standard_M128s",
- "Standard_M128ms",
- "Standard_M64-32ms",
- "Standard_M64-16ms",
- "Standard_M128-64ms",
- "Standard_M128-32ms",
- "Standard_NC6",
- "Standard_NC12",
- "Standard_NC24",
- "Standard_NC24r",
- "Standard_NC6s_v2",
- "Standard_NC12s_v2",
- "Standard_NC24s_v2",
- "Standard_NC24rs_v2",
- "Standard_NC6s_v3",
- "Standard_NC12s_v3",
- "Standard_NC24s_v3",
- "Standard_NC24rs_v3",
- "Standard_ND6s",
- "Standard_ND12s",
- "Standard_ND24s",
- "Standard_ND24rs",
- "Standard_NV6",
- "Standard_NV12",
- "Standard_NV24"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vmSizeProperties": {
- "description": "Specifies the properties for customizing the size of the virtual machine. Minimum api-version: 2021-07-01.
This feature is still in preview mode and is not supported for VirtualMachineScaleSet.
Please follow the instructions in [VM Customization](https://aka.ms/vmcustomization) for more details.",
- "oneOf": [
- {
- "$ref": "#/definitions/VMSizeProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImageDataDisk": {
- "description": "Describes a data disk.",
- "properties": {
- "blobUri": {
- "description": "The Virtual Hard Disk.",
- "type": "string"
- },
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed image disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managedDisk.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "snapshot": {
- "description": "The snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS",
- "Premium_ZRS",
- "StandardSSD_ZRS",
- "PremiumV2_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun"
- ],
- "type": "object"
- },
- "ImageOSDisk": {
- "description": "Describes an Operating System disk.",
- "properties": {
- "blobUri": {
- "description": "The Virtual Hard Disk.",
- "type": "string"
- },
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed image disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managedDisk.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osState": {
- "description": "The OS State. For managed images, use Generalized.",
- "oneOf": [
- {
- "enum": [
- "Generalized",
- "Specialized"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from a custom image.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "snapshot": {
- "description": "The snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS",
- "Premium_ZRS",
- "StandardSSD_ZRS",
- "PremiumV2_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "osType",
- "osState"
- ],
- "type": "object"
- },
- "ImageProperties": {
- "description": "Describes the properties of an Image.",
- "properties": {
- "hyperVGeneration": {
- "description": "Specifies the HyperVGenerationType of the VirtualMachine created from the image. From API Version 2019-03-01 if the image source is a blob, then we need the user to specify the value, if the source is managed resource like disk or snapshot, we may require the user to specify the property if we cannot deduce it from the source managed resource.",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sourceVirtualMachine": {
- "description": "The source virtual machine from which Image is created.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. NOTE: Image reference publisher and offer can only be set when you create the scale set.",
- "properties": {
- "communityGalleryImageId": {
- "description": "Specified the community gallery image unique id for vm deployment. This can be fetched from community gallery image GET call.",
- "type": "string"
- },
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "offer": {
- "description": "Specifies the offer of the platform image or marketplace image used to create the virtual machine.",
- "type": "string"
- },
- "publisher": {
- "description": "The image publisher.",
- "type": "string"
- },
- "sharedGalleryImageId": {
- "description": "Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call.",
- "type": "string"
- },
- "sku": {
- "description": "The image SKU.",
- "type": "string"
- },
- "version": {
- "description": "Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available. Please do not use field 'version' for gallery image deployment, gallery image should always use 'id' field for deployment, to use 'latest' version of gallery image, just set '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}' in the 'id' field without version input.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ImageStorageProfile": {
- "description": "Describes a storage profile.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add a data disk to a virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/ImageDataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageOSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "zoneResilient": {
- "description": "Specifies whether an image is zone resilient or not. Default is false. Zone resilient images can be created only in regions that provide Zone Redundant Storage (ZRS).",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "InstanceViewStatus": {
- "description": "Instance view status.",
- "properties": {
- "code": {
- "description": "The status code.",
- "type": "string"
- },
- "displayStatus": {
- "description": "The short localizable label for the status.",
- "type": "string"
- },
- "level": {
- "description": "The level code.",
- "oneOf": [
- {
- "enum": [
- "Info",
- "Warning",
- "Error"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "message": {
- "description": "The detailed status message, including for alerts and error messages.",
- "type": "string"
- },
- "time": {
- "description": "The time of the status.",
- "format": "date-time",
- "type": "string"
- }
- },
- "type": "object"
- },
- "KeyVaultKeyReference": {
- "description": "Describes a reference to Key Vault Key",
- "properties": {
- "keyUrl": {
- "description": "The URL referencing a key encryption key in Key Vault.",
- "type": "string"
- },
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing the key.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "keyUrl",
- "sourceVault"
- ],
- "type": "object"
- },
- "KeyVaultSecretReference": {
- "description": "Describes a reference to Key Vault Secret",
- "properties": {
- "secretUrl": {
- "description": "The URL referencing a secret in a Key Vault.",
- "type": "string"
- },
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing the secret.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "secretUrl",
- "sourceVault"
- ],
- "type": "object"
- },
- "LinuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros).",
- "properties": {
- "disablePasswordAuthentication": {
- "description": "Specifies whether password authentication should be disabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "patchSettings": {
- "description": "[Preview Feature] Specifies settings related to VM Guest Patching on Linux.",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxPatchSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionVMAgent": {
- "description": "Indicates whether virtual machine agent should be provisioned on the virtual machine.
When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ssh": {
- "description": "Specifies the ssh key configuration for a Linux OS.",
- "oneOf": [
- {
- "$ref": "#/definitions/SshConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "LinuxPatchSettings": {
- "description": "Specifies settings related to VM Guest Patching on Linux.",
- "properties": {
- "assessmentMode": {
- "description": "Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine.
Possible values are:
**ImageDefault** - You control the timing of patch assessments on a virtual machine.
**AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true.",
- "oneOf": [
- {
- "enum": [
- "ImageDefault",
- "AutomaticByPlatform"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "automaticByPlatformSettings": {
- "description": "Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Linux.",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxVMGuestPatchAutomaticByPlatformSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "patchMode": {
- "description": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.
Possible values are:
**ImageDefault** - The virtual machine's default patching configuration is used.
**AutomaticByPlatform** - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true",
- "oneOf": [
- {
- "enum": [
- "ImageDefault",
- "AutomaticByPlatform"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "LinuxVMGuestPatchAutomaticByPlatformSettings": {
- "description": "Specifies additional settings to be applied when patch mode AutomaticByPlatform is selected in Linux patch settings.",
- "properties": {
- "rebootSetting": {
- "description": "Specifies the reboot setting for all AutomaticByPlatform patch installation operations.",
- "oneOf": [
- {
- "enum": [
- "Unknown",
- "IfRequired",
- "Never",
- "Always"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ManagedDiskParameters": {
- "description": "The parameters of a managed disk.",
- "properties": {
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "securityProfile": {
- "description": "Specifies the security profile for the managed disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VMDiskSecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS",
- "Premium_ZRS",
- "StandardSSD_ZRS",
- "PremiumV2_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkInterfaceReference": {
- "description": "Describes a network interface reference.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "properties": {
- "description": "Describes a network interface reference properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkInterfaceReferenceProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkInterfaceReferenceProperties": {
- "description": "Describes a network interface reference properties.",
- "properties": {
- "deleteOption": {
- "description": "Specify what happens to the network interface when the VM is deleted",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkProfile": {
- "description": "Specifies the network interfaces or the networking configuration of the virtual machine.",
- "properties": {
- "networkApiVersion": {
- "description": "specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations",
- "oneOf": [
- {
- "enum": [
- "2020-11-01"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkInterfaceConfigurations": {
- "description": "Specifies the networking configurations that will be used to create the virtual machine networking resources.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineNetworkInterfaceConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkInterfaces": {
- "description": "Specifies the list of resource Ids for the network interfaces associated with the virtual machine.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/NetworkInterfaceReference"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "OSDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None** for Standard storage. **ReadOnly** for Premium storage.",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machine should be created.
Possible values are:
**Attach** \\u2013 This value is used when you are using a specialized disk to create the virtual machine.
**FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "deleteOption": {
- "description": "Specifies whether OS Disk should be deleted or detached upon VM deletion.
Possible values:
**Delete** If this value is used, the OS disk is deleted when VM is deleted.
**Detach** If this value is used, the os disk is retained after VM is deleted.
The default value is set to **detach**. For an ephemeral OS Disk, the default value is set to **Delete**. User cannot change the delete option for ephemeral OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diffDiskSettings": {
- "description": "Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiffDiskSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettings": {
- "description": "Specifies the encryption settings for the OS Disk.
Minimum api-version: 2015-06-15",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/ManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhd": {
- "description": "The virtual hard disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "OSProfile": {
- "description": "Specifies the operating system settings for the virtual machine. Some of the settings cannot be changed once VM is provisioned.",
- "properties": {
- "adminPassword": {
- "description": "Specifies the password of the administrator account.
**Minimum-length (Windows):** 8 characters
**Minimum-length (Linux):** 6 characters
**Max-length (Windows):** 123 characters
**Max-length (Linux):** 72 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])
**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"
For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp)
For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)",
- "type": "string"
- },
- "adminUsername": {
- "description": "Specifies the name of the administrator account.
This property cannot be updated after the VM is created.
**Windows-only restriction:** Cannot end in \".\"
**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters.",
- "type": "string"
- },
- "allowExtensionOperations": {
- "description": "Specifies whether extension operations should be allowed on the virtual machine.
This may only be set to False when no extensions are present on the virtual machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "computerName": {
- "description": "Specifies the host OS name of the virtual machine.
This name cannot be updated after the VM is created.
**Max-length (Windows):** 15 characters
**Max-length (Linux):** 64 characters.
For naming conventions and restrictions see [Azure infrastructure services implementation guidelines](https://docs.microsoft.com/azure/azure-resource-manager/management/resource-name-rules).",
- "type": "string"
- },
- "customData": {
- "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes.
**Note: Do not pass any secrets or passwords in customData property**
This property cannot be updated after the VM is created.
customData is passed to the VM to be saved as a file, for more information see [Custom Data on Azure VMs](https://azure.microsoft.com/blog/custom-data-and-cloud-init-on-windows-azure/)
For using cloud-init for your Linux VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init)",
- "type": "string"
- },
- "linuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros).",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "requireGuestProvisionSignal": {
- "description": "Optional property which must either be set to True or omitted.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "secrets": {
- "description": "Specifies set of certificates that should be installed onto the virtual machine. To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultSecretGroup"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "windowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/WindowsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "PatchSettings": {
- "description": "Specifies settings related to VM Guest Patching on Windows.",
- "properties": {
- "assessmentMode": {
- "description": "Specifies the mode of VM Guest patch assessment for the IaaS virtual machine.
Possible values are:
**ImageDefault** - You control the timing of patch assessments on a virtual machine.
**AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true. ",
- "oneOf": [
- {
- "enum": [
- "ImageDefault",
- "AutomaticByPlatform"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "automaticByPlatformSettings": {
- "description": "Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Windows.",
- "oneOf": [
- {
- "$ref": "#/definitions/WindowsVMGuestPatchAutomaticByPlatformSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableHotpatching": {
- "description": "Enables customers to patch their Azure VMs without requiring a reboot. For enableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode' must be set to 'AutomaticByPlatform'.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "patchMode": {
- "description": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.
Possible values are:
**Manual** - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false
**AutomaticByOS** - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true.
**AutomaticByPlatform** - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true ",
- "oneOf": [
- {
- "enum": [
- "Manual",
- "AutomaticByOS",
- "AutomaticByPlatform"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "properties": {
- "name": {
- "description": "The plan ID.",
- "type": "string"
- },
- "product": {
- "description": "Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.",
- "type": "string"
- },
- "promotionCode": {
- "description": "The promotion code.",
- "type": "string"
- },
- "publisher": {
- "description": "The publisher ID.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ProximityPlacementGroupProperties": {
- "description": "Describes the properties of a Proximity Placement Group.",
- "properties": {
- "colocationStatus": {
- "description": "Describes colocation status of the Proximity Placement Group.",
- "oneOf": [
- {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "intent": {
- "description": "Specifies the user intent of the proximity placement group.",
- "oneOf": [
- {
- "$ref": "#/definitions/ProximityPlacementGroupPropertiesIntent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroupType": {
- "description": "Specifies the type of the proximity placement group.
Possible values are:
**Standard** : Co-locate resources within an Azure region or Availability Zone.
**Ultra** : For future use.",
- "oneOf": [
- {
- "enum": [
- "Standard",
- "Ultra"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ProximityPlacementGroupPropertiesIntent": {
- "description": "Specifies the user intent of the proximity placement group.",
- "properties": {
- "vmSizes": {
- "description": "Specifies possible sizes of virtual machines that can be created in the proximity placement group.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "PublicIPAddressSku": {
- "description": "Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible.",
- "properties": {
- "name": {
- "description": "Specify public IP sku name",
- "oneOf": [
- {
- "enum": [
- "Basic",
- "Standard"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tier": {
- "description": "Specify public IP sku tier",
- "oneOf": [
- {
- "enum": [
- "Regional",
- "Global"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RestorePointCollectionProperties": {
- "description": "The restore point collection properties.",
- "properties": {
- "source": {
- "description": "The properties of the source resource that this restore point collection is created from.",
- "oneOf": [
- {
- "$ref": "#/definitions/RestorePointCollectionSourceProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RestorePointCollectionSourceProperties": {
- "description": "The properties of the source resource that this restore point collection is created from.",
- "properties": {
- "id": {
- "description": "Resource Id of the source resource used to create this restore point collection",
- "type": "string"
- }
- },
- "type": "object"
- },
- "RestorePointProperties": {
- "description": "The restore point properties.",
- "properties": {
- "consistencyMode": {
- "description": "ConsistencyMode of the RestorePoint. Can be specified in the input while creating a restore point. For now, only CrashConsistent is accepted as a valid input. Please refer to https://aka.ms/RestorePoints for more details.",
- "oneOf": [
- {
- "enum": [
- "CrashConsistent",
- "FileSystemConsistent",
- "ApplicationConsistent"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "excludeDisks": {
- "description": "List of disk resource ids that the customer wishes to exclude from the restore point. If no disks are specified, all disks will be included.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/ApiEntityReference"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sourceRestorePoint": {
- "description": "Resource Id of the source restore point from which a copy needs to be created.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApiEntityReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "timeCreated": {
- "description": "Gets the creation time of the restore point.",
- "format": "date-time",
- "type": "string"
- }
- },
- "type": "object"
- },
- "RollingUpgradePolicy": {
- "description": "The configuration parameters used while performing a rolling upgrade.",
- "properties": {
- "enableCrossZoneUpgrade": {
- "description": "Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxBatchInstancePercent": {
- "description": "The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 5,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxUnhealthyInstancePercent": {
- "description": "The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 5,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxUnhealthyUpgradedInstancePercent": {
- "description": "The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "pauseTimeBetweenBatches": {
- "description": "The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format. The default value is 0 seconds (PT0S).",
- "type": "string"
- },
- "prioritizeUnhealthyInstances": {
- "description": "Upgrade all unhealthy instances in a scale set before any healthy instances.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RunCommandInputParameter": {
- "description": "Describes the properties of a run command parameter.",
- "properties": {
- "name": {
- "description": "The run command parameter name.",
- "type": "string"
- },
- "value": {
- "description": "The run command parameter value.",
- "type": "string"
- }
- },
- "required": [
- "name",
- "value"
- ],
- "type": "object"
- },
- "ScaleInPolicy": {
- "description": "Describes a scale-in policy for a virtual machine scale set.",
- "properties": {
- "forceDeletion": {
- "description": "This property allows you to specify if virtual machines chosen for removal have to be force deleted when a virtual machine scale set is being scaled-in.(Feature in Preview)",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "rules": {
- "description": "The rules to be followed when scaling-in a virtual machine scale set.
Possible values are:
**Default** When a virtual machine scale set is scaled in, the scale set will first be balanced across zones if it is a zonal scale set. Then, it will be balanced across Fault Domains as far as possible. Within each Fault Domain, the virtual machines chosen for removal will be the newest ones that are not protected from scale-in.
**OldestVM** When a virtual machine scale set is being scaled-in, the oldest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the oldest virtual machines that are not protected will be chosen for removal.
**NewestVM** When a virtual machine scale set is being scaled-in, the newest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the newest virtual machines that are not protected will be chosen for removal.
",
- "oneOf": [
- {
- "items": {
- "enum": [
- "Default",
- "OldestVM",
- "NewestVM"
- ],
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ScheduledEventsProfile": {
- "properties": {
- "terminateNotificationProfile": {
- "description": "Specifies Terminate Scheduled Event related configurations.",
- "oneOf": [
- {
- "$ref": "#/definitions/TerminateNotificationProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SecurityProfile": {
- "description": "Specifies the Security profile settings for the virtual machine or virtual machine scale set.",
- "properties": {
- "encryptionAtHost": {
- "description": "This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself.
Default: The Encryption at host will be disabled unless this property is set to true for the resource.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityType": {
- "description": "Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings.
Default: UefiSettings will not be enabled unless this property is set.",
- "oneOf": [
- {
- "enum": [
- "TrustedLaunch",
- "ConfidentialVM"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "uefiSettings": {
- "description": "Specifies the security settings like secure boot and vTPM used while creating the virtual machine.
Minimum api-version: 2020-12-01",
- "oneOf": [
- {
- "$ref": "#/definitions/UefiSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Sku": {
- "description": "Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name.",
- "properties": {
- "capacity": {
- "description": "Specifies the number of virtual machines in the scale set.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The sku name.",
- "type": "string"
- },
- "tier": {
- "description": "Specifies the tier of virtual machines in a scale set.
Possible Values:
**Standard**
**Basic**",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SpotRestorePolicy": {
- "description": "Specifies the Spot-Try-Restore properties for the virtual machine scale set.
With this property customer can enable or disable automatic restore of the evicted Spot VMSS VM instances opportunistically based on capacity availability and pricing constraint.",
- "properties": {
- "enabled": {
- "description": "Enables the Spot-Try-Restore feature where evicted VMSS SPOT instances will be tried to be restored opportunistically based on capacity availability and pricing constraints",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "restoreTimeout": {
- "description": "Timeout value expressed as an ISO 8601 time duration after which the platform will not try to restore the VMSS SPOT instances",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SshConfiguration": {
- "description": "SSH configuration for Linux based VMs running on Azure",
- "properties": {
- "publicKeys": {
- "description": "The list of SSH public keys used to authenticate with linux based VMs.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SshPublicKey"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SshPublicKey": {
- "description": "Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed.",
- "properties": {
- "keyData": {
- "description": "SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format.
For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed).",
- "type": "string"
- },
- "path": {
- "description": "Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SshPublicKeyResourceProperties": {
- "description": "Properties of the SSH public key.",
- "properties": {
- "publicKey": {
- "description": "SSH public key used to authenticate to a virtual machine through ssh. If this property is not initially provided when the resource is created, the publicKey property will be populated when generateKeyPair is called. If the public key is provided upon resource creation, the provided public key needs to be at least 2048-bit and in ssh-rsa format.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "StorageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add a data disk to a virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/DataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "$ref": "#/definitions/OSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SubResource": {
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "TerminateNotificationProfile": {
- "properties": {
- "enable": {
- "description": "Specifies whether the Terminate Scheduled event is enabled or disabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "notBeforeTimeout": {
- "description": "Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M)",
- "type": "string"
- }
- },
- "type": "object"
- },
- "UefiSettings": {
- "description": "Specifies the security settings like secure boot and vTPM used while creating the virtual machine.
Minimum api-version: 2020-12-01",
- "properties": {
- "secureBootEnabled": {
- "description": "Specifies whether secure boot should be enabled on the virtual machine.
Minimum api-version: 2020-12-01",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vTpmEnabled": {
- "description": "Specifies whether vTPM should be enabled on the virtual machine.
Minimum api-version: 2020-12-01",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "UpgradePolicy": {
- "description": "Describes an upgrade policy - automatic, manual, or rolling.",
- "properties": {
- "automaticOSUpgradePolicy": {
- "description": "Configuration parameters used for performing automatic OS Upgrade.",
- "oneOf": [
- {
- "$ref": "#/definitions/AutomaticOSUpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "mode": {
- "description": "Specifies the mode of an upgrade to virtual machines in the scale set.
Possible values are:
**Manual** - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.
**Automatic** - All virtual machines in the scale set are automatically updated at the same time.",
- "oneOf": [
- {
- "enum": [
- "Automatic",
- "Manual",
- "Rolling"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "rollingUpgradePolicy": {
- "description": "The configuration parameters used while performing a rolling upgrade.",
- "oneOf": [
- {
- "$ref": "#/definitions/RollingUpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "UserAssignedIdentitiesValue": {
- "properties": {},
- "type": "object"
- },
- "VMDiskSecurityProfile": {
- "description": "Specifies the security profile settings for the managed disk.
NOTE: It can only be set for Confidential VMs",
- "properties": {
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed disk that is used for Customer Managed Key encrypted ConfidentialVM OS Disk and VMGuest blob.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityEncryptionType": {
- "description": "Specifies the EncryptionType of the managed disk.
It is set to DiskWithVMGuestState for encryption of the managed disk along with VMGuestState blob, and VMGuestStateOnly for encryption of just the VMGuestState blob.
NOTE: It can be set for only Confidential VMs.",
- "oneOf": [
- {
- "enum": [
- "VMGuestStateOnly",
- "DiskWithVMGuestState"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VMGalleryApplication": {
- "description": "Specifies the required information to reference a compute gallery application version",
- "properties": {
- "configurationReference": {
- "description": "Optional, Specifies the uri to an azure blob that will replace the default configuration for the package if provided",
- "type": "string"
- },
- "enableAutomaticUpgrade": {
- "description": "If set to true, when a new Gallery Application version is available in PIR/SIG, it will be automatically updated for the VM/VMSS",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "order": {
- "description": "Optional, Specifies the order in which the packages have to be installed",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "packageReferenceId": {
- "description": "Specifies the GalleryApplicationVersion resource id on the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version}",
- "type": "string"
- },
- "tags": {
- "description": "Optional, Specifies a passthrough value for more generic context.",
- "type": "string"
- },
- "treatFailureAsDeploymentFailure": {
- "description": "Optional, If true, any failure for any operation in the VmApplication will fail the deployment",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "packageReferenceId"
- ],
- "type": "object"
- },
- "VMSizeProperties": {
- "description": "Specifies VM Size Property settings on the virtual machine.",
- "properties": {
- "vCPUsAvailable": {
- "description": "Specifies the number of vCPUs available for the VM.
When this property is not specified in the request body the default behavior is to set it to the value of vCPUs available for that VM size exposed in api response of [List all available virtual machine sizes in a region](https://docs.microsoft.com/en-us/rest/api/compute/resource-skus/list) .",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vCPUsPerCore": {
- "description": "Specifies the vCPU to physical core ratio.
When this property is not specified in the request body the default behavior is set to the value of vCPUsPerCore for the VM Size exposed in api response of [List all available virtual machine sizes in a region](https://docs.microsoft.com/en-us/rest/api/compute/resource-skus/list)
Setting this property to 1 also means that hyper-threading is disabled.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VaultCertificate": {
- "description": "Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM.",
- "properties": {
- "certificateStore": {
- "description": "For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account.
For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of these files are .pem formatted.",
- "type": "string"
- },
- "certificateUrl": {
- "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:
{
\"data\":\"\",
\"dataType\":\"pfx\",
\"password\":\"\"
}
To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VaultSecretGroup": {
- "description": "Describes a set of certificates which are all in the same Key Vault.",
- "properties": {
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing all of the certificates in VaultCertificates.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vaultCertificates": {
- "description": "The list of key vault references in SourceVault which contain certificates.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultCertificate"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualHardDisk": {
- "description": "Describes the uri of a disk.",
- "properties": {
- "uri": {
- "description": "Specifies the virtual hard disk's uri.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineExtensionInstanceView": {
- "description": "The instance view of a virtual machine extension.",
- "properties": {
- "name": {
- "description": "The virtual machine extension name.",
- "type": "string"
- },
- "statuses": {
- "description": "The resource status information.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "substatuses": {
- "description": "The resource status information.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineExtensionProperties": {
- "description": "Describes the properties of a Virtual Machine Extension.",
- "properties": {
- "autoUpgradeMinorVersion": {
- "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticUpgrade": {
- "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "forceUpdateTag": {
- "description": "How the extension handler should be forced to update even if the extension configuration has not changed.",
- "type": "string"
- },
- "instanceView": {
- "description": "The virtual machine extension instance view.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionInstanceView"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedSettings": {
- "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedSettingsFromKeyVault": {
- "description": "The extensions protected settings that are passed by reference, and consumed from key vault",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publisher": {
- "description": "The name of the extension handler publisher.",
- "type": "string"
- },
- "settings": {
- "description": "Json formatted public settings for the extension.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "suppressFailures": {
- "description": "Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineIdentity": {
- "description": "Identity for the virtual machine.",
- "properties": {
- "type": {
- "description": "The type of identity used for the virtual machine. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned",
- "UserAssigned",
- "SystemAssigned, UserAssigned",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userAssignedIdentities": {
- "description": "The list of user identities associated with the Virtual Machine. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
- "oneOf": [
- {
- "additionalProperties": {
- "$ref": "#/definitions/UserAssignedIdentitiesValue"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineIpTag": {
- "description": "Contains the IP tag associated with the public IP address.",
- "properties": {
- "ipTagType": {
- "description": "IP tag type. Example: FirstPartyUsage.",
- "type": "string"
- },
- "tag": {
- "description": "IP tag associated with the public IP. Example: SQL, Storage etc.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineNetworkInterfaceConfiguration": {
- "description": "Describes a virtual machine network interface configurations.",
- "properties": {
- "name": {
- "description": "The network interface configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine network profile's IP configuration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineNetworkInterfaceConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineNetworkInterfaceConfigurationProperties": {
- "description": "Describes a virtual machine network profile's IP configuration.",
- "properties": {
- "deleteOption": {
- "description": "Specify what happens to the network interface when the VM is deleted",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dnsSettings": {
- "description": "The dns settings to be applied on the network interfaces.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineNetworkInterfaceDnsSettingsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dscpConfiguration": {
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAcceleratedNetworking": {
- "description": "Specifies whether the network interface is accelerated networking-enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableFpga": {
- "description": "Specifies whether the network interface is FPGA networking-enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableIPForwarding": {
- "description": "Whether IP forwarding enabled on this NIC.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipConfigurations": {
- "description": "Specifies the IP configurations of the network interface.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineNetworkInterfaceIPConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkSecurityGroup": {
- "description": "The network security group.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "ipConfigurations"
- ],
- "type": "object"
- },
- "VirtualMachineNetworkInterfaceDnsSettingsConfiguration": {
- "description": "Describes a virtual machines network configuration's DNS settings.",
- "properties": {
- "dnsServers": {
- "description": "List of DNS servers IP addresses",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineNetworkInterfaceIPConfiguration": {
- "description": "Describes a virtual machine network profile's IP configuration.",
- "properties": {
- "name": {
- "description": "The IP configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine network interface IP configuration properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineNetworkInterfaceIPConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineNetworkInterfaceIPConfigurationProperties": {
- "description": "Describes a virtual machine network interface IP configuration properties.",
- "properties": {
- "applicationGatewayBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of application gateways. A virtual machine can reference backend address pools of multiple application gateways. Multiple virtual machines cannot use the same application gateway.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "applicationSecurityGroups": {
- "description": "Specifies an array of references to application security group.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of load balancers. A virtual machine can reference backend address pools of one public and one internal load balancer. [Multiple virtual machines cannot use the same basic sku load balancer].",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "privateIPAddressVersion": {
- "description": "Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressConfiguration": {
- "description": "The publicIPAddressConfiguration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachinePublicIPAddressConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "subnet": {
- "description": "Specifies the identifier of the subnet.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineProperties": {
- "description": "Describes the properties of a Virtual Machine.",
- "properties": {
- "additionalCapabilities": {
- "description": "Specifies additional capabilities enabled or disabled on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/AdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "applicationProfile": {
- "description": "Specifies the gallery applications that should be made available to the VM/VMSS",
- "oneOf": [
- {
- "$ref": "#/definitions/ApplicationProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "availabilitySet": {
- "description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Availability sets overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview).
For more information on Azure planned maintenance, see [Maintenance and updates for Virtual Machines in Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates)
Currently, a VM can only be added to availability set at creation time. The availability set to which the VM is being added should be under the same resource group as the availability set resource. An existing VM cannot be added to an availability set.
This property cannot exist along with a non-null properties.virtualMachineScaleSet reference.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "billingProfile": {
- "description": "Specifies the billing related details of a Azure Spot virtual machine.
Minimum api-version: 2019-03-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/BillingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "capacityReservation": {
- "description": "Specifies information about the capacity reservation that is used to allocate virtual machine.
Minimum api-version: 2021-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/CapacityReservationProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "evictionPolicy": {
- "description": "Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set.
For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01.
For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview.",
- "oneOf": [
- {
- "enum": [
- "Deallocate",
- "Delete"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extensionsTimeBudget": {
- "description": "Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M).
Minimum api-version: 2020-06-01",
- "type": "string"
- },
- "hardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/HardwareProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "host": {
- "description": "Specifies information about the dedicated host that the virtual machine resides in.
Minimum api-version: 2018-10-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hostGroup": {
- "description": "Specifies information about the dedicated host group that the virtual machine resides in.
Minimum api-version: 2020-06-01.
NOTE: User cannot specify both host and hostGroup properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises.
Possible values for Windows Server operating system are:
Windows_Client
Windows_Server
Possible values for Linux Server operating system are:
RHEL_BYOS (for RHEL)
SLES_BYOS (for SUSE)
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)
[Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings used while creating the virtual machine. Some of the settings cannot be changed once VM is provisioned.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformFaultDomain": {
- "description": "Specifies the scale set logical fault domain into which the Virtual Machine will be created. By default, the Virtual Machine will by automatically assigned to a fault domain that best maintains balance across available fault domains.
This is applicable only if the 'virtualMachineScaleSet' property of this Virtual Machine is set.The Virtual Machine Scale Set that is referenced, must have 'platformFaultDomainCount' > 1.This property cannot be updated once the Virtual Machine is created.Fault domain assignment can be viewed in the Virtual Machine Instance View.
Minimum api‐version: 2020‐12‐01",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "priority": {
- "description": "Specifies the priority for the virtual machine.
Minimum api-version: 2019-03-01",
- "oneOf": [
- {
- "enum": [
- "Regular",
- "Low",
- "Spot"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the virtual machine should be assigned to.
Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "scheduledEventsProfile": {
- "description": "Specifies Scheduled Event related configurations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ScheduledEventsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Specifies the Security related profile settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/SecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/StorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userData": {
- "description": "UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here.
Minimum api-version: 2021-03-01",
- "type": "string"
- },
- "virtualMachineScaleSet": {
- "description": "Specifies information about the virtual machine scale set that the virtual machine should be assigned to. Virtual machines specified in the same virtual machine scale set are allocated to different nodes to maximize availability. Currently, a VM can only be added to virtual machine scale set at creation time. An existing VM cannot be added to a virtual machine scale set.
This property cannot exist along with a non-null properties.availabilitySet reference.
Minimum api‐version: 2019‐03‐01",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachinePublicIPAddressConfiguration": {
- "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration",
- "properties": {
- "name": {
- "description": "The publicIP address configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachinePublicIPAddressConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible.",
- "oneOf": [
- {
- "$ref": "#/definitions/PublicIPAddressSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachinePublicIPAddressConfigurationProperties": {
- "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration",
- "properties": {
- "deleteOption": {
- "description": "Specify what happens to the public IP address when the VM is deleted",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dnsSettings": {
- "description": "The dns settings to be applied on the publicIP addresses .",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachinePublicIPAddressDnsSettingsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "idleTimeoutInMinutes": {
- "description": "The idle timeout of the public IP address.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipTags": {
- "description": "The list of IP tags associated with the public IP address.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineIpTag"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressVersion": {
- "description": "Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAllocationMethod": {
- "description": "Specify the public IP allocation type",
- "oneOf": [
- {
- "enum": [
- "Dynamic",
- "Static"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPPrefix": {
- "description": "The PublicIPPrefix from which to allocate publicIP addresses.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachinePublicIPAddressDnsSettingsConfiguration": {
- "description": "Describes a virtual machines network configuration's DNS settings.",
- "properties": {
- "domainNameLabel": {
- "description": "The Domain name label prefix of the PublicIPAddress resources that will be created. The generated name label is the concatenation of the domain name label and vm network profile unique ID.",
- "type": "string"
- }
- },
- "required": [
- "domainNameLabel"
- ],
- "type": "object"
- },
- "VirtualMachineRunCommandProperties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "properties": {
- "asyncExecution": {
- "description": "Optional. If set to true, provisioning will complete as soon as the script starts and will not wait for script to complete.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "errorBlobUri": {
- "description": "Specifies the Azure storage blob where script error stream will be uploaded.",
- "type": "string"
- },
- "outputBlobUri": {
- "description": "Specifies the Azure storage blob where script output stream will be uploaded.",
- "type": "string"
- },
- "parameters": {
- "description": "The parameters used by the script.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/RunCommandInputParameter"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedParameters": {
- "description": "The parameters used by the script.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/RunCommandInputParameter"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "runAsPassword": {
- "description": "Specifies the user account password on the VM when executing the run command.",
- "type": "string"
- },
- "runAsUser": {
- "description": "Specifies the user account on the VM when executing the run command.",
- "type": "string"
- },
- "source": {
- "description": "The source of the run command script.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandScriptSource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "timeoutInSeconds": {
- "description": "The timeout in seconds to execute the run command.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineRunCommandScriptSource": {
- "description": "Describes the script sources for run command.",
- "properties": {
- "commandId": {
- "description": "Specifies a commandId of predefined built-in script.",
- "type": "string"
- },
- "script": {
- "description": "Specifies the script content to be executed on the VM.",
- "type": "string"
- },
- "scriptUri": {
- "description": "Specifies the script download location.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetDataDisk": {
- "description": "Describes a virtual machine scale set data disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "The create option.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "deleteOption": {
- "description": "Specifies whether data disk should be deleted or detached upon VMSS Flex deletion (This feature is available for VMSS with Flexible OrchestrationMode only).
Possible values:
**Delete** If this value is used, the data disk is deleted when the VMSS Flex VM is deleted.
**Detach** If this value is used, the data disk is retained after VMSS Flex VM is deleted.
The default value is set to **Delete**.",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskIOPSReadWrite": {
- "description": "Specifies the Read-Write IOPS for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskMBpsReadWrite": {
- "description": "Specifies the bandwidth in MB per second for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun",
- "createOption"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetExtension": {
- "description": "Describes a Virtual Machine Scale Set Extension.",
- "properties": {
- "name": {
- "description": "The name of the extension.",
- "type": "string"
- },
- "properties": {
- "anyOf": [
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/genericExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/bgInfo"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/dscExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackup"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/chefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/dockerExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/eset"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/puppetAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/customScript"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetExtensionProfile": {
- "description": "Describes a virtual machine scale set extension profile.",
- "properties": {
- "extensions": {
- "description": "The virtual machine scale set child extension resources.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetExtension"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extensionsTimeBudget": {
- "description": "Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M).
Minimum api-version: 2020-06-01",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetExtensionProperties": {
- "description": "Describes the properties of a Virtual Machine Scale Set Extension.",
- "properties": {
- "autoUpgradeMinorVersion": {
- "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticUpgrade": {
- "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "forceUpdateTag": {
- "description": "If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.",
- "type": "string"
- },
- "protectedSettings": {
- "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedSettingsFromKeyVault": {
- "description": "The extensions protected settings that are passed by reference, and consumed from key vault",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionAfterExtensions": {
- "description": "Collection of extension names after which this extension needs to be provisioned.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publisher": {
- "description": "The name of the extension handler publisher.",
- "type": "string"
- },
- "settings": {
- "description": "Json formatted public settings for the extension.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "suppressFailures": {
- "description": "Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetHardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine scale set.",
- "properties": {
- "vmSizeProperties": {
- "description": "Specifies the properties for customizing the size of the virtual machine. Minimum api-version: 2022-03-01.
Please follow the instructions in [VM Customization](https://aka.ms/vmcustomization) for more details.",
- "oneOf": [
- {
- "$ref": "#/definitions/VMSizeProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIPConfiguration": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "name": {
- "description": "The IP configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetIPConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetIPConfigurationProperties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration properties.",
- "properties": {
- "applicationGatewayBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of application gateways. A scale set can reference backend address pools of multiple application gateways. Multiple scale sets cannot use the same application gateway.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "applicationSecurityGroups": {
- "description": "Specifies an array of references to application security group.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of load balancers. A scale set can reference backend address pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerInboundNatPools": {
- "description": "Specifies an array of references to inbound Nat pools of the load balancers. A scale set can reference inbound nat pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "privateIPAddressVersion": {
- "description": "Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressConfiguration": {
- "description": "The publicIPAddressConfiguration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "subnet": {
- "description": "Specifies the identifier of the subnet.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApiEntityReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIdentity": {
- "description": "Identity for the virtual machine scale set.",
- "properties": {
- "type": {
- "description": "The type of identity used for the virtual machine scale set. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine scale set.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned",
- "UserAssigned",
- "SystemAssigned, UserAssigned",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userAssignedIdentities": {
- "description": "The list of user identities associated with the virtual machine scale set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
- "oneOf": [
- {
- "additionalProperties": {
- "$ref": "#/definitions/UserAssignedIdentitiesValue"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIpTag": {
- "description": "Contains the IP tag associated with the public IP address.",
- "properties": {
- "ipTagType": {
- "description": "IP tag type. Example: FirstPartyUsage.",
- "type": "string"
- },
- "tag": {
- "description": "IP tag associated with the public IP. Example: SQL, Storage etc.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetManagedDiskParameters": {
- "description": "Describes the parameters of a ScaleSet managed disk.",
- "properties": {
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Specifies the security profile for the managed disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VMDiskSecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS",
- "Premium_ZRS",
- "StandardSSD_ZRS",
- "PremiumV2_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfiguration": {
- "description": "Describes a virtual machine scale set network profile's network configurations.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "name": {
- "description": "The network configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfigurationDnsSettings": {
- "description": "Describes a virtual machines scale sets network configuration's DNS settings.",
- "properties": {
- "dnsServers": {
- "description": "List of DNS servers IP addresses",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfigurationProperties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "properties": {
- "deleteOption": {
- "description": "Specify what happens to the network interface when the VM is deleted",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dnsSettings": {
- "description": "The dns settings to be applied on the network interfaces.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationDnsSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAcceleratedNetworking": {
- "description": "Specifies whether the network interface is accelerated networking-enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableFpga": {
- "description": "Specifies whether the network interface is FPGA networking-enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableIPForwarding": {
- "description": "Whether IP forwarding enabled on this NIC.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipConfigurations": {
- "description": "Specifies the IP configurations of the network interface.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetIPConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkSecurityGroup": {
- "description": "The network security group.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "ipConfigurations"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkProfile": {
- "description": "Describes a virtual machine scale set network profile.",
- "properties": {
- "healthProbe": {
- "description": "A reference to a load balancer probe used to determine the health of an instance in the virtual machine scale set. The reference will be in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApiEntityReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkApiVersion": {
- "description": "specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations for Virtual Machine Scale Set with orchestration mode 'Flexible'",
- "oneOf": [
- {
- "enum": [
- "2020-11-01"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkInterfaceConfigurations": {
- "description": "The list of network configurations.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetOSDisk": {
- "description": "Describes a virtual machine scale set operating system disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machines in the scale set should be created.
The only allowed value is: **FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "deleteOption": {
- "description": "Specifies whether OS Disk should be deleted or detached upon VMSS Flex deletion (This feature is available for VMSS with Flexible OrchestrationMode only).
Possible values:
**Delete** If this value is used, the OS disk is deleted when VMSS Flex VM is deleted.
**Detach** If this value is used, the OS disk is retained after VMSS Flex VM is deleted.
The default value is set to **Delete**. For an Ephemeral OS Disk, the default value is set to **Delete**. User cannot change the delete option for Ephemeral OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diffDiskSettings": {
- "description": "Specifies the ephemeral disk Settings for the operating system disk used by the virtual machine scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiffDiskSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of the operating system disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "Specifies information about the unmanaged user image to base the scale set on.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhdContainers": {
- "description": "Specifies the container urls that are used to store operating system disks for the scale set.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetOSProfile": {
- "description": "Describes a virtual machine scale set OS profile.",
- "properties": {
- "adminPassword": {
- "description": "Specifies the password of the administrator account.
**Minimum-length (Windows):** 8 characters
**Minimum-length (Linux):** 6 characters
**Max-length (Windows):** 123 characters
**Max-length (Linux):** 72 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])
**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"
For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp)
For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)",
- "type": "string"
- },
- "adminUsername": {
- "description": "Specifies the name of the administrator account.
**Windows-only restriction:** Cannot end in \".\"
**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters",
- "type": "string"
- },
- "allowExtensionOperations": {
- "description": "Specifies whether extension operations should be allowed on the virtual machine scale set.
This may only be set to False when no extensions are present on the virtual machine scale set.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "computerNamePrefix": {
- "description": "Specifies the computer name prefix for all of the virtual machines in the scale set. Computer name prefixes must be 1 to 15 characters long.",
- "type": "string"
- },
- "customData": {
- "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes.
For using cloud-init for your VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init)",
- "type": "string"
- },
- "linuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros).",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "secrets": {
- "description": "Specifies set of certificates that should be installed onto the virtual machines in the scale set. To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultSecretGroup"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "windowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/WindowsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetProperties": {
- "description": "Describes the properties of a Virtual Machine Scale Set.",
- "properties": {
- "additionalCapabilities": {
- "description": "Specifies additional capabilities enabled or disabled on the Virtual Machines in the Virtual Machine Scale Set. For instance: whether the Virtual Machines have the capability to support attaching managed data disks with UltraSSD_LRS storage account type.",
- "oneOf": [
- {
- "$ref": "#/definitions/AdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "automaticRepairsPolicy": {
- "description": "Policy for automatic repairs.",
- "oneOf": [
- {
- "$ref": "#/definitions/AutomaticRepairsPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "doNotRunExtensionsOnOverprovisionedVMs": {
- "description": "When Overprovision is enabled, extensions are launched only on the requested number of VMs which are finally kept. This property will hence ensure that the extensions do not run on the extra overprovisioned VMs.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hostGroup": {
- "description": "Specifies information about the dedicated host group that the virtual machine scale set resides in.
Minimum api-version: 2020-06-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "orchestrationMode": {
- "description": "Specifies the orchestration mode for the virtual machine scale set.",
- "oneOf": [
- {
- "enum": [
- "Uniform",
- "Flexible"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "overprovision": {
- "description": "Specifies whether the Virtual Machine Scale Set should be overprovisioned.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformFaultDomainCount": {
- "description": "Fault Domain count for each placement group.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the virtual machine scale set should be assigned to.
Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "scaleInPolicy": {
- "description": "Specifies the policies applied when scaling in Virtual Machines in the Virtual Machine Scale Set.",
- "oneOf": [
- {
- "$ref": "#/definitions/ScaleInPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "singlePlacementGroup": {
- "description": "When true this limits the scale set to a single placement group, of max size 100 virtual machines. NOTE: If singlePlacementGroup is true, it may be modified to false. However, if singlePlacementGroup is false, it may not be modified to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "spotRestorePolicy": {
- "description": "Specifies the Spot Restore properties for the virtual machine scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/SpotRestorePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "upgradePolicy": {
- "description": "The upgrade policy.",
- "oneOf": [
- {
- "$ref": "#/definitions/UpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "virtualMachineProfile": {
- "description": "The virtual machine profile.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "zoneBalance": {
- "description": "Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage. zoneBalance property can only be set if the zones property of the scale set contains more than one zone. If there are no zones or only one zone specified, then zoneBalance property should not be set.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfiguration": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "properties": {
- "name": {
- "description": "The publicIP address configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible.",
- "oneOf": [
- {
- "$ref": "#/definitions/PublicIPAddressSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings": {
- "description": "Describes a virtual machines scale sets network configuration's DNS settings.",
- "properties": {
- "domainNameLabel": {
- "description": "The Domain name label.The concatenation of the domain name label and vm index will be the domain name labels of the PublicIPAddress resources that will be created",
- "type": "string"
- }
- },
- "required": [
- "domainNameLabel"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfigurationProperties": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "properties": {
- "deleteOption": {
- "description": "Specify what happens to the public IP when the VM is deleted",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dnsSettings": {
- "description": "The dns settings to be applied on the publicIP addresses .",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "idleTimeoutInMinutes": {
- "description": "The idle timeout of the public IP address.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipTags": {
- "description": "The list of IP tags associated with the public IP address.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetIpTag"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressVersion": {
- "description": "Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPPrefix": {
- "description": "The PublicIPPrefix from which to allocate publicIP addresses.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetStorageProfile": {
- "description": "Describes a virtual machine scale set storage profile.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add data disks to the virtual machines in the scale set.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetDataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machines in the scale set.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetOSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMNetworkProfileConfiguration": {
- "description": "Describes a virtual machine scale set VM network profile.",
- "properties": {
- "networkInterfaceConfigurations": {
- "description": "The list of network configurations.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProfile": {
- "description": "Describes a virtual machine scale set virtual machine profile.",
- "properties": {
- "applicationProfile": {
- "description": "Specifies the gallery applications that should be made available to the VM/VMSS",
- "oneOf": [
- {
- "$ref": "#/definitions/ApplicationProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "billingProfile": {
- "description": "Specifies the billing related details of a Azure Spot VMSS.
Minimum api-version: 2019-03-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/BillingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "capacityReservation": {
- "description": "Specifies the capacity reservation related details of a scale set.
Minimum api-version: 2021-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/CapacityReservationProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "evictionPolicy": {
- "description": "Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set.
For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01.
For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview.",
- "oneOf": [
- {
- "enum": [
- "Deallocate",
- "Delete"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extensionProfile": {
- "description": "Specifies a collection of settings for extensions installed on virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetExtensionProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hardwareProfile": {
- "description": "Specifies the hardware profile related details of a scale set.
Minimum api-version: 2022-03-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetHardwareProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises.
Possible values for Windows Server operating system are:
Windows_Client
Windows_Server
Possible values for Linux Server operating system are:
RHEL_BYOS (for RHEL)
SLES_BYOS (for SUSE)
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)
[Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies properties of the network interfaces of the virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings for the virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetOSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "priority": {
- "description": "Specifies the priority for the virtual machines in the scale set.
Minimum api-version: 2017-10-30-preview",
- "oneOf": [
- {
- "enum": [
- "Regular",
- "Low",
- "Spot"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "scheduledEventsProfile": {
- "description": "Specifies Scheduled Event related configurations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ScheduledEventsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Specifies the Security related profile settings for the virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/SecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userData": {
- "description": "UserData for the virtual machines in the scale set, which must be base-64 encoded. Customer should not pass any secrets in here.
Minimum api-version: 2021-03-01",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProperties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "properties": {
- "additionalCapabilities": {
- "description": "Specifies additional capabilities enabled or disabled on the virtual machine in the scale set. For instance: whether the virtual machine has the capability to support attaching managed data disks with UltraSSD_LRS storage account type.",
- "oneOf": [
- {
- "$ref": "#/definitions/AdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "availabilitySet": {
- "description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Availability sets overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview).
For more information on Azure planned maintenance, see [Maintenance and updates for Virtual Machines in Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates)
Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/HardwareProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises.
Possible values for Windows Server operating system are:
Windows_Client
Windows_Server
Possible values for Linux Server operating system are:
RHEL_BYOS (for RHEL)
SLES_BYOS (for SUSE)
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)
[Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkProfileConfiguration": {
- "description": "Specifies the network profile configuration of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMNetworkProfileConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectionPolicy": {
- "description": "Specifies the protection policy of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProtectionPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Specifies the Security related profile settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/SecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/StorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userData": {
- "description": "UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here.
Minimum api-version: 2021-03-01",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProtectionPolicy": {
- "description": "The protection policy of a virtual machine scale set VM.",
- "properties": {
- "protectFromScaleIn": {
- "description": "Indicates that the virtual machine scale set VM shouldn't be considered for deletion during a scale-in operation.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectFromScaleSetActions": {
- "description": "Indicates that model updates or actions (including scale-in) initiated on the virtual machine scale set should not be applied to the virtual machine scale set VM.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WinRMConfiguration": {
- "description": "Describes Windows Remote Management configuration of the VM",
- "properties": {
- "listeners": {
- "description": "The list of Windows Remote Management listeners",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/WinRMListener"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WinRMListener": {
- "description": "Describes Protocol and thumbprint of Windows Remote Management listener",
- "properties": {
- "certificateUrl": {
- "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:
{
\"data\":\"\",
\"dataType\":\"pfx\",
\"password\":\"\"
}
To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).",
- "type": "string"
- },
- "protocol": {
- "description": "Specifies the protocol of WinRM listener.
Possible values are:
**http**
**https**",
- "oneOf": [
- {
- "enum": [
- "Http",
- "Https"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WindowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "properties": {
- "additionalUnattendContent": {
- "description": "Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/AdditionalUnattendContent"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticUpdates": {
- "description": "Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value is true.
For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "patchSettings": {
- "description": "[Preview Feature] Specifies settings related to VM Guest Patching on Windows.",
- "oneOf": [
- {
- "$ref": "#/definitions/PatchSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionVMAgent": {
- "description": "Indicates whether virtual machine agent should be provisioned on the virtual machine.
When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "timeZone": {
- "description": "Specifies the time zone of the virtual machine. e.g. \"Pacific Standard Time\".
Possible values can be [TimeZoneInfo.Id](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.id?#System_TimeZoneInfo_Id) value from time zones returned by [TimeZoneInfo.GetSystemTimeZones](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.getsystemtimezones).",
- "type": "string"
- },
- "winRM": {
- "description": "Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.",
- "oneOf": [
- {
- "$ref": "#/definitions/WinRMConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WindowsVMGuestPatchAutomaticByPlatformSettings": {
- "description": "Specifies additional settings to be applied when patch mode AutomaticByPlatform is selected in Windows patch settings.",
- "properties": {
- "rebootSetting": {
- "description": "Specifies the reboot setting for all AutomaticByPlatform patch installation operations.",
- "oneOf": [
- {
- "enum": [
- "Unknown",
- "IfRequired",
- "Never",
- "Always"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "capacityReservationGroups_capacityReservations_childResource": {
- "description": "Microsoft.Compute/capacityReservationGroups/capacityReservations",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the capacity reservation.",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the Capacity reservation.",
- "oneOf": [
- {
- "$ref": "#/definitions/CapacityReservationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "SKU of the resource for which capacity needs be reserved. The SKU name and capacity is required to be set. Currently VM Skus with the capability called 'CapacityReservationSupported' set to true are supported. Refer to List Microsoft.Compute SKUs in a region (https://docs.microsoft.com/rest/api/compute/resourceskus/list) for supported values.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "capacityReservations"
- ],
- "type": "string"
- },
- "zones": {
- "description": "Availability Zone to use for this capacity reservation. The zone has to be single value and also should be part for the list of zones specified during the capacity reservation group creation. The zone can be assigned only during creation. If not provided, the reservation supports only non-zonal deployments. If provided, enforces VM/VMSS using this capacity reservation to be in same zone.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "hostGroups_hosts_childResource": {
- "description": "Microsoft.Compute/hostGroups/hosts",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the dedicated host .",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the dedicated host.",
- "oneOf": [
- {
- "$ref": "#/definitions/DedicatedHostProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be set. List Microsoft.Compute SKUs for a list of possible values.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "hosts"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "restorePointCollections_restorePoints_childResource": {
- "description": "Microsoft.Compute/restorePointCollections/restorePoints",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-03-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the restore point.",
- "type": "string"
- },
- "properties": {
- "description": "The restore point properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/RestorePointProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "restorePoints"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-03-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the VM scale set extension.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Scale Set Extension.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetExtensionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-03-01"
- ],
- "type": "string"
- },
- "identity": {
- "description": "The identity of the virtual machine, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The instance ID of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "virtualMachines"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-03-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine extension.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Extension.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_runCommands_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/runCommands",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine run command.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "runCommands"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachines/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine extension.",
- "type": "string"
- },
- "properties": {
- "anyOf": [
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/genericExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/bgInfo"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/dscExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackup"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/chefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/dockerExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/eset"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/puppetAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/customScript"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines_runCommands_childResource": {
- "description": "Microsoft.Compute/virtualMachines/runCommands",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine run command.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "runCommands"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- }
-}
\ No newline at end of file
diff --git a/schemas/2022-03-02/Microsoft.Compute.json b/schemas/2022-03-02/Microsoft.Compute.json
deleted file mode 100644
index 53954a6cfd..0000000000
--- a/schemas/2022-03-02/Microsoft.Compute.json
+++ /dev/null
@@ -1,1502 +0,0 @@
-{
- "id": "https://schema.management.azure.com/schemas/2022-03-02/Microsoft.Compute.json#",
- "title": "Microsoft.Compute",
- "description": "Microsoft Compute Resource Types",
- "$schema": "http://json-schema.org/draft-04/schema#",
- "resourceDefinitions": {
- "diskAccesses": {
- "description": "Microsoft.Compute/diskAccesses",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-03-02"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location where the disk access will be created. Extended location cannot be changed.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the disk access resource that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "oneOf": [
- {
- "$ref": "#/definitions/DiskAccessProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/diskAccesses_privateEndpointConnections_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/diskAccesses"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "diskAccesses_privateEndpointConnections": {
- "description": "Microsoft.Compute/diskAccesses/privateEndpointConnections",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-03-02"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the private endpoint connection.",
- "type": "string"
- },
- "properties": {
- "description": "Resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/PrivateEndpointConnectionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/diskAccesses/privateEndpointConnections"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "diskEncryptionSets": {
- "description": "Microsoft.Compute/diskEncryptionSets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-03-02"
- ],
- "type": "string"
- },
- "identity": {
- "description": "The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSetIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the disk encryption set that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/diskEncryptionSets"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "disks": {
- "description": "Microsoft.Compute/disks",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-03-02"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location where the disk will be created. Extended location cannot be changed.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Disk resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, StandardSSD_ZRS, or PremiumV2_LRS.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/disks"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The Logical zone list for Disk.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "snapshots": {
- "description": "Microsoft.Compute/snapshots",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-03-02"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location where the snapshot will be created. Extended location cannot be changed.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The max name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Snapshot resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/SnapshotProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot",
- "oneOf": [
- {
- "$ref": "#/definitions/SnapshotSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/snapshots"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- },
- "definitions": {
- "CopyCompletionError": {
- "description": "Indicates the error details if the background copy of a resource created via the CopyStart operation fails.",
- "properties": {
- "errorCode": {
- "description": "Indicates the error code if the background copy of a resource created via the CopyStart operation fails.",
- "oneOf": [
- {
- "enum": [
- "CopySourceNotFound"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "errorMessage": {
- "description": "Indicates the error message if the background copy of a resource created via the CopyStart operation fails.",
- "type": "string"
- }
- },
- "required": [
- "errorCode",
- "errorMessage"
- ],
- "type": "object"
- },
- "CreationData": {
- "description": "Data used when creating a disk.",
- "properties": {
- "createOption": {
- "description": "This enumerates the possible sources of a disk's creation.",
- "oneOf": [
- {
- "enum": [
- "Empty",
- "Attach",
- "FromImage",
- "Import",
- "Copy",
- "Restore",
- "Upload",
- "CopyStart",
- "ImportSecure",
- "UploadPreparedSecure"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "galleryImageReference": {
- "description": "Required if creating from a Gallery Image. The id/sharedGalleryImageId/communityGalleryImageId of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageDiskReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Disk source information for PIR or user images.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageDiskReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "logicalSectorSize": {
- "description": "Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityDataUri": {
- "description": "If createOption is ImportSecure, this is the URI of a blob to be imported into VM guest state.",
- "type": "string"
- },
- "sourceResourceId": {
- "description": "If createOption is Copy, this is the ARM id of the source snapshot or disk.",
- "type": "string"
- },
- "sourceUri": {
- "description": "If createOption is Import, this is the URI of a blob to be imported into a managed disk.",
- "type": "string"
- },
- "storageAccountId": {
- "description": "Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk.",
- "type": "string"
- },
- "uploadSizeBytes": {
- "description": "If createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer).",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "DiskAccessProperties": {
- "properties": {},
- "type": "object"
- },
- "DiskProperties": {
- "description": "Disk resource properties.",
- "properties": {
- "burstingEnabled": {
- "description": "Set to true to enable bursting beyond the provisioned performance target of the disk. Bursting is disabled by default. Does not apply to Ultra disks.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "completionPercent": {
- "description": "Percentage complete for the background copy when a resource is created via the CopyStart operation.",
- "oneOf": [
- {
- "type": "number"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "creationData": {
- "description": "Disk source information. CreationData information cannot be changed after the disk has been created.",
- "oneOf": [
- {
- "$ref": "#/definitions/CreationData"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dataAccessAuthMode": {
- "description": "Additional authentication requirements when exporting or uploading to a disk or snapshot.",
- "oneOf": [
- {
- "enum": [
- "AzureActiveDirectory",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskAccessId": {
- "description": "ARM id of the DiskAccess resource for using private endpoints on disks.",
- "type": "string"
- },
- "diskIOPSReadOnly": {
- "description": "The total number of IOPS that will be allowed across all VMs mounting the shared disk as ReadOnly. One operation can transfer between 4k and 256k bytes.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskIOPSReadWrite": {
- "description": "The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskMBpsReadOnly": {
- "description": "The total throughput (MBps) that will be allowed across all VMs mounting the shared disk as ReadOnly. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskMBpsReadWrite": {
- "description": "The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryption": {
- "description": "Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.",
- "oneOf": [
- {
- "$ref": "#/definitions/Encryption"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettingsCollection": {
- "description": "Encryption settings collection used for Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSettingsCollection"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hyperVGeneration": {
- "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxShares": {
- "description": "The maximum number of VMs that can attach to the disk at the same time. Value greater than one indicates a disk that can be mounted on multiple VMs at the same time.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkAccessPolicy": {
- "description": "Policy for accessing the disk via network.",
- "oneOf": [
- {
- "enum": [
- "AllowAll",
- "AllowPrivate",
- "DenyAll"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "The Operating System type.",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicNetworkAccess": {
- "description": "Policy for controlling export on the disk.",
- "oneOf": [
- {
- "enum": [
- "Enabled",
- "Disabled"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "purchasePlan": {
- "description": "Purchase plan information for the the image from which the OS disk was created. E.g. - {name: 2019-Datacenter, publisher: MicrosoftWindowsServer, product: WindowsServer}",
- "oneOf": [
- {
- "$ref": "#/definitions/PurchasePlan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Contains the security related information for the resource.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskSecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "supportedCapabilities": {
- "description": "List of supported capabilities for the image from which the OS disk was created.",
- "oneOf": [
- {
- "$ref": "#/definitions/SupportedCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "supportsHibernation": {
- "description": "Indicates the OS on a disk supports hibernation.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tier": {
- "description": "Performance tier of the disk (e.g, P4, S10) as described here: https://azure.microsoft.com/en-us/pricing/details/managed-disks/. Does not apply to Ultra disks.",
- "type": "string"
- }
- },
- "required": [
- "creationData"
- ],
- "type": "object"
- },
- "DiskSecurityProfile": {
- "description": "Contains the security related information for the resource.",
- "properties": {
- "secureVMDiskEncryptionSetId": {
- "description": "ResourceId of the disk encryption set associated to Confidential VM supported disk encrypted with customer managed key",
- "type": "string"
- },
- "securityType": {
- "description": "Specifies the SecurityType of the VM. Applicable for OS disks only.",
- "oneOf": [
- {
- "enum": [
- "TrustedLaunch",
- "ConfidentialVM_VMGuestStateOnlyEncryptedWithPlatformKey",
- "ConfidentialVM_DiskEncryptedWithPlatformKey",
- "ConfidentialVM_DiskEncryptedWithCustomerKey"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiskSku": {
- "description": "The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, StandardSSD_ZRS, or PremiumV2_LRS.",
- "properties": {
- "name": {
- "description": "The sku name.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS",
- "Premium_ZRS",
- "StandardSSD_ZRS",
- "PremiumV2_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Encryption": {
- "description": "Encryption at rest settings for disk or snapshot",
- "properties": {
- "diskEncryptionSetId": {
- "description": "ResourceId of the disk encryption set to use for enabling encryption at rest.",
- "type": "string"
- },
- "type": {
- "description": "The type of key used to encrypt the data of the disk.",
- "oneOf": [
- {
- "enum": [
- "EncryptionAtRestWithPlatformKey",
- "EncryptionAtRestWithCustomerKey",
- "EncryptionAtRestWithPlatformAndCustomerKeys"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "EncryptionSetIdentity": {
- "description": "The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks.",
- "properties": {
- "type": {
- "description": "The type of Managed Identity used by the DiskEncryptionSet. Only SystemAssigned is supported for new creations. Disk Encryption Sets can be updated with Identity type None during migration of subscription to a new Azure Active Directory tenant; it will cause the encrypted resources to lose access to the keys.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned",
- "UserAssigned",
- "SystemAssigned, UserAssigned",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userAssignedIdentities": {
- "description": "The list of user identities associated with the disk encryption set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
- "oneOf": [
- {
- "additionalProperties": {
- "$ref": "#/definitions/UserAssignedIdentitiesValue"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "EncryptionSetProperties": {
- "properties": {
- "activeKey": {
- "description": "The key vault key which is currently used by this disk encryption set.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyForDiskEncryptionSet"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionType": {
- "description": "The type of key used to encrypt the data of the disk.",
- "oneOf": [
- {
- "enum": [
- "EncryptionAtRestWithCustomerKey",
- "EncryptionAtRestWithPlatformAndCustomerKeys",
- "ConfidentialVmEncryptedWithCustomerKey"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "federatedClientId": {
- "description": "Multi-tenant application client id to access key vault in a different tenant. Setting the value to 'None' will clear the property.",
- "type": "string"
- },
- "rotationToLatestKeyVersionEnabled": {
- "description": "Set this flag to true to enable auto-updating of this disk encryption set to the latest key version.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "EncryptionSettingsCollection": {
- "description": "Encryption settings for disk or snapshot",
- "properties": {
- "enabled": {
- "description": "Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettings": {
- "description": "A collection of encryption settings, one for each disk volume.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/EncryptionSettingsElement"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettingsVersion": {
- "description": "Describes what type of encryption is used for the disks. Once this field is set, it cannot be overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption.",
- "type": "string"
- }
- },
- "required": [
- "enabled"
- ],
- "type": "object"
- },
- "EncryptionSettingsElement": {
- "description": "Encryption settings for one disk volume.",
- "properties": {
- "diskEncryptionKey": {
- "description": "Key Vault Secret Url and vault id of the disk encryption key",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultAndSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "keyEncryptionKey": {
- "description": "Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultAndKeyReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ExtendedLocation": {
- "description": "The complex type of the extended location.",
- "properties": {
- "name": {
- "description": "The name of the extended location.",
- "type": "string"
- },
- "type": {
- "description": "The type of the extended location.",
- "oneOf": [
- {
- "enum": [
- "EdgeZone"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImageDiskReference": {
- "description": "The source image used for creating the disk.",
- "properties": {
- "communityGalleryImageId": {
- "description": "A relative uri containing a community Azure Compute Gallery image reference.",
- "type": "string"
- },
- "id": {
- "description": "A relative uri containing either a Platform Image Repository, user image, or Azure Compute Gallery image reference.",
- "type": "string"
- },
- "lun": {
- "description": "If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sharedGalleryImageId": {
- "description": "A relative uri containing a direct shared Azure Compute Gallery image reference.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "KeyForDiskEncryptionSet": {
- "description": "Key Vault Key Url to be used for server side encryption of Managed Disks and Snapshots",
- "properties": {
- "keyUrl": {
- "description": "Fully versioned Key Url pointing to a key in KeyVault. Version segment of the Url is required regardless of rotationToLatestKeyVersionEnabled value.",
- "type": "string"
- },
- "sourceVault": {
- "description": "Resource id of the KeyVault containing the key or secret. This property is optional and cannot be used if the KeyVault subscription is not the same as the Disk Encryption Set subscription.",
- "oneOf": [
- {
- "$ref": "#/definitions/SourceVault"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "keyUrl"
- ],
- "type": "object"
- },
- "KeyVaultAndKeyReference": {
- "description": "Key Vault Key Url and vault id of KeK, KeK is optional and when provided is used to unwrap the encryptionKey",
- "properties": {
- "keyUrl": {
- "description": "Url pointing to a key or secret in KeyVault",
- "type": "string"
- },
- "sourceVault": {
- "description": "Resource id of the KeyVault containing the key or secret",
- "oneOf": [
- {
- "$ref": "#/definitions/SourceVault"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "sourceVault",
- "keyUrl"
- ],
- "type": "object"
- },
- "KeyVaultAndSecretReference": {
- "description": "Key Vault Secret Url and vault id of the encryption key ",
- "properties": {
- "secretUrl": {
- "description": "Url pointing to a key or secret in KeyVault",
- "type": "string"
- },
- "sourceVault": {
- "description": "Resource id of the KeyVault containing the key or secret",
- "oneOf": [
- {
- "$ref": "#/definitions/SourceVault"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "sourceVault",
- "secretUrl"
- ],
- "type": "object"
- },
- "PrivateEndpointConnectionProperties": {
- "description": "Properties of the PrivateEndpointConnectProperties.",
- "properties": {
- "privateLinkServiceConnectionState": {
- "description": "A collection of information about the state of the connection between DiskAccess and Virtual Network.",
- "oneOf": [
- {
- "$ref": "#/definitions/PrivateLinkServiceConnectionState"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "privateLinkServiceConnectionState"
- ],
- "type": "object"
- },
- "PrivateLinkServiceConnectionState": {
- "description": "A collection of information about the state of the connection between service consumer and provider.",
- "properties": {
- "actionsRequired": {
- "description": "A message indicating if changes on the service provider require any updates on the consumer.",
- "type": "string"
- },
- "description": {
- "description": "The reason for approval/rejection of the connection.",
- "type": "string"
- },
- "status": {
- "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.",
- "oneOf": [
- {
- "enum": [
- "Pending",
- "Approved",
- "Rejected"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "PurchasePlan": {
- "description": "Used for establishing the purchase context of any 3rd Party artifact through MarketPlace.",
- "properties": {
- "name": {
- "description": "The plan ID.",
- "type": "string"
- },
- "product": {
- "description": "Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.",
- "type": "string"
- },
- "promotionCode": {
- "description": "The Offer Promotion Code.",
- "type": "string"
- },
- "publisher": {
- "description": "The publisher ID.",
- "type": "string"
- }
- },
- "required": [
- "name",
- "publisher",
- "product"
- ],
- "type": "object"
- },
- "SnapshotProperties": {
- "description": "Snapshot resource properties.",
- "properties": {
- "completionPercent": {
- "description": "Percentage complete for the background copy when a resource is created via the CopyStart operation.",
- "oneOf": [
- {
- "type": "number"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "copyCompletionError": {
- "description": "Indicates the error details if the background copy of a resource created via the CopyStart operation fails.",
- "oneOf": [
- {
- "$ref": "#/definitions/CopyCompletionError"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "creationData": {
- "description": "Disk source information. CreationData information cannot be changed after the disk has been created.",
- "oneOf": [
- {
- "$ref": "#/definitions/CreationData"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dataAccessAuthMode": {
- "description": "Additional authentication requirements when exporting or uploading to a disk or snapshot.",
- "oneOf": [
- {
- "enum": [
- "AzureActiveDirectory",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskAccessId": {
- "description": "ARM id of the DiskAccess resource for using private endpoints on disks.",
- "type": "string"
- },
- "diskSizeGB": {
- "description": "If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryption": {
- "description": "Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.",
- "oneOf": [
- {
- "$ref": "#/definitions/Encryption"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettingsCollection": {
- "description": "Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSettingsCollection"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hyperVGeneration": {
- "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "incremental": {
- "description": "Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full snapshots and can be diffed.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkAccessPolicy": {
- "description": "Policy for accessing the disk via network.",
- "oneOf": [
- {
- "enum": [
- "AllowAll",
- "AllowPrivate",
- "DenyAll"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "The Operating System type.",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicNetworkAccess": {
- "description": "Policy for controlling export on the disk.",
- "oneOf": [
- {
- "enum": [
- "Enabled",
- "Disabled"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "purchasePlan": {
- "description": "Purchase plan information for the image from which the source disk for the snapshot was originally created.",
- "oneOf": [
- {
- "$ref": "#/definitions/PurchasePlan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Contains the security related information for the resource.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskSecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "supportedCapabilities": {
- "description": "List of supported capabilities for the image from which the source disk from the snapshot was originally created.",
- "oneOf": [
- {
- "$ref": "#/definitions/SupportedCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "supportsHibernation": {
- "description": "Indicates the OS on a snapshot supports hibernation.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "creationData"
- ],
- "type": "object"
- },
- "SnapshotSku": {
- "description": "The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot",
- "properties": {
- "name": {
- "description": "The sku name.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "Standard_ZRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SourceVault": {
- "description": "The vault id is an Azure Resource Manager Resource id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SupportedCapabilities": {
- "description": "List of supported capabilities persisted on the disk resource for VM use.",
- "properties": {
- "acceleratedNetwork": {
- "description": "True if the image from which the OS disk is created supports accelerated networking.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "architecture": {
- "description": "CPU architecture supported by an OS disk.",
- "oneOf": [
- {
- "enum": [
- "x64",
- "Arm64"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "UserAssignedIdentitiesValue": {
- "properties": {},
- "type": "object"
- },
- "diskAccesses_privateEndpointConnections_childResource": {
- "description": "Microsoft.Compute/diskAccesses/privateEndpointConnections",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-03-02"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the private endpoint connection.",
- "type": "string"
- },
- "properties": {
- "description": "Resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/PrivateEndpointConnectionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "privateEndpointConnections"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- }
-}
\ No newline at end of file
diff --git a/schemas/2022-03-03/Microsoft.Compute.json b/schemas/2022-03-03/Microsoft.Compute.json
deleted file mode 100644
index 6f08be3831..0000000000
--- a/schemas/2022-03-03/Microsoft.Compute.json
+++ /dev/null
@@ -1,1928 +0,0 @@
-{
- "id": "https://schema.management.azure.com/schemas/2022-03-03/Microsoft.Compute.json#",
- "title": "Microsoft.Compute",
- "description": "Microsoft Compute Resource Types",
- "$schema": "http://json-schema.org/draft-04/schema#",
- "resourceDefinitions": {
- "galleries": {
- "description": "Microsoft.Compute/galleries",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-03-03"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the Shared Image Gallery. The allowed characters are alphabets and numbers with dots and periods allowed in the middle. The maximum length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Shared Image Gallery.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/galleries_images_childResource"
- },
- {
- "$ref": "#/definitions/galleries_applications_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/galleries"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_applications": {
- "description": "Microsoft.Compute/galleries/applications",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-03-03"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Application Definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery Application Definition.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryApplicationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/galleries_applications_versions_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/galleries/applications"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_applications_versions": {
- "description": "Microsoft.Compute/galleries/applications/versions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-03-03"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Application Version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery image version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryApplicationVersionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/galleries/applications/versions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_images": {
- "description": "Microsoft.Compute/galleries/images",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-03-03"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery image definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery image definition.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/galleries_images_versions_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/galleries/images"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_images_versions": {
- "description": "Microsoft.Compute/galleries/images/versions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-03-03"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery image version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery image version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageVersionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/galleries/images/versions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- },
- "definitions": {
- "CommunityGalleryInfo": {
- "description": "Information of community gallery if current gallery is shared to community",
- "properties": {
- "eula": {
- "description": "End-user license agreement for community gallery image.",
- "type": "string"
- },
- "publicNamePrefix": {
- "description": "The prefix of the gallery name that will be displayed publicly. Visible to all users.",
- "type": "string"
- },
- "publisherContact": {
- "description": "Community gallery publisher support email. The email address of the publisher. Visible to all users.",
- "type": "string"
- },
- "publisherUri": {
- "description": "The link to the publisher website. Visible to all users.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "DataDiskImageEncryption": {
- "description": "Contains encryption settings for a data disk image.",
- "properties": {
- "diskEncryptionSetId": {
- "description": "A relative URI containing the resource ID of the disk encryption set.",
- "type": "string"
- },
- "lun": {
- "description": "This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun"
- ],
- "type": "object"
- },
- "Disallowed": {
- "description": "Describes the disallowed disk types.",
- "properties": {
- "diskTypes": {
- "description": "A list of disk types.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "EncryptionImages": {
- "description": "Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact.",
- "properties": {
- "dataDiskImages": {
- "description": "A list of encryption specifications for data disk images.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/DataDiskImageEncryption"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDiskImage": {
- "description": "Contains encryption settings for an OS disk image.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSDiskImageEncryption"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryApplicationCustomAction": {
- "description": "A custom action that can be performed with a Gallery Application Version.",
- "properties": {
- "description": {
- "description": "Description to help the users understand what this custom action does.",
- "type": "string"
- },
- "name": {
- "description": "The name of the custom action. Must be unique within the Gallery Application Version.",
- "type": "string"
- },
- "parameters": {
- "description": "The parameters that this custom action uses",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/GalleryApplicationCustomActionParameter"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "script": {
- "description": "The script to run when executing this custom action.",
- "type": "string"
- }
- },
- "required": [
- "name",
- "script"
- ],
- "type": "object"
- },
- "GalleryApplicationCustomActionParameter": {
- "description": "The definition of a parameter that can be passed to a custom action of a Gallery Application Version.",
- "properties": {
- "defaultValue": {
- "description": "The default value of the parameter. Only applies to string types",
- "type": "string"
- },
- "description": {
- "description": "A description to help users understand what this parameter means",
- "type": "string"
- },
- "name": {
- "description": "The name of the custom action. Must be unique within the Gallery Application Version.",
- "type": "string"
- },
- "required": {
- "description": "Indicates whether this parameter must be passed when running the custom action.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the custom action parameter. Possible values are: String, ConfigurationDataBlob or LogOutputBlob",
- "oneOf": [
- {
- "enum": [
- "String",
- "ConfigurationDataBlob",
- "LogOutputBlob"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "GalleryApplicationProperties": {
- "description": "Describes the properties of a gallery Application Definition.",
- "properties": {
- "customActions": {
- "description": "A list of custom actions that can be performed with all of the Gallery Application Versions within this Gallery Application.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/GalleryApplicationCustomAction"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "description": {
- "description": "The description of this gallery Application Definition resource. This property is updatable.",
- "type": "string"
- },
- "endOfLifeDate": {
- "description": "The end of life date of the gallery Application Definition. This property can be used for decommissioning purposes. This property is updatable.",
- "format": "date-time",
- "type": "string"
- },
- "eula": {
- "description": "The Eula agreement for the gallery Application Definition.",
- "type": "string"
- },
- "privacyStatementUri": {
- "description": "The privacy statement uri.",
- "type": "string"
- },
- "releaseNoteUri": {
- "description": "The release note uri.",
- "type": "string"
- },
- "supportedOSType": {
- "description": "This property allows you to specify the supported type of the OS that application is built for.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "supportedOSType"
- ],
- "type": "object"
- },
- "GalleryApplicationVersionProperties": {
- "description": "Describes the properties of a gallery image version.",
- "properties": {
- "publishingProfile": {
- "description": "The publishing profile of a gallery image version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryApplicationVersionPublishingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "safetyProfile": {
- "description": "The safety profile of the Gallery Application Version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryApplicationVersionSafetyProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "publishingProfile"
- ],
- "type": "object"
- },
- "GalleryApplicationVersionPublishingProfile": {
- "description": "The publishing profile of a gallery image version.",
- "properties": {
- "advancedSettings": {
- "description": "Optional. Additional settings to pass to the vm-application-manager extension. For advanced use only.",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "customActions": {
- "description": "A list of custom actions that can be performed with this Gallery Application Version.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/GalleryApplicationCustomAction"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableHealthCheck": {
- "description": "Optional. Whether or not this application reports health.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "endOfLifeDate": {
- "description": "The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable.",
- "format": "date-time",
- "type": "string"
- },
- "excludeFromLatest": {
- "description": "If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "manageActions": {
- "oneOf": [
- {
- "$ref": "#/definitions/UserArtifactManage"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "replicaCount": {
- "description": "The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "replicationMode": {
- "description": "Optional parameter which specifies the mode to be used for replication. This property is not updatable.",
- "oneOf": [
- {
- "enum": [
- "Full",
- "Shallow"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "settings": {
- "description": "Additional settings for the VM app that contains the target package and config file name when it is deployed to target VM or VM scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/UserArtifactSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "source": {
- "description": "The source image from which the Image Version is going to be created.",
- "oneOf": [
- {
- "$ref": "#/definitions/UserArtifactSource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type to be used to store the image. This property is not updatable.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Standard_ZRS",
- "Premium_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "targetExtendedLocations": {
- "description": "The target extended locations where the Image Version is going to be replicated to. This property is updatable.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/GalleryTargetExtendedLocation"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "targetRegions": {
- "description": "The target regions where the Image Version is going to be replicated to. This property is updatable.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/TargetRegion"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "source"
- ],
- "type": "object"
- },
- "GalleryApplicationVersionSafetyProfile": {
- "description": "The safety profile of the Gallery Application Version.",
- "properties": {
- "allowDeletionOfReplicatedLocations": {
- "description": "Indicates whether or not removing this Gallery Image Version from replicated regions is allowed.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryArtifactVersionFullSource": {
- "description": "The source of the gallery artifact version.",
- "properties": {
- "communityGalleryImageId": {
- "description": "The resource Id of the source Community Gallery Image. Only required when using Community Gallery Image as a source.",
- "type": "string"
- },
- "id": {
- "description": "The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, user image or storage account resource.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "GalleryDataDiskImage": {
- "description": "This is the data disk image.",
- "properties": {
- "hostCaching": {
- "description": "The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "source": {
- "description": "The source for the disk image.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryDiskImageSource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun"
- ],
- "type": "object"
- },
- "GalleryDiskImageSource": {
- "description": "The source for the disk image.",
- "properties": {
- "id": {
- "description": "The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, user image or storage account resource.",
- "type": "string"
- },
- "storageAccountId": {
- "description": "The Storage Account Id that contains the vhd blob being used as a source for this artifact version.",
- "type": "string"
- },
- "uri": {
- "description": "The uri of the gallery artifact version source. Currently used to specify vhd/blob source.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "GalleryExtendedLocation": {
- "description": "The name of the extended location.",
- "properties": {
- "name": {
- "type": "string"
- },
- "type": {
- "description": "It is type of the extended location.",
- "oneOf": [
- {
- "enum": [
- "EdgeZone",
- "Unknown"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryIdentifier": {
- "description": "Describes the gallery unique name.",
- "properties": {},
- "type": "object"
- },
- "GalleryImageFeature": {
- "description": "A feature for gallery image.",
- "properties": {
- "name": {
- "description": "The name of the gallery image feature.",
- "type": "string"
- },
- "value": {
- "description": "The value of the gallery image feature.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "GalleryImageIdentifier": {
- "description": "This is the gallery image definition identifier.",
- "properties": {
- "offer": {
- "description": "The name of the gallery image definition offer.",
- "type": "string"
- },
- "publisher": {
- "description": "The name of the gallery image definition publisher.",
- "type": "string"
- },
- "sku": {
- "description": "The name of the gallery image definition SKU.",
- "type": "string"
- }
- },
- "required": [
- "publisher",
- "offer",
- "sku"
- ],
- "type": "object"
- },
- "GalleryImageProperties": {
- "description": "Describes the properties of a gallery image definition.",
- "properties": {
- "architecture": {
- "description": "The architecture of the image. Applicable to OS disks only.",
- "oneOf": [
- {
- "enum": [
- "x64",
- "Arm64"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "description": {
- "description": "The description of this gallery image definition resource. This property is updatable.",
- "type": "string"
- },
- "disallowed": {
- "description": "Describes the disallowed disk types.",
- "oneOf": [
- {
- "$ref": "#/definitions/Disallowed"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "endOfLifeDate": {
- "description": "The end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable.",
- "format": "date-time",
- "type": "string"
- },
- "eula": {
- "description": "The Eula agreement for the gallery image definition.",
- "type": "string"
- },
- "features": {
- "description": "A list of gallery image features.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/GalleryImageFeature"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hyperVGeneration": {
- "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "identifier": {
- "description": "This is the gallery image definition identifier.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageIdentifier"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osState": {
- "description": "This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'.",
- "oneOf": [
- {
- "enum": [
- "Generalized",
- "Specialized"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "privacyStatementUri": {
- "description": "The privacy statement uri.",
- "type": "string"
- },
- "purchasePlan": {
- "description": "Describes the gallery image definition purchase plan. This is used by marketplace images.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImagePurchasePlan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "recommended": {
- "description": "The properties describe the recommended machine configuration for this Image Definition. These properties are updatable.",
- "oneOf": [
- {
- "$ref": "#/definitions/RecommendedMachineConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "releaseNoteUri": {
- "description": "The release note uri.",
- "type": "string"
- }
- },
- "required": [
- "osType",
- "osState",
- "identifier"
- ],
- "type": "object"
- },
- "GalleryImageVersionProperties": {
- "description": "Describes the properties of a gallery image version.",
- "properties": {
- "publishingProfile": {
- "description": "The publishing profile of a gallery image Version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageVersionPublishingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "safetyProfile": {
- "description": "This is the safety profile of the Gallery Image Version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageVersionSafetyProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "This is the storage profile of a Gallery Image Version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageVersionStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "storageProfile"
- ],
- "type": "object"
- },
- "GalleryImageVersionPublishingProfile": {
- "description": "The publishing profile of a gallery image Version.",
- "properties": {
- "endOfLifeDate": {
- "description": "The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable.",
- "format": "date-time",
- "type": "string"
- },
- "excludeFromLatest": {
- "description": "If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "replicaCount": {
- "description": "The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "replicationMode": {
- "description": "Optional parameter which specifies the mode to be used for replication. This property is not updatable.",
- "oneOf": [
- {
- "enum": [
- "Full",
- "Shallow"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type to be used to store the image. This property is not updatable.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Standard_ZRS",
- "Premium_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "targetExtendedLocations": {
- "description": "The target extended locations where the Image Version is going to be replicated to. This property is updatable.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/GalleryTargetExtendedLocation"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "targetRegions": {
- "description": "The target regions where the Image Version is going to be replicated to. This property is updatable.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/TargetRegion"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryImageVersionSafetyProfile": {
- "description": "This is the safety profile of the Gallery Image Version.",
- "properties": {
- "allowDeletionOfReplicatedLocations": {
- "description": "Indicates whether or not removing this Gallery Image Version from replicated regions is allowed.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryImageVersionStorageProfile": {
- "description": "This is the storage profile of a Gallery Image Version.",
- "properties": {
- "dataDiskImages": {
- "description": "A list of data disk images.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/GalleryDataDiskImage"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDiskImage": {
- "description": "This is the OS disk image.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryOSDiskImage"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "source": {
- "description": "The source of the gallery artifact version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryArtifactVersionFullSource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryOSDiskImage": {
- "description": "This is the OS disk image.",
- "properties": {
- "hostCaching": {
- "description": "The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "source": {
- "description": "The source for the disk image.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryDiskImageSource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryProperties": {
- "description": "Describes the properties of a Shared Image Gallery.",
- "properties": {
- "description": {
- "description": "The description of this Shared Image Gallery resource. This property is updatable.",
- "type": "string"
- },
- "identifier": {
- "description": "Describes the gallery unique name.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryIdentifier"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sharingProfile": {
- "description": "Profile for gallery sharing to subscription or tenant",
- "oneOf": [
- {
- "$ref": "#/definitions/SharingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "softDeletePolicy": {
- "description": "Contains information about the soft deletion policy of the gallery.",
- "oneOf": [
- {
- "$ref": "#/definitions/SoftDeletePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryTargetExtendedLocation": {
- "properties": {
- "encryption": {
- "description": "Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionImages"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extendedLocation": {
- "description": "The name of the extended location.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extendedLocationReplicaCount": {
- "description": "The number of replicas of the Image Version to be created per extended location. This property is updatable.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The name of the region.",
- "type": "string"
- },
- "storageAccountType": {
- "description": "Specifies the storage account type to be used to store the image. This property is not updatable.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Standard_ZRS",
- "StandardSSD_LRS",
- "Premium_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImagePurchasePlan": {
- "description": "Describes the gallery image definition purchase plan. This is used by marketplace images.",
- "properties": {
- "name": {
- "description": "The plan ID.",
- "type": "string"
- },
- "product": {
- "description": "The product ID.",
- "type": "string"
- },
- "publisher": {
- "description": "The publisher ID.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "OSDiskImageEncryption": {
- "description": "Contains encryption settings for an OS disk image.",
- "properties": {
- "diskEncryptionSetId": {
- "description": "A relative URI containing the resource ID of the disk encryption set.",
- "type": "string"
- },
- "securityProfile": {
- "description": "This property specifies the security profile of an OS disk image.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSDiskImageSecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "OSDiskImageSecurityProfile": {
- "description": "Contains security profile for an OS disk image.",
- "properties": {
- "confidentialVMEncryptionType": {
- "description": "confidential VM encryption types",
- "oneOf": [
- {
- "enum": [
- "EncryptedVMGuestStateOnlyWithPmk",
- "EncryptedWithPmk",
- "EncryptedWithCmk"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "secureVMDiskEncryptionSetId": {
- "description": "secure VM disk encryption set id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "RecommendedMachineConfiguration": {
- "description": "The properties describe the recommended machine configuration for this Image Definition. These properties are updatable.",
- "properties": {
- "memory": {
- "description": "Describes the resource range.",
- "oneOf": [
- {
- "$ref": "#/definitions/ResourceRange"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vCPUs": {
- "description": "Describes the resource range.",
- "oneOf": [
- {
- "$ref": "#/definitions/ResourceRange"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ResourceRange": {
- "description": "Describes the resource range.",
- "properties": {
- "max": {
- "description": "The maximum number of the resource.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "min": {
- "description": "The minimum number of the resource.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SharingProfile": {
- "description": "Profile for gallery sharing to subscription or tenant",
- "properties": {
- "communityGalleryInfo": {
- "description": "Information of community gallery if current gallery is shared to community.",
- "oneOf": [
- {
- "$ref": "#/definitions/CommunityGalleryInfo"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "permissions": {
- "description": "This property allows you to specify the permission of sharing gallery.
Possible values are:
**Private**
**Groups**
**Community**",
- "oneOf": [
- {
- "enum": [
- "Private",
- "Groups",
- "Community"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SoftDeletePolicy": {
- "description": "Contains information about the soft deletion policy of the gallery.",
- "properties": {
- "isSoftDeleteEnabled": {
- "description": "Enables soft-deletion for resources in this gallery, allowing them to be recovered within retention time.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "TargetRegion": {
- "description": "Describes the target region information.",
- "properties": {
- "encryption": {
- "description": "Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionImages"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "excludeFromLatest": {
- "description": "Contains the flag setting to hide an image when users specify version='latest'",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The name of the region.",
- "type": "string"
- },
- "regionalReplicaCount": {
- "description": "The number of replicas of the Image Version to be created per region. This property is updatable.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type to be used to store the image. This property is not updatable.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Standard_ZRS",
- "Premium_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "UserArtifactManage": {
- "properties": {
- "install": {
- "description": "Required. The path and arguments to install the gallery application. This is limited to 4096 characters.",
- "type": "string"
- },
- "remove": {
- "description": "Required. The path and arguments to remove the gallery application. This is limited to 4096 characters.",
- "type": "string"
- },
- "update": {
- "description": "Optional. The path and arguments to update the gallery application. If not present, then update operation will invoke remove command on the previous version and install command on the current version of the gallery application. This is limited to 4096 characters.",
- "type": "string"
- }
- },
- "required": [
- "install",
- "remove"
- ],
- "type": "object"
- },
- "UserArtifactSettings": {
- "description": "Additional settings for the VM app that contains the target package and config file name when it is deployed to target VM or VM scale set.",
- "properties": {
- "configFileName": {
- "description": "Optional. The name to assign the downloaded config file on the VM. This is limited to 4096 characters. If not specified, the config file will be named the Gallery Application name appended with \"_config\".",
- "type": "string"
- },
- "packageFileName": {
- "description": "Optional. The name to assign the downloaded package file on the VM. This is limited to 4096 characters. If not specified, the package file will be named the same as the Gallery Application name.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "UserArtifactSource": {
- "description": "The source image from which the Image Version is going to be created.",
- "properties": {
- "defaultConfigurationLink": {
- "description": "Optional. The defaultConfigurationLink of the artifact, must be a readable storage page blob.",
- "type": "string"
- },
- "mediaLink": {
- "description": "Required. The mediaLink of the artifact, must be a readable storage page blob.",
- "type": "string"
- }
- },
- "required": [
- "mediaLink"
- ],
- "type": "object"
- },
- "galleries_applications_childResource": {
- "description": "Microsoft.Compute/galleries/applications",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-03-03"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Application Definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery Application Definition.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryApplicationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "applications"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_applications_versions_childResource": {
- "description": "Microsoft.Compute/galleries/applications/versions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-03-03"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Application Version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery image version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryApplicationVersionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "versions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_images_childResource": {
- "description": "Microsoft.Compute/galleries/images",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-03-03"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery image definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery image definition.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "images"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_images_versions_childResource": {
- "description": "Microsoft.Compute/galleries/images/versions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-03-03"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery image version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery image version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageVersionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "versions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- }
-}
\ No newline at end of file
diff --git a/schemas/2022-04-04/Microsoft.Compute.json b/schemas/2022-04-04/Microsoft.Compute.json
deleted file mode 100644
index 8af91fbf31..0000000000
--- a/schemas/2022-04-04/Microsoft.Compute.json
+++ /dev/null
@@ -1,617 +0,0 @@
-{
- "id": "https://schema.management.azure.com/schemas/2022-04-04/Microsoft.Compute.json#",
- "title": "Microsoft.Compute",
- "description": "Microsoft Compute Resource Types",
- "$schema": "http://json-schema.org/draft-04/schema#",
- "resourceDefinitions": {
- "cloudServices": {
- "description": "Microsoft.Compute/cloudServices",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-04-04"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location.",
- "type": "string"
- },
- "name": {
- "description": "Name of the cloud service.",
- "type": "string"
- },
- "properties": {
- "description": "Cloud service properties",
- "oneOf": [
- {
- "$ref": "#/definitions/CloudServiceProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "systemData": {
- "description": "The system meta data relating to this resource.",
- "oneOf": [
- {
- "$ref": "#/definitions/SystemData"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags.",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/cloudServices"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- },
- "definitions": {
- "CloudServiceExtensionProfile": {
- "description": "Describes a cloud service extension profile.",
- "properties": {
- "extensions": {
- "description": "List of extensions for the cloud service.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/Extension"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "CloudServiceExtensionProperties": {
- "description": "Extension Properties.",
- "properties": {
- "autoUpgradeMinorVersion": {
- "description": "Explicitly specify whether platform can automatically upgrade typeHandlerVersion to higher minor versions when they become available.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "forceUpdateTag": {
- "description": "Tag to force apply the provided public and protected settings.\r\nChanging the tag value allows for re-running the extension without changing any of the public or protected settings.\r\nIf forceUpdateTag is not changed, updates to public or protected settings would still be applied by the handler.\r\nIf neither forceUpdateTag nor any of public or protected settings change, extension would flow to the role instance with the same sequence-number, and\r\nit is up to handler implementation whether to re-run it or not",
- "type": "string"
- },
- "protectedSettings": {
- "description": "Protected settings for the extension which are encrypted before sent to the role instance.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedSettingsFromKeyVault": {
- "description": "Protected settings for the extension, referenced using KeyVault which are encrypted before sent to the role instance.",
- "oneOf": [
- {
- "$ref": "#/definitions/CloudServiceVaultAndSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publisher": {
- "description": "The name of the extension handler publisher.",
- "type": "string"
- },
- "rolesAppliedTo": {
- "description": "Optional list of roles to apply this extension. If property is not specified or '*' is specified, extension is applied to all roles in the cloud service.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "settings": {
- "description": "Public settings for the extension. For JSON extensions, this is the JSON settings for the extension. For XML Extension (like RDP), this is the XML setting for the extension.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension.",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the extension. Specifies the version of the extension. If this element is not specified or an asterisk (*) is used as the value, the latest version of the extension is used. If the value is specified with a major version number and an asterisk as the minor version number (X.), the latest minor version of the specified major version is selected. If a major version number and a minor version number are specified (X.Y), the specific extension version is selected. If a version is specified, an auto-upgrade is performed on the role instance.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "CloudServiceNetworkProfile": {
- "description": "Network Profile for the cloud service.",
- "properties": {
- "loadBalancerConfigurations": {
- "description": "List of Load balancer configurations. Cloud service can have up to two load balancer configurations, corresponding to a Public Load Balancer and an Internal Load Balancer.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/LoadBalancerConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "slotType": {
- "description": "Slot type for the cloud service.\r\nPossible values are
**Production**
**Staging**
\r\nIf not specified, the default value is Production.",
- "oneOf": [
- {
- "enum": [
- "Production",
- "Staging"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "swappableCloudService": {
- "description": "The id reference of the cloud service containing the target IP with which the subject cloud service can perform a swap. This property cannot be updated once it is set. The swappable cloud service referred by this id must be present otherwise an error will be thrown.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "CloudServiceOsProfile": {
- "description": "Describes the OS profile for the cloud service.",
- "properties": {
- "secrets": {
- "description": "Specifies set of certificates that should be installed onto the role instances.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/CloudServiceVaultSecretGroup"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "CloudServiceProperties": {
- "description": "Cloud service properties",
- "properties": {
- "allowModelOverride": {
- "description": "(Optional) Indicates whether the role sku properties (roleProfile.roles.sku) specified in the model/template should override the role instance count and vm size specified in the .cscfg and .csdef respectively.\r\nThe default value is `false`.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "configuration": {
- "description": "Specifies the XML service configuration (.cscfg) for the cloud service.",
- "type": "string"
- },
- "configurationUrl": {
- "description": "Specifies a URL that refers to the location of the service configuration in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account.\r\nThis is a write-only property and is not returned in GET calls.",
- "type": "string"
- },
- "extensionProfile": {
- "description": "Describes a cloud service extension profile.",
- "oneOf": [
- {
- "$ref": "#/definitions/CloudServiceExtensionProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkProfile": {
- "description": "Network Profile for the cloud service.",
- "oneOf": [
- {
- "$ref": "#/definitions/CloudServiceNetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Describes the OS profile for the cloud service.",
- "oneOf": [
- {
- "$ref": "#/definitions/CloudServiceOsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "packageUrl": {
- "description": "Specifies a URL that refers to the location of the service package in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account.\r\nThis is a write-only property and is not returned in GET calls.",
- "type": "string"
- },
- "roleProfile": {
- "description": "Describes the role profile for the cloud service.",
- "oneOf": [
- {
- "$ref": "#/definitions/CloudServiceRoleProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "startCloudService": {
- "description": "(Optional) Indicates whether to start the cloud service immediately after it is created. The default value is `true`.\r\nIf false, the service model is still deployed, but the code is not run immediately. Instead, the service is PoweredOff until you call Start, at which time the service will be started. A deployed service still incurs charges, even if it is poweredoff.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "upgradeMode": {
- "description": "Update mode for the cloud service. Role instances are allocated to update domains when the service is deployed. Updates can be initiated manually in each update domain or initiated automatically in all update domains.\r\nPossible Values are
**Auto**
**Manual**
**Simultaneous**
\r\nIf not specified, the default value is Auto. If set to Manual, PUT UpdateDomain must be called to apply the update. If set to Auto, the update is automatically applied to each update domain in sequence.",
- "oneOf": [
- {
- "enum": [
- "Auto",
- "Manual",
- "Simultaneous"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "CloudServiceRoleProfile": {
- "description": "Describes the role profile for the cloud service.",
- "properties": {
- "roles": {
- "description": "List of roles for the cloud service.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/CloudServiceRoleProfileProperties"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "CloudServiceRoleProfileProperties": {
- "description": "Describes the role properties.",
- "properties": {
- "name": {
- "description": "Resource name.",
- "type": "string"
- },
- "sku": {
- "description": "Describes the cloud service role sku.",
- "oneOf": [
- {
- "$ref": "#/definitions/CloudServiceRoleSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "CloudServiceRoleSku": {
- "description": "Describes the cloud service role sku.",
- "properties": {
- "capacity": {
- "description": "Specifies the number of role instances in the cloud service.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The sku name. NOTE: If the new SKU is not supported on the hardware the cloud service is currently on, you need to delete and recreate the cloud service or move back to the old sku.",
- "type": "string"
- },
- "tier": {
- "description": "Specifies the tier of the cloud service. Possible Values are
**Standard**
**Basic**",
- "type": "string"
- }
- },
- "type": "object"
- },
- "CloudServiceVaultAndSecretReference": {
- "description": "Protected settings for the extension, referenced using KeyVault which are encrypted before sent to the role instance.",
- "properties": {
- "secretUrl": {
- "description": "Secret URL which contains the protected settings of the extension",
- "type": "string"
- },
- "sourceVault": {
- "description": "The ARM Resource ID of the Key Vault",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "CloudServiceVaultCertificate": {
- "description": "Describes a single certificate reference in a Key Vault, and where the certificate should reside on the role instance.",
- "properties": {
- "certificateUrl": {
- "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "CloudServiceVaultSecretGroup": {
- "description": "Describes a set of certificates which are all in the same Key Vault.",
- "properties": {
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing all of the certificates in VaultCertificates.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vaultCertificates": {
- "description": "The list of key vault references in SourceVault which contain certificates.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/CloudServiceVaultCertificate"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Extension": {
- "description": "Describes a cloud service Extension.",
- "properties": {
- "name": {
- "description": "The name of the extension.",
- "type": "string"
- },
- "properties": {
- "description": "Extension Properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/CloudServiceExtensionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "LoadBalancerConfiguration": {
- "description": "Describes the load balancer configuration.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "name": {
- "description": "The name of the Load balancer",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the load balancer configuration.",
- "oneOf": [
- {
- "$ref": "#/definitions/LoadBalancerConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties"
- ],
- "type": "object"
- },
- "LoadBalancerConfigurationProperties": {
- "description": "Describes the properties of the load balancer configuration.",
- "properties": {
- "frontendIPConfigurations": {
- "description": "Specifies the frontend IP to be used for the load balancer. Only IPv4 frontend IP address is supported. Each load balancer configuration must have exactly one frontend IP configuration.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/LoadBalancerFrontendIPConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "frontendIPConfigurations"
- ],
- "type": "object"
- },
- "LoadBalancerFrontendIPConfiguration": {
- "description": "Specifies the frontend IP to be used for the load balancer. Only IPv4 frontend IP address is supported. Each load balancer configuration must have exactly one frontend IP configuration.",
- "properties": {
- "name": {
- "description": "The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.",
- "type": "string"
- },
- "properties": {
- "description": "Properties of load balancer frontend ip configuration.",
- "oneOf": [
- {
- "$ref": "#/definitions/LoadBalancerFrontendIPConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties"
- ],
- "type": "object"
- },
- "LoadBalancerFrontendIPConfigurationProperties": {
- "description": "Describes a cloud service IP Configuration",
- "properties": {
- "privateIPAddress": {
- "description": "The virtual network private IP address of the IP configuration.",
- "type": "string"
- },
- "publicIPAddress": {
- "description": "The reference to the public ip address resource.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "subnet": {
- "description": "The reference to the virtual network subnet resource.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SubResource": {
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SystemData": {
- "description": "The system meta data relating to this resource.",
- "properties": {},
- "type": "object"
- }
- }
-}
\ No newline at end of file
diff --git a/schemas/2022-07-02/Microsoft.Compute.json b/schemas/2022-07-02/Microsoft.Compute.json
deleted file mode 100644
index 1c3af3293b..0000000000
--- a/schemas/2022-07-02/Microsoft.Compute.json
+++ /dev/null
@@ -1,1528 +0,0 @@
-{
- "id": "https://schema.management.azure.com/schemas/2022-07-02/Microsoft.Compute.json#",
- "title": "Microsoft.Compute",
- "description": "Microsoft Compute Resource Types",
- "$schema": "http://json-schema.org/draft-04/schema#",
- "resourceDefinitions": {
- "diskAccesses": {
- "description": "Microsoft.Compute/diskAccesses",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-07-02"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location where the disk access will be created. Extended location cannot be changed.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the disk access resource that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "oneOf": [
- {
- "$ref": "#/definitions/DiskAccessProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/diskAccesses_privateEndpointConnections_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/diskAccesses"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "diskAccesses_privateEndpointConnections": {
- "description": "Microsoft.Compute/diskAccesses/privateEndpointConnections",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-07-02"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the private endpoint connection.",
- "type": "string"
- },
- "properties": {
- "description": "Resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/PrivateEndpointConnectionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/diskAccesses/privateEndpointConnections"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "diskEncryptionSets": {
- "description": "Microsoft.Compute/diskEncryptionSets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-07-02"
- ],
- "type": "string"
- },
- "identity": {
- "description": "The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSetIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the disk encryption set that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/diskEncryptionSets"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "disks": {
- "description": "Microsoft.Compute/disks",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-07-02"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location where the disk will be created. Extended location cannot be changed.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Disk resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, StandardSSD_ZRS, or PremiumV2_LRS.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/disks"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The Logical zone list for Disk.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "snapshots": {
- "description": "Microsoft.Compute/snapshots",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-07-02"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location where the snapshot will be created. Extended location cannot be changed.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The max name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Snapshot resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/SnapshotProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot",
- "oneOf": [
- {
- "$ref": "#/definitions/SnapshotSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/snapshots"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- },
- "definitions": {
- "CopyCompletionError": {
- "description": "Indicates the error details if the background copy of a resource created via the CopyStart operation fails.",
- "properties": {
- "errorCode": {
- "description": "Indicates the error code if the background copy of a resource created via the CopyStart operation fails.",
- "oneOf": [
- {
- "enum": [
- "CopySourceNotFound"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "errorMessage": {
- "description": "Indicates the error message if the background copy of a resource created via the CopyStart operation fails.",
- "type": "string"
- }
- },
- "required": [
- "errorCode",
- "errorMessage"
- ],
- "type": "object"
- },
- "CreationData": {
- "description": "Data used when creating a disk.",
- "properties": {
- "createOption": {
- "description": "This enumerates the possible sources of a disk's creation.",
- "oneOf": [
- {
- "enum": [
- "Empty",
- "Attach",
- "FromImage",
- "Import",
- "Copy",
- "Restore",
- "Upload",
- "CopyStart",
- "ImportSecure",
- "UploadPreparedSecure"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "galleryImageReference": {
- "description": "Required if creating from a Gallery Image. The id/sharedGalleryImageId/communityGalleryImageId of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageDiskReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Disk source information for PIR or user images.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageDiskReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "logicalSectorSize": {
- "description": "Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "performancePlus": {
- "description": "Set this flag to true to get a boost on the performance target of the disk deployed, see here on the respective performance target. This flag can only be set on disk creation time and cannot be disabled after enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityDataUri": {
- "description": "If createOption is ImportSecure, this is the URI of a blob to be imported into VM guest state.",
- "type": "string"
- },
- "sourceResourceId": {
- "description": "If createOption is Copy, this is the ARM id of the source snapshot or disk.",
- "type": "string"
- },
- "sourceUri": {
- "description": "If createOption is Import, this is the URI of a blob to be imported into a managed disk.",
- "type": "string"
- },
- "storageAccountId": {
- "description": "Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk.",
- "type": "string"
- },
- "uploadSizeBytes": {
- "description": "If createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer).",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "DiskAccessProperties": {
- "properties": {},
- "type": "object"
- },
- "DiskProperties": {
- "description": "Disk resource properties.",
- "properties": {
- "burstingEnabled": {
- "description": "Set to true to enable bursting beyond the provisioned performance target of the disk. Bursting is disabled by default. Does not apply to Ultra disks.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "completionPercent": {
- "description": "Percentage complete for the background copy when a resource is created via the CopyStart operation.",
- "oneOf": [
- {
- "type": "number"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "creationData": {
- "description": "Disk source information. CreationData information cannot be changed after the disk has been created.",
- "oneOf": [
- {
- "$ref": "#/definitions/CreationData"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dataAccessAuthMode": {
- "description": "Additional authentication requirements when exporting or uploading to a disk or snapshot.",
- "oneOf": [
- {
- "enum": [
- "AzureActiveDirectory",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskAccessId": {
- "description": "ARM id of the DiskAccess resource for using private endpoints on disks.",
- "type": "string"
- },
- "diskIOPSReadOnly": {
- "description": "The total number of IOPS that will be allowed across all VMs mounting the shared disk as ReadOnly. One operation can transfer between 4k and 256k bytes.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskIOPSReadWrite": {
- "description": "The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskMBpsReadOnly": {
- "description": "The total throughput (MBps) that will be allowed across all VMs mounting the shared disk as ReadOnly. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskMBpsReadWrite": {
- "description": "The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryption": {
- "description": "Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.",
- "oneOf": [
- {
- "$ref": "#/definitions/Encryption"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettingsCollection": {
- "description": "Encryption settings collection used for Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSettingsCollection"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hyperVGeneration": {
- "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxShares": {
- "description": "The maximum number of VMs that can attach to the disk at the same time. Value greater than one indicates a disk that can be mounted on multiple VMs at the same time.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkAccessPolicy": {
- "description": "Policy for accessing the disk via network.",
- "oneOf": [
- {
- "enum": [
- "AllowAll",
- "AllowPrivate",
- "DenyAll"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "optimizedForFrequentAttach": {
- "description": "Setting this property to true improves reliability and performance of data disks that are frequently (more than 5 times a day) by detached from one virtual machine and attached to another. This property should not be set for disks that are not detached and attached frequently as it causes the disks to not align with the fault domain of the virtual machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "The Operating System type.",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicNetworkAccess": {
- "description": "Policy for controlling export on the disk.",
- "oneOf": [
- {
- "enum": [
- "Enabled",
- "Disabled"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "purchasePlan": {
- "description": "Purchase plan information for the the image from which the OS disk was created. E.g. - {name: 2019-Datacenter, publisher: MicrosoftWindowsServer, product: WindowsServer}",
- "oneOf": [
- {
- "$ref": "#/definitions/PurchasePlan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Contains the security related information for the resource.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskSecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "supportedCapabilities": {
- "description": "List of supported capabilities for the image from which the OS disk was created.",
- "oneOf": [
- {
- "$ref": "#/definitions/SupportedCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "supportsHibernation": {
- "description": "Indicates the OS on a disk supports hibernation.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tier": {
- "description": "Performance tier of the disk (e.g, P4, S10) as described here: https://azure.microsoft.com/en-us/pricing/details/managed-disks/. Does not apply to Ultra disks.",
- "type": "string"
- }
- },
- "required": [
- "creationData"
- ],
- "type": "object"
- },
- "DiskSecurityProfile": {
- "description": "Contains the security related information for the resource.",
- "properties": {
- "secureVMDiskEncryptionSetId": {
- "description": "ResourceId of the disk encryption set associated to Confidential VM supported disk encrypted with customer managed key",
- "type": "string"
- },
- "securityType": {
- "description": "Specifies the SecurityType of the VM. Applicable for OS disks only.",
- "oneOf": [
- {
- "enum": [
- "TrustedLaunch",
- "ConfidentialVM_VMGuestStateOnlyEncryptedWithPlatformKey",
- "ConfidentialVM_DiskEncryptedWithPlatformKey",
- "ConfidentialVM_DiskEncryptedWithCustomerKey"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiskSku": {
- "description": "The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, StandardSSD_ZRS, or PremiumV2_LRS.",
- "properties": {
- "name": {
- "description": "The sku name.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS",
- "Premium_ZRS",
- "StandardSSD_ZRS",
- "PremiumV2_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Encryption": {
- "description": "Encryption at rest settings for disk or snapshot",
- "properties": {
- "diskEncryptionSetId": {
- "description": "ResourceId of the disk encryption set to use for enabling encryption at rest.",
- "type": "string"
- },
- "type": {
- "description": "The type of key used to encrypt the data of the disk.",
- "oneOf": [
- {
- "enum": [
- "EncryptionAtRestWithPlatformKey",
- "EncryptionAtRestWithCustomerKey",
- "EncryptionAtRestWithPlatformAndCustomerKeys"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "EncryptionSetIdentity": {
- "description": "The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks.",
- "properties": {
- "type": {
- "description": "The type of Managed Identity used by the DiskEncryptionSet. Only SystemAssigned is supported for new creations. Disk Encryption Sets can be updated with Identity type None during migration of subscription to a new Azure Active Directory tenant; it will cause the encrypted resources to lose access to the keys.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned",
- "UserAssigned",
- "SystemAssigned, UserAssigned",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userAssignedIdentities": {
- "description": "The list of user identities associated with the disk encryption set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
- "oneOf": [
- {
- "additionalProperties": {
- "$ref": "#/definitions/UserAssignedIdentitiesValue"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "EncryptionSetProperties": {
- "properties": {
- "activeKey": {
- "description": "The key vault key which is currently used by this disk encryption set.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyForDiskEncryptionSet"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionType": {
- "description": "The type of key used to encrypt the data of the disk.",
- "oneOf": [
- {
- "enum": [
- "EncryptionAtRestWithCustomerKey",
- "EncryptionAtRestWithPlatformAndCustomerKeys",
- "ConfidentialVmEncryptedWithCustomerKey"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "federatedClientId": {
- "description": "Multi-tenant application client id to access key vault in a different tenant. Setting the value to 'None' will clear the property.",
- "type": "string"
- },
- "rotationToLatestKeyVersionEnabled": {
- "description": "Set this flag to true to enable auto-updating of this disk encryption set to the latest key version.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "EncryptionSettingsCollection": {
- "description": "Encryption settings for disk or snapshot",
- "properties": {
- "enabled": {
- "description": "Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettings": {
- "description": "A collection of encryption settings, one for each disk volume.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/EncryptionSettingsElement"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettingsVersion": {
- "description": "Describes what type of encryption is used for the disks. Once this field is set, it cannot be overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption.",
- "type": "string"
- }
- },
- "required": [
- "enabled"
- ],
- "type": "object"
- },
- "EncryptionSettingsElement": {
- "description": "Encryption settings for one disk volume.",
- "properties": {
- "diskEncryptionKey": {
- "description": "Key Vault Secret Url and vault id of the disk encryption key",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultAndSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "keyEncryptionKey": {
- "description": "Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultAndKeyReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ExtendedLocation": {
- "description": "The complex type of the extended location.",
- "properties": {
- "name": {
- "description": "The name of the extended location.",
- "type": "string"
- },
- "type": {
- "description": "The type of the extended location.",
- "oneOf": [
- {
- "enum": [
- "EdgeZone"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImageDiskReference": {
- "description": "The source image used for creating the disk.",
- "properties": {
- "communityGalleryImageId": {
- "description": "A relative uri containing a community Azure Compute Gallery image reference.",
- "type": "string"
- },
- "id": {
- "description": "A relative uri containing either a Platform Image Repository, user image, or Azure Compute Gallery image reference.",
- "type": "string"
- },
- "lun": {
- "description": "If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sharedGalleryImageId": {
- "description": "A relative uri containing a direct shared Azure Compute Gallery image reference.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "KeyForDiskEncryptionSet": {
- "description": "Key Vault Key Url to be used for server side encryption of Managed Disks and Snapshots",
- "properties": {
- "keyUrl": {
- "description": "Fully versioned Key Url pointing to a key in KeyVault. Version segment of the Url is required regardless of rotationToLatestKeyVersionEnabled value.",
- "type": "string"
- },
- "sourceVault": {
- "description": "Resource id of the KeyVault containing the key or secret. This property is optional and cannot be used if the KeyVault subscription is not the same as the Disk Encryption Set subscription.",
- "oneOf": [
- {
- "$ref": "#/definitions/SourceVault"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "keyUrl"
- ],
- "type": "object"
- },
- "KeyVaultAndKeyReference": {
- "description": "Key Vault Key Url and vault id of KeK, KeK is optional and when provided is used to unwrap the encryptionKey",
- "properties": {
- "keyUrl": {
- "description": "Url pointing to a key or secret in KeyVault",
- "type": "string"
- },
- "sourceVault": {
- "description": "Resource id of the KeyVault containing the key or secret",
- "oneOf": [
- {
- "$ref": "#/definitions/SourceVault"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "sourceVault",
- "keyUrl"
- ],
- "type": "object"
- },
- "KeyVaultAndSecretReference": {
- "description": "Key Vault Secret Url and vault id of the encryption key ",
- "properties": {
- "secretUrl": {
- "description": "Url pointing to a key or secret in KeyVault",
- "type": "string"
- },
- "sourceVault": {
- "description": "Resource id of the KeyVault containing the key or secret",
- "oneOf": [
- {
- "$ref": "#/definitions/SourceVault"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "sourceVault",
- "secretUrl"
- ],
- "type": "object"
- },
- "PrivateEndpointConnectionProperties": {
- "description": "Properties of the PrivateEndpointConnectProperties.",
- "properties": {
- "privateLinkServiceConnectionState": {
- "description": "A collection of information about the state of the connection between DiskAccess and Virtual Network.",
- "oneOf": [
- {
- "$ref": "#/definitions/PrivateLinkServiceConnectionState"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "privateLinkServiceConnectionState"
- ],
- "type": "object"
- },
- "PrivateLinkServiceConnectionState": {
- "description": "A collection of information about the state of the connection between service consumer and provider.",
- "properties": {
- "actionsRequired": {
- "description": "A message indicating if changes on the service provider require any updates on the consumer.",
- "type": "string"
- },
- "description": {
- "description": "The reason for approval/rejection of the connection.",
- "type": "string"
- },
- "status": {
- "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.",
- "oneOf": [
- {
- "enum": [
- "Pending",
- "Approved",
- "Rejected"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "PurchasePlan": {
- "description": "Used for establishing the purchase context of any 3rd Party artifact through MarketPlace.",
- "properties": {
- "name": {
- "description": "The plan ID.",
- "type": "string"
- },
- "product": {
- "description": "Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.",
- "type": "string"
- },
- "promotionCode": {
- "description": "The Offer Promotion Code.",
- "type": "string"
- },
- "publisher": {
- "description": "The publisher ID.",
- "type": "string"
- }
- },
- "required": [
- "name",
- "publisher",
- "product"
- ],
- "type": "object"
- },
- "SnapshotProperties": {
- "description": "Snapshot resource properties.",
- "properties": {
- "completionPercent": {
- "description": "Percentage complete for the background copy when a resource is created via the CopyStart operation.",
- "oneOf": [
- {
- "type": "number"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "copyCompletionError": {
- "description": "Indicates the error details if the background copy of a resource created via the CopyStart operation fails.",
- "oneOf": [
- {
- "$ref": "#/definitions/CopyCompletionError"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "creationData": {
- "description": "Disk source information. CreationData information cannot be changed after the disk has been created.",
- "oneOf": [
- {
- "$ref": "#/definitions/CreationData"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dataAccessAuthMode": {
- "description": "Additional authentication requirements when exporting or uploading to a disk or snapshot.",
- "oneOf": [
- {
- "enum": [
- "AzureActiveDirectory",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskAccessId": {
- "description": "ARM id of the DiskAccess resource for using private endpoints on disks.",
- "type": "string"
- },
- "diskSizeGB": {
- "description": "If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryption": {
- "description": "Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.",
- "oneOf": [
- {
- "$ref": "#/definitions/Encryption"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettingsCollection": {
- "description": "Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSettingsCollection"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hyperVGeneration": {
- "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "incremental": {
- "description": "Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full snapshots and can be diffed.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkAccessPolicy": {
- "description": "Policy for accessing the disk via network.",
- "oneOf": [
- {
- "enum": [
- "AllowAll",
- "AllowPrivate",
- "DenyAll"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "The Operating System type.",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicNetworkAccess": {
- "description": "Policy for controlling export on the disk.",
- "oneOf": [
- {
- "enum": [
- "Enabled",
- "Disabled"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "purchasePlan": {
- "description": "Purchase plan information for the image from which the source disk for the snapshot was originally created.",
- "oneOf": [
- {
- "$ref": "#/definitions/PurchasePlan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Contains the security related information for the resource.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskSecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "supportedCapabilities": {
- "description": "List of supported capabilities for the image from which the source disk from the snapshot was originally created.",
- "oneOf": [
- {
- "$ref": "#/definitions/SupportedCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "supportsHibernation": {
- "description": "Indicates the OS on a snapshot supports hibernation.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "creationData"
- ],
- "type": "object"
- },
- "SnapshotSku": {
- "description": "The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot",
- "properties": {
- "name": {
- "description": "The sku name.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "Standard_ZRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SourceVault": {
- "description": "The vault id is an Azure Resource Manager Resource id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SupportedCapabilities": {
- "description": "List of supported capabilities persisted on the disk resource for VM use.",
- "properties": {
- "acceleratedNetwork": {
- "description": "True if the image from which the OS disk is created supports accelerated networking.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "architecture": {
- "description": "CPU architecture supported by an OS disk.",
- "oneOf": [
- {
- "enum": [
- "x64",
- "Arm64"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskControllerTypes": {
- "description": "The disk controllers that an OS disk supports. If set it can be SCSI or SCSI, NVME or NVME, SCSI.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "UserAssignedIdentitiesValue": {
- "properties": {},
- "type": "object"
- },
- "diskAccesses_privateEndpointConnections_childResource": {
- "description": "Microsoft.Compute/diskAccesses/privateEndpointConnections",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-07-02"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the private endpoint connection.",
- "type": "string"
- },
- "properties": {
- "description": "Resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/PrivateEndpointConnectionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "privateEndpointConnections"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- }
-}
\ No newline at end of file
diff --git a/schemas/2022-08-01/Microsoft.Compute.json b/schemas/2022-08-01/Microsoft.Compute.json
deleted file mode 100644
index ff2b3c5785..0000000000
--- a/schemas/2022-08-01/Microsoft.Compute.json
+++ /dev/null
@@ -1,7400 +0,0 @@
-{
- "id": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.json#",
- "title": "Microsoft.Compute",
- "description": "Microsoft Compute Resource Types",
- "$schema": "http://json-schema.org/draft-04/schema#",
- "resourceDefinitions": {
- "availabilitySets": {
- "description": "Microsoft.Compute/availabilitySets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-08-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the availability set.",
- "type": "string"
- },
- "properties": {
- "description": "The instance view of a resource.",
- "oneOf": [
- {
- "$ref": "#/definitions/AvailabilitySetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "Sku of the availability set, only name is required to be set. See AvailabilitySetSkuTypes for possible set of values. Use 'Aligned' for virtual machines with managed disks and 'Classic' for virtual machines with unmanaged disks. Default value is 'Classic'.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/availabilitySets"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "capacityReservationGroups": {
- "description": "Microsoft.Compute/capacityReservationGroups",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-08-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the capacity reservation group.",
- "type": "string"
- },
- "properties": {
- "description": "capacity reservation group Properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/CapacityReservationGroupProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/capacityReservationGroups_capacityReservations_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/capacityReservationGroups"
- ],
- "type": "string"
- },
- "zones": {
- "description": "Availability Zones to use for this capacity reservation group. The zones can be assigned only during creation. If not provided, the group supports only regional resources in the region. If provided, enforces each capacity reservation in the group to be in one of the zones.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "capacityReservationGroups_capacityReservations": {
- "description": "Microsoft.Compute/capacityReservationGroups/capacityReservations",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-08-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the capacity reservation.",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the Capacity reservation.",
- "oneOf": [
- {
- "$ref": "#/definitions/CapacityReservationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "SKU of the resource for which capacity needs be reserved. The SKU name and capacity is required to be set. Currently VM Skus with the capability called 'CapacityReservationSupported' set to true are supported. Refer to List Microsoft.Compute SKUs in a region (https://docs.microsoft.com/rest/api/compute/resourceskus/list) for supported values.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/capacityReservationGroups/capacityReservations"
- ],
- "type": "string"
- },
- "zones": {
- "description": "Availability Zone to use for this capacity reservation. The zone has to be single value and also should be part for the list of zones specified during the capacity reservation group creation. The zone can be assigned only during creation. If not provided, the reservation supports only non-zonal deployments. If provided, enforces VM/VMSS using this capacity reservation to be in same zone.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "hostGroups": {
- "description": "Microsoft.Compute/hostGroups",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-08-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the dedicated host group.",
- "type": "string"
- },
- "properties": {
- "description": "Dedicated Host Group Properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/DedicatedHostGroupProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/hostGroups_hosts_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/hostGroups"
- ],
- "type": "string"
- },
- "zones": {
- "description": "Availability Zone to use for this host group. Only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "hostGroups_hosts": {
- "description": "Microsoft.Compute/hostGroups/hosts",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-08-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the dedicated host .",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the dedicated host.",
- "oneOf": [
- {
- "$ref": "#/definitions/DedicatedHostProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be set. List Microsoft.Compute SKUs for a list of possible values.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/hostGroups/hosts"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "images": {
- "description": "Microsoft.Compute/images",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-08-01"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location of the Image.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the image.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of an Image.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/images"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "proximityPlacementGroups": {
- "description": "Microsoft.Compute/proximityPlacementGroups",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-08-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the proximity placement group.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Proximity Placement Group.",
- "oneOf": [
- {
- "$ref": "#/definitions/ProximityPlacementGroupProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/proximityPlacementGroups"
- ],
- "type": "string"
- },
- "zones": {
- "description": "Specifies the Availability Zone where virtual machine, virtual machine scale set or availability set associated with the proximity placement group can be created.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "restorePointCollections": {
- "description": "Microsoft.Compute/restorePointCollections",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-08-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the restore point collection.",
- "type": "string"
- },
- "properties": {
- "description": "The restore point collection properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/RestorePointCollectionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/restorePointCollections_restorePoints_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/restorePointCollections"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "restorePointCollections_restorePoints": {
- "description": "Microsoft.Compute/restorePointCollections/restorePoints",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-08-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the restore point.",
- "type": "string"
- },
- "properties": {
- "description": "The restore point properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/RestorePointProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/restorePointCollections/restorePoints"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "sshPublicKeys": {
- "description": "Microsoft.Compute/sshPublicKeys",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-08-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the SSH public key.",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the SSH public key.",
- "oneOf": [
- {
- "$ref": "#/definitions/SshPublicKeyResourceProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/sshPublicKeys"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets": {
- "description": "Microsoft.Compute/virtualMachineScaleSets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-08-01"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location of the Virtual Machine Scale Set.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "identity": {
- "description": "The identity of the virtual machine scale set, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the VM scale set to create or update.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Scale Set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachineScaleSets_extensions_childResource"
- },
- {
- "$ref": "#/definitions/virtualMachineScaleSets_virtualMachines_childResource"
- }
- ]
- },
- "type": "array"
- },
- "sku": {
- "description": "The virtual machine scale set sku.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The virtual machine scale set zones. NOTE: Availability zones can only be set when you create the scale set",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-08-01"
- ],
- "type": "string"
- },
- "identity": {
- "description": "The identity of the virtual machine, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The instance ID of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachineScaleSets_virtualMachines_extensions_childResource"
- },
- {
- "$ref": "#/definitions/virtualMachineScaleSets_virtualMachines_runCommands_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets/virtualMachines"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_extensions": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-08-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine extension.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Extension.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_runCommands": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/runCommands",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-08-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine run command.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/runCommands"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines": {
- "description": "Microsoft.Compute/virtualMachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-08-01"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location of the Virtual Machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "identity": {
- "description": "The identity of the virtual machine, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachines_extensions_childResource"
- },
- {
- "$ref": "#/definitions/virtualMachines_runCommands_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachines"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The virtual machine zones.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines_runCommands": {
- "description": "Microsoft.Compute/virtualMachines/runCommands",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-08-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine run command.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachines/runCommands"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- },
- "definitions": {
- "AdditionalCapabilities": {
- "description": "Enables or disables a capability on the virtual machine or virtual machine scale set.",
- "properties": {
- "hibernationEnabled": {
- "description": "The flag that enables or disables hibernation capability on the VM.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ultraSSDEnabled": {
- "description": "The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "AdditionalUnattendContent": {
- "description": "Specifies additional XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is applied.",
- "properties": {
- "componentName": {
- "description": "The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup.",
- "oneOf": [
- {
- "enum": [
- "Microsoft-Windows-Shell-Setup"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "content": {
- "description": "Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted.",
- "type": "string"
- },
- "passName": {
- "description": "The pass name. Currently, the only allowable value is OobeSystem.",
- "oneOf": [
- {
- "enum": [
- "OobeSystem"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "settingName": {
- "description": "Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon.",
- "oneOf": [
- {
- "enum": [
- "AutoLogon",
- "FirstLogonCommands"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ApiEntityReference": {
- "description": "The API entity reference.",
- "properties": {
- "id": {
- "description": "The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ApplicationProfile": {
- "description": "Contains the list of gallery applications that should be made available to the VM/VMSS",
- "properties": {
- "galleryApplications": {
- "description": "Specifies the gallery applications that should be made available to the VM/VMSS",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VMGalleryApplication"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "AutomaticOSUpgradePolicy": {
- "description": "The configuration parameters used for performing automatic OS upgrade.",
- "properties": {
- "disableAutomaticRollback": {
- "description": "Whether OS image rollback feature should be disabled. Default value is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticOSUpgrade": {
- "description": "Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. Default value is false.
If this is set to true for Windows based scale sets, [enableAutomaticUpdates](https://docs.microsoft.com/dotnet/api/microsoft.azure.management.compute.models.windowsconfiguration.enableautomaticupdates?view=azure-dotnet) is automatically set to false and cannot be set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "useRollingUpgradePolicy": {
- "description": "Indicates whether rolling upgrade policy should be used during Auto OS Upgrade. Default value is false. Auto OS Upgrade will fallback to the default policy if no policy is defined on the VMSS.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "AutomaticRepairsPolicy": {
- "description": "Specifies the configuration parameters for automatic repairs on the virtual machine scale set.",
- "properties": {
- "enabled": {
- "description": "Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "gracePeriod": {
- "description": "The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The minimum allowed grace period is 10 minutes (PT10M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M).",
- "type": "string"
- },
- "repairAction": {
- "description": "Type of repair action (replace, restart, reimage) that will be used for repairing unhealthy virtual machines in the scale set. Default value is replace.",
- "oneOf": [
- {
- "enum": [
- "Replace",
- "Restart",
- "Reimage"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "AvailabilitySetProperties": {
- "description": "The instance view of a resource.",
- "properties": {
- "platformFaultDomainCount": {
- "description": "Fault Domain count.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformUpdateDomainCount": {
- "description": "Update Domain count.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the availability set should be assigned to.
Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "virtualMachines": {
- "description": "A list of references to all virtual machines in the availability set.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "BillingProfile": {
- "description": "Specifies the billing related details of a Azure Spot VM or VMSS. Minimum api-version: 2019-03-01.",
- "properties": {
- "maxPrice": {
- "description": "Specifies the maximum price you are willing to pay for a Azure Spot VM/VMSS. This price is in US Dollars. This price will be compared with the current Azure Spot price for the VM size. Also, the prices are compared at the time of create/update of Azure Spot VM/VMSS and the operation will only succeed if the maxPrice is greater than the current Azure Spot price. The maxPrice will also be used for evicting a Azure Spot VM/VMSS if the current Azure Spot price goes beyond the maxPrice after creation of VM/VMSS. Possible values are: - Any decimal value greater than zero. Example: 0.01538 -1 – indicates default price to be up-to on-demand. You can set the maxPrice to -1 to indicate that the Azure Spot VM/VMSS should not be evicted for price reasons. Also, the default max price is -1 if it is not provided by you. Minimum api-version: 2019-03-01.",
- "oneOf": [
- {
- "type": "number"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "BootDiagnostics": {
- "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. You can easily view the output of your console log. Azure also enables you to see a screenshot of the VM from the hypervisor.",
- "properties": {
- "enabled": {
- "description": "Whether boot diagnostics should be enabled on the Virtual Machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageUri": {
- "description": "Uri of the storage account to use for placing the console output and screenshot. If storageUri is not specified while enabling boot diagnostics, managed storage will be used.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "CapacityReservationGroupProperties": {
- "description": "capacity reservation group Properties.",
- "properties": {},
- "type": "object"
- },
- "CapacityReservationProfile": {
- "description": "The parameters of a capacity reservation Profile.",
- "properties": {
- "capacityReservationGroup": {
- "description": "Specifies the capacity reservation group resource id that should be used for allocating the virtual machine or scaleset vm instances provided enough capacity has been reserved. Please refer to https://aka.ms/CapacityReservation for more details.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "CapacityReservationProperties": {
- "description": "Properties of the Capacity reservation.",
- "properties": {},
- "type": "object"
- },
- "DataDisk": {
- "description": "Describes a data disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements. Possible values are: **None** **ReadOnly** **ReadWrite** Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machine should be created. Possible values are: **Attach** \\u2013 This value is used when you are using a specialized disk to create the virtual machine. **FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "deleteOption": {
- "description": "Specifies whether data disk should be deleted or detached upon VM deletion. Possible values: **Delete** If this value is used, the data disk is deleted when VM is deleted. **Detach** If this value is used, the data disk is retained after VM is deleted. The default value is set to **detach**",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "detachOption": {
- "description": "Specifies the detach behavior to be used while detaching a disk or which is already in the process of detachment from the virtual machine. Supported values: **ForceDetach**. detachOption: **ForceDetach** is applicable only for managed data disks. If a previous detachment attempt of the data disk did not complete due to an unexpected failure from the virtual machine and the disk is still not released then use force-detach as a last resort option to detach the disk forcibly from the VM. All writes might not have been flushed when using this detach behavior. This feature is still in preview mode and is not supported for VirtualMachineScaleSet. To force-detach a data disk update toBeDetached to 'true' along with setting detachOption: 'ForceDetach'.",
- "oneOf": [
- {
- "enum": [
- "ForceDetach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. diskSizeGB is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/ManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "toBeDetached": {
- "description": "Specifies whether the data disk is in process of detachment from the VirtualMachine/VirtualMachineScaleset",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhd": {
- "description": "The virtual hard disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun",
- "createOption"
- ],
- "type": "object"
- },
- "DedicatedHostGroupProperties": {
- "description": "Dedicated Host Group Properties.",
- "properties": {
- "additionalCapabilities": {
- "description": "Enables or disables a capability on the dedicated host group.
Minimum api-version: 2022-03-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/DedicatedHostGroupPropertiesAdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformFaultDomainCount": {
- "description": "Number of fault domains that the host group can span.",
- "oneOf": [
- {
- "minimum": 1,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "supportAutomaticPlacement": {
- "description": "Specifies whether virtual machines or virtual machine scale sets can be placed automatically on the dedicated host group. Automatic placement means resources are allocated on dedicated hosts, that are chosen by Azure, under the dedicated host group. The value is defaulted to 'false' when not provided.
Minimum api-version: 2020-06-01.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "platformFaultDomainCount"
- ],
- "type": "object"
- },
- "DedicatedHostGroupPropertiesAdditionalCapabilities": {
- "description": "Enables or disables a capability on the dedicated host group.
Minimum api-version: 2022-03-01.",
- "properties": {
- "ultraSSDEnabled": {
- "description": "The flag that enables or disables a capability to have UltraSSD Enabled Virtual Machines on Dedicated Hosts of the Dedicated Host Group. For the Virtual Machines to be UltraSSD Enabled, UltraSSDEnabled flag for the resource needs to be set true as well. The value is defaulted to 'false' when not provided. Please refer to https://docs.microsoft.com/en-us/azure/virtual-machines/disks-enable-ultra-ssd for more details on Ultra SSD feature.
NOTE: The ultraSSDEnabled setting can only be enabled for Host Groups that are created as zonal.
Minimum api-version: 2022-03-01.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DedicatedHostProperties": {
- "description": "Properties of the dedicated host.",
- "properties": {
- "autoReplaceOnFailure": {
- "description": "Specifies whether the dedicated host should be replaced automatically in case of a failure. The value is defaulted to 'true' when not provided.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies the software license type that will be applied to the VMs deployed on the dedicated host.
Possible values are:
**None**
**Windows_Server_Hybrid**
**Windows_Server_Perpetual**
Default: **None**",
- "oneOf": [
- {
- "enum": [
- "None",
- "Windows_Server_Hybrid",
- "Windows_Server_Perpetual"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformFaultDomain": {
- "description": "Fault domain of the dedicated host within a dedicated host group.",
- "oneOf": [
- {
- "minimum": 0,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15.",
- "properties": {
- "bootDiagnostics": {
- "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. **NOTE**: If storageUri is being specified then ensure that the storage account is in the same region and subscription as the VM. You can easily view the output of your console log. Azure also enables you to see a screenshot of the VM from the hypervisor.",
- "oneOf": [
- {
- "$ref": "#/definitions/BootDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiffDiskSettings": {
- "description": "Describes the parameters of ephemeral disk settings that can be specified for operating system disk. NOTE: The ephemeral disk settings can only be specified for managed disk.",
- "properties": {
- "option": {
- "description": "Specifies the ephemeral disk settings for operating system disk.",
- "oneOf": [
- {
- "enum": [
- "Local"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "placement": {
- "description": "Specifies the ephemeral disk placement for operating system disk. Possible values are: **CacheDisk** **ResourceDisk** Default: **CacheDisk** if one is configured for the VM size otherwise **ResourceDisk** is used. Refer to VM size documentation for Windows VM at https://docs.microsoft.com/azure/virtual-machines/windows/sizes and Linux VM at https://docs.microsoft.com/azure/virtual-machines/linux/sizes to check which VM sizes exposes a cache disk.",
- "oneOf": [
- {
- "enum": [
- "CacheDisk",
- "ResourceDisk"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiskEncryptionSetParameters": {
- "description": "Describes the parameter of customer managed disk encryption set resource id that can be specified for disk. NOTE: The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "DiskEncryptionSettings": {
- "description": "Describes a Encryption Settings for a Disk",
- "properties": {
- "diskEncryptionKey": {
- "description": "Specifies the location of the disk encryption key, which is a Key Vault Secret.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enabled": {
- "description": "Specifies whether disk encryption should be enabled on the virtual machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "keyEncryptionKey": {
- "description": "Specifies the location of the key encryption key in Key Vault.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultKeyReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ExtendedLocation": {
- "description": "The complex type of the extended location.",
- "properties": {
- "name": {
- "description": "The name of the extended location.",
- "type": "string"
- },
- "type": {
- "description": "The type of the extended location.",
- "oneOf": [
- {
- "enum": [
- "EdgeZone"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "HardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "properties": {
- "vmSize": {
- "description": "Specifies the size of the virtual machine. The enum data type is currently deprecated and will be removed by December 23rd 2023. Recommended way to get the list of available sizes is using these APIs: [List all available virtual machine sizes in an availability set](https://docs.microsoft.com/rest/api/compute/availabilitysets/listavailablesizes) [List all available virtual machine sizes in a region]( https://docs.microsoft.com/rest/api/compute/resourceskus/list) [List all available virtual machine sizes for resizing](https://docs.microsoft.com/rest/api/compute/virtualmachines/listavailablesizes). For more information about virtual machine sizes, see [Sizes for virtual machines](https://docs.microsoft.com/azure/virtual-machines/sizes). The available VM sizes depend on region and availability set.",
- "oneOf": [
- {
- "enum": [
- "Basic_A0",
- "Basic_A1",
- "Basic_A2",
- "Basic_A3",
- "Basic_A4",
- "Standard_A0",
- "Standard_A1",
- "Standard_A2",
- "Standard_A3",
- "Standard_A4",
- "Standard_A5",
- "Standard_A6",
- "Standard_A7",
- "Standard_A8",
- "Standard_A9",
- "Standard_A10",
- "Standard_A11",
- "Standard_A1_v2",
- "Standard_A2_v2",
- "Standard_A4_v2",
- "Standard_A8_v2",
- "Standard_A2m_v2",
- "Standard_A4m_v2",
- "Standard_A8m_v2",
- "Standard_B1s",
- "Standard_B1ms",
- "Standard_B2s",
- "Standard_B2ms",
- "Standard_B4ms",
- "Standard_B8ms",
- "Standard_D1",
- "Standard_D2",
- "Standard_D3",
- "Standard_D4",
- "Standard_D11",
- "Standard_D12",
- "Standard_D13",
- "Standard_D14",
- "Standard_D1_v2",
- "Standard_D2_v2",
- "Standard_D3_v2",
- "Standard_D4_v2",
- "Standard_D5_v2",
- "Standard_D2_v3",
- "Standard_D4_v3",
- "Standard_D8_v3",
- "Standard_D16_v3",
- "Standard_D32_v3",
- "Standard_D64_v3",
- "Standard_D2s_v3",
- "Standard_D4s_v3",
- "Standard_D8s_v3",
- "Standard_D16s_v3",
- "Standard_D32s_v3",
- "Standard_D64s_v3",
- "Standard_D11_v2",
- "Standard_D12_v2",
- "Standard_D13_v2",
- "Standard_D14_v2",
- "Standard_D15_v2",
- "Standard_DS1",
- "Standard_DS2",
- "Standard_DS3",
- "Standard_DS4",
- "Standard_DS11",
- "Standard_DS12",
- "Standard_DS13",
- "Standard_DS14",
- "Standard_DS1_v2",
- "Standard_DS2_v2",
- "Standard_DS3_v2",
- "Standard_DS4_v2",
- "Standard_DS5_v2",
- "Standard_DS11_v2",
- "Standard_DS12_v2",
- "Standard_DS13_v2",
- "Standard_DS14_v2",
- "Standard_DS15_v2",
- "Standard_DS13-4_v2",
- "Standard_DS13-2_v2",
- "Standard_DS14-8_v2",
- "Standard_DS14-4_v2",
- "Standard_E2_v3",
- "Standard_E4_v3",
- "Standard_E8_v3",
- "Standard_E16_v3",
- "Standard_E32_v3",
- "Standard_E64_v3",
- "Standard_E2s_v3",
- "Standard_E4s_v3",
- "Standard_E8s_v3",
- "Standard_E16s_v3",
- "Standard_E32s_v3",
- "Standard_E64s_v3",
- "Standard_E32-16_v3",
- "Standard_E32-8s_v3",
- "Standard_E64-32s_v3",
- "Standard_E64-16s_v3",
- "Standard_F1",
- "Standard_F2",
- "Standard_F4",
- "Standard_F8",
- "Standard_F16",
- "Standard_F1s",
- "Standard_F2s",
- "Standard_F4s",
- "Standard_F8s",
- "Standard_F16s",
- "Standard_F2s_v2",
- "Standard_F4s_v2",
- "Standard_F8s_v2",
- "Standard_F16s_v2",
- "Standard_F32s_v2",
- "Standard_F64s_v2",
- "Standard_F72s_v2",
- "Standard_G1",
- "Standard_G2",
- "Standard_G3",
- "Standard_G4",
- "Standard_G5",
- "Standard_GS1",
- "Standard_GS2",
- "Standard_GS3",
- "Standard_GS4",
- "Standard_GS5",
- "Standard_GS4-8",
- "Standard_GS4-4",
- "Standard_GS5-16",
- "Standard_GS5-8",
- "Standard_H8",
- "Standard_H16",
- "Standard_H8m",
- "Standard_H16m",
- "Standard_H16r",
- "Standard_H16mr",
- "Standard_L4s",
- "Standard_L8s",
- "Standard_L16s",
- "Standard_L32s",
- "Standard_M64s",
- "Standard_M64ms",
- "Standard_M128s",
- "Standard_M128ms",
- "Standard_M64-32ms",
- "Standard_M64-16ms",
- "Standard_M128-64ms",
- "Standard_M128-32ms",
- "Standard_NC6",
- "Standard_NC12",
- "Standard_NC24",
- "Standard_NC24r",
- "Standard_NC6s_v2",
- "Standard_NC12s_v2",
- "Standard_NC24s_v2",
- "Standard_NC24rs_v2",
- "Standard_NC6s_v3",
- "Standard_NC12s_v3",
- "Standard_NC24s_v3",
- "Standard_NC24rs_v3",
- "Standard_ND6s",
- "Standard_ND12s",
- "Standard_ND24s",
- "Standard_ND24rs",
- "Standard_NV6",
- "Standard_NV12",
- "Standard_NV24"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vmSizeProperties": {
- "description": "Specifies the properties for customizing the size of the virtual machine. Minimum api-version: 2021-07-01. This feature is still in preview mode and is not supported for VirtualMachineScaleSet. Please follow the instructions in [VM Customization](https://aka.ms/vmcustomization) for more details.",
- "oneOf": [
- {
- "$ref": "#/definitions/VMSizeProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImageDataDisk": {
- "description": "Describes a data disk.",
- "properties": {
- "blobUri": {
- "description": "The Virtual Hard Disk.",
- "type": "string"
- },
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed image disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managedDisk.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "snapshot": {
- "description": "The snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS",
- "Premium_ZRS",
- "StandardSSD_ZRS",
- "PremiumV2_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun"
- ],
- "type": "object"
- },
- "ImageOSDisk": {
- "description": "Describes an Operating System disk.",
- "properties": {
- "blobUri": {
- "description": "The Virtual Hard Disk.",
- "type": "string"
- },
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed image disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managedDisk.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osState": {
- "description": "The OS State. For managed images, use Generalized.",
- "oneOf": [
- {
- "enum": [
- "Generalized",
- "Specialized"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from a custom image.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "snapshot": {
- "description": "The snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS",
- "Premium_ZRS",
- "StandardSSD_ZRS",
- "PremiumV2_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "osType",
- "osState"
- ],
- "type": "object"
- },
- "ImageProperties": {
- "description": "Describes the properties of an Image.",
- "properties": {
- "hyperVGeneration": {
- "description": "Specifies the HyperVGenerationType of the VirtualMachine created from the image. From API Version 2019-03-01 if the image source is a blob, then we need the user to specify the value, if the source is managed resource like disk or snapshot, we may require the user to specify the property if we cannot deduce it from the source managed resource.",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sourceVirtualMachine": {
- "description": "The source virtual machine from which Image is created.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. NOTE: Image reference publisher and offer can only be set when you create the scale set.",
- "properties": {
- "communityGalleryImageId": {
- "description": "Specified the community gallery image unique id for vm deployment. This can be fetched from community gallery image GET call.",
- "type": "string"
- },
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "offer": {
- "description": "Specifies the offer of the platform image or marketplace image used to create the virtual machine.",
- "type": "string"
- },
- "publisher": {
- "description": "The image publisher.",
- "type": "string"
- },
- "sharedGalleryImageId": {
- "description": "Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call.",
- "type": "string"
- },
- "sku": {
- "description": "The image SKU.",
- "type": "string"
- },
- "version": {
- "description": "Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available. Please do not use field 'version' for gallery image deployment, gallery image should always use 'id' field for deployment, to use 'latest' version of gallery image, just set '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}' in the 'id' field without version input.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ImageStorageProfile": {
- "description": "Describes a storage profile.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add a data disk to a virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/ImageDataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageOSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "zoneResilient": {
- "description": "Specifies whether an image is zone resilient or not. Default is false. Zone resilient images can be created only in regions that provide Zone Redundant Storage (ZRS).",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "InstanceViewStatus": {
- "description": "Instance view status.",
- "properties": {
- "code": {
- "description": "The status code.",
- "type": "string"
- },
- "displayStatus": {
- "description": "The short localizable label for the status.",
- "type": "string"
- },
- "level": {
- "description": "The level code.",
- "oneOf": [
- {
- "enum": [
- "Info",
- "Warning",
- "Error"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "message": {
- "description": "The detailed status message, including for alerts and error messages.",
- "type": "string"
- },
- "time": {
- "description": "The time of the status.",
- "format": "date-time",
- "type": "string"
- }
- },
- "type": "object"
- },
- "KeyVaultKeyReference": {
- "description": "Describes a reference to Key Vault Key",
- "properties": {
- "keyUrl": {
- "description": "The URL referencing a key encryption key in Key Vault.",
- "type": "string"
- },
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing the key.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "keyUrl",
- "sourceVault"
- ],
- "type": "object"
- },
- "KeyVaultSecretReference": {
- "description": "Describes a reference to Key Vault Secret",
- "properties": {
- "secretUrl": {
- "description": "The URL referencing a secret in a Key Vault.",
- "type": "string"
- },
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing the secret.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "secretUrl",
- "sourceVault"
- ],
- "type": "object"
- },
- "LinuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine. For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros).",
- "properties": {
- "disablePasswordAuthentication": {
- "description": "Specifies whether password authentication should be disabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableVMAgentPlatformUpdates": {
- "description": "Indicates whether VMAgent Platform Updates is enabled for the Linux virtual machine. Default value is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "patchSettings": {
- "description": "[Preview Feature] Specifies settings related to VM Guest Patching on Linux.",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxPatchSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionVMAgent": {
- "description": "Indicates whether virtual machine agent should be provisioned on the virtual machine. When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ssh": {
- "description": "Specifies the ssh key configuration for a Linux OS.",
- "oneOf": [
- {
- "$ref": "#/definitions/SshConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "LinuxPatchSettings": {
- "description": "Specifies settings related to VM Guest Patching on Linux.",
- "properties": {
- "assessmentMode": {
- "description": "Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine.
Possible values are:
**ImageDefault** - You control the timing of patch assessments on a virtual machine.
**AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true.",
- "oneOf": [
- {
- "enum": [
- "ImageDefault",
- "AutomaticByPlatform"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "automaticByPlatformSettings": {
- "description": "Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Linux.",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxVMGuestPatchAutomaticByPlatformSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "patchMode": {
- "description": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.
Possible values are:
**ImageDefault** - The virtual machine's default patching configuration is used.
**AutomaticByPlatform** - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true",
- "oneOf": [
- {
- "enum": [
- "ImageDefault",
- "AutomaticByPlatform"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "LinuxVMGuestPatchAutomaticByPlatformSettings": {
- "description": "Specifies additional settings to be applied when patch mode AutomaticByPlatform is selected in Linux patch settings.",
- "properties": {
- "rebootSetting": {
- "description": "Specifies the reboot setting for all AutomaticByPlatform patch installation operations.",
- "oneOf": [
- {
- "enum": [
- "Unknown",
- "IfRequired",
- "Never",
- "Always"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ManagedDiskParameters": {
- "description": "The parameters of a managed disk.",
- "properties": {
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "securityProfile": {
- "description": "Specifies the security profile for the managed disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VMDiskSecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS",
- "Premium_ZRS",
- "StandardSSD_ZRS",
- "PremiumV2_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkInterfaceReference": {
- "description": "Describes a network interface reference.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "properties": {
- "description": "Describes a network interface reference properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkInterfaceReferenceProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkInterfaceReferenceProperties": {
- "description": "Describes a network interface reference properties.",
- "properties": {
- "deleteOption": {
- "description": "Specify what happens to the network interface when the VM is deleted",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkProfile": {
- "description": "Specifies the network interfaces or the networking configuration of the virtual machine.",
- "properties": {
- "networkApiVersion": {
- "description": "specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations",
- "oneOf": [
- {
- "enum": [
- "2020-11-01"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkInterfaceConfigurations": {
- "description": "Specifies the networking configurations that will be used to create the virtual machine networking resources.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineNetworkInterfaceConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkInterfaces": {
- "description": "Specifies the list of resource Ids for the network interfaces associated with the virtual machine.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/NetworkInterfaceReference"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "OSDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine. For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements. Possible values are: **None** **ReadOnly** **ReadWrite** Default: **None** for Standard storage. **ReadOnly** for Premium storage.",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machine should be created. Possible values are: **Attach** \\u2013 This value is used when you are using a specialized disk to create the virtual machine. **FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "deleteOption": {
- "description": "Specifies whether OS Disk should be deleted or detached upon VM deletion. Possible values: **Delete** If this value is used, the OS disk is deleted when VM is deleted. **Detach** If this value is used, the os disk is retained after VM is deleted. The default value is set to **detach**. For an ephemeral OS Disk, the default value is set to **Delete**. User cannot change the delete option for ephemeral OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diffDiskSettings": {
- "description": "Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiffDiskSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. diskSizeGB is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettings": {
- "description": "Specifies the encryption settings for the OS Disk. Minimum api-version: 2015-06-15",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/ManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. Possible values are: **Windows** **Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhd": {
- "description": "The virtual hard disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "OSProfile": {
- "description": "Specifies the operating system settings for the virtual machine. Some of the settings cannot be changed once VM is provisioned.",
- "properties": {
- "adminPassword": {
- "description": "Specifies the password of the administrator account. **Minimum-length (Windows):** 8 characters **Minimum-length (Linux):** 6 characters **Max-length (Windows):** 123 characters **Max-length (Linux):** 72 characters **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\\W_]) **Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\" For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp) For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)",
- "type": "string"
- },
- "adminUsername": {
- "description": "Specifies the name of the administrator account. This property cannot be updated after the VM is created. **Windows-only restriction:** Cannot end in \".\" **Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\". **Minimum-length (Linux):** 1 character **Max-length (Linux):** 64 characters **Max-length (Windows):** 20 characters.",
- "type": "string"
- },
- "allowExtensionOperations": {
- "description": "Specifies whether extension operations should be allowed on the virtual machine. This may only be set to False when no extensions are present on the virtual machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "computerName": {
- "description": "Specifies the host OS name of the virtual machine. This name cannot be updated after the VM is created. **Max-length (Windows):** 15 characters **Max-length (Linux):** 64 characters. For naming conventions and restrictions see [Azure infrastructure services implementation guidelines](https://docs.microsoft.com/azure/azure-resource-manager/management/resource-name-rules).",
- "type": "string"
- },
- "customData": {
- "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes. **Note: Do not pass any secrets or passwords in customData property** This property cannot be updated after the VM is created. customData is passed to the VM to be saved as a file, for more information see [Custom Data on Azure VMs](https://azure.microsoft.com/blog/custom-data-and-cloud-init-on-windows-azure/) For using cloud-init for your Linux VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init)",
- "type": "string"
- },
- "linuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine. For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros).",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "requireGuestProvisionSignal": {
- "description": "Optional property which must either be set to True or omitted.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "secrets": {
- "description": "Specifies set of certificates that should be installed onto the virtual machine. To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultSecretGroup"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "windowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/WindowsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "PatchSettings": {
- "description": "Specifies settings related to VM Guest Patching on Windows.",
- "properties": {
- "assessmentMode": {
- "description": "Specifies the mode of VM Guest patch assessment for the IaaS virtual machine.
Possible values are:
**ImageDefault** - You control the timing of patch assessments on a virtual machine.
**AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true. ",
- "oneOf": [
- {
- "enum": [
- "ImageDefault",
- "AutomaticByPlatform"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "automaticByPlatformSettings": {
- "description": "Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Windows.",
- "oneOf": [
- {
- "$ref": "#/definitions/WindowsVMGuestPatchAutomaticByPlatformSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableHotpatching": {
- "description": "Enables customers to patch their Azure VMs without requiring a reboot. For enableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode' must be set to 'AutomaticByPlatform'.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "patchMode": {
- "description": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.
Possible values are:
**Manual** - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false
**AutomaticByOS** - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true.
**AutomaticByPlatform** - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true ",
- "oneOf": [
- {
- "enum": [
- "Manual",
- "AutomaticByOS",
- "AutomaticByPlatform"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "properties": {
- "name": {
- "description": "The plan ID.",
- "type": "string"
- },
- "product": {
- "description": "Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.",
- "type": "string"
- },
- "promotionCode": {
- "description": "The promotion code.",
- "type": "string"
- },
- "publisher": {
- "description": "The publisher ID.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "PriorityMixPolicy": {
- "description": "Specifies the target splits for Spot and Regular priority VMs within a scale set with flexible orchestration mode.
With this property the customer is able to specify the base number of regular priority VMs created as the VMSS flex instance scales out and the split between Spot and Regular priority VMs after this base target has been reached.",
- "properties": {
- "baseRegularPriorityCount": {
- "description": "The base number of regular priority VMs that will be created in this scale set as it scales out.",
- "oneOf": [
- {
- "minimum": 0,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "regularPriorityPercentageAboveBase": {
- "description": "The percentage of VM instances, after the base regular priority count has been reached, that are expected to use regular priority.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ProximityPlacementGroupProperties": {
- "description": "Describes the properties of a Proximity Placement Group.",
- "properties": {
- "colocationStatus": {
- "description": "Describes colocation status of the Proximity Placement Group.",
- "oneOf": [
- {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "intent": {
- "description": "Specifies the user intent of the proximity placement group.",
- "oneOf": [
- {
- "$ref": "#/definitions/ProximityPlacementGroupPropertiesIntent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroupType": {
- "description": "Specifies the type of the proximity placement group.
Possible values are:
**Standard** : Co-locate resources within an Azure region or Availability Zone.
**Ultra** : For future use.",
- "oneOf": [
- {
- "enum": [
- "Standard",
- "Ultra"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ProximityPlacementGroupPropertiesIntent": {
- "description": "Specifies the user intent of the proximity placement group.",
- "properties": {
- "vmSizes": {
- "description": "Specifies possible sizes of virtual machines that can be created in the proximity placement group.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "PublicIPAddressSku": {
- "description": "Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible.",
- "properties": {
- "name": {
- "description": "Specify public IP sku name",
- "oneOf": [
- {
- "enum": [
- "Basic",
- "Standard"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tier": {
- "description": "Specify public IP sku tier",
- "oneOf": [
- {
- "enum": [
- "Regional",
- "Global"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RestorePointCollectionProperties": {
- "description": "The restore point collection properties.",
- "properties": {
- "source": {
- "description": "The properties of the source resource that this restore point collection is created from.",
- "oneOf": [
- {
- "$ref": "#/definitions/RestorePointCollectionSourceProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RestorePointCollectionSourceProperties": {
- "description": "The properties of the source resource that this restore point collection is created from.",
- "properties": {
- "id": {
- "description": "Resource Id of the source resource used to create this restore point collection",
- "type": "string"
- }
- },
- "type": "object"
- },
- "RestorePointProperties": {
- "description": "The restore point properties.",
- "properties": {
- "consistencyMode": {
- "description": "ConsistencyMode of the RestorePoint. Can be specified in the input while creating a restore point. For now, only CrashConsistent is accepted as a valid input. Please refer to https://aka.ms/RestorePoints for more details.",
- "oneOf": [
- {
- "enum": [
- "CrashConsistent",
- "FileSystemConsistent",
- "ApplicationConsistent"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "excludeDisks": {
- "description": "List of disk resource ids that the customer wishes to exclude from the restore point. If no disks are specified, all disks will be included.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/ApiEntityReference"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sourceRestorePoint": {
- "description": "Resource Id of the source restore point from which a copy needs to be created.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApiEntityReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "timeCreated": {
- "description": "Gets the creation time of the restore point.",
- "format": "date-time",
- "type": "string"
- }
- },
- "type": "object"
- },
- "RollingUpgradePolicy": {
- "description": "The configuration parameters used while performing a rolling upgrade.",
- "properties": {
- "enableCrossZoneUpgrade": {
- "description": "Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxBatchInstancePercent": {
- "description": "The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 5,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxUnhealthyInstancePercent": {
- "description": "The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 5,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxUnhealthyUpgradedInstancePercent": {
- "description": "The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "pauseTimeBetweenBatches": {
- "description": "The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format. The default value is 0 seconds (PT0S).",
- "type": "string"
- },
- "prioritizeUnhealthyInstances": {
- "description": "Upgrade all unhealthy instances in a scale set before any healthy instances.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RunCommandInputParameter": {
- "description": "Describes the properties of a run command parameter.",
- "properties": {
- "name": {
- "description": "The run command parameter name.",
- "type": "string"
- },
- "value": {
- "description": "The run command parameter value.",
- "type": "string"
- }
- },
- "required": [
- "name",
- "value"
- ],
- "type": "object"
- },
- "ScaleInPolicy": {
- "description": "Describes a scale-in policy for a virtual machine scale set.",
- "properties": {
- "forceDeletion": {
- "description": "This property allows you to specify if virtual machines chosen for removal have to be force deleted when a virtual machine scale set is being scaled-in.(Feature in Preview)",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "rules": {
- "description": "The rules to be followed when scaling-in a virtual machine scale set.
Possible values are:
**Default** When a virtual machine scale set is scaled in, the scale set will first be balanced across zones if it is a zonal scale set. Then, it will be balanced across Fault Domains as far as possible. Within each Fault Domain, the virtual machines chosen for removal will be the newest ones that are not protected from scale-in.
**OldestVM** When a virtual machine scale set is being scaled-in, the oldest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the oldest virtual machines that are not protected will be chosen for removal.
**NewestVM** When a virtual machine scale set is being scaled-in, the newest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the newest virtual machines that are not protected will be chosen for removal.
",
- "oneOf": [
- {
- "items": {
- "enum": [
- "Default",
- "OldestVM",
- "NewestVM"
- ],
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ScheduledEventsProfile": {
- "properties": {
- "terminateNotificationProfile": {
- "description": "Specifies Terminate Scheduled Event related configurations.",
- "oneOf": [
- {
- "$ref": "#/definitions/TerminateNotificationProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SecurityProfile": {
- "description": "Specifies the Security profile settings for the virtual machine or virtual machine scale set.",
- "properties": {
- "encryptionAtHost": {
- "description": "This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself. Default: The Encryption at host will be disabled unless this property is set to true for the resource.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityType": {
- "description": "Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings. Default: UefiSettings will not be enabled unless this property is set.",
- "oneOf": [
- {
- "enum": [
- "TrustedLaunch",
- "ConfidentialVM"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "uefiSettings": {
- "description": "Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum api-version: 2020-12-01",
- "oneOf": [
- {
- "$ref": "#/definitions/UefiSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Sku": {
- "description": "Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name.",
- "properties": {
- "capacity": {
- "description": "Specifies the number of virtual machines in the scale set.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The sku name.",
- "type": "string"
- },
- "tier": {
- "description": "Specifies the tier of virtual machines in a scale set.
Possible Values:
**Standard**
**Basic**",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SpotRestorePolicy": {
- "description": "Specifies the Spot-Try-Restore properties for the virtual machine scale set.
With this property customer can enable or disable automatic restore of the evicted Spot VMSS VM instances opportunistically based on capacity availability and pricing constraint.",
- "properties": {
- "enabled": {
- "description": "Enables the Spot-Try-Restore feature where evicted VMSS SPOT instances will be tried to be restored opportunistically based on capacity availability and pricing constraints",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "restoreTimeout": {
- "description": "Timeout value expressed as an ISO 8601 time duration after which the platform will not try to restore the VMSS SPOT instances",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SshConfiguration": {
- "description": "SSH configuration for Linux based VMs running on Azure",
- "properties": {
- "publicKeys": {
- "description": "The list of SSH public keys used to authenticate with linux based VMs.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SshPublicKey"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SshPublicKey": {
- "description": "Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed.",
- "properties": {
- "keyData": {
- "description": "SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed).",
- "type": "string"
- },
- "path": {
- "description": "Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SshPublicKeyResourceProperties": {
- "description": "Properties of the SSH public key.",
- "properties": {
- "publicKey": {
- "description": "SSH public key used to authenticate to a virtual machine through ssh. If this property is not initially provided when the resource is created, the publicKey property will be populated when generateKeyPair is called. If the public key is provided upon resource creation, the provided public key needs to be at least 2048-bit and in ssh-rsa format.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "StorageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add a data disk to a virtual machine. For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/DataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskControllerType": {
- "description": "Specifies the disk controller type configured for the VM. NOTE: This property will be set to the default disk controller type if not specified provided virtual machine is being created as a hyperVGeneration: V2 based on the capabilities of the operating system disk and VM size from the the specified minimum api version. You need to deallocate the VM before updating its disk controller type unless you are updating the VM size in the VM configuration which implicitly deallocates and reallocates the VM. Minimum api-version: 2022-08-01",
- "oneOf": [
- {
- "enum": [
- "SCSI",
- "NVMe"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine. For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "$ref": "#/definitions/OSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SubResource": {
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "TerminateNotificationProfile": {
- "properties": {
- "enable": {
- "description": "Specifies whether the Terminate Scheduled event is enabled or disabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "notBeforeTimeout": {
- "description": "Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M)",
- "type": "string"
- }
- },
- "type": "object"
- },
- "UefiSettings": {
- "description": "Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum api-version: 2020-12-01",
- "properties": {
- "secureBootEnabled": {
- "description": "Specifies whether secure boot should be enabled on the virtual machine. Minimum api-version: 2020-12-01",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vTpmEnabled": {
- "description": "Specifies whether vTPM should be enabled on the virtual machine. Minimum api-version: 2020-12-01",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "UpgradePolicy": {
- "description": "Describes an upgrade policy - automatic, manual, or rolling.",
- "properties": {
- "automaticOSUpgradePolicy": {
- "description": "Configuration parameters used for performing automatic OS Upgrade.",
- "oneOf": [
- {
- "$ref": "#/definitions/AutomaticOSUpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "mode": {
- "description": "Specifies the mode of an upgrade to virtual machines in the scale set.
Possible values are:
**Manual** - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.
**Automatic** - All virtual machines in the scale set are automatically updated at the same time.",
- "oneOf": [
- {
- "enum": [
- "Automatic",
- "Manual",
- "Rolling"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "rollingUpgradePolicy": {
- "description": "The configuration parameters used while performing a rolling upgrade.",
- "oneOf": [
- {
- "$ref": "#/definitions/RollingUpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "UserAssignedIdentitiesValue": {
- "properties": {},
- "type": "object"
- },
- "VMDiskSecurityProfile": {
- "description": "Specifies the security profile settings for the managed disk. NOTE: It can only be set for Confidential VMs",
- "properties": {
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed disk that is used for Customer Managed Key encrypted ConfidentialVM OS Disk and VMGuest blob.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityEncryptionType": {
- "description": "Specifies the EncryptionType of the managed disk. It is set to DiskWithVMGuestState for encryption of the managed disk along with VMGuestState blob, and VMGuestStateOnly for encryption of just the VMGuestState blob. NOTE: It can be set for only Confidential VMs.",
- "oneOf": [
- {
- "enum": [
- "VMGuestStateOnly",
- "DiskWithVMGuestState"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VMGalleryApplication": {
- "description": "Specifies the required information to reference a compute gallery application version",
- "properties": {
- "configurationReference": {
- "description": "Optional, Specifies the uri to an azure blob that will replace the default configuration for the package if provided",
- "type": "string"
- },
- "enableAutomaticUpgrade": {
- "description": "If set to true, when a new Gallery Application version is available in PIR/SIG, it will be automatically updated for the VM/VMSS",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "order": {
- "description": "Optional, Specifies the order in which the packages have to be installed",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "packageReferenceId": {
- "description": "Specifies the GalleryApplicationVersion resource id on the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version}",
- "type": "string"
- },
- "tags": {
- "description": "Optional, Specifies a passthrough value for more generic context.",
- "type": "string"
- },
- "treatFailureAsDeploymentFailure": {
- "description": "Optional, If true, any failure for any operation in the VmApplication will fail the deployment",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "packageReferenceId"
- ],
- "type": "object"
- },
- "VMSizeProperties": {
- "description": "Specifies VM Size Property settings on the virtual machine.",
- "properties": {
- "vCPUsAvailable": {
- "description": "Specifies the number of vCPUs available for the VM. When this property is not specified in the request body the default behavior is to set it to the value of vCPUs available for that VM size exposed in api response of [List all available virtual machine sizes in a region](https://docs.microsoft.com/en-us/rest/api/compute/resource-skus/list) .",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vCPUsPerCore": {
- "description": "Specifies the vCPU to physical core ratio. When this property is not specified in the request body the default behavior is set to the value of vCPUsPerCore for the VM Size exposed in api response of [List all available virtual machine sizes in a region](https://docs.microsoft.com/en-us/rest/api/compute/resource-skus/list) Setting this property to 1 also means that hyper-threading is disabled.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VaultCertificate": {
- "description": "Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM.",
- "properties": {
- "certificateStore": {
- "description": "For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account. For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of these files are .pem formatted.",
- "type": "string"
- },
- "certificateUrl": {
- "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8: { \"data\":\"\", \"dataType\":\"pfx\", \"password\":\"\"} To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VaultSecretGroup": {
- "description": "Describes a set of certificates which are all in the same Key Vault.",
- "properties": {
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing all of the certificates in VaultCertificates.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vaultCertificates": {
- "description": "The list of key vault references in SourceVault which contain certificates.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultCertificate"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualHardDisk": {
- "description": "Describes the uri of a disk.",
- "properties": {
- "uri": {
- "description": "Specifies the virtual hard disk's uri.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineExtensionInstanceView": {
- "description": "The instance view of a virtual machine extension.",
- "properties": {
- "name": {
- "description": "The virtual machine extension name.",
- "type": "string"
- },
- "statuses": {
- "description": "The resource status information.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "substatuses": {
- "description": "The resource status information.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineExtensionProperties": {
- "description": "Describes the properties of a Virtual Machine Extension.",
- "properties": {
- "autoUpgradeMinorVersion": {
- "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticUpgrade": {
- "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "forceUpdateTag": {
- "description": "How the extension handler should be forced to update even if the extension configuration has not changed.",
- "type": "string"
- },
- "instanceView": {
- "description": "The virtual machine extension instance view.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionInstanceView"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedSettings": {
- "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedSettingsFromKeyVault": {
- "description": "The extensions protected settings that are passed by reference, and consumed from key vault",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publisher": {
- "description": "The name of the extension handler publisher.",
- "type": "string"
- },
- "settings": {
- "description": "Json formatted public settings for the extension.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "suppressFailures": {
- "description": "Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineIdentity": {
- "description": "Identity for the virtual machine.",
- "properties": {
- "type": {
- "description": "The type of identity used for the virtual machine. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned",
- "UserAssigned",
- "SystemAssigned, UserAssigned",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userAssignedIdentities": {
- "description": "The list of user identities associated with the Virtual Machine. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
- "oneOf": [
- {
- "additionalProperties": {
- "$ref": "#/definitions/UserAssignedIdentitiesValue"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineIpTag": {
- "description": "Contains the IP tag associated with the public IP address.",
- "properties": {
- "ipTagType": {
- "description": "IP tag type. Example: FirstPartyUsage.",
- "type": "string"
- },
- "tag": {
- "description": "IP tag associated with the public IP. Example: SQL, Storage etc.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineNetworkInterfaceConfiguration": {
- "description": "Describes a virtual machine network interface configurations.",
- "properties": {
- "name": {
- "description": "The network interface configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine network profile's IP configuration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineNetworkInterfaceConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineNetworkInterfaceConfigurationProperties": {
- "description": "Describes a virtual machine network profile's IP configuration.",
- "properties": {
- "deleteOption": {
- "description": "Specify what happens to the network interface when the VM is deleted",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "disableTcpStateTracking": {
- "description": "Specifies whether the network interface is disabled for tcp state tracking.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dnsSettings": {
- "description": "The dns settings to be applied on the network interfaces.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineNetworkInterfaceDnsSettingsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dscpConfiguration": {
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAcceleratedNetworking": {
- "description": "Specifies whether the network interface is accelerated networking-enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableFpga": {
- "description": "Specifies whether the network interface is FPGA networking-enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableIPForwarding": {
- "description": "Whether IP forwarding enabled on this NIC.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipConfigurations": {
- "description": "Specifies the IP configurations of the network interface.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineNetworkInterfaceIPConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkSecurityGroup": {
- "description": "The network security group.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "ipConfigurations"
- ],
- "type": "object"
- },
- "VirtualMachineNetworkInterfaceDnsSettingsConfiguration": {
- "description": "Describes a virtual machines network configuration's DNS settings.",
- "properties": {
- "dnsServers": {
- "description": "List of DNS servers IP addresses",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineNetworkInterfaceIPConfiguration": {
- "description": "Describes a virtual machine network profile's IP configuration.",
- "properties": {
- "name": {
- "description": "The IP configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine network interface IP configuration properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineNetworkInterfaceIPConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineNetworkInterfaceIPConfigurationProperties": {
- "description": "Describes a virtual machine network interface IP configuration properties.",
- "properties": {
- "applicationGatewayBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of application gateways. A virtual machine can reference backend address pools of multiple application gateways. Multiple virtual machines cannot use the same application gateway.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "applicationSecurityGroups": {
- "description": "Specifies an array of references to application security group.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of load balancers. A virtual machine can reference backend address pools of one public and one internal load balancer. [Multiple virtual machines cannot use the same basic sku load balancer].",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "privateIPAddressVersion": {
- "description": "Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressConfiguration": {
- "description": "The publicIPAddressConfiguration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachinePublicIPAddressConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "subnet": {
- "description": "Specifies the identifier of the subnet.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineProperties": {
- "description": "Describes the properties of a Virtual Machine.",
- "properties": {
- "additionalCapabilities": {
- "description": "Specifies additional capabilities enabled or disabled on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/AdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "applicationProfile": {
- "description": "Specifies the gallery applications that should be made available to the VM/VMSS",
- "oneOf": [
- {
- "$ref": "#/definitions/ApplicationProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "availabilitySet": {
- "description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Availability sets overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview).
For more information on Azure planned maintenance, see [Maintenance and updates for Virtual Machines in Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates)
Currently, a VM can only be added to availability set at creation time. The availability set to which the VM is being added should be under the same resource group as the availability set resource. An existing VM cannot be added to an availability set.
This property cannot exist along with a non-null properties.virtualMachineScaleSet reference.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "billingProfile": {
- "description": "Specifies the billing related details of a Azure Spot virtual machine.
Minimum api-version: 2019-03-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/BillingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "capacityReservation": {
- "description": "Specifies information about the capacity reservation that is used to allocate virtual machine.
Minimum api-version: 2021-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/CapacityReservationProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "evictionPolicy": {
- "description": "Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set.
For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01.
For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview.",
- "oneOf": [
- {
- "enum": [
- "Deallocate",
- "Delete"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extensionsTimeBudget": {
- "description": "Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M).
Minimum api-version: 2020-06-01",
- "type": "string"
- },
- "hardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/HardwareProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "host": {
- "description": "Specifies information about the dedicated host that the virtual machine resides in.
Minimum api-version: 2018-10-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hostGroup": {
- "description": "Specifies information about the dedicated host group that the virtual machine resides in.
Minimum api-version: 2020-06-01.
NOTE: User cannot specify both host and hostGroup properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises.
Possible values for Windows Server operating system are:
Windows_Client
Windows_Server
Possible values for Linux Server operating system are:
RHEL_BYOS (for RHEL)
SLES_BYOS (for SUSE)
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)
[Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings used while creating the virtual machine. Some of the settings cannot be changed once VM is provisioned.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformFaultDomain": {
- "description": "Specifies the scale set logical fault domain into which the Virtual Machine will be created. By default, the Virtual Machine will by automatically assigned to a fault domain that best maintains balance across available fault domains.
This is applicable only if the 'virtualMachineScaleSet' property of this Virtual Machine is set.The Virtual Machine Scale Set that is referenced, must have 'platformFaultDomainCount' > 1.This property cannot be updated once the Virtual Machine is created.Fault domain assignment can be viewed in the Virtual Machine Instance View.
Minimum api‐version: 2020‐12‐01",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "priority": {
- "description": "Specifies the priority for the virtual machine.
Minimum api-version: 2019-03-01",
- "oneOf": [
- {
- "enum": [
- "Regular",
- "Low",
- "Spot"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the virtual machine should be assigned to.
Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "scheduledEventsProfile": {
- "description": "Specifies Scheduled Event related configurations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ScheduledEventsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Specifies the Security related profile settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/SecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/StorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userData": {
- "description": "UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here.
Minimum api-version: 2021-03-01",
- "type": "string"
- },
- "virtualMachineScaleSet": {
- "description": "Specifies information about the virtual machine scale set that the virtual machine should be assigned to. Virtual machines specified in the same virtual machine scale set are allocated to different nodes to maximize availability. Currently, a VM can only be added to virtual machine scale set at creation time. An existing VM cannot be added to a virtual machine scale set.
This property cannot exist along with a non-null properties.availabilitySet reference.
Minimum api‐version: 2019‐03‐01",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachinePublicIPAddressConfiguration": {
- "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration",
- "properties": {
- "name": {
- "description": "The publicIP address configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachinePublicIPAddressConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible.",
- "oneOf": [
- {
- "$ref": "#/definitions/PublicIPAddressSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachinePublicIPAddressConfigurationProperties": {
- "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration",
- "properties": {
- "deleteOption": {
- "description": "Specify what happens to the public IP address when the VM is deleted",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dnsSettings": {
- "description": "The dns settings to be applied on the publicIP addresses .",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachinePublicIPAddressDnsSettingsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "idleTimeoutInMinutes": {
- "description": "The idle timeout of the public IP address.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipTags": {
- "description": "The list of IP tags associated with the public IP address.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineIpTag"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressVersion": {
- "description": "Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAllocationMethod": {
- "description": "Specify the public IP allocation type",
- "oneOf": [
- {
- "enum": [
- "Dynamic",
- "Static"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPPrefix": {
- "description": "The PublicIPPrefix from which to allocate publicIP addresses.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachinePublicIPAddressDnsSettingsConfiguration": {
- "description": "Describes a virtual machines network configuration's DNS settings.",
- "properties": {
- "domainNameLabel": {
- "description": "The Domain name label prefix of the PublicIPAddress resources that will be created. The generated name label is the concatenation of the domain name label and vm network profile unique ID.",
- "type": "string"
- }
- },
- "required": [
- "domainNameLabel"
- ],
- "type": "object"
- },
- "VirtualMachineRunCommandProperties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "properties": {
- "asyncExecution": {
- "description": "Optional. If set to true, provisioning will complete as soon as the script starts and will not wait for script to complete.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "errorBlobUri": {
- "description": "Specifies the Azure storage blob where script error stream will be uploaded.",
- "type": "string"
- },
- "outputBlobUri": {
- "description": "Specifies the Azure storage blob where script output stream will be uploaded.",
- "type": "string"
- },
- "parameters": {
- "description": "The parameters used by the script.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/RunCommandInputParameter"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedParameters": {
- "description": "The parameters used by the script.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/RunCommandInputParameter"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "runAsPassword": {
- "description": "Specifies the user account password on the VM when executing the run command.",
- "type": "string"
- },
- "runAsUser": {
- "description": "Specifies the user account on the VM when executing the run command.",
- "type": "string"
- },
- "source": {
- "description": "The source of the run command script.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandScriptSource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "timeoutInSeconds": {
- "description": "The timeout in seconds to execute the run command.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineRunCommandScriptSource": {
- "description": "Describes the script sources for run command.",
- "properties": {
- "commandId": {
- "description": "Specifies a commandId of predefined built-in script.",
- "type": "string"
- },
- "script": {
- "description": "Specifies the script content to be executed on the VM.",
- "type": "string"
- },
- "scriptUri": {
- "description": "Specifies the script download location.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetDataDisk": {
- "description": "Describes a virtual machine scale set data disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "The create option.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "deleteOption": {
- "description": "Specifies whether data disk should be deleted or detached upon VMSS Flex deletion (This feature is available for VMSS with Flexible OrchestrationMode only).
Possible values:
**Delete** If this value is used, the data disk is deleted when the VMSS Flex VM is deleted.
**Detach** If this value is used, the data disk is retained after VMSS Flex VM is deleted.
The default value is set to **Delete**.",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskIOPSReadWrite": {
- "description": "Specifies the Read-Write IOPS for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskMBpsReadWrite": {
- "description": "Specifies the bandwidth in MB per second for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
diskSizeGB is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun",
- "createOption"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetExtension": {
- "description": "Describes a Virtual Machine Scale Set Extension.",
- "properties": {
- "name": {
- "description": "The name of the extension.",
- "type": "string"
- },
- "properties": {
- "anyOf": [
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/genericExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/bgInfo"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/dscExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackup"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/chefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/dockerExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/eset"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/puppetAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/customScript"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetExtensionProfile": {
- "description": "Describes a virtual machine scale set extension profile.",
- "properties": {
- "extensions": {
- "description": "The virtual machine scale set child extension resources.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetExtension"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extensionsTimeBudget": {
- "description": "Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M).
Minimum api-version: 2020-06-01",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetExtensionProperties": {
- "description": "Describes the properties of a Virtual Machine Scale Set Extension.",
- "properties": {
- "autoUpgradeMinorVersion": {
- "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticUpgrade": {
- "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "forceUpdateTag": {
- "description": "If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.",
- "type": "string"
- },
- "protectedSettings": {
- "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedSettingsFromKeyVault": {
- "description": "The extensions protected settings that are passed by reference, and consumed from key vault",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionAfterExtensions": {
- "description": "Collection of extension names after which this extension needs to be provisioned.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publisher": {
- "description": "The name of the extension handler publisher.",
- "type": "string"
- },
- "settings": {
- "description": "Json formatted public settings for the extension.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "suppressFailures": {
- "description": "Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetHardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine scale set.",
- "properties": {
- "vmSizeProperties": {
- "description": "Specifies the properties for customizing the size of the virtual machine. Minimum api-version: 2021-11-01.
Please follow the instructions in [VM Customization](https://aka.ms/vmcustomization) for more details.",
- "oneOf": [
- {
- "$ref": "#/definitions/VMSizeProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIPConfiguration": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "name": {
- "description": "The IP configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetIPConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetIPConfigurationProperties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration properties.",
- "properties": {
- "applicationGatewayBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of application gateways. A scale set can reference backend address pools of multiple application gateways. Multiple scale sets cannot use the same application gateway.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "applicationSecurityGroups": {
- "description": "Specifies an array of references to application security group.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of load balancers. A scale set can reference backend address pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerInboundNatPools": {
- "description": "Specifies an array of references to inbound Nat pools of the load balancers. A scale set can reference inbound nat pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "privateIPAddressVersion": {
- "description": "Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressConfiguration": {
- "description": "The publicIPAddressConfiguration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "subnet": {
- "description": "Specifies the identifier of the subnet.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApiEntityReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIdentity": {
- "description": "Identity for the virtual machine scale set.",
- "properties": {
- "type": {
- "description": "The type of identity used for the virtual machine scale set. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine scale set.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned",
- "UserAssigned",
- "SystemAssigned, UserAssigned",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userAssignedIdentities": {
- "description": "The list of user identities associated with the virtual machine scale set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
- "oneOf": [
- {
- "additionalProperties": {
- "$ref": "#/definitions/UserAssignedIdentitiesValue"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIpTag": {
- "description": "Contains the IP tag associated with the public IP address.",
- "properties": {
- "ipTagType": {
- "description": "IP tag type. Example: FirstPartyUsage.",
- "type": "string"
- },
- "tag": {
- "description": "IP tag associated with the public IP. Example: SQL, Storage etc.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetManagedDiskParameters": {
- "description": "Describes the parameters of a ScaleSet managed disk.",
- "properties": {
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Specifies the security profile for the managed disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VMDiskSecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS",
- "Premium_ZRS",
- "StandardSSD_ZRS",
- "PremiumV2_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfiguration": {
- "description": "Describes a virtual machine scale set network profile's network configurations.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "name": {
- "description": "The network configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfigurationDnsSettings": {
- "description": "Describes a virtual machines scale sets network configuration's DNS settings.",
- "properties": {
- "dnsServers": {
- "description": "List of DNS servers IP addresses",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfigurationProperties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "properties": {
- "deleteOption": {
- "description": "Specify what happens to the network interface when the VM is deleted",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "disableTcpStateTracking": {
- "description": "Specifies whether the network interface is disabled for tcp state tracking.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dnsSettings": {
- "description": "The dns settings to be applied on the network interfaces.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationDnsSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAcceleratedNetworking": {
- "description": "Specifies whether the network interface is accelerated networking-enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableFpga": {
- "description": "Specifies whether the network interface is FPGA networking-enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableIPForwarding": {
- "description": "Whether IP forwarding enabled on this NIC.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipConfigurations": {
- "description": "Specifies the IP configurations of the network interface.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetIPConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkSecurityGroup": {
- "description": "The network security group.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "ipConfigurations"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkProfile": {
- "description": "Describes a virtual machine scale set network profile.",
- "properties": {
- "healthProbe": {
- "description": "A reference to a load balancer probe used to determine the health of an instance in the virtual machine scale set. The reference will be in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApiEntityReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkApiVersion": {
- "description": "specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations for Virtual Machine Scale Set with orchestration mode 'Flexible'",
- "oneOf": [
- {
- "enum": [
- "2020-11-01"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkInterfaceConfigurations": {
- "description": "The list of network configurations.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetOSDisk": {
- "description": "Describes a virtual machine scale set operating system disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machines in the scale set should be created.
The only allowed value is: **FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "deleteOption": {
- "description": "Specifies whether OS Disk should be deleted or detached upon VMSS Flex deletion (This feature is available for VMSS with Flexible OrchestrationMode only).
Possible values:
**Delete** If this value is used, the OS disk is deleted when VMSS Flex VM is deleted.
**Detach** If this value is used, the OS disk is retained after VMSS Flex VM is deleted.
The default value is set to **Delete**. For an Ephemeral OS Disk, the default value is set to **Delete**. User cannot change the delete option for Ephemeral OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diffDiskSettings": {
- "description": "Specifies the ephemeral disk Settings for the operating system disk used by the virtual machine scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiffDiskSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
diskSizeGB is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "Specifies information about the unmanaged user image to base the scale set on.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhdContainers": {
- "description": "Specifies the container urls that are used to store operating system disks for the scale set.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetOSProfile": {
- "description": "Describes a virtual machine scale set OS profile.",
- "properties": {
- "adminPassword": {
- "description": "Specifies the password of the administrator account.
**Minimum-length (Windows):** 8 characters
**Minimum-length (Linux):** 6 characters
**Max-length (Windows):** 123 characters
**Max-length (Linux):** 72 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])
**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"
For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp)
For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)",
- "type": "string"
- },
- "adminUsername": {
- "description": "Specifies the name of the administrator account.
**Windows-only restriction:** Cannot end in \".\"
**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters",
- "type": "string"
- },
- "allowExtensionOperations": {
- "description": "Specifies whether extension operations should be allowed on the virtual machine scale set.
This may only be set to False when no extensions are present on the virtual machine scale set.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "computerNamePrefix": {
- "description": "Specifies the computer name prefix for all of the virtual machines in the scale set. Computer name prefixes must be 1 to 15 characters long.",
- "type": "string"
- },
- "customData": {
- "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes.
For using cloud-init for your VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init)",
- "type": "string"
- },
- "linuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros).",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "secrets": {
- "description": "Specifies set of certificates that should be installed onto the virtual machines in the scale set. To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultSecretGroup"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "windowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/WindowsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetProperties": {
- "description": "Describes the properties of a Virtual Machine Scale Set.",
- "properties": {
- "additionalCapabilities": {
- "description": "Specifies additional capabilities enabled or disabled on the Virtual Machines in the Virtual Machine Scale Set. For instance: whether the Virtual Machines have the capability to support attaching managed data disks with UltraSSD_LRS storage account type.",
- "oneOf": [
- {
- "$ref": "#/definitions/AdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "automaticRepairsPolicy": {
- "description": "Policy for automatic repairs.",
- "oneOf": [
- {
- "$ref": "#/definitions/AutomaticRepairsPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "doNotRunExtensionsOnOverprovisionedVMs": {
- "description": "When Overprovision is enabled, extensions are launched only on the requested number of VMs which are finally kept. This property will hence ensure that the extensions do not run on the extra overprovisioned VMs.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hostGroup": {
- "description": "Specifies information about the dedicated host group that the virtual machine scale set resides in.
Minimum api-version: 2020-06-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "orchestrationMode": {
- "description": "Specifies the orchestration mode for the virtual machine scale set.",
- "oneOf": [
- {
- "enum": [
- "Uniform",
- "Flexible"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "overprovision": {
- "description": "Specifies whether the Virtual Machine Scale Set should be overprovisioned.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformFaultDomainCount": {
- "description": "Fault Domain count for each placement group.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "priorityMixPolicy": {
- "description": "Specifies the desired targets for mixing Spot and Regular priority VMs within the same VMSS Flex instance.",
- "oneOf": [
- {
- "$ref": "#/definitions/PriorityMixPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the virtual machine scale set should be assigned to.
Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "scaleInPolicy": {
- "description": "Specifies the policies applied when scaling in Virtual Machines in the Virtual Machine Scale Set.",
- "oneOf": [
- {
- "$ref": "#/definitions/ScaleInPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "singlePlacementGroup": {
- "description": "When true this limits the scale set to a single placement group, of max size 100 virtual machines. NOTE: If singlePlacementGroup is true, it may be modified to false. However, if singlePlacementGroup is false, it may not be modified to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "spotRestorePolicy": {
- "description": "Specifies the Spot Restore properties for the virtual machine scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/SpotRestorePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "upgradePolicy": {
- "description": "The upgrade policy.",
- "oneOf": [
- {
- "$ref": "#/definitions/UpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "virtualMachineProfile": {
- "description": "The virtual machine profile.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "zoneBalance": {
- "description": "Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage. zoneBalance property can only be set if the zones property of the scale set contains more than one zone. If there are no zones or only one zone specified, then zoneBalance property should not be set.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfiguration": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "properties": {
- "name": {
- "description": "The publicIP address configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible.",
- "oneOf": [
- {
- "$ref": "#/definitions/PublicIPAddressSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings": {
- "description": "Describes a virtual machines scale sets network configuration's DNS settings.",
- "properties": {
- "domainNameLabel": {
- "description": "The Domain name label.The concatenation of the domain name label and vm index will be the domain name labels of the PublicIPAddress resources that will be created",
- "type": "string"
- }
- },
- "required": [
- "domainNameLabel"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfigurationProperties": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "properties": {
- "deleteOption": {
- "description": "Specify what happens to the public IP when the VM is deleted",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dnsSettings": {
- "description": "The dns settings to be applied on the publicIP addresses .",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "idleTimeoutInMinutes": {
- "description": "The idle timeout of the public IP address.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipTags": {
- "description": "The list of IP tags associated with the public IP address.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetIpTag"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressVersion": {
- "description": "Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPPrefix": {
- "description": "The PublicIPPrefix from which to allocate publicIP addresses.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetStorageProfile": {
- "description": "Describes a virtual machine scale set storage profile.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add data disks to the virtual machines in the scale set.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetDataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskControllerType": {
- "type": "string"
- },
- "imageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machines in the scale set.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetOSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMNetworkProfileConfiguration": {
- "description": "Describes a virtual machine scale set VM network profile.",
- "properties": {
- "networkInterfaceConfigurations": {
- "description": "The list of network configurations.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProfile": {
- "description": "Describes a virtual machine scale set virtual machine profile.",
- "properties": {
- "applicationProfile": {
- "description": "Specifies the gallery applications that should be made available to the VM/VMSS",
- "oneOf": [
- {
- "$ref": "#/definitions/ApplicationProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "billingProfile": {
- "description": "Specifies the billing related details of a Azure Spot VMSS.
Minimum api-version: 2019-03-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/BillingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "capacityReservation": {
- "description": "Specifies the capacity reservation related details of a scale set.
Minimum api-version: 2021-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/CapacityReservationProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "evictionPolicy": {
- "description": "Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set.
For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01.
For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview.",
- "oneOf": [
- {
- "enum": [
- "Deallocate",
- "Delete"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extensionProfile": {
- "description": "Specifies a collection of settings for extensions installed on virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetExtensionProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hardwareProfile": {
- "description": "Specifies the hardware profile related details of a scale set.
Minimum api-version: 2021-11-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetHardwareProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises.
Possible values for Windows Server operating system are:
Windows_Client
Windows_Server
Possible values for Linux Server operating system are:
RHEL_BYOS (for RHEL)
SLES_BYOS (for SUSE)
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)
[Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies properties of the network interfaces of the virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings for the virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetOSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "priority": {
- "description": "Specifies the priority for the virtual machines in the scale set.
Minimum api-version: 2017-10-30-preview",
- "oneOf": [
- {
- "enum": [
- "Regular",
- "Low",
- "Spot"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "scheduledEventsProfile": {
- "description": "Specifies Scheduled Event related configurations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ScheduledEventsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Specifies the Security related profile settings for the virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/SecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userData": {
- "description": "UserData for the virtual machines in the scale set, which must be base-64 encoded. Customer should not pass any secrets in here.
Minimum api-version: 2021-03-01",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProperties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "properties": {
- "additionalCapabilities": {
- "description": "Specifies additional capabilities enabled or disabled on the virtual machine in the scale set. For instance: whether the virtual machine has the capability to support attaching managed data disks with UltraSSD_LRS storage account type.",
- "oneOf": [
- {
- "$ref": "#/definitions/AdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "availabilitySet": {
- "description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Availability sets overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview).
For more information on Azure planned maintenance, see [Maintenance and updates for Virtual Machines in Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates)
Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/HardwareProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises.
Possible values for Windows Server operating system are:
Windows_Client
Windows_Server
Possible values for Linux Server operating system are:
RHEL_BYOS (for RHEL)
SLES_BYOS (for SUSE)
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)
[Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkProfileConfiguration": {
- "description": "Specifies the network profile configuration of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMNetworkProfileConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectionPolicy": {
- "description": "Specifies the protection policy of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProtectionPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Specifies the Security related profile settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/SecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/StorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userData": {
- "description": "UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here.
Minimum api-version: 2021-03-01",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProtectionPolicy": {
- "description": "The protection policy of a virtual machine scale set VM.",
- "properties": {
- "protectFromScaleIn": {
- "description": "Indicates that the virtual machine scale set VM shouldn't be considered for deletion during a scale-in operation.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectFromScaleSetActions": {
- "description": "Indicates that model updates or actions (including scale-in) initiated on the virtual machine scale set should not be applied to the virtual machine scale set VM.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WinRMConfiguration": {
- "description": "Describes Windows Remote Management configuration of the VM",
- "properties": {
- "listeners": {
- "description": "The list of Windows Remote Management listeners",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/WinRMListener"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WinRMListener": {
- "description": "Describes Protocol and thumbprint of Windows Remote Management listener",
- "properties": {
- "certificateUrl": {
- "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8: { \"data\":\"\", \"dataType\":\"pfx\", \"password\":\"\"} To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).",
- "type": "string"
- },
- "protocol": {
- "description": "Specifies the protocol of WinRM listener. Possible values are: **http** **https**",
- "oneOf": [
- {
- "enum": [
- "Http",
- "Https"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WindowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "properties": {
- "additionalUnattendContent": {
- "description": "Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/AdditionalUnattendContent"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticUpdates": {
- "description": "Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value is true. For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableVMAgentPlatformUpdates": {
- "description": "Indicates whether VMAgent Platform Updates is enabled for the Windows virtual machine. Default value is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "patchSettings": {
- "description": "[Preview Feature] Specifies settings related to VM Guest Patching on Windows.",
- "oneOf": [
- {
- "$ref": "#/definitions/PatchSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionVMAgent": {
- "description": "Indicates whether virtual machine agent should be provisioned on the virtual machine. When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "timeZone": {
- "description": "Specifies the time zone of the virtual machine. e.g. \"Pacific Standard Time\". Possible values can be [TimeZoneInfo.Id](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.id?#System_TimeZoneInfo_Id) value from time zones returned by [TimeZoneInfo.GetSystemTimeZones](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.getsystemtimezones).",
- "type": "string"
- },
- "winRM": {
- "description": "Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.",
- "oneOf": [
- {
- "$ref": "#/definitions/WinRMConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WindowsVMGuestPatchAutomaticByPlatformSettings": {
- "description": "Specifies additional settings to be applied when patch mode AutomaticByPlatform is selected in Windows patch settings.",
- "properties": {
- "rebootSetting": {
- "description": "Specifies the reboot setting for all AutomaticByPlatform patch installation operations.",
- "oneOf": [
- {
- "enum": [
- "Unknown",
- "IfRequired",
- "Never",
- "Always"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "capacityReservationGroups_capacityReservations_childResource": {
- "description": "Microsoft.Compute/capacityReservationGroups/capacityReservations",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-08-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the capacity reservation.",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the Capacity reservation.",
- "oneOf": [
- {
- "$ref": "#/definitions/CapacityReservationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "SKU of the resource for which capacity needs be reserved. The SKU name and capacity is required to be set. Currently VM Skus with the capability called 'CapacityReservationSupported' set to true are supported. Refer to List Microsoft.Compute SKUs in a region (https://docs.microsoft.com/rest/api/compute/resourceskus/list) for supported values.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "capacityReservations"
- ],
- "type": "string"
- },
- "zones": {
- "description": "Availability Zone to use for this capacity reservation. The zone has to be single value and also should be part for the list of zones specified during the capacity reservation group creation. The zone can be assigned only during creation. If not provided, the reservation supports only non-zonal deployments. If provided, enforces VM/VMSS using this capacity reservation to be in same zone.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "hostGroups_hosts_childResource": {
- "description": "Microsoft.Compute/hostGroups/hosts",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-08-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the dedicated host .",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the dedicated host.",
- "oneOf": [
- {
- "$ref": "#/definitions/DedicatedHostProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be set. List Microsoft.Compute SKUs for a list of possible values.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "hosts"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "restorePointCollections_restorePoints_childResource": {
- "description": "Microsoft.Compute/restorePointCollections/restorePoints",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-08-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the restore point.",
- "type": "string"
- },
- "properties": {
- "description": "The restore point properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/RestorePointProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "restorePoints"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-08-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the VM scale set extension.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Scale Set Extension.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetExtensionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-08-01"
- ],
- "type": "string"
- },
- "identity": {
- "description": "The identity of the virtual machine, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The instance ID of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "virtualMachines"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-08-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine extension.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Extension.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_runCommands_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/runCommands",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-08-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine run command.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "runCommands"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachines/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-08-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine extension.",
- "type": "string"
- },
- "properties": {
- "anyOf": [
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/genericExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/bgInfo"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/dscExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackup"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/chefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/dockerExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/eset"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/puppetAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/customScript"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines_runCommands_childResource": {
- "description": "Microsoft.Compute/virtualMachines/runCommands",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-08-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine run command.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "runCommands"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- }
-}
\ No newline at end of file
diff --git a/schemas/2022-08-03/Microsoft.Compute.json b/schemas/2022-08-03/Microsoft.Compute.json
deleted file mode 100644
index affc2b2487..0000000000
--- a/schemas/2022-08-03/Microsoft.Compute.json
+++ /dev/null
@@ -1,2087 +0,0 @@
-{
- "id": "https://schema.management.azure.com/schemas/2022-08-03/Microsoft.Compute.json#",
- "title": "Microsoft.Compute",
- "description": "Microsoft Compute Resource Types",
- "$schema": "http://json-schema.org/draft-04/schema#",
- "resourceDefinitions": {
- "galleries": {
- "description": "Microsoft.Compute/galleries",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-08-03"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the Shared Image Gallery. The allowed characters are alphabets and numbers with dots and periods allowed in the middle. The maximum length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Shared Image Gallery.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/galleries_images_childResource"
- },
- {
- "$ref": "#/definitions/galleries_applications_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/galleries"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_applications": {
- "description": "Microsoft.Compute/galleries/applications",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-08-03"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Application Definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery Application Definition.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryApplicationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/galleries_applications_versions_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/galleries/applications"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_applications_versions": {
- "description": "Microsoft.Compute/galleries/applications/versions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-08-03"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Application Version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery image version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryApplicationVersionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/galleries/applications/versions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_images": {
- "description": "Microsoft.Compute/galleries/images",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-08-03"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery image definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery image definition.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/galleries_images_versions_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/galleries/images"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_images_versions": {
- "description": "Microsoft.Compute/galleries/images/versions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-08-03"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery image version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery image version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageVersionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/galleries/images/versions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- },
- "definitions": {
- "CommunityGalleryInfo": {
- "description": "Information of community gallery if current gallery is shared to community",
- "properties": {
- "eula": {
- "description": "End-user license agreement for community gallery image.",
- "type": "string"
- },
- "publicNamePrefix": {
- "description": "The prefix of the gallery name that will be displayed publicly. Visible to all users.",
- "type": "string"
- },
- "publisherContact": {
- "description": "Community gallery publisher support email. The email address of the publisher. Visible to all users.",
- "type": "string"
- },
- "publisherUri": {
- "description": "The link to the publisher website. Visible to all users.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "DataDiskImageEncryption": {
- "description": "Contains encryption settings for a data disk image.",
- "properties": {
- "diskEncryptionSetId": {
- "description": "A relative URI containing the resource ID of the disk encryption set.",
- "type": "string"
- },
- "lun": {
- "description": "This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun"
- ],
- "type": "object"
- },
- "Disallowed": {
- "description": "Describes the disallowed disk types.",
- "properties": {
- "diskTypes": {
- "description": "A list of disk types.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "EncryptionImages": {
- "description": "Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact.",
- "properties": {
- "dataDiskImages": {
- "description": "A list of encryption specifications for data disk images.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/DataDiskImageEncryption"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDiskImage": {
- "description": "Contains encryption settings for an OS disk image.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSDiskImageEncryption"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryApplicationCustomAction": {
- "description": "A custom action that can be performed with a Gallery Application Version.",
- "properties": {
- "description": {
- "description": "Description to help the users understand what this custom action does.",
- "type": "string"
- },
- "name": {
- "description": "The name of the custom action. Must be unique within the Gallery Application Version.",
- "type": "string"
- },
- "parameters": {
- "description": "The parameters that this custom action uses",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/GalleryApplicationCustomActionParameter"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "script": {
- "description": "The script to run when executing this custom action.",
- "type": "string"
- }
- },
- "required": [
- "name",
- "script"
- ],
- "type": "object"
- },
- "GalleryApplicationCustomActionParameter": {
- "description": "The definition of a parameter that can be passed to a custom action of a Gallery Application Version.",
- "properties": {
- "defaultValue": {
- "description": "The default value of the parameter. Only applies to string types",
- "type": "string"
- },
- "description": {
- "description": "A description to help users understand what this parameter means",
- "type": "string"
- },
- "name": {
- "description": "The name of the custom action. Must be unique within the Gallery Application Version.",
- "type": "string"
- },
- "required": {
- "description": "Indicates whether this parameter must be passed when running the custom action.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the custom action parameter. Possible values are: String, ConfigurationDataBlob or LogOutputBlob",
- "oneOf": [
- {
- "enum": [
- "String",
- "ConfigurationDataBlob",
- "LogOutputBlob"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "GalleryApplicationProperties": {
- "description": "Describes the properties of a gallery Application Definition.",
- "properties": {
- "customActions": {
- "description": "A list of custom actions that can be performed with all of the Gallery Application Versions within this Gallery Application.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/GalleryApplicationCustomAction"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "description": {
- "description": "The description of this gallery Application Definition resource. This property is updatable.",
- "type": "string"
- },
- "endOfLifeDate": {
- "description": "The end of life date of the gallery Application Definition. This property can be used for decommissioning purposes. This property is updatable.",
- "format": "date-time",
- "type": "string"
- },
- "eula": {
- "description": "The Eula agreement for the gallery Application Definition.",
- "type": "string"
- },
- "privacyStatementUri": {
- "description": "The privacy statement uri.",
- "type": "string"
- },
- "releaseNoteUri": {
- "description": "The release note uri.",
- "type": "string"
- },
- "supportedOSType": {
- "description": "This property allows you to specify the supported type of the OS that application is built for. Possible values are: **Windows,** **Linux.**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "supportedOSType"
- ],
- "type": "object"
- },
- "GalleryApplicationVersionProperties": {
- "description": "Describes the properties of a gallery image version.",
- "properties": {
- "publishingProfile": {
- "description": "The publishing profile of a gallery image version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryApplicationVersionPublishingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "safetyProfile": {
- "description": "The safety profile of the Gallery Application Version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryApplicationVersionSafetyProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "publishingProfile"
- ],
- "type": "object"
- },
- "GalleryApplicationVersionPublishingProfile": {
- "description": "The publishing profile of a gallery image version.",
- "properties": {
- "advancedSettings": {
- "description": "Optional. Additional settings to pass to the vm-application-manager extension. For advanced use only.",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "customActions": {
- "description": "A list of custom actions that can be performed with this Gallery Application Version.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/GalleryApplicationCustomAction"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableHealthCheck": {
- "description": "Optional. Whether or not this application reports health.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "endOfLifeDate": {
- "description": "The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable.",
- "format": "date-time",
- "type": "string"
- },
- "excludeFromLatest": {
- "description": "If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "manageActions": {
- "oneOf": [
- {
- "$ref": "#/definitions/UserArtifactManage"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "replicaCount": {
- "description": "The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "replicationMode": {
- "description": "Optional parameter which specifies the mode to be used for replication. This property is not updatable.",
- "oneOf": [
- {
- "enum": [
- "Full",
- "Shallow"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "settings": {
- "description": "Additional settings for the VM app that contains the target package and config file name when it is deployed to target VM or VM scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/UserArtifactSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "source": {
- "description": "The source image from which the Image Version is going to be created.",
- "oneOf": [
- {
- "$ref": "#/definitions/UserArtifactSource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type to be used to store the image. This property is not updatable.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Standard_ZRS",
- "Premium_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "targetExtendedLocations": {
- "description": "The target extended locations where the Image Version is going to be replicated to. This property is updatable.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/GalleryTargetExtendedLocation"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "targetRegions": {
- "description": "The target regions where the Image Version is going to be replicated to. This property is updatable.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/TargetRegion"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "source"
- ],
- "type": "object"
- },
- "GalleryApplicationVersionSafetyProfile": {
- "description": "The safety profile of the Gallery Application Version.",
- "properties": {
- "allowDeletionOfReplicatedLocations": {
- "description": "Indicates whether or not removing this Gallery Image Version from replicated regions is allowed.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryArtifactVersionFullSource": {
- "description": "The source of the gallery artifact version.",
- "properties": {
- "communityGalleryImageId": {
- "description": "The resource Id of the source Community Gallery Image. Only required when using Community Gallery Image as a source.",
- "type": "string"
- },
- "id": {
- "description": "The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, user image or storage account resource.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "GalleryDataDiskImage": {
- "description": "This is the data disk image.",
- "properties": {
- "hostCaching": {
- "description": "The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "source": {
- "description": "The source for the disk image.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryDiskImageSource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun"
- ],
- "type": "object"
- },
- "GalleryDiskImageSource": {
- "description": "The source for the disk image.",
- "properties": {
- "id": {
- "description": "The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, user image or storage account resource.",
- "type": "string"
- },
- "storageAccountId": {
- "description": "The Storage Account Id that contains the vhd blob being used as a source for this artifact version.",
- "type": "string"
- },
- "uri": {
- "description": "The uri of the gallery artifact version source. Currently used to specify vhd/blob source.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "GalleryExtendedLocation": {
- "description": "The name of the extended location.",
- "properties": {
- "name": {
- "type": "string"
- },
- "type": {
- "description": "It is type of the extended location.",
- "oneOf": [
- {
- "enum": [
- "EdgeZone",
- "Unknown"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryIdentifier": {
- "description": "Describes the gallery unique name.",
- "properties": {},
- "type": "object"
- },
- "GalleryImageFeature": {
- "description": "A feature for gallery image.",
- "properties": {
- "name": {
- "description": "The name of the gallery image feature.",
- "type": "string"
- },
- "value": {
- "description": "The value of the gallery image feature.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "GalleryImageIdentifier": {
- "description": "This is the gallery image definition identifier.",
- "properties": {
- "offer": {
- "description": "The name of the gallery image definition offer.",
- "type": "string"
- },
- "publisher": {
- "description": "The name of the gallery image definition publisher.",
- "type": "string"
- },
- "sku": {
- "description": "The name of the gallery image definition SKU.",
- "type": "string"
- }
- },
- "required": [
- "publisher",
- "offer",
- "sku"
- ],
- "type": "object"
- },
- "GalleryImageProperties": {
- "description": "Describes the properties of a gallery image definition.",
- "properties": {
- "architecture": {
- "description": "The architecture of the image. Applicable to OS disks only.",
- "oneOf": [
- {
- "enum": [
- "x64",
- "Arm64"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "description": {
- "description": "The description of this gallery image definition resource. This property is updatable.",
- "type": "string"
- },
- "disallowed": {
- "description": "Describes the disallowed disk types.",
- "oneOf": [
- {
- "$ref": "#/definitions/Disallowed"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "endOfLifeDate": {
- "description": "The end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable.",
- "format": "date-time",
- "type": "string"
- },
- "eula": {
- "description": "The Eula agreement for the gallery image definition.",
- "type": "string"
- },
- "features": {
- "description": "A list of gallery image features.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/GalleryImageFeature"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hyperVGeneration": {
- "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "identifier": {
- "description": "This is the gallery image definition identifier.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageIdentifier"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osState": {
- "description": "This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'.",
- "oneOf": [
- {
- "enum": [
- "Generalized",
- "Specialized"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image. Possible values are: **Windows,** **Linux.**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "privacyStatementUri": {
- "description": "The privacy statement uri.",
- "type": "string"
- },
- "purchasePlan": {
- "description": "Describes the gallery image definition purchase plan. This is used by marketplace images.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImagePurchasePlan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "recommended": {
- "description": "The properties describe the recommended machine configuration for this Image Definition. These properties are updatable.",
- "oneOf": [
- {
- "$ref": "#/definitions/RecommendedMachineConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "releaseNoteUri": {
- "description": "The release note uri.",
- "type": "string"
- }
- },
- "required": [
- "osType",
- "osState",
- "identifier"
- ],
- "type": "object"
- },
- "GalleryImageVersionProperties": {
- "description": "Describes the properties of a gallery image version.",
- "properties": {
- "publishingProfile": {
- "description": "The publishing profile of a gallery image Version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageVersionPublishingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "safetyProfile": {
- "description": "This is the safety profile of the Gallery Image Version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageVersionSafetyProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "The security profile of a gallery image version",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageVersionSecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "This is the storage profile of a Gallery Image Version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageVersionStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "storageProfile"
- ],
- "type": "object"
- },
- "GalleryImageVersionPublishingProfile": {
- "description": "The publishing profile of a gallery image Version.",
- "properties": {
- "endOfLifeDate": {
- "description": "The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable.",
- "format": "date-time",
- "type": "string"
- },
- "excludeFromLatest": {
- "description": "If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "replicaCount": {
- "description": "The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "replicationMode": {
- "description": "Optional parameter which specifies the mode to be used for replication. This property is not updatable.",
- "oneOf": [
- {
- "enum": [
- "Full",
- "Shallow"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type to be used to store the image. This property is not updatable.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Standard_ZRS",
- "Premium_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "targetExtendedLocations": {
- "description": "The target extended locations where the Image Version is going to be replicated to. This property is updatable.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/GalleryTargetExtendedLocation"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "targetRegions": {
- "description": "The target regions where the Image Version is going to be replicated to. This property is updatable.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/TargetRegion"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryImageVersionSafetyProfile": {
- "description": "This is the safety profile of the Gallery Image Version.",
- "properties": {
- "allowDeletionOfReplicatedLocations": {
- "description": "Indicates whether or not removing this Gallery Image Version from replicated regions is allowed.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryImageVersionStorageProfile": {
- "description": "This is the storage profile of a Gallery Image Version.",
- "properties": {
- "dataDiskImages": {
- "description": "A list of data disk images.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/GalleryDataDiskImage"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDiskImage": {
- "description": "This is the OS disk image.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryOSDiskImage"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "source": {
- "description": "The source of the gallery artifact version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryArtifactVersionFullSource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryImageVersionUefiSettings": {
- "description": "Contains UEFI settings for the image version.",
- "properties": {
- "additionalSignatures": {
- "description": "Additional UEFI key signatures that will be added to the image in addition to the signature templates",
- "oneOf": [
- {
- "$ref": "#/definitions/UefiKeySignatures"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "signatureTemplateNames": {
- "description": "The name of the template(s) that contains default UEFI key signatures that will be added to the image.",
- "oneOf": [
- {
- "items": {
- "enum": [
- "NoSignatureTemplate",
- "MicrosoftUefiCertificateAuthorityTemplate",
- "MicrosoftWindowsTemplate"
- ],
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryOSDiskImage": {
- "description": "This is the OS disk image.",
- "properties": {
- "hostCaching": {
- "description": "The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "source": {
- "description": "The source for the disk image.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryDiskImageSource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryProperties": {
- "description": "Describes the properties of a Shared Image Gallery.",
- "properties": {
- "description": {
- "description": "The description of this Shared Image Gallery resource. This property is updatable.",
- "type": "string"
- },
- "identifier": {
- "description": "Describes the gallery unique name.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryIdentifier"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sharingProfile": {
- "description": "Profile for gallery sharing to subscription or tenant",
- "oneOf": [
- {
- "$ref": "#/definitions/SharingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "softDeletePolicy": {
- "description": "Contains information about the soft deletion policy of the gallery.",
- "oneOf": [
- {
- "$ref": "#/definitions/SoftDeletePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryTargetExtendedLocation": {
- "properties": {
- "encryption": {
- "description": "Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionImages"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extendedLocation": {
- "description": "The name of the extended location.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extendedLocationReplicaCount": {
- "description": "The number of replicas of the Image Version to be created per extended location. This property is updatable.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The name of the region.",
- "type": "string"
- },
- "storageAccountType": {
- "description": "Specifies the storage account type to be used to store the image. This property is not updatable.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Standard_ZRS",
- "StandardSSD_LRS",
- "Premium_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImagePurchasePlan": {
- "description": "Describes the gallery image definition purchase plan. This is used by marketplace images.",
- "properties": {
- "name": {
- "description": "The plan ID.",
- "type": "string"
- },
- "product": {
- "description": "The product ID.",
- "type": "string"
- },
- "publisher": {
- "description": "The publisher ID.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ImageVersionSecurityProfile": {
- "description": "The security profile of a gallery image version",
- "properties": {
- "uefiSettings": {
- "description": "Contains UEFI settings for the image version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageVersionUefiSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "OSDiskImageEncryption": {
- "description": "Contains encryption settings for an OS disk image.",
- "properties": {
- "diskEncryptionSetId": {
- "description": "A relative URI containing the resource ID of the disk encryption set.",
- "type": "string"
- },
- "securityProfile": {
- "description": "This property specifies the security profile of an OS disk image.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSDiskImageSecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "OSDiskImageSecurityProfile": {
- "description": "Contains security profile for an OS disk image.",
- "properties": {
- "confidentialVMEncryptionType": {
- "description": "confidential VM encryption types",
- "oneOf": [
- {
- "enum": [
- "EncryptedVMGuestStateOnlyWithPmk",
- "EncryptedWithPmk",
- "EncryptedWithCmk",
- "NonPersistedTPM"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "secureVMDiskEncryptionSetId": {
- "description": "secure VM disk encryption set id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "RecommendedMachineConfiguration": {
- "description": "The properties describe the recommended machine configuration for this Image Definition. These properties are updatable.",
- "properties": {
- "memory": {
- "description": "Describes the resource range.",
- "oneOf": [
- {
- "$ref": "#/definitions/ResourceRange"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vCPUs": {
- "description": "Describes the resource range.",
- "oneOf": [
- {
- "$ref": "#/definitions/ResourceRange"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ResourceRange": {
- "description": "Describes the resource range.",
- "properties": {
- "max": {
- "description": "The maximum number of the resource.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "min": {
- "description": "The minimum number of the resource.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SharingProfile": {
- "description": "Profile for gallery sharing to subscription or tenant",
- "properties": {
- "communityGalleryInfo": {
- "description": "Information of community gallery if current gallery is shared to community.",
- "oneOf": [
- {
- "$ref": "#/definitions/CommunityGalleryInfo"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "permissions": {
- "description": "This property allows you to specify the permission of sharing gallery. Possible values are: **Private,** **Groups,** **Community.**",
- "oneOf": [
- {
- "enum": [
- "Private",
- "Groups",
- "Community"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SoftDeletePolicy": {
- "description": "Contains information about the soft deletion policy of the gallery.",
- "properties": {
- "isSoftDeleteEnabled": {
- "description": "Enables soft-deletion for resources in this gallery, allowing them to be recovered within retention time.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "TargetRegion": {
- "description": "Describes the target region information.",
- "properties": {
- "encryption": {
- "description": "Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionImages"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "excludeFromLatest": {
- "description": "Contains the flag setting to hide an image when users specify version='latest'",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The name of the region.",
- "type": "string"
- },
- "regionalReplicaCount": {
- "description": "The number of replicas of the Image Version to be created per region. This property is updatable.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type to be used to store the image. This property is not updatable.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Standard_ZRS",
- "Premium_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "UefiKey": {
- "description": "A UEFI key signature.",
- "properties": {
- "type": {
- "description": "The type of key signature.",
- "oneOf": [
- {
- "enum": [
- "sha256",
- "x509"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "value": {
- "description": "The value of the key signature.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "UefiKeySignatures": {
- "description": "Additional UEFI key signatures that will be added to the image in addition to the signature templates",
- "properties": {
- "db": {
- "description": "The database of UEFI keys for this image version.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/UefiKey"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dbx": {
- "description": "The database of revoked UEFI keys for this image version.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/UefiKey"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "kek": {
- "description": "The Key Encryption Keys of this image version.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/UefiKey"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "pk": {
- "description": "The Platform Key of this image version.",
- "oneOf": [
- {
- "$ref": "#/definitions/UefiKey"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "UserArtifactManage": {
- "properties": {
- "install": {
- "description": "Required. The path and arguments to install the gallery application. This is limited to 4096 characters.",
- "type": "string"
- },
- "remove": {
- "description": "Required. The path and arguments to remove the gallery application. This is limited to 4096 characters.",
- "type": "string"
- },
- "update": {
- "description": "Optional. The path and arguments to update the gallery application. If not present, then update operation will invoke remove command on the previous version and install command on the current version of the gallery application. This is limited to 4096 characters.",
- "type": "string"
- }
- },
- "required": [
- "install",
- "remove"
- ],
- "type": "object"
- },
- "UserArtifactSettings": {
- "description": "Additional settings for the VM app that contains the target package and config file name when it is deployed to target VM or VM scale set.",
- "properties": {
- "configFileName": {
- "description": "Optional. The name to assign the downloaded config file on the VM. This is limited to 4096 characters. If not specified, the config file will be named the Gallery Application name appended with \"_config\".",
- "type": "string"
- },
- "packageFileName": {
- "description": "Optional. The name to assign the downloaded package file on the VM. This is limited to 4096 characters. If not specified, the package file will be named the same as the Gallery Application name.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "UserArtifactSource": {
- "description": "The source image from which the Image Version is going to be created.",
- "properties": {
- "defaultConfigurationLink": {
- "description": "Optional. The defaultConfigurationLink of the artifact, must be a readable storage page blob.",
- "type": "string"
- },
- "mediaLink": {
- "description": "Required. The mediaLink of the artifact, must be a readable storage page blob.",
- "type": "string"
- }
- },
- "required": [
- "mediaLink"
- ],
- "type": "object"
- },
- "galleries_applications_childResource": {
- "description": "Microsoft.Compute/galleries/applications",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-08-03"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Application Definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery Application Definition.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryApplicationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "applications"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_applications_versions_childResource": {
- "description": "Microsoft.Compute/galleries/applications/versions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-08-03"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Application Version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery image version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryApplicationVersionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "versions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_images_childResource": {
- "description": "Microsoft.Compute/galleries/images",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-08-03"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery image definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery image definition.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "images"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_images_versions_childResource": {
- "description": "Microsoft.Compute/galleries/images/versions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-08-03"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery image version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery image version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageVersionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "versions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- }
-}
\ No newline at end of file
diff --git a/schemas/2022-09-04/Microsoft.Compute.json b/schemas/2022-09-04/Microsoft.Compute.json
deleted file mode 100644
index 246a09b80b..0000000000
--- a/schemas/2022-09-04/Microsoft.Compute.json
+++ /dev/null
@@ -1,631 +0,0 @@
-{
- "id": "https://schema.management.azure.com/schemas/2022-09-04/Microsoft.Compute.json#",
- "title": "Microsoft.Compute",
- "description": "Microsoft Compute Resource Types",
- "$schema": "http://json-schema.org/draft-04/schema#",
- "resourceDefinitions": {
- "cloudServices": {
- "description": "Microsoft.Compute/cloudServices",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-09-04"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location.",
- "type": "string"
- },
- "name": {
- "description": "Name of the cloud service.",
- "type": "string"
- },
- "properties": {
- "description": "Cloud service properties",
- "oneOf": [
- {
- "$ref": "#/definitions/CloudServiceProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "systemData": {
- "description": "The system meta data relating to this resource.",
- "oneOf": [
- {
- "$ref": "#/definitions/SystemData"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags.",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/cloudServices"
- ],
- "type": "string"
- },
- "zones": {
- "description": "List of logical availability zone of the resource. List should contain only 1 zone where cloud service should be provisioned. This field is optional.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- },
- "definitions": {
- "CloudServiceExtensionProfile": {
- "description": "Describes a cloud service extension profile.",
- "properties": {
- "extensions": {
- "description": "List of extensions for the cloud service.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/Extension"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "CloudServiceExtensionProperties": {
- "description": "Extension Properties.",
- "properties": {
- "autoUpgradeMinorVersion": {
- "description": "Explicitly specify whether platform can automatically upgrade typeHandlerVersion to higher minor versions when they become available.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "forceUpdateTag": {
- "description": "Tag to force apply the provided public and protected settings.\r\nChanging the tag value allows for re-running the extension without changing any of the public or protected settings.\r\nIf forceUpdateTag is not changed, updates to public or protected settings would still be applied by the handler.\r\nIf neither forceUpdateTag nor any of public or protected settings change, extension would flow to the role instance with the same sequence-number, and\r\nit is up to handler implementation whether to re-run it or not",
- "type": "string"
- },
- "protectedSettings": {
- "description": "Protected settings for the extension which are encrypted before sent to the role instance.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedSettingsFromKeyVault": {
- "description": "Protected settings for the extension, referenced using KeyVault which are encrypted before sent to the role instance.",
- "oneOf": [
- {
- "$ref": "#/definitions/CloudServiceVaultAndSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publisher": {
- "description": "The name of the extension handler publisher.",
- "type": "string"
- },
- "rolesAppliedTo": {
- "description": "Optional list of roles to apply this extension. If property is not specified or '*' is specified, extension is applied to all roles in the cloud service.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "settings": {
- "description": "Public settings for the extension. For JSON extensions, this is the JSON settings for the extension. For XML Extension (like RDP), this is the XML setting for the extension.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension.",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the extension. Specifies the version of the extension. If this element is not specified or an asterisk (*) is used as the value, the latest version of the extension is used. If the value is specified with a major version number and an asterisk as the minor version number (X.), the latest minor version of the specified major version is selected. If a major version number and a minor version number are specified (X.Y), the specific extension version is selected. If a version is specified, an auto-upgrade is performed on the role instance.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "CloudServiceNetworkProfile": {
- "description": "Network Profile for the cloud service.",
- "properties": {
- "loadBalancerConfigurations": {
- "description": "List of Load balancer configurations. Cloud service can have up to two load balancer configurations, corresponding to a Public Load Balancer and an Internal Load Balancer.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/LoadBalancerConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "slotType": {
- "description": "Slot type for the cloud service.\r\nPossible values are
**Production**
**Staging**
\r\nIf not specified, the default value is Production.",
- "oneOf": [
- {
- "enum": [
- "Production",
- "Staging"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "swappableCloudService": {
- "description": "The id reference of the cloud service containing the target IP with which the subject cloud service can perform a swap. This property cannot be updated once it is set. The swappable cloud service referred by this id must be present otherwise an error will be thrown.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "CloudServiceOsProfile": {
- "description": "Describes the OS profile for the cloud service.",
- "properties": {
- "secrets": {
- "description": "Specifies set of certificates that should be installed onto the role instances.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/CloudServiceVaultSecretGroup"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "CloudServiceProperties": {
- "description": "Cloud service properties",
- "properties": {
- "allowModelOverride": {
- "description": "(Optional) Indicates whether the role sku properties (roleProfile.roles.sku) specified in the model/template should override the role instance count and vm size specified in the .cscfg and .csdef respectively.\r\nThe default value is `false`.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "configuration": {
- "description": "Specifies the XML service configuration (.cscfg) for the cloud service.",
- "type": "string"
- },
- "configurationUrl": {
- "description": "Specifies a URL that refers to the location of the service configuration in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account.\r\nThis is a write-only property and is not returned in GET calls.",
- "type": "string"
- },
- "extensionProfile": {
- "description": "Describes a cloud service extension profile.",
- "oneOf": [
- {
- "$ref": "#/definitions/CloudServiceExtensionProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkProfile": {
- "description": "Network Profile for the cloud service.",
- "oneOf": [
- {
- "$ref": "#/definitions/CloudServiceNetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Describes the OS profile for the cloud service.",
- "oneOf": [
- {
- "$ref": "#/definitions/CloudServiceOsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "packageUrl": {
- "description": "Specifies a URL that refers to the location of the service package in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account.\r\nThis is a write-only property and is not returned in GET calls.",
- "type": "string"
- },
- "roleProfile": {
- "description": "Describes the role profile for the cloud service.",
- "oneOf": [
- {
- "$ref": "#/definitions/CloudServiceRoleProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "startCloudService": {
- "description": "(Optional) Indicates whether to start the cloud service immediately after it is created. The default value is `true`.\r\nIf false, the service model is still deployed, but the code is not run immediately. Instead, the service is PoweredOff until you call Start, at which time the service will be started. A deployed service still incurs charges, even if it is poweredoff.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "upgradeMode": {
- "description": "Update mode for the cloud service. Role instances are allocated to update domains when the service is deployed. Updates can be initiated manually in each update domain or initiated automatically in all update domains.\r\nPossible Values are
**Auto**
**Manual**
**Simultaneous**
\r\nIf not specified, the default value is Auto. If set to Manual, PUT UpdateDomain must be called to apply the update. If set to Auto, the update is automatically applied to each update domain in sequence.",
- "oneOf": [
- {
- "enum": [
- "Auto",
- "Manual",
- "Simultaneous"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "CloudServiceRoleProfile": {
- "description": "Describes the role profile for the cloud service.",
- "properties": {
- "roles": {
- "description": "List of roles for the cloud service.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/CloudServiceRoleProfileProperties"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "CloudServiceRoleProfileProperties": {
- "description": "Describes the role properties.",
- "properties": {
- "name": {
- "description": "Resource name.",
- "type": "string"
- },
- "sku": {
- "description": "Describes the cloud service role sku.",
- "oneOf": [
- {
- "$ref": "#/definitions/CloudServiceRoleSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "CloudServiceRoleSku": {
- "description": "Describes the cloud service role sku.",
- "properties": {
- "capacity": {
- "description": "Specifies the number of role instances in the cloud service.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The sku name. NOTE: If the new SKU is not supported on the hardware the cloud service is currently on, you need to delete and recreate the cloud service or move back to the old sku.",
- "type": "string"
- },
- "tier": {
- "description": "Specifies the tier of the cloud service. Possible Values are
**Standard**
**Basic**",
- "type": "string"
- }
- },
- "type": "object"
- },
- "CloudServiceVaultAndSecretReference": {
- "description": "Protected settings for the extension, referenced using KeyVault which are encrypted before sent to the role instance.",
- "properties": {
- "secretUrl": {
- "description": "Secret URL which contains the protected settings of the extension",
- "type": "string"
- },
- "sourceVault": {
- "description": "The ARM Resource ID of the Key Vault",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "CloudServiceVaultCertificate": {
- "description": "Describes a single certificate reference in a Key Vault, and where the certificate should reside on the role instance.",
- "properties": {
- "certificateUrl": {
- "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "CloudServiceVaultSecretGroup": {
- "description": "Describes a set of certificates which are all in the same Key Vault.",
- "properties": {
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing all of the certificates in VaultCertificates.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vaultCertificates": {
- "description": "The list of key vault references in SourceVault which contain certificates.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/CloudServiceVaultCertificate"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Extension": {
- "description": "Describes a cloud service Extension.",
- "properties": {
- "name": {
- "description": "The name of the extension.",
- "type": "string"
- },
- "properties": {
- "description": "Extension Properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/CloudServiceExtensionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "LoadBalancerConfiguration": {
- "description": "Describes the load balancer configuration.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "name": {
- "description": "The name of the Load balancer",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the load balancer configuration.",
- "oneOf": [
- {
- "$ref": "#/definitions/LoadBalancerConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties"
- ],
- "type": "object"
- },
- "LoadBalancerConfigurationProperties": {
- "description": "Describes the properties of the load balancer configuration.",
- "properties": {
- "frontendIpConfigurations": {
- "description": "Specifies the frontend IP to be used for the load balancer. Only IPv4 frontend IP address is supported. Each load balancer configuration must have exactly one frontend IP configuration.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/LoadBalancerFrontendIpConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "frontendIpConfigurations"
- ],
- "type": "object"
- },
- "LoadBalancerFrontendIpConfiguration": {
- "description": "Specifies the frontend IP to be used for the load balancer. Only IPv4 frontend IP address is supported. Each load balancer configuration must have exactly one frontend IP configuration.",
- "properties": {
- "name": {
- "description": "The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.",
- "type": "string"
- },
- "properties": {
- "description": "Properties of load balancer frontend ip configuration.",
- "oneOf": [
- {
- "$ref": "#/definitions/LoadBalancerFrontendIpConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties"
- ],
- "type": "object"
- },
- "LoadBalancerFrontendIpConfigurationProperties": {
- "description": "Describes a cloud service IP Configuration",
- "properties": {
- "privateIPAddress": {
- "description": "The virtual network private IP address of the IP configuration.",
- "type": "string"
- },
- "publicIPAddress": {
- "description": "The reference to the public ip address resource.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "subnet": {
- "description": "The reference to the virtual network subnet resource.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SubResource": {
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SystemData": {
- "description": "The system meta data relating to this resource.",
- "properties": {},
- "type": "object"
- }
- }
-}
\ No newline at end of file
diff --git a/schemas/2022-11-01/Microsoft.Compute.json b/schemas/2022-11-01/Microsoft.Compute.json
deleted file mode 100644
index 331e58a9dc..0000000000
--- a/schemas/2022-11-01/Microsoft.Compute.json
+++ /dev/null
@@ -1,7488 +0,0 @@
-{
- "id": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.json#",
- "title": "Microsoft.Compute",
- "description": "Microsoft Compute Resource Types",
- "$schema": "http://json-schema.org/draft-04/schema#",
- "resourceDefinitions": {
- "availabilitySets": {
- "description": "Microsoft.Compute/availabilitySets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-11-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the availability set.",
- "type": "string"
- },
- "properties": {
- "description": "The instance view of a resource.",
- "oneOf": [
- {
- "$ref": "#/definitions/AvailabilitySetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "Sku of the availability set, only name is required to be set. See AvailabilitySetSkuTypes for possible set of values. Use 'Aligned' for virtual machines with managed disks and 'Classic' for virtual machines with unmanaged disks. Default value is 'Classic'.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/availabilitySets"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "capacityReservationGroups": {
- "description": "Microsoft.Compute/capacityReservationGroups",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-11-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the capacity reservation group.",
- "type": "string"
- },
- "properties": {
- "description": "capacity reservation group Properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/CapacityReservationGroupProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/capacityReservationGroups_capacityReservations_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/capacityReservationGroups"
- ],
- "type": "string"
- },
- "zones": {
- "description": "Availability Zones to use for this capacity reservation group. The zones can be assigned only during creation. If not provided, the group supports only regional resources in the region. If provided, enforces each capacity reservation in the group to be in one of the zones.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "capacityReservationGroups_capacityReservations": {
- "description": "Microsoft.Compute/capacityReservationGroups/capacityReservations",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-11-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the capacity reservation.",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the Capacity reservation.",
- "oneOf": [
- {
- "$ref": "#/definitions/CapacityReservationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "SKU of the resource for which capacity needs be reserved. The SKU name and capacity is required to be set. Currently VM Skus with the capability called 'CapacityReservationSupported' set to true are supported. Refer to List Microsoft.Compute SKUs in a region (https://docs.microsoft.com/rest/api/compute/resourceskus/list) for supported values.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/capacityReservationGroups/capacityReservations"
- ],
- "type": "string"
- },
- "zones": {
- "description": "Availability Zone to use for this capacity reservation. The zone has to be single value and also should be part for the list of zones specified during the capacity reservation group creation. The zone can be assigned only during creation. If not provided, the reservation supports only non-zonal deployments. If provided, enforces VM/VMSS using this capacity reservation to be in same zone.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "hostGroups": {
- "description": "Microsoft.Compute/hostGroups",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-11-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the dedicated host group.",
- "type": "string"
- },
- "properties": {
- "description": "Dedicated Host Group Properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/DedicatedHostGroupProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/hostGroups_hosts_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/hostGroups"
- ],
- "type": "string"
- },
- "zones": {
- "description": "Availability Zone to use for this host group. Only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "hostGroups_hosts": {
- "description": "Microsoft.Compute/hostGroups/hosts",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-11-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the dedicated host .",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the dedicated host.",
- "oneOf": [
- {
- "$ref": "#/definitions/DedicatedHostProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be set. List Microsoft.Compute SKUs for a list of possible values.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/hostGroups/hosts"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "images": {
- "description": "Microsoft.Compute/images",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-11-01"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location of the Image.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the image.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of an Image.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/images"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "proximityPlacementGroups": {
- "description": "Microsoft.Compute/proximityPlacementGroups",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-11-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the proximity placement group.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Proximity Placement Group.",
- "oneOf": [
- {
- "$ref": "#/definitions/ProximityPlacementGroupProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/proximityPlacementGroups"
- ],
- "type": "string"
- },
- "zones": {
- "description": "Specifies the Availability Zone where virtual machine, virtual machine scale set or availability set associated with the proximity placement group can be created.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "restorePointCollections": {
- "description": "Microsoft.Compute/restorePointCollections",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-11-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the restore point collection.",
- "type": "string"
- },
- "properties": {
- "description": "The restore point collection properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/RestorePointCollectionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/restorePointCollections_restorePoints_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/restorePointCollections"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "restorePointCollections_restorePoints": {
- "description": "Microsoft.Compute/restorePointCollections/restorePoints",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-11-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the restore point.",
- "type": "string"
- },
- "properties": {
- "description": "The restore point properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/RestorePointProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/restorePointCollections/restorePoints"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "sshPublicKeys": {
- "description": "Microsoft.Compute/sshPublicKeys",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-11-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the SSH public key.",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the SSH public key.",
- "oneOf": [
- {
- "$ref": "#/definitions/SshPublicKeyResourceProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/sshPublicKeys"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets": {
- "description": "Microsoft.Compute/virtualMachineScaleSets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-11-01"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location of the Virtual Machine Scale Set.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "identity": {
- "description": "The identity of the virtual machine scale set, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the VM scale set to create or update.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Scale Set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachineScaleSets_extensions_childResource"
- },
- {
- "$ref": "#/definitions/virtualMachineScaleSets_virtualMachines_childResource"
- }
- ]
- },
- "type": "array"
- },
- "sku": {
- "description": "The virtual machine scale set sku.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The virtual machine scale set zones. NOTE: Availability zones can only be set when you create the scale set",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-11-01"
- ],
- "type": "string"
- },
- "identity": {
- "description": "The identity of the virtual machine, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The instance ID of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachineScaleSets_virtualMachines_extensions_childResource"
- },
- {
- "$ref": "#/definitions/virtualMachineScaleSets_virtualMachines_runCommands_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets/virtualMachines"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_extensions": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-11-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine extension.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Extension.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_runCommands": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/runCommands",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-11-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine run command.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/runCommands"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines": {
- "description": "Microsoft.Compute/virtualMachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-11-01"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location of the Virtual Machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "identity": {
- "description": "The identity of the virtual machine, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachines_extensions_childResource"
- },
- {
- "$ref": "#/definitions/virtualMachines_runCommands_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachines"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The virtual machine zones.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines_runCommands": {
- "description": "Microsoft.Compute/virtualMachines/runCommands",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-11-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine run command.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachines/runCommands"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- },
- "definitions": {
- "AdditionalCapabilities": {
- "description": "Enables or disables a capability on the virtual machine or virtual machine scale set.",
- "properties": {
- "hibernationEnabled": {
- "description": "The flag that enables or disables hibernation capability on the VM.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ultraSSDEnabled": {
- "description": "The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "AdditionalUnattendContent": {
- "description": "Specifies additional XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is applied.",
- "properties": {
- "componentName": {
- "description": "The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup.",
- "oneOf": [
- {
- "enum": [
- "Microsoft-Windows-Shell-Setup"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "content": {
- "description": "Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted.",
- "type": "string"
- },
- "passName": {
- "description": "The pass name. Currently, the only allowable value is OobeSystem.",
- "oneOf": [
- {
- "enum": [
- "OobeSystem"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "settingName": {
- "description": "Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon.",
- "oneOf": [
- {
- "enum": [
- "AutoLogon",
- "FirstLogonCommands"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ApiEntityReference": {
- "description": "The API entity reference.",
- "properties": {
- "id": {
- "description": "The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ApplicationProfile": {
- "description": "Contains the list of gallery applications that should be made available to the VM/VMSS",
- "properties": {
- "galleryApplications": {
- "description": "Specifies the gallery applications that should be made available to the VM/VMSS",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VMGalleryApplication"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "AutomaticOSUpgradePolicy": {
- "description": "The configuration parameters used for performing automatic OS upgrade.",
- "properties": {
- "disableAutomaticRollback": {
- "description": "Whether OS image rollback feature should be disabled. Default value is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticOSUpgrade": {
- "description": "Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. Default value is false.
If this is set to true for Windows based scale sets, [enableAutomaticUpdates](https://docs.microsoft.com/dotnet/api/microsoft.azure.management.compute.models.windowsconfiguration.enableautomaticupdates?view=azure-dotnet) is automatically set to false and cannot be set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "useRollingUpgradePolicy": {
- "description": "Indicates whether rolling upgrade policy should be used during Auto OS Upgrade. Default value is false. Auto OS Upgrade will fallback to the default policy if no policy is defined on the VMSS.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "AutomaticRepairsPolicy": {
- "description": "Specifies the configuration parameters for automatic repairs on the virtual machine scale set.",
- "properties": {
- "enabled": {
- "description": "Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "gracePeriod": {
- "description": "The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The minimum allowed grace period is 10 minutes (PT10M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M).",
- "type": "string"
- },
- "repairAction": {
- "description": "Type of repair action (replace, restart, reimage) that will be used for repairing unhealthy virtual machines in the scale set. Default value is replace.",
- "oneOf": [
- {
- "enum": [
- "Replace",
- "Restart",
- "Reimage"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "AvailabilitySetProperties": {
- "description": "The instance view of a resource.",
- "properties": {
- "platformFaultDomainCount": {
- "description": "Fault Domain count.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformUpdateDomainCount": {
- "description": "Update Domain count.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the availability set should be assigned to.
Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "virtualMachines": {
- "description": "A list of references to all virtual machines in the availability set.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "BillingProfile": {
- "description": "Specifies the billing related details of a Azure Spot VM or VMSS.
Minimum api-version: 2019-03-01.",
- "properties": {
- "maxPrice": {
- "description": "Specifies the maximum price you are willing to pay for a Azure Spot VM/VMSS. This price is in US Dollars.
This price will be compared with the current Azure Spot price for the VM size. Also, the prices are compared at the time of create/update of Azure Spot VM/VMSS and the operation will only succeed if the maxPrice is greater than the current Azure Spot price.
The maxPrice will also be used for evicting a Azure Spot VM/VMSS if the current Azure Spot price goes beyond the maxPrice after creation of VM/VMSS.
Possible values are:
- Any decimal value greater than zero. Example: 0.01538
-1 – indicates default price to be up-to on-demand.
You can set the maxPrice to -1 to indicate that the Azure Spot VM/VMSS should not be evicted for price reasons. Also, the default max price is -1 if it is not provided by you.
Minimum api-version: 2019-03-01.",
- "oneOf": [
- {
- "type": "number"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "BootDiagnostics": {
- "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.",
- "properties": {
- "enabled": {
- "description": "Whether boot diagnostics should be enabled on the Virtual Machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageUri": {
- "description": "Uri of the storage account to use for placing the console output and screenshot.
If storageUri is not specified while enabling boot diagnostics, managed storage will be used.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "CapacityReservationGroupProperties": {
- "description": "capacity reservation group Properties.",
- "properties": {},
- "type": "object"
- },
- "CapacityReservationProfile": {
- "description": "The parameters of a capacity reservation Profile.",
- "properties": {
- "capacityReservationGroup": {
- "description": "Specifies the capacity reservation group resource id that should be used for allocating the virtual machine or scaleset vm instances provided enough capacity has been reserved. Please refer to https://aka.ms/CapacityReservation for more details.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "CapacityReservationProperties": {
- "description": "Properties of the Capacity reservation.",
- "properties": {},
- "type": "object"
- },
- "DataDisk": {
- "description": "Describes a data disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machine should be created.
Possible values are:
**Attach** \\u2013 This value is used when you are using a specialized disk to create the virtual machine.
**FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "deleteOption": {
- "description": "Specifies whether data disk should be deleted or detached upon VM deletion.
Possible values:
**Delete** If this value is used, the data disk is deleted when VM is deleted.
**Detach** If this value is used, the data disk is retained after VM is deleted.
The default value is set to **detach**",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "detachOption": {
- "description": "Specifies the detach behavior to be used while detaching a disk or which is already in the process of detachment from the virtual machine. Supported values: **ForceDetach**.
detachOption: **ForceDetach** is applicable only for managed data disks. If a previous detachment attempt of the data disk did not complete due to an unexpected failure from the virtual machine and the disk is still not released then use force-detach as a last resort option to detach the disk forcibly from the VM. All writes might not have been flushed when using this detach behavior.
This feature is still in preview mode and is not supported for VirtualMachineScaleSet. To force-detach a data disk update toBeDetached to 'true' along with setting detachOption: 'ForceDetach'.",
- "oneOf": [
- {
- "enum": [
- "ForceDetach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
diskSizeGB is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/ManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "toBeDetached": {
- "description": "Specifies whether the data disk is in process of detachment from the VirtualMachine/VirtualMachineScaleset",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhd": {
- "description": "The virtual hard disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun",
- "createOption"
- ],
- "type": "object"
- },
- "DedicatedHostGroupProperties": {
- "description": "Dedicated Host Group Properties.",
- "properties": {
- "additionalCapabilities": {
- "description": "Enables or disables a capability on the dedicated host group.
Minimum api-version: 2022-03-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/DedicatedHostGroupPropertiesAdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformFaultDomainCount": {
- "description": "Number of fault domains that the host group can span.",
- "oneOf": [
- {
- "minimum": 1,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "supportAutomaticPlacement": {
- "description": "Specifies whether virtual machines or virtual machine scale sets can be placed automatically on the dedicated host group. Automatic placement means resources are allocated on dedicated hosts, that are chosen by Azure, under the dedicated host group. The value is defaulted to 'false' when not provided.
Minimum api-version: 2020-06-01.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "platformFaultDomainCount"
- ],
- "type": "object"
- },
- "DedicatedHostGroupPropertiesAdditionalCapabilities": {
- "description": "Enables or disables a capability on the dedicated host group.
Minimum api-version: 2022-03-01.",
- "properties": {
- "ultraSSDEnabled": {
- "description": "The flag that enables or disables a capability to have UltraSSD Enabled Virtual Machines on Dedicated Hosts of the Dedicated Host Group. For the Virtual Machines to be UltraSSD Enabled, UltraSSDEnabled flag for the resource needs to be set true as well. The value is defaulted to 'false' when not provided. Please refer to https://docs.microsoft.com/en-us/azure/virtual-machines/disks-enable-ultra-ssd for more details on Ultra SSD feature.
NOTE: The ultraSSDEnabled setting can only be enabled for Host Groups that are created as zonal.
Minimum api-version: 2022-03-01.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DedicatedHostProperties": {
- "description": "Properties of the dedicated host.",
- "properties": {
- "autoReplaceOnFailure": {
- "description": "Specifies whether the dedicated host should be replaced automatically in case of a failure. The value is defaulted to 'true' when not provided.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies the software license type that will be applied to the VMs deployed on the dedicated host.
Possible values are:
**None**
**Windows_Server_Hybrid**
**Windows_Server_Perpetual**
Default: **None**",
- "oneOf": [
- {
- "enum": [
- "None",
- "Windows_Server_Hybrid",
- "Windows_Server_Perpetual"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformFaultDomain": {
- "description": "Fault domain of the dedicated host within a dedicated host group.",
- "oneOf": [
- {
- "minimum": 0,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "properties": {
- "bootDiagnostics": {
- "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
**NOTE**: If storageUri is being specified then ensure that the storage account is in the same region and subscription as the VM.
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.",
- "oneOf": [
- {
- "$ref": "#/definitions/BootDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiffDiskSettings": {
- "description": "Describes the parameters of ephemeral disk settings that can be specified for operating system disk.
NOTE: The ephemeral disk settings can only be specified for managed disk.",
- "properties": {
- "option": {
- "description": "Specifies the ephemeral disk settings for operating system disk.",
- "oneOf": [
- {
- "enum": [
- "Local"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "placement": {
- "description": "Specifies the ephemeral disk placement for operating system disk.
Possible values are:
**CacheDisk**
**ResourceDisk**
Default: **CacheDisk** if one is configured for the VM size otherwise **ResourceDisk** is used.
Refer to VM size documentation for Windows VM at https://docs.microsoft.com/azure/virtual-machines/windows/sizes and Linux VM at https://docs.microsoft.com/azure/virtual-machines/linux/sizes to check which VM sizes exposes a cache disk.",
- "oneOf": [
- {
- "enum": [
- "CacheDisk",
- "ResourceDisk"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiskEncryptionSetParameters": {
- "description": "Describes the parameter of customer managed disk encryption set resource id that can be specified for disk.
NOTE: The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "DiskEncryptionSettings": {
- "description": "Describes a Encryption Settings for a Disk",
- "properties": {
- "diskEncryptionKey": {
- "description": "Specifies the location of the disk encryption key, which is a Key Vault Secret.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enabled": {
- "description": "Specifies whether disk encryption should be enabled on the virtual machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "keyEncryptionKey": {
- "description": "Specifies the location of the key encryption key in Key Vault.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultKeyReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ExtendedLocation": {
- "description": "The complex type of the extended location.",
- "properties": {
- "name": {
- "description": "The name of the extended location.",
- "type": "string"
- },
- "type": {
- "description": "The type of the extended location.",
- "oneOf": [
- {
- "enum": [
- "EdgeZone"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "HardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "properties": {
- "vmSize": {
- "description": "Specifies the size of the virtual machine.
The enum data type is currently deprecated and will be removed by December 23rd 2023.
Recommended way to get the list of available sizes is using these APIs:
[List all available virtual machine sizes in an availability set](https://docs.microsoft.com/rest/api/compute/availabilitysets/listavailablesizes)
[List all available virtual machine sizes in a region]( https://docs.microsoft.com/rest/api/compute/resourceskus/list)
[List all available virtual machine sizes for resizing](https://docs.microsoft.com/rest/api/compute/virtualmachines/listavailablesizes). For more information about virtual machine sizes, see [Sizes for virtual machines](https://docs.microsoft.com/azure/virtual-machines/sizes).
The available VM sizes depend on region and availability set.",
- "oneOf": [
- {
- "enum": [
- "Basic_A0",
- "Basic_A1",
- "Basic_A2",
- "Basic_A3",
- "Basic_A4",
- "Standard_A0",
- "Standard_A1",
- "Standard_A2",
- "Standard_A3",
- "Standard_A4",
- "Standard_A5",
- "Standard_A6",
- "Standard_A7",
- "Standard_A8",
- "Standard_A9",
- "Standard_A10",
- "Standard_A11",
- "Standard_A1_v2",
- "Standard_A2_v2",
- "Standard_A4_v2",
- "Standard_A8_v2",
- "Standard_A2m_v2",
- "Standard_A4m_v2",
- "Standard_A8m_v2",
- "Standard_B1s",
- "Standard_B1ms",
- "Standard_B2s",
- "Standard_B2ms",
- "Standard_B4ms",
- "Standard_B8ms",
- "Standard_D1",
- "Standard_D2",
- "Standard_D3",
- "Standard_D4",
- "Standard_D11",
- "Standard_D12",
- "Standard_D13",
- "Standard_D14",
- "Standard_D1_v2",
- "Standard_D2_v2",
- "Standard_D3_v2",
- "Standard_D4_v2",
- "Standard_D5_v2",
- "Standard_D2_v3",
- "Standard_D4_v3",
- "Standard_D8_v3",
- "Standard_D16_v3",
- "Standard_D32_v3",
- "Standard_D64_v3",
- "Standard_D2s_v3",
- "Standard_D4s_v3",
- "Standard_D8s_v3",
- "Standard_D16s_v3",
- "Standard_D32s_v3",
- "Standard_D64s_v3",
- "Standard_D11_v2",
- "Standard_D12_v2",
- "Standard_D13_v2",
- "Standard_D14_v2",
- "Standard_D15_v2",
- "Standard_DS1",
- "Standard_DS2",
- "Standard_DS3",
- "Standard_DS4",
- "Standard_DS11",
- "Standard_DS12",
- "Standard_DS13",
- "Standard_DS14",
- "Standard_DS1_v2",
- "Standard_DS2_v2",
- "Standard_DS3_v2",
- "Standard_DS4_v2",
- "Standard_DS5_v2",
- "Standard_DS11_v2",
- "Standard_DS12_v2",
- "Standard_DS13_v2",
- "Standard_DS14_v2",
- "Standard_DS15_v2",
- "Standard_DS13-4_v2",
- "Standard_DS13-2_v2",
- "Standard_DS14-8_v2",
- "Standard_DS14-4_v2",
- "Standard_E2_v3",
- "Standard_E4_v3",
- "Standard_E8_v3",
- "Standard_E16_v3",
- "Standard_E32_v3",
- "Standard_E64_v3",
- "Standard_E2s_v3",
- "Standard_E4s_v3",
- "Standard_E8s_v3",
- "Standard_E16s_v3",
- "Standard_E32s_v3",
- "Standard_E64s_v3",
- "Standard_E32-16_v3",
- "Standard_E32-8s_v3",
- "Standard_E64-32s_v3",
- "Standard_E64-16s_v3",
- "Standard_F1",
- "Standard_F2",
- "Standard_F4",
- "Standard_F8",
- "Standard_F16",
- "Standard_F1s",
- "Standard_F2s",
- "Standard_F4s",
- "Standard_F8s",
- "Standard_F16s",
- "Standard_F2s_v2",
- "Standard_F4s_v2",
- "Standard_F8s_v2",
- "Standard_F16s_v2",
- "Standard_F32s_v2",
- "Standard_F64s_v2",
- "Standard_F72s_v2",
- "Standard_G1",
- "Standard_G2",
- "Standard_G3",
- "Standard_G4",
- "Standard_G5",
- "Standard_GS1",
- "Standard_GS2",
- "Standard_GS3",
- "Standard_GS4",
- "Standard_GS5",
- "Standard_GS4-8",
- "Standard_GS4-4",
- "Standard_GS5-16",
- "Standard_GS5-8",
- "Standard_H8",
- "Standard_H16",
- "Standard_H8m",
- "Standard_H16m",
- "Standard_H16r",
- "Standard_H16mr",
- "Standard_L4s",
- "Standard_L8s",
- "Standard_L16s",
- "Standard_L32s",
- "Standard_M64s",
- "Standard_M64ms",
- "Standard_M128s",
- "Standard_M128ms",
- "Standard_M64-32ms",
- "Standard_M64-16ms",
- "Standard_M128-64ms",
- "Standard_M128-32ms",
- "Standard_NC6",
- "Standard_NC12",
- "Standard_NC24",
- "Standard_NC24r",
- "Standard_NC6s_v2",
- "Standard_NC12s_v2",
- "Standard_NC24s_v2",
- "Standard_NC24rs_v2",
- "Standard_NC6s_v3",
- "Standard_NC12s_v3",
- "Standard_NC24s_v3",
- "Standard_NC24rs_v3",
- "Standard_ND6s",
- "Standard_ND12s",
- "Standard_ND24s",
- "Standard_ND24rs",
- "Standard_NV6",
- "Standard_NV12",
- "Standard_NV24"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vmSizeProperties": {
- "description": "Specifies the properties for customizing the size of the virtual machine. Minimum api-version: 2021-07-01.
This feature is still in preview mode and is not supported for VirtualMachineScaleSet.
Please follow the instructions in [VM Customization](https://aka.ms/vmcustomization) for more details.",
- "oneOf": [
- {
- "$ref": "#/definitions/VMSizeProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImageDataDisk": {
- "description": "Describes a data disk.",
- "properties": {
- "blobUri": {
- "description": "The Virtual Hard Disk.",
- "type": "string"
- },
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed image disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managedDisk.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "snapshot": {
- "description": "The snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS",
- "Premium_ZRS",
- "StandardSSD_ZRS",
- "PremiumV2_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun"
- ],
- "type": "object"
- },
- "ImageOSDisk": {
- "description": "Describes an Operating System disk.",
- "properties": {
- "blobUri": {
- "description": "The Virtual Hard Disk.",
- "type": "string"
- },
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed image disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image.
This value cannot be larger than 1023 GB",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managedDisk.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osState": {
- "description": "The OS State. For managed images, use Generalized.",
- "oneOf": [
- {
- "enum": [
- "Generalized",
- "Specialized"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from a custom image.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "snapshot": {
- "description": "The snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS",
- "Premium_ZRS",
- "StandardSSD_ZRS",
- "PremiumV2_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "osType",
- "osState"
- ],
- "type": "object"
- },
- "ImageProperties": {
- "description": "Describes the properties of an Image.",
- "properties": {
- "hyperVGeneration": {
- "description": "Specifies the HyperVGenerationType of the VirtualMachine created from the image. From API Version 2019-03-01 if the image source is a blob, then we need the user to specify the value, if the source is managed resource like disk or snapshot, we may require the user to specify the property if we cannot deduce it from the source managed resource.",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sourceVirtualMachine": {
- "description": "The source virtual machine from which Image is created.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. NOTE: Image reference publisher and offer can only be set when you create the scale set.",
- "properties": {
- "communityGalleryImageId": {
- "description": "Specified the community gallery image unique id for vm deployment. This can be fetched from community gallery image GET call.",
- "type": "string"
- },
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "offer": {
- "description": "Specifies the offer of the platform image or marketplace image used to create the virtual machine.",
- "type": "string"
- },
- "publisher": {
- "description": "The image publisher.",
- "type": "string"
- },
- "sharedGalleryImageId": {
- "description": "Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call.",
- "type": "string"
- },
- "sku": {
- "description": "The image SKU.",
- "type": "string"
- },
- "version": {
- "description": "Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available. Please do not use field 'version' for gallery image deployment, gallery image should always use 'id' field for deployment, to use 'latest' version of gallery image, just set '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}' in the 'id' field without version input.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ImageStorageProfile": {
- "description": "Describes a storage profile.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add a data disk to a virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/ImageDataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageOSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "zoneResilient": {
- "description": "Specifies whether an image is zone resilient or not. Default is false. Zone resilient images can be created only in regions that provide Zone Redundant Storage (ZRS).",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "InstanceViewStatus": {
- "description": "Instance view status.",
- "properties": {
- "code": {
- "description": "The status code.",
- "type": "string"
- },
- "displayStatus": {
- "description": "The short localizable label for the status.",
- "type": "string"
- },
- "level": {
- "description": "The level code.",
- "oneOf": [
- {
- "enum": [
- "Info",
- "Warning",
- "Error"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "message": {
- "description": "The detailed status message, including for alerts and error messages.",
- "type": "string"
- },
- "time": {
- "description": "The time of the status.",
- "format": "date-time",
- "type": "string"
- }
- },
- "type": "object"
- },
- "KeyVaultKeyReference": {
- "description": "Describes a reference to Key Vault Key",
- "properties": {
- "keyUrl": {
- "description": "The URL referencing a key encryption key in Key Vault.",
- "type": "string"
- },
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing the key.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "keyUrl",
- "sourceVault"
- ],
- "type": "object"
- },
- "KeyVaultSecretReference": {
- "description": "Describes a reference to Key Vault Secret",
- "properties": {
- "secretUrl": {
- "description": "The URL referencing a secret in a Key Vault.",
- "type": "string"
- },
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing the secret.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "secretUrl",
- "sourceVault"
- ],
- "type": "object"
- },
- "LinuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros).",
- "properties": {
- "disablePasswordAuthentication": {
- "description": "Specifies whether password authentication should be disabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableVMAgentPlatformUpdates": {
- "description": "Indicates whether VMAgent Platform Updates is enabled for the Linux virtual machine. Default value is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "patchSettings": {
- "description": "[Preview Feature] Specifies settings related to VM Guest Patching on Linux.",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxPatchSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionVMAgent": {
- "description": "Indicates whether virtual machine agent should be provisioned on the virtual machine.
When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ssh": {
- "description": "Specifies the ssh key configuration for a Linux OS.",
- "oneOf": [
- {
- "$ref": "#/definitions/SshConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "LinuxPatchSettings": {
- "description": "Specifies settings related to VM Guest Patching on Linux.",
- "properties": {
- "assessmentMode": {
- "description": "Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine.
Possible values are:
**ImageDefault** - You control the timing of patch assessments on a virtual machine.
**AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true.",
- "oneOf": [
- {
- "enum": [
- "ImageDefault",
- "AutomaticByPlatform"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "automaticByPlatformSettings": {
- "description": "Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Linux.",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxVMGuestPatchAutomaticByPlatformSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "patchMode": {
- "description": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.
Possible values are:
**ImageDefault** - The virtual machine's default patching configuration is used.
**AutomaticByPlatform** - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true",
- "oneOf": [
- {
- "enum": [
- "ImageDefault",
- "AutomaticByPlatform"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "LinuxVMGuestPatchAutomaticByPlatformSettings": {
- "description": "Specifies additional settings to be applied when patch mode AutomaticByPlatform is selected in Linux patch settings.",
- "properties": {
- "rebootSetting": {
- "description": "Specifies the reboot setting for all AutomaticByPlatform patch installation operations.",
- "oneOf": [
- {
- "enum": [
- "Unknown",
- "IfRequired",
- "Never",
- "Always"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ManagedDiskParameters": {
- "description": "The parameters of a managed disk.",
- "properties": {
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "securityProfile": {
- "description": "Specifies the security profile for the managed disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VMDiskSecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS",
- "Premium_ZRS",
- "StandardSSD_ZRS",
- "PremiumV2_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkInterfaceReference": {
- "description": "Describes a network interface reference.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "properties": {
- "description": "Describes a network interface reference properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkInterfaceReferenceProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkInterfaceReferenceProperties": {
- "description": "Describes a network interface reference properties.",
- "properties": {
- "deleteOption": {
- "description": "Specify what happens to the network interface when the VM is deleted",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkProfile": {
- "description": "Specifies the network interfaces or the networking configuration of the virtual machine.",
- "properties": {
- "networkApiVersion": {
- "description": "specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations",
- "oneOf": [
- {
- "enum": [
- "2020-11-01"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkInterfaceConfigurations": {
- "description": "Specifies the networking configurations that will be used to create the virtual machine networking resources.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineNetworkInterfaceConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkInterfaces": {
- "description": "Specifies the list of resource Ids for the network interfaces associated with the virtual machine.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/NetworkInterfaceReference"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "OSDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None** for Standard storage. **ReadOnly** for Premium storage.",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machine should be created.
Possible values are:
**Attach** \\u2013 This value is used when you are using a specialized disk to create the virtual machine.
**FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "deleteOption": {
- "description": "Specifies whether OS Disk should be deleted or detached upon VM deletion.
Possible values:
**Delete** If this value is used, the OS disk is deleted when VM is deleted.
**Detach** If this value is used, the os disk is retained after VM is deleted.
The default value is set to **detach**. For an ephemeral OS Disk, the default value is set to **Delete**. User cannot change the delete option for ephemeral OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diffDiskSettings": {
- "description": "Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiffDiskSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
diskSizeGB is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettings": {
- "description": "Specifies the encryption settings for the OS Disk.
Minimum api-version: 2015-06-15",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/ManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhd": {
- "description": "The virtual hard disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "OSImageNotificationProfile": {
- "properties": {
- "enable": {
- "description": "Specifies whether the OS Image Scheduled event is enabled or disabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "notBeforeTimeout": {
- "description": "Length of time a Virtual Machine being reimaged or having its OS upgraded will have to potentially approve the OS Image Scheduled Event before the event is auto approved (timed out). The configuration is specified in ISO 8601 format, and the value must be 15 minutes (PT15M)",
- "type": "string"
- }
- },
- "type": "object"
- },
- "OSProfile": {
- "description": "Specifies the operating system settings for the virtual machine. Some of the settings cannot be changed once VM is provisioned.",
- "properties": {
- "adminPassword": {
- "description": "Specifies the password of the administrator account.
**Minimum-length (Windows):** 8 characters
**Minimum-length (Linux):** 6 characters
**Max-length (Windows):** 123 characters
**Max-length (Linux):** 72 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])
**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"
For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp)
For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)",
- "type": "string"
- },
- "adminUsername": {
- "description": "Specifies the name of the administrator account.
This property cannot be updated after the VM is created.
**Windows-only restriction:** Cannot end in \".\"
**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters.",
- "type": "string"
- },
- "allowExtensionOperations": {
- "description": "Specifies whether extension operations should be allowed on the virtual machine.
This may only be set to False when no extensions are present on the virtual machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "computerName": {
- "description": "Specifies the host OS name of the virtual machine.
This name cannot be updated after the VM is created.
**Max-length (Windows):** 15 characters
**Max-length (Linux):** 64 characters.
For naming conventions and restrictions see [Azure infrastructure services implementation guidelines](https://docs.microsoft.com/azure/azure-resource-manager/management/resource-name-rules).",
- "type": "string"
- },
- "customData": {
- "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes.
**Note: Do not pass any secrets or passwords in customData property**
This property cannot be updated after the VM is created.
customData is passed to the VM to be saved as a file, for more information see [Custom Data on Azure VMs](https://azure.microsoft.com/blog/custom-data-and-cloud-init-on-windows-azure/)
For using cloud-init for your Linux VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init)",
- "type": "string"
- },
- "linuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros).",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "requireGuestProvisionSignal": {
- "description": "Optional property which must either be set to True or omitted.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "secrets": {
- "description": "Specifies set of certificates that should be installed onto the virtual machine. To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultSecretGroup"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "windowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/WindowsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "PatchSettings": {
- "description": "Specifies settings related to VM Guest Patching on Windows.",
- "properties": {
- "assessmentMode": {
- "description": "Specifies the mode of VM Guest patch assessment for the IaaS virtual machine.
Possible values are:
**ImageDefault** - You control the timing of patch assessments on a virtual machine.
**AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true. ",
- "oneOf": [
- {
- "enum": [
- "ImageDefault",
- "AutomaticByPlatform"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "automaticByPlatformSettings": {
- "description": "Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Windows.",
- "oneOf": [
- {
- "$ref": "#/definitions/WindowsVMGuestPatchAutomaticByPlatformSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableHotpatching": {
- "description": "Enables customers to patch their Azure VMs without requiring a reboot. For enableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode' must be set to 'AutomaticByPlatform'.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "patchMode": {
- "description": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.
Possible values are:
**Manual** - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false
**AutomaticByOS** - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true.
**AutomaticByPlatform** - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true ",
- "oneOf": [
- {
- "enum": [
- "Manual",
- "AutomaticByOS",
- "AutomaticByPlatform"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "properties": {
- "name": {
- "description": "The plan ID.",
- "type": "string"
- },
- "product": {
- "description": "Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.",
- "type": "string"
- },
- "promotionCode": {
- "description": "The promotion code.",
- "type": "string"
- },
- "publisher": {
- "description": "The publisher ID.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "PriorityMixPolicy": {
- "description": "Specifies the target splits for Spot and Regular priority VMs within a scale set with flexible orchestration mode.
With this property the customer is able to specify the base number of regular priority VMs created as the VMSS flex instance scales out and the split between Spot and Regular priority VMs after this base target has been reached.",
- "properties": {
- "baseRegularPriorityCount": {
- "description": "The base number of regular priority VMs that will be created in this scale set as it scales out.",
- "oneOf": [
- {
- "minimum": 0,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "regularPriorityPercentageAboveBase": {
- "description": "The percentage of VM instances, after the base regular priority count has been reached, that are expected to use regular priority.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ProximityPlacementGroupProperties": {
- "description": "Describes the properties of a Proximity Placement Group.",
- "properties": {
- "colocationStatus": {
- "description": "Describes colocation status of the Proximity Placement Group.",
- "oneOf": [
- {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "intent": {
- "description": "Specifies the user intent of the proximity placement group.",
- "oneOf": [
- {
- "$ref": "#/definitions/ProximityPlacementGroupPropertiesIntent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroupType": {
- "description": "Specifies the type of the proximity placement group.
Possible values are:
**Standard** : Co-locate resources within an Azure region or Availability Zone.
**Ultra** : For future use.",
- "oneOf": [
- {
- "enum": [
- "Standard",
- "Ultra"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ProximityPlacementGroupPropertiesIntent": {
- "description": "Specifies the user intent of the proximity placement group.",
- "properties": {
- "vmSizes": {
- "description": "Specifies possible sizes of virtual machines that can be created in the proximity placement group.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "PublicIPAddressSku": {
- "description": "Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible.",
- "properties": {
- "name": {
- "description": "Specify public IP sku name",
- "oneOf": [
- {
- "enum": [
- "Basic",
- "Standard"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tier": {
- "description": "Specify public IP sku tier",
- "oneOf": [
- {
- "enum": [
- "Regional",
- "Global"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RestorePointCollectionProperties": {
- "description": "The restore point collection properties.",
- "properties": {
- "source": {
- "description": "The properties of the source resource that this restore point collection is created from.",
- "oneOf": [
- {
- "$ref": "#/definitions/RestorePointCollectionSourceProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RestorePointCollectionSourceProperties": {
- "description": "The properties of the source resource that this restore point collection is created from.",
- "properties": {
- "id": {
- "description": "Resource Id of the source resource used to create this restore point collection",
- "type": "string"
- }
- },
- "type": "object"
- },
- "RestorePointProperties": {
- "description": "The restore point properties.",
- "properties": {
- "consistencyMode": {
- "description": "ConsistencyMode of the RestorePoint. Can be specified in the input while creating a restore point. For now, only CrashConsistent is accepted as a valid input. Please refer to https://aka.ms/RestorePoints for more details.",
- "oneOf": [
- {
- "enum": [
- "CrashConsistent",
- "FileSystemConsistent",
- "ApplicationConsistent"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "excludeDisks": {
- "description": "List of disk resource ids that the customer wishes to exclude from the restore point. If no disks are specified, all disks will be included.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/ApiEntityReference"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sourceRestorePoint": {
- "description": "Resource Id of the source restore point from which a copy needs to be created.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApiEntityReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "timeCreated": {
- "description": "Gets the creation time of the restore point.",
- "format": "date-time",
- "type": "string"
- }
- },
- "type": "object"
- },
- "RollingUpgradePolicy": {
- "description": "The configuration parameters used while performing a rolling upgrade.",
- "properties": {
- "enableCrossZoneUpgrade": {
- "description": "Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxBatchInstancePercent": {
- "description": "The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 5,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxSurge": {
- "description": "Create new virtual machines to upgrade the scale set, rather than updating the existing virtual machines. Existing virtual machines will be deleted once the new virtual machines are created for each batch.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxUnhealthyInstancePercent": {
- "description": "The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 5,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxUnhealthyUpgradedInstancePercent": {
- "description": "The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "pauseTimeBetweenBatches": {
- "description": "The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format. The default value is 0 seconds (PT0S).",
- "type": "string"
- },
- "prioritizeUnhealthyInstances": {
- "description": "Upgrade all unhealthy instances in a scale set before any healthy instances.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "rollbackFailedInstancesOnPolicyBreach": {
- "description": "Rollback failed instances to previous model if the Rolling Upgrade policy is violated.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RunCommandInputParameter": {
- "description": "Describes the properties of a run command parameter.",
- "properties": {
- "name": {
- "description": "The run command parameter name.",
- "type": "string"
- },
- "value": {
- "description": "The run command parameter value.",
- "type": "string"
- }
- },
- "required": [
- "name",
- "value"
- ],
- "type": "object"
- },
- "ScaleInPolicy": {
- "description": "Describes a scale-in policy for a virtual machine scale set.",
- "properties": {
- "forceDeletion": {
- "description": "This property allows you to specify if virtual machines chosen for removal have to be force deleted when a virtual machine scale set is being scaled-in.(Feature in Preview)",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "rules": {
- "description": "The rules to be followed when scaling-in a virtual machine scale set.
Possible values are:
**Default** When a virtual machine scale set is scaled in, the scale set will first be balanced across zones if it is a zonal scale set. Then, it will be balanced across Fault Domains as far as possible. Within each Fault Domain, the virtual machines chosen for removal will be the newest ones that are not protected from scale-in.
**OldestVM** When a virtual machine scale set is being scaled-in, the oldest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the oldest virtual machines that are not protected will be chosen for removal.
**NewestVM** When a virtual machine scale set is being scaled-in, the newest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the newest virtual machines that are not protected will be chosen for removal.
",
- "oneOf": [
- {
- "items": {
- "enum": [
- "Default",
- "OldestVM",
- "NewestVM"
- ],
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ScheduledEventsProfile": {
- "properties": {
- "osImageNotificationProfile": {
- "description": "Specifies OS Image Scheduled Event related configurations.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSImageNotificationProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "terminateNotificationProfile": {
- "description": "Specifies Terminate Scheduled Event related configurations.",
- "oneOf": [
- {
- "$ref": "#/definitions/TerminateNotificationProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SecurityProfile": {
- "description": "Specifies the Security profile settings for the virtual machine or virtual machine scale set.",
- "properties": {
- "encryptionAtHost": {
- "description": "This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself.
Default: The Encryption at host will be disabled unless this property is set to true for the resource.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityType": {
- "description": "Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings.
Default: UefiSettings will not be enabled unless this property is set.",
- "oneOf": [
- {
- "enum": [
- "TrustedLaunch",
- "ConfidentialVM"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "uefiSettings": {
- "description": "Specifies the security settings like secure boot and vTPM used while creating the virtual machine.
Minimum api-version: 2020-12-01",
- "oneOf": [
- {
- "$ref": "#/definitions/UefiSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ServiceArtifactReference": {
- "description": "Specifies the service artifact reference id used to set same image version for all virtual machines in the scale set when using 'latest' image version. Minimum api-version: 2022-11-01",
- "properties": {
- "id": {
- "description": "The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Sku": {
- "description": "Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name.",
- "properties": {
- "capacity": {
- "description": "Specifies the number of virtual machines in the scale set.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The sku name.",
- "type": "string"
- },
- "tier": {
- "description": "Specifies the tier of virtual machines in a scale set.
Possible Values:
**Standard**
**Basic**",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SpotRestorePolicy": {
- "description": "Specifies the Spot-Try-Restore properties for the virtual machine scale set.
With this property customer can enable or disable automatic restore of the evicted Spot VMSS VM instances opportunistically based on capacity availability and pricing constraint.",
- "properties": {
- "enabled": {
- "description": "Enables the Spot-Try-Restore feature where evicted VMSS SPOT instances will be tried to be restored opportunistically based on capacity availability and pricing constraints",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "restoreTimeout": {
- "description": "Timeout value expressed as an ISO 8601 time duration after which the platform will not try to restore the VMSS SPOT instances",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SshConfiguration": {
- "description": "SSH configuration for Linux based VMs running on Azure",
- "properties": {
- "publicKeys": {
- "description": "The list of SSH public keys used to authenticate with linux based VMs.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SshPublicKey"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SshPublicKey": {
- "description": "Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed.",
- "properties": {
- "keyData": {
- "description": "SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format.
For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed).",
- "type": "string"
- },
- "path": {
- "description": "Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SshPublicKeyResourceProperties": {
- "description": "Properties of the SSH public key.",
- "properties": {
- "publicKey": {
- "description": "SSH public key used to authenticate to a virtual machine through ssh. If this property is not initially provided when the resource is created, the publicKey property will be populated when generateKeyPair is called. If the public key is provided upon resource creation, the provided public key needs to be at least 2048-bit and in ssh-rsa format.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "StorageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add a data disk to a virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/DataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskControllerType": {
- "description": "Specifies the disk controller type configured for the VM.
NOTE: This property will be set to the default disk controller type if not specified provided virtual machine is being created as a hyperVGeneration: V2 based on the capabilities of the operating system disk and VM size from the the specified minimum api version.
You need to deallocate the VM before updating its disk controller type unless you are updating the VM size in the VM configuration which implicitly deallocates and reallocates the VM.
Minimum api-version: 2022-08-01",
- "oneOf": [
- {
- "enum": [
- "SCSI",
- "NVMe"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "$ref": "#/definitions/OSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SubResource": {
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "TerminateNotificationProfile": {
- "properties": {
- "enable": {
- "description": "Specifies whether the Terminate Scheduled event is enabled or disabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "notBeforeTimeout": {
- "description": "Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M)",
- "type": "string"
- }
- },
- "type": "object"
- },
- "UefiSettings": {
- "description": "Specifies the security settings like secure boot and vTPM used while creating the virtual machine.
Minimum api-version: 2020-12-01",
- "properties": {
- "secureBootEnabled": {
- "description": "Specifies whether secure boot should be enabled on the virtual machine.
Minimum api-version: 2020-12-01",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vTpmEnabled": {
- "description": "Specifies whether vTPM should be enabled on the virtual machine.
Minimum api-version: 2020-12-01",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "UpgradePolicy": {
- "description": "Describes an upgrade policy - automatic, manual, or rolling.",
- "properties": {
- "automaticOSUpgradePolicy": {
- "description": "Configuration parameters used for performing automatic OS Upgrade.",
- "oneOf": [
- {
- "$ref": "#/definitions/AutomaticOSUpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "mode": {
- "description": "Specifies the mode of an upgrade to virtual machines in the scale set.
Possible values are:
**Manual** - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.
**Automatic** - All virtual machines in the scale set are automatically updated at the same time.",
- "oneOf": [
- {
- "enum": [
- "Automatic",
- "Manual",
- "Rolling"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "rollingUpgradePolicy": {
- "description": "The configuration parameters used while performing a rolling upgrade.",
- "oneOf": [
- {
- "$ref": "#/definitions/RollingUpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "UserAssignedIdentitiesValue": {
- "properties": {},
- "type": "object"
- },
- "VMDiskSecurityProfile": {
- "description": "Specifies the security profile settings for the managed disk.
NOTE: It can only be set for Confidential VMs",
- "properties": {
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed disk that is used for Customer Managed Key encrypted ConfidentialVM OS Disk and VMGuest blob.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityEncryptionType": {
- "description": "Specifies the EncryptionType of the managed disk.
It is set to DiskWithVMGuestState for encryption of the managed disk along with VMGuestState blob, and VMGuestStateOnly for encryption of just the VMGuestState blob.
NOTE: It can be set for only Confidential VMs.",
- "oneOf": [
- {
- "enum": [
- "VMGuestStateOnly",
- "DiskWithVMGuestState"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VMGalleryApplication": {
- "description": "Specifies the required information to reference a compute gallery application version",
- "properties": {
- "configurationReference": {
- "description": "Optional, Specifies the uri to an azure blob that will replace the default configuration for the package if provided",
- "type": "string"
- },
- "enableAutomaticUpgrade": {
- "description": "If set to true, when a new Gallery Application version is available in PIR/SIG, it will be automatically updated for the VM/VMSS",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "order": {
- "description": "Optional, Specifies the order in which the packages have to be installed",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "packageReferenceId": {
- "description": "Specifies the GalleryApplicationVersion resource id on the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version}",
- "type": "string"
- },
- "tags": {
- "description": "Optional, Specifies a passthrough value for more generic context.",
- "type": "string"
- },
- "treatFailureAsDeploymentFailure": {
- "description": "Optional, If true, any failure for any operation in the VmApplication will fail the deployment",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "packageReferenceId"
- ],
- "type": "object"
- },
- "VMSizeProperties": {
- "description": "Specifies VM Size Property settings on the virtual machine.",
- "properties": {
- "vCPUsAvailable": {
- "description": "Specifies the number of vCPUs available for the VM.
When this property is not specified in the request body the default behavior is to set it to the value of vCPUs available for that VM size exposed in api response of [List all available virtual machine sizes in a region](https://docs.microsoft.com/en-us/rest/api/compute/resource-skus/list) .",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vCPUsPerCore": {
- "description": "Specifies the vCPU to physical core ratio.
When this property is not specified in the request body the default behavior is set to the value of vCPUsPerCore for the VM Size exposed in api response of [List all available virtual machine sizes in a region](https://docs.microsoft.com/en-us/rest/api/compute/resource-skus/list)
Setting this property to 1 also means that hyper-threading is disabled.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VaultCertificate": {
- "description": "Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM.",
- "properties": {
- "certificateStore": {
- "description": "For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account.
For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of these files are .pem formatted.",
- "type": "string"
- },
- "certificateUrl": {
- "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:
{
\"data\":\"\",
\"dataType\":\"pfx\",
\"password\":\"\"
}
To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VaultSecretGroup": {
- "description": "Describes a set of certificates which are all in the same Key Vault.",
- "properties": {
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing all of the certificates in VaultCertificates.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vaultCertificates": {
- "description": "The list of key vault references in SourceVault which contain certificates.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultCertificate"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualHardDisk": {
- "description": "Describes the uri of a disk.",
- "properties": {
- "uri": {
- "description": "Specifies the virtual hard disk's uri.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineExtensionInstanceView": {
- "description": "The instance view of a virtual machine extension.",
- "properties": {
- "name": {
- "description": "The virtual machine extension name.",
- "type": "string"
- },
- "statuses": {
- "description": "The resource status information.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "substatuses": {
- "description": "The resource status information.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineExtensionProperties": {
- "description": "Describes the properties of a Virtual Machine Extension.",
- "properties": {
- "autoUpgradeMinorVersion": {
- "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticUpgrade": {
- "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "forceUpdateTag": {
- "description": "How the extension handler should be forced to update even if the extension configuration has not changed.",
- "type": "string"
- },
- "instanceView": {
- "description": "The virtual machine extension instance view.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionInstanceView"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedSettings": {
- "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedSettingsFromKeyVault": {
- "description": "The extensions protected settings that are passed by reference, and consumed from key vault",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publisher": {
- "description": "The name of the extension handler publisher.",
- "type": "string"
- },
- "settings": {
- "description": "Json formatted public settings for the extension.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "suppressFailures": {
- "description": "Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineIdentity": {
- "description": "Identity for the virtual machine.",
- "properties": {
- "type": {
- "description": "The type of identity used for the virtual machine. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned",
- "UserAssigned",
- "SystemAssigned, UserAssigned",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userAssignedIdentities": {
- "description": "The list of user identities associated with the Virtual Machine. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
- "oneOf": [
- {
- "additionalProperties": {
- "$ref": "#/definitions/UserAssignedIdentitiesValue"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineIpTag": {
- "description": "Contains the IP tag associated with the public IP address.",
- "properties": {
- "ipTagType": {
- "description": "IP tag type. Example: FirstPartyUsage.",
- "type": "string"
- },
- "tag": {
- "description": "IP tag associated with the public IP. Example: SQL, Storage etc.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineNetworkInterfaceConfiguration": {
- "description": "Describes a virtual machine network interface configurations.",
- "properties": {
- "name": {
- "description": "The network interface configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine network profile's IP configuration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineNetworkInterfaceConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineNetworkInterfaceConfigurationProperties": {
- "description": "Describes a virtual machine network profile's IP configuration.",
- "properties": {
- "deleteOption": {
- "description": "Specify what happens to the network interface when the VM is deleted",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "disableTcpStateTracking": {
- "description": "Specifies whether the network interface is disabled for tcp state tracking.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dnsSettings": {
- "description": "The dns settings to be applied on the network interfaces.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineNetworkInterfaceDnsSettingsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dscpConfiguration": {
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAcceleratedNetworking": {
- "description": "Specifies whether the network interface is accelerated networking-enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableFpga": {
- "description": "Specifies whether the network interface is FPGA networking-enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableIPForwarding": {
- "description": "Whether IP forwarding enabled on this NIC.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipConfigurations": {
- "description": "Specifies the IP configurations of the network interface.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineNetworkInterfaceIPConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkSecurityGroup": {
- "description": "The network security group.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "ipConfigurations"
- ],
- "type": "object"
- },
- "VirtualMachineNetworkInterfaceDnsSettingsConfiguration": {
- "description": "Describes a virtual machines network configuration's DNS settings.",
- "properties": {
- "dnsServers": {
- "description": "List of DNS servers IP addresses",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineNetworkInterfaceIPConfiguration": {
- "description": "Describes a virtual machine network profile's IP configuration.",
- "properties": {
- "name": {
- "description": "The IP configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine network interface IP configuration properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineNetworkInterfaceIPConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineNetworkInterfaceIPConfigurationProperties": {
- "description": "Describes a virtual machine network interface IP configuration properties.",
- "properties": {
- "applicationGatewayBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of application gateways. A virtual machine can reference backend address pools of multiple application gateways. Multiple virtual machines cannot use the same application gateway.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "applicationSecurityGroups": {
- "description": "Specifies an array of references to application security group.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of load balancers. A virtual machine can reference backend address pools of one public and one internal load balancer. [Multiple virtual machines cannot use the same basic sku load balancer].",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "privateIPAddressVersion": {
- "description": "Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressConfiguration": {
- "description": "The publicIPAddressConfiguration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachinePublicIPAddressConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "subnet": {
- "description": "Specifies the identifier of the subnet.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineProperties": {
- "description": "Describes the properties of a Virtual Machine.",
- "properties": {
- "additionalCapabilities": {
- "description": "Specifies additional capabilities enabled or disabled on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/AdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "applicationProfile": {
- "description": "Specifies the gallery applications that should be made available to the VM/VMSS",
- "oneOf": [
- {
- "$ref": "#/definitions/ApplicationProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "availabilitySet": {
- "description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Availability sets overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview).
For more information on Azure planned maintenance, see [Maintenance and updates for Virtual Machines in Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates)
Currently, a VM can only be added to availability set at creation time. The availability set to which the VM is being added should be under the same resource group as the availability set resource. An existing VM cannot be added to an availability set.
This property cannot exist along with a non-null properties.virtualMachineScaleSet reference.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "billingProfile": {
- "description": "Specifies the billing related details of a Azure Spot virtual machine.
Minimum api-version: 2019-03-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/BillingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "capacityReservation": {
- "description": "Specifies information about the capacity reservation that is used to allocate virtual machine.
Minimum api-version: 2021-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/CapacityReservationProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "evictionPolicy": {
- "description": "Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set.
For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01.
For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview.",
- "oneOf": [
- {
- "enum": [
- "Deallocate",
- "Delete"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extensionsTimeBudget": {
- "description": "Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M).
Minimum api-version: 2020-06-01",
- "type": "string"
- },
- "hardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/HardwareProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "host": {
- "description": "Specifies information about the dedicated host that the virtual machine resides in.
Minimum api-version: 2018-10-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hostGroup": {
- "description": "Specifies information about the dedicated host group that the virtual machine resides in.
Minimum api-version: 2020-06-01.
NOTE: User cannot specify both host and hostGroup properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises.
Possible values for Windows Server operating system are:
Windows_Client
Windows_Server
Possible values for Linux Server operating system are:
RHEL_BYOS (for RHEL)
SLES_BYOS (for SUSE)
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)
[Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings used while creating the virtual machine. Some of the settings cannot be changed once VM is provisioned.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformFaultDomain": {
- "description": "Specifies the scale set logical fault domain into which the Virtual Machine will be created. By default, the Virtual Machine will by automatically assigned to a fault domain that best maintains balance across available fault domains.
This is applicable only if the 'virtualMachineScaleSet' property of this Virtual Machine is set.The Virtual Machine Scale Set that is referenced, must have 'platformFaultDomainCount' > 1.This property cannot be updated once the Virtual Machine is created.Fault domain assignment can be viewed in the Virtual Machine Instance View.
Minimum api‐version: 2020‐12‐01",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "priority": {
- "description": "Specifies the priority for the virtual machine.
Minimum api-version: 2019-03-01",
- "oneOf": [
- {
- "enum": [
- "Regular",
- "Low",
- "Spot"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the virtual machine should be assigned to.
Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "scheduledEventsProfile": {
- "description": "Specifies Scheduled Event related configurations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ScheduledEventsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Specifies the Security related profile settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/SecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/StorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userData": {
- "description": "UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here.
Minimum api-version: 2021-03-01",
- "type": "string"
- },
- "virtualMachineScaleSet": {
- "description": "Specifies information about the virtual machine scale set that the virtual machine should be assigned to. Virtual machines specified in the same virtual machine scale set are allocated to different nodes to maximize availability. Currently, a VM can only be added to virtual machine scale set at creation time. An existing VM cannot be added to a virtual machine scale set.
This property cannot exist along with a non-null properties.availabilitySet reference.
Minimum api‐version: 2019‐03‐01",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachinePublicIPAddressConfiguration": {
- "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration",
- "properties": {
- "name": {
- "description": "The publicIP address configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachinePublicIPAddressConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible.",
- "oneOf": [
- {
- "$ref": "#/definitions/PublicIPAddressSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachinePublicIPAddressConfigurationProperties": {
- "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration",
- "properties": {
- "deleteOption": {
- "description": "Specify what happens to the public IP address when the VM is deleted",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dnsSettings": {
- "description": "The dns settings to be applied on the publicIP addresses .",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachinePublicIPAddressDnsSettingsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "idleTimeoutInMinutes": {
- "description": "The idle timeout of the public IP address.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipTags": {
- "description": "The list of IP tags associated with the public IP address.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineIpTag"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressVersion": {
- "description": "Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAllocationMethod": {
- "description": "Specify the public IP allocation type",
- "oneOf": [
- {
- "enum": [
- "Dynamic",
- "Static"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPPrefix": {
- "description": "The PublicIPPrefix from which to allocate publicIP addresses.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachinePublicIPAddressDnsSettingsConfiguration": {
- "description": "Describes a virtual machines network configuration's DNS settings.",
- "properties": {
- "domainNameLabel": {
- "description": "The Domain name label prefix of the PublicIPAddress resources that will be created. The generated name label is the concatenation of the domain name label and vm network profile unique ID.",
- "type": "string"
- }
- },
- "required": [
- "domainNameLabel"
- ],
- "type": "object"
- },
- "VirtualMachineRunCommandProperties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "properties": {
- "asyncExecution": {
- "description": "Optional. If set to true, provisioning will complete as soon as the script starts and will not wait for script to complete.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "errorBlobUri": {
- "description": "Specifies the Azure storage blob where script error stream will be uploaded.",
- "type": "string"
- },
- "outputBlobUri": {
- "description": "Specifies the Azure storage blob where script output stream will be uploaded.",
- "type": "string"
- },
- "parameters": {
- "description": "The parameters used by the script.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/RunCommandInputParameter"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedParameters": {
- "description": "The parameters used by the script.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/RunCommandInputParameter"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "runAsPassword": {
- "description": "Specifies the user account password on the VM when executing the run command.",
- "type": "string"
- },
- "runAsUser": {
- "description": "Specifies the user account on the VM when executing the run command.",
- "type": "string"
- },
- "source": {
- "description": "The source of the run command script.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandScriptSource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "timeoutInSeconds": {
- "description": "The timeout in seconds to execute the run command.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineRunCommandScriptSource": {
- "description": "Describes the script sources for run command.",
- "properties": {
- "commandId": {
- "description": "Specifies a commandId of predefined built-in script.",
- "type": "string"
- },
- "script": {
- "description": "Specifies the script content to be executed on the VM.",
- "type": "string"
- },
- "scriptUri": {
- "description": "Specifies the script download location.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetDataDisk": {
- "description": "Describes a virtual machine scale set data disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "The create option.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "deleteOption": {
- "description": "Specifies whether data disk should be deleted or detached upon VMSS Flex deletion (This feature is available for VMSS with Flexible OrchestrationMode only).
Possible values:
**Delete** If this value is used, the data disk is deleted when the VMSS Flex VM is deleted.
**Detach** If this value is used, the data disk is retained after VMSS Flex VM is deleted.
The default value is set to **Delete**.",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskIOPSReadWrite": {
- "description": "Specifies the Read-Write IOPS for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskMBpsReadWrite": {
- "description": "Specifies the bandwidth in MB per second for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
diskSizeGB is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun",
- "createOption"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetExtension": {
- "description": "Describes a Virtual Machine Scale Set Extension.",
- "properties": {
- "name": {
- "description": "The name of the extension.",
- "type": "string"
- },
- "properties": {
- "anyOf": [
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/genericExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/bgInfo"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/dscExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackup"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/chefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/dockerExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/eset"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/puppetAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/customScript"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetExtensionProfile": {
- "description": "Describes a virtual machine scale set extension profile.",
- "properties": {
- "extensions": {
- "description": "The virtual machine scale set child extension resources.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetExtension"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extensionsTimeBudget": {
- "description": "Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M).
Minimum api-version: 2020-06-01",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetExtensionProperties": {
- "description": "Describes the properties of a Virtual Machine Scale Set Extension.",
- "properties": {
- "autoUpgradeMinorVersion": {
- "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticUpgrade": {
- "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "forceUpdateTag": {
- "description": "If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.",
- "type": "string"
- },
- "protectedSettings": {
- "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedSettingsFromKeyVault": {
- "description": "The extensions protected settings that are passed by reference, and consumed from key vault",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionAfterExtensions": {
- "description": "Collection of extension names after which this extension needs to be provisioned.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publisher": {
- "description": "The name of the extension handler publisher.",
- "type": "string"
- },
- "settings": {
- "description": "Json formatted public settings for the extension.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "suppressFailures": {
- "description": "Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetHardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine scale set.",
- "properties": {
- "vmSizeProperties": {
- "description": "Specifies the properties for customizing the size of the virtual machine. Minimum api-version: 2021-11-01.
Please follow the instructions in [VM Customization](https://aka.ms/vmcustomization) for more details.",
- "oneOf": [
- {
- "$ref": "#/definitions/VMSizeProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIPConfiguration": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "properties": {
- "name": {
- "description": "The IP configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetIPConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetIPConfigurationProperties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration properties.",
- "properties": {
- "applicationGatewayBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of application gateways. A scale set can reference backend address pools of multiple application gateways. Multiple scale sets cannot use the same application gateway.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "applicationSecurityGroups": {
- "description": "Specifies an array of references to application security group.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of load balancers. A scale set can reference backend address pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerInboundNatPools": {
- "description": "Specifies an array of references to inbound Nat pools of the load balancers. A scale set can reference inbound nat pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "privateIPAddressVersion": {
- "description": "Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressConfiguration": {
- "description": "The publicIPAddressConfiguration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "subnet": {
- "description": "Specifies the identifier of the subnet.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApiEntityReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIdentity": {
- "description": "Identity for the virtual machine scale set.",
- "properties": {
- "type": {
- "description": "The type of identity used for the virtual machine scale set. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine scale set.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned",
- "UserAssigned",
- "SystemAssigned, UserAssigned",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userAssignedIdentities": {
- "description": "The list of user identities associated with the virtual machine scale set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
- "oneOf": [
- {
- "additionalProperties": {
- "$ref": "#/definitions/UserAssignedIdentitiesValue"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIpTag": {
- "description": "Contains the IP tag associated with the public IP address.",
- "properties": {
- "ipTagType": {
- "description": "IP tag type. Example: FirstPartyUsage.",
- "type": "string"
- },
- "tag": {
- "description": "IP tag associated with the public IP. Example: SQL, Storage etc.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetManagedDiskParameters": {
- "description": "Describes the parameters of a ScaleSet managed disk.",
- "properties": {
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Specifies the security profile for the managed disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VMDiskSecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS",
- "Premium_ZRS",
- "StandardSSD_ZRS",
- "PremiumV2_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfiguration": {
- "description": "Describes a virtual machine scale set network profile's network configurations.",
- "properties": {
- "name": {
- "description": "The network configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfigurationDnsSettings": {
- "description": "Describes a virtual machines scale sets network configuration's DNS settings.",
- "properties": {
- "dnsServers": {
- "description": "List of DNS servers IP addresses",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfigurationProperties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "properties": {
- "deleteOption": {
- "description": "Specify what happens to the network interface when the VM is deleted",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "disableTcpStateTracking": {
- "description": "Specifies whether the network interface is disabled for tcp state tracking.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dnsSettings": {
- "description": "The dns settings to be applied on the network interfaces.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationDnsSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAcceleratedNetworking": {
- "description": "Specifies whether the network interface is accelerated networking-enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableFpga": {
- "description": "Specifies whether the network interface is FPGA networking-enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableIPForwarding": {
- "description": "Whether IP forwarding enabled on this NIC.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipConfigurations": {
- "description": "Specifies the IP configurations of the network interface.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetIPConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkSecurityGroup": {
- "description": "The network security group.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "ipConfigurations"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkProfile": {
- "description": "Describes a virtual machine scale set network profile.",
- "properties": {
- "healthProbe": {
- "description": "A reference to a load balancer probe used to determine the health of an instance in the virtual machine scale set. The reference will be in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApiEntityReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkApiVersion": {
- "description": "specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations for Virtual Machine Scale Set with orchestration mode 'Flexible'",
- "oneOf": [
- {
- "enum": [
- "2020-11-01"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkInterfaceConfigurations": {
- "description": "The list of network configurations.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetOSDisk": {
- "description": "Describes a virtual machine scale set operating system disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machines in the scale set should be created.
The only allowed value is: **FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "deleteOption": {
- "description": "Specifies whether OS Disk should be deleted or detached upon VMSS Flex deletion (This feature is available for VMSS with Flexible OrchestrationMode only).
Possible values:
**Delete** If this value is used, the OS disk is deleted when VMSS Flex VM is deleted.
**Detach** If this value is used, the OS disk is retained after VMSS Flex VM is deleted.
The default value is set to **Delete**. For an Ephemeral OS Disk, the default value is set to **Delete**. User cannot change the delete option for Ephemeral OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diffDiskSettings": {
- "description": "Specifies the ephemeral disk Settings for the operating system disk used by the virtual machine scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiffDiskSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
diskSizeGB is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "Specifies information about the unmanaged user image to base the scale set on.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD.
Possible values are:
**Windows**
**Linux**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhdContainers": {
- "description": "Specifies the container urls that are used to store operating system disks for the scale set.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetOSProfile": {
- "description": "Describes a virtual machine scale set OS profile.",
- "properties": {
- "adminPassword": {
- "description": "Specifies the password of the administrator account.
**Minimum-length (Windows):** 8 characters
**Minimum-length (Linux):** 6 characters
**Max-length (Windows):** 123 characters
**Max-length (Linux):** 72 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])
**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"
For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp)
For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)",
- "type": "string"
- },
- "adminUsername": {
- "description": "Specifies the name of the administrator account.
**Windows-only restriction:** Cannot end in \".\"
**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters",
- "type": "string"
- },
- "allowExtensionOperations": {
- "description": "Specifies whether extension operations should be allowed on the virtual machine scale set.
This may only be set to False when no extensions are present on the virtual machine scale set.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "computerNamePrefix": {
- "description": "Specifies the computer name prefix for all of the virtual machines in the scale set. Computer name prefixes must be 1 to 15 characters long.",
- "type": "string"
- },
- "customData": {
- "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes.
For using cloud-init for your VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init)",
- "type": "string"
- },
- "linuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros).",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "requireGuestProvisionSignal": {
- "description": "Optional property which must either be set to True or omitted.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "secrets": {
- "description": "Specifies set of certificates that should be installed onto the virtual machines in the scale set. To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultSecretGroup"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "windowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/WindowsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetProperties": {
- "description": "Describes the properties of a Virtual Machine Scale Set.",
- "properties": {
- "additionalCapabilities": {
- "description": "Specifies additional capabilities enabled or disabled on the Virtual Machines in the Virtual Machine Scale Set. For instance: whether the Virtual Machines have the capability to support attaching managed data disks with UltraSSD_LRS storage account type.",
- "oneOf": [
- {
- "$ref": "#/definitions/AdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "automaticRepairsPolicy": {
- "description": "Policy for automatic repairs.",
- "oneOf": [
- {
- "$ref": "#/definitions/AutomaticRepairsPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "constrainedMaximumCapacity": {
- "description": "Optional property which must either be set to True or omitted.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "doNotRunExtensionsOnOverprovisionedVMs": {
- "description": "When Overprovision is enabled, extensions are launched only on the requested number of VMs which are finally kept. This property will hence ensure that the extensions do not run on the extra overprovisioned VMs.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hostGroup": {
- "description": "Specifies information about the dedicated host group that the virtual machine scale set resides in.
Minimum api-version: 2020-06-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "orchestrationMode": {
- "description": "Specifies the orchestration mode for the virtual machine scale set.",
- "oneOf": [
- {
- "enum": [
- "Uniform",
- "Flexible"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "overprovision": {
- "description": "Specifies whether the Virtual Machine Scale Set should be overprovisioned.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformFaultDomainCount": {
- "description": "Fault Domain count for each placement group.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "priorityMixPolicy": {
- "description": "Specifies the desired targets for mixing Spot and Regular priority VMs within the same VMSS Flex instance.",
- "oneOf": [
- {
- "$ref": "#/definitions/PriorityMixPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the virtual machine scale set should be assigned to.
Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "scaleInPolicy": {
- "description": "Specifies the policies applied when scaling in Virtual Machines in the Virtual Machine Scale Set.",
- "oneOf": [
- {
- "$ref": "#/definitions/ScaleInPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "singlePlacementGroup": {
- "description": "When true this limits the scale set to a single placement group, of max size 100 virtual machines. NOTE: If singlePlacementGroup is true, it may be modified to false. However, if singlePlacementGroup is false, it may not be modified to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "spotRestorePolicy": {
- "description": "Specifies the Spot Restore properties for the virtual machine scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/SpotRestorePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "upgradePolicy": {
- "description": "The upgrade policy.",
- "oneOf": [
- {
- "$ref": "#/definitions/UpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "virtualMachineProfile": {
- "description": "The virtual machine profile.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "zoneBalance": {
- "description": "Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage. zoneBalance property can only be set if the zones property of the scale set contains more than one zone. If there are no zones or only one zone specified, then zoneBalance property should not be set.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfiguration": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "properties": {
- "name": {
- "description": "The publicIP address configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible.",
- "oneOf": [
- {
- "$ref": "#/definitions/PublicIPAddressSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings": {
- "description": "Describes a virtual machines scale sets network configuration's DNS settings.",
- "properties": {
- "domainNameLabel": {
- "description": "The Domain name label.The concatenation of the domain name label and vm index will be the domain name labels of the PublicIPAddress resources that will be created",
- "type": "string"
- }
- },
- "required": [
- "domainNameLabel"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfigurationProperties": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "properties": {
- "deleteOption": {
- "description": "Specify what happens to the public IP when the VM is deleted",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dnsSettings": {
- "description": "The dns settings to be applied on the publicIP addresses .",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "idleTimeoutInMinutes": {
- "description": "The idle timeout of the public IP address.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipTags": {
- "description": "The list of IP tags associated with the public IP address.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetIpTag"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressVersion": {
- "description": "Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPPrefix": {
- "description": "The PublicIPPrefix from which to allocate publicIP addresses.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetStorageProfile": {
- "description": "Describes a virtual machine scale set storage profile.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add data disks to the virtual machines in the scale set.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetDataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskControllerType": {
- "type": "string"
- },
- "imageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machines in the scale set.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetOSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMNetworkProfileConfiguration": {
- "description": "Describes a virtual machine scale set VM network profile.",
- "properties": {
- "networkInterfaceConfigurations": {
- "description": "The list of network configurations.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProfile": {
- "description": "Describes a virtual machine scale set virtual machine profile.",
- "properties": {
- "applicationProfile": {
- "description": "Specifies the gallery applications that should be made available to the VM/VMSS",
- "oneOf": [
- {
- "$ref": "#/definitions/ApplicationProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "billingProfile": {
- "description": "Specifies the billing related details of a Azure Spot VMSS.
Minimum api-version: 2019-03-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/BillingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "capacityReservation": {
- "description": "Specifies the capacity reservation related details of a scale set.
Minimum api-version: 2021-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/CapacityReservationProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "evictionPolicy": {
- "description": "Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set.
For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01.
For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview.",
- "oneOf": [
- {
- "enum": [
- "Deallocate",
- "Delete"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extensionProfile": {
- "description": "Specifies a collection of settings for extensions installed on virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetExtensionProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hardwareProfile": {
- "description": "Specifies the hardware profile related details of a scale set.
Minimum api-version: 2021-11-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetHardwareProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises.
Possible values for Windows Server operating system are:
Windows_Client
Windows_Server
Possible values for Linux Server operating system are:
RHEL_BYOS (for RHEL)
SLES_BYOS (for SUSE)
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)
[Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies properties of the network interfaces of the virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings for the virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetOSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "priority": {
- "description": "Specifies the priority for the virtual machines in the scale set.
Minimum api-version: 2017-10-30-preview",
- "oneOf": [
- {
- "enum": [
- "Regular",
- "Low",
- "Spot"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "scheduledEventsProfile": {
- "description": "Specifies Scheduled Event related configurations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ScheduledEventsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Specifies the Security related profile settings for the virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/SecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "serviceArtifactReference": {
- "description": "Specifies the service artifact reference id used to set same image version for all virtual machines in the scale set when using 'latest' image version. Minimum api-version: 2022-11-01",
- "oneOf": [
- {
- "$ref": "#/definitions/ServiceArtifactReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userData": {
- "description": "UserData for the virtual machines in the scale set, which must be base-64 encoded. Customer should not pass any secrets in here.
Minimum api-version: 2021-03-01",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProperties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "properties": {
- "additionalCapabilities": {
- "description": "Specifies additional capabilities enabled or disabled on the virtual machine in the scale set. For instance: whether the virtual machine has the capability to support attaching managed data disks with UltraSSD_LRS storage account type.",
- "oneOf": [
- {
- "$ref": "#/definitions/AdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "availabilitySet": {
- "description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Availability sets overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview).
For more information on Azure planned maintenance, see [Maintenance and updates for Virtual Machines in Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates)
Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/HardwareProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises.
Possible values for Windows Server operating system are:
Windows_Client
Windows_Server
Possible values for Linux Server operating system are:
RHEL_BYOS (for RHEL)
SLES_BYOS (for SUSE)
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)
[Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkProfileConfiguration": {
- "description": "Specifies the network profile configuration of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMNetworkProfileConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectionPolicy": {
- "description": "Specifies the protection policy of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProtectionPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Specifies the Security related profile settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/SecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/StorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userData": {
- "description": "UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here.
Minimum api-version: 2021-03-01",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProtectionPolicy": {
- "description": "The protection policy of a virtual machine scale set VM.",
- "properties": {
- "protectFromScaleIn": {
- "description": "Indicates that the virtual machine scale set VM shouldn't be considered for deletion during a scale-in operation.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectFromScaleSetActions": {
- "description": "Indicates that model updates or actions (including scale-in) initiated on the virtual machine scale set should not be applied to the virtual machine scale set VM.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WinRMConfiguration": {
- "description": "Describes Windows Remote Management configuration of the VM",
- "properties": {
- "listeners": {
- "description": "The list of Windows Remote Management listeners",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/WinRMListener"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WinRMListener": {
- "description": "Describes Protocol and thumbprint of Windows Remote Management listener",
- "properties": {
- "certificateUrl": {
- "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:
{
\"data\":\"\",
\"dataType\":\"pfx\",
\"password\":\"\"
}
To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).",
- "type": "string"
- },
- "protocol": {
- "description": "Specifies the protocol of WinRM listener.
Possible values are:
**http**
**https**",
- "oneOf": [
- {
- "enum": [
- "Http",
- "Https"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WindowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "properties": {
- "additionalUnattendContent": {
- "description": "Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/AdditionalUnattendContent"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticUpdates": {
- "description": "Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value is true.
For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableVMAgentPlatformUpdates": {
- "description": "Indicates whether VMAgent Platform Updates is enabled for the Windows virtual machine. Default value is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "patchSettings": {
- "description": "[Preview Feature] Specifies settings related to VM Guest Patching on Windows.",
- "oneOf": [
- {
- "$ref": "#/definitions/PatchSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionVMAgent": {
- "description": "Indicates whether virtual machine agent should be provisioned on the virtual machine.
When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "timeZone": {
- "description": "Specifies the time zone of the virtual machine. e.g. \"Pacific Standard Time\".
Possible values can be [TimeZoneInfo.Id](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.id?#System_TimeZoneInfo_Id) value from time zones returned by [TimeZoneInfo.GetSystemTimeZones](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.getsystemtimezones).",
- "type": "string"
- },
- "winRM": {
- "description": "Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.",
- "oneOf": [
- {
- "$ref": "#/definitions/WinRMConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WindowsVMGuestPatchAutomaticByPlatformSettings": {
- "description": "Specifies additional settings to be applied when patch mode AutomaticByPlatform is selected in Windows patch settings.",
- "properties": {
- "rebootSetting": {
- "description": "Specifies the reboot setting for all AutomaticByPlatform patch installation operations.",
- "oneOf": [
- {
- "enum": [
- "Unknown",
- "IfRequired",
- "Never",
- "Always"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "capacityReservationGroups_capacityReservations_childResource": {
- "description": "Microsoft.Compute/capacityReservationGroups/capacityReservations",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-11-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the capacity reservation.",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the Capacity reservation.",
- "oneOf": [
- {
- "$ref": "#/definitions/CapacityReservationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "SKU of the resource for which capacity needs be reserved. The SKU name and capacity is required to be set. Currently VM Skus with the capability called 'CapacityReservationSupported' set to true are supported. Refer to List Microsoft.Compute SKUs in a region (https://docs.microsoft.com/rest/api/compute/resourceskus/list) for supported values.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "capacityReservations"
- ],
- "type": "string"
- },
- "zones": {
- "description": "Availability Zone to use for this capacity reservation. The zone has to be single value and also should be part for the list of zones specified during the capacity reservation group creation. The zone can be assigned only during creation. If not provided, the reservation supports only non-zonal deployments. If provided, enforces VM/VMSS using this capacity reservation to be in same zone.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "hostGroups_hosts_childResource": {
- "description": "Microsoft.Compute/hostGroups/hosts",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-11-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the dedicated host .",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the dedicated host.",
- "oneOf": [
- {
- "$ref": "#/definitions/DedicatedHostProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be set. List Microsoft.Compute SKUs for a list of possible values.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "hosts"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "restorePointCollections_restorePoints_childResource": {
- "description": "Microsoft.Compute/restorePointCollections/restorePoints",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-11-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the restore point.",
- "type": "string"
- },
- "properties": {
- "description": "The restore point properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/RestorePointProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "restorePoints"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-11-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the VM scale set extension.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Scale Set Extension.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetExtensionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-11-01"
- ],
- "type": "string"
- },
- "identity": {
- "description": "The identity of the virtual machine, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The instance ID of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "virtualMachines"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-11-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine extension.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Extension.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_runCommands_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/runCommands",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-11-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine run command.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "runCommands"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachines/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-11-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine extension.",
- "type": "string"
- },
- "properties": {
- "anyOf": [
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/genericExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/bgInfo"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/dscExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackup"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/chefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/dockerExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/eset"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/puppetAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/customScript"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines_runCommands_childResource": {
- "description": "Microsoft.Compute/virtualMachines/runCommands",
- "properties": {
- "apiVersion": {
- "enum": [
- "2022-11-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine run command.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "runCommands"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- }
-}
\ No newline at end of file
diff --git a/schemas/2023-01-02/Microsoft.Compute.json b/schemas/2023-01-02/Microsoft.Compute.json
deleted file mode 100644
index bf7e93822c..0000000000
--- a/schemas/2023-01-02/Microsoft.Compute.json
+++ /dev/null
@@ -1,1528 +0,0 @@
-{
- "id": "https://schema.management.azure.com/schemas/2023-01-02/Microsoft.Compute.json#",
- "title": "Microsoft.Compute",
- "description": "Microsoft Compute Resource Types",
- "$schema": "http://json-schema.org/draft-04/schema#",
- "resourceDefinitions": {
- "diskAccesses": {
- "description": "Microsoft.Compute/diskAccesses",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-01-02"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location where the disk access will be created. Extended location cannot be changed.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the disk access resource that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "oneOf": [
- {
- "$ref": "#/definitions/DiskAccessProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/diskAccesses_privateEndpointConnections_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/diskAccesses"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "diskAccesses_privateEndpointConnections": {
- "description": "Microsoft.Compute/diskAccesses/privateEndpointConnections",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-01-02"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the private endpoint connection.",
- "type": "string"
- },
- "properties": {
- "description": "Resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/PrivateEndpointConnectionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/diskAccesses/privateEndpointConnections"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "diskEncryptionSets": {
- "description": "Microsoft.Compute/diskEncryptionSets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-01-02"
- ],
- "type": "string"
- },
- "identity": {
- "description": "The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSetIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the disk encryption set that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/diskEncryptionSets"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "disks": {
- "description": "Microsoft.Compute/disks",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-01-02"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location where the disk will be created. Extended location cannot be changed.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Disk resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, StandardSSD_ZRS, or PremiumV2_LRS.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/disks"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The Logical zone list for Disk.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "snapshots": {
- "description": "Microsoft.Compute/snapshots",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-01-02"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location where the snapshot will be created. Extended location cannot be changed.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The max name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Snapshot resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/SnapshotProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot",
- "oneOf": [
- {
- "$ref": "#/definitions/SnapshotSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/snapshots"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- },
- "definitions": {
- "CopyCompletionError": {
- "description": "Indicates the error details if the background copy of a resource created via the CopyStart operation fails.",
- "properties": {
- "errorCode": {
- "description": "Indicates the error code if the background copy of a resource created via the CopyStart operation fails.",
- "oneOf": [
- {
- "enum": [
- "CopySourceNotFound"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "errorMessage": {
- "description": "Indicates the error message if the background copy of a resource created via the CopyStart operation fails.",
- "type": "string"
- }
- },
- "required": [
- "errorCode",
- "errorMessage"
- ],
- "type": "object"
- },
- "CreationData": {
- "description": "Data used when creating a disk.",
- "properties": {
- "createOption": {
- "description": "This enumerates the possible sources of a disk's creation.",
- "oneOf": [
- {
- "enum": [
- "Empty",
- "Attach",
- "FromImage",
- "Import",
- "Copy",
- "Restore",
- "Upload",
- "CopyStart",
- "ImportSecure",
- "UploadPreparedSecure"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "galleryImageReference": {
- "description": "Required if creating from a Gallery Image. The id/sharedGalleryImageId/communityGalleryImageId of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageDiskReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Disk source information for PIR or user images.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageDiskReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "logicalSectorSize": {
- "description": "Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "performancePlus": {
- "description": "Set this flag to true to get a boost on the performance target of the disk deployed, see here on the respective performance target. This flag can only be set on disk creation time and cannot be disabled after enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityDataUri": {
- "description": "If createOption is ImportSecure, this is the URI of a blob to be imported into VM guest state.",
- "type": "string"
- },
- "sourceResourceId": {
- "description": "If createOption is Copy, this is the ARM id of the source snapshot or disk.",
- "type": "string"
- },
- "sourceUri": {
- "description": "If createOption is Import, this is the URI of a blob to be imported into a managed disk.",
- "type": "string"
- },
- "storageAccountId": {
- "description": "Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk.",
- "type": "string"
- },
- "uploadSizeBytes": {
- "description": "If createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer).",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "DiskAccessProperties": {
- "properties": {},
- "type": "object"
- },
- "DiskProperties": {
- "description": "Disk resource properties.",
- "properties": {
- "burstingEnabled": {
- "description": "Set to true to enable bursting beyond the provisioned performance target of the disk. Bursting is disabled by default. Does not apply to Ultra disks.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "completionPercent": {
- "description": "Percentage complete for the background copy when a resource is created via the CopyStart operation.",
- "oneOf": [
- {
- "type": "number"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "creationData": {
- "description": "Disk source information. CreationData information cannot be changed after the disk has been created.",
- "oneOf": [
- {
- "$ref": "#/definitions/CreationData"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dataAccessAuthMode": {
- "description": "Additional authentication requirements when exporting or uploading to a disk or snapshot.",
- "oneOf": [
- {
- "enum": [
- "AzureActiveDirectory",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskAccessId": {
- "description": "ARM id of the DiskAccess resource for using private endpoints on disks.",
- "type": "string"
- },
- "diskIOPSReadOnly": {
- "description": "The total number of IOPS that will be allowed across all VMs mounting the shared disk as ReadOnly. One operation can transfer between 4k and 256k bytes.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskIOPSReadWrite": {
- "description": "The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskMBpsReadOnly": {
- "description": "The total throughput (MBps) that will be allowed across all VMs mounting the shared disk as ReadOnly. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskMBpsReadWrite": {
- "description": "The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryption": {
- "description": "Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.",
- "oneOf": [
- {
- "$ref": "#/definitions/Encryption"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettingsCollection": {
- "description": "Encryption settings collection used for Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSettingsCollection"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hyperVGeneration": {
- "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxShares": {
- "description": "The maximum number of VMs that can attach to the disk at the same time. Value greater than one indicates a disk that can be mounted on multiple VMs at the same time.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkAccessPolicy": {
- "description": "Policy for accessing the disk via network.",
- "oneOf": [
- {
- "enum": [
- "AllowAll",
- "AllowPrivate",
- "DenyAll"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "optimizedForFrequentAttach": {
- "description": "Setting this property to true improves reliability and performance of data disks that are frequently (more than 5 times a day) by detached from one virtual machine and attached to another. This property should not be set for disks that are not detached and attached frequently as it causes the disks to not align with the fault domain of the virtual machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "The Operating System type.",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicNetworkAccess": {
- "description": "Policy for controlling export on the disk.",
- "oneOf": [
- {
- "enum": [
- "Enabled",
- "Disabled"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "purchasePlan": {
- "description": "Purchase plan information for the the image from which the OS disk was created. E.g. - {name: 2019-Datacenter, publisher: MicrosoftWindowsServer, product: WindowsServer}",
- "oneOf": [
- {
- "$ref": "#/definitions/PurchasePlan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Contains the security related information for the resource.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskSecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "supportedCapabilities": {
- "description": "List of supported capabilities for the image from which the OS disk was created.",
- "oneOf": [
- {
- "$ref": "#/definitions/SupportedCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "supportsHibernation": {
- "description": "Indicates the OS on a disk supports hibernation.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tier": {
- "description": "Performance tier of the disk (e.g, P4, S10) as described here: https://azure.microsoft.com/en-us/pricing/details/managed-disks/. Does not apply to Ultra disks.",
- "type": "string"
- }
- },
- "required": [
- "creationData"
- ],
- "type": "object"
- },
- "DiskSecurityProfile": {
- "description": "Contains the security related information for the resource.",
- "properties": {
- "secureVMDiskEncryptionSetId": {
- "description": "ResourceId of the disk encryption set associated to Confidential VM supported disk encrypted with customer managed key",
- "type": "string"
- },
- "securityType": {
- "description": "Specifies the SecurityType of the VM. Applicable for OS disks only.",
- "oneOf": [
- {
- "enum": [
- "TrustedLaunch",
- "ConfidentialVM_VMGuestStateOnlyEncryptedWithPlatformKey",
- "ConfidentialVM_DiskEncryptedWithPlatformKey",
- "ConfidentialVM_DiskEncryptedWithCustomerKey"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiskSku": {
- "description": "The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, StandardSSD_ZRS, or PremiumV2_LRS.",
- "properties": {
- "name": {
- "description": "The sku name.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS",
- "Premium_ZRS",
- "StandardSSD_ZRS",
- "PremiumV2_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Encryption": {
- "description": "Encryption at rest settings for disk or snapshot",
- "properties": {
- "diskEncryptionSetId": {
- "description": "ResourceId of the disk encryption set to use for enabling encryption at rest.",
- "type": "string"
- },
- "type": {
- "description": "The type of key used to encrypt the data of the disk.",
- "oneOf": [
- {
- "enum": [
- "EncryptionAtRestWithPlatformKey",
- "EncryptionAtRestWithCustomerKey",
- "EncryptionAtRestWithPlatformAndCustomerKeys"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "EncryptionSetIdentity": {
- "description": "The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks.",
- "properties": {
- "type": {
- "description": "The type of Managed Identity used by the DiskEncryptionSet. Only SystemAssigned is supported for new creations. Disk Encryption Sets can be updated with Identity type None during migration of subscription to a new Azure Active Directory tenant; it will cause the encrypted resources to lose access to the keys.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned",
- "UserAssigned",
- "SystemAssigned, UserAssigned",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userAssignedIdentities": {
- "description": "The list of user identities associated with the disk encryption set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
- "oneOf": [
- {
- "additionalProperties": {
- "$ref": "#/definitions/UserAssignedIdentitiesValue"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "EncryptionSetProperties": {
- "properties": {
- "activeKey": {
- "description": "The key vault key which is currently used by this disk encryption set.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyForDiskEncryptionSet"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionType": {
- "description": "The type of key used to encrypt the data of the disk.",
- "oneOf": [
- {
- "enum": [
- "EncryptionAtRestWithCustomerKey",
- "EncryptionAtRestWithPlatformAndCustomerKeys",
- "ConfidentialVmEncryptedWithCustomerKey"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "federatedClientId": {
- "description": "Multi-tenant application client id to access key vault in a different tenant. Setting the value to 'None' will clear the property.",
- "type": "string"
- },
- "rotationToLatestKeyVersionEnabled": {
- "description": "Set this flag to true to enable auto-updating of this disk encryption set to the latest key version.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "EncryptionSettingsCollection": {
- "description": "Encryption settings for disk or snapshot",
- "properties": {
- "enabled": {
- "description": "Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettings": {
- "description": "A collection of encryption settings, one for each disk volume.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/EncryptionSettingsElement"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettingsVersion": {
- "description": "Describes what type of encryption is used for the disks. Once this field is set, it cannot be overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption.",
- "type": "string"
- }
- },
- "required": [
- "enabled"
- ],
- "type": "object"
- },
- "EncryptionSettingsElement": {
- "description": "Encryption settings for one disk volume.",
- "properties": {
- "diskEncryptionKey": {
- "description": "Key Vault Secret Url and vault id of the disk encryption key",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultAndSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "keyEncryptionKey": {
- "description": "Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultAndKeyReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ExtendedLocation": {
- "description": "The complex type of the extended location.",
- "properties": {
- "name": {
- "description": "The name of the extended location.",
- "type": "string"
- },
- "type": {
- "description": "The type of the extended location.",
- "oneOf": [
- {
- "enum": [
- "EdgeZone"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImageDiskReference": {
- "description": "The source image used for creating the disk.",
- "properties": {
- "communityGalleryImageId": {
- "description": "A relative uri containing a community Azure Compute Gallery image reference.",
- "type": "string"
- },
- "id": {
- "description": "A relative uri containing either a Platform Image Repository, user image, or Azure Compute Gallery image reference.",
- "type": "string"
- },
- "lun": {
- "description": "If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sharedGalleryImageId": {
- "description": "A relative uri containing a direct shared Azure Compute Gallery image reference.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "KeyForDiskEncryptionSet": {
- "description": "Key Vault Key Url to be used for server side encryption of Managed Disks and Snapshots",
- "properties": {
- "keyUrl": {
- "description": "Fully versioned Key Url pointing to a key in KeyVault. Version segment of the Url is required regardless of rotationToLatestKeyVersionEnabled value.",
- "type": "string"
- },
- "sourceVault": {
- "description": "Resource id of the KeyVault containing the key or secret. This property is optional and cannot be used if the KeyVault subscription is not the same as the Disk Encryption Set subscription.",
- "oneOf": [
- {
- "$ref": "#/definitions/SourceVault"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "keyUrl"
- ],
- "type": "object"
- },
- "KeyVaultAndKeyReference": {
- "description": "Key Vault Key Url and vault id of KeK, KeK is optional and when provided is used to unwrap the encryptionKey",
- "properties": {
- "keyUrl": {
- "description": "Url pointing to a key or secret in KeyVault",
- "type": "string"
- },
- "sourceVault": {
- "description": "Resource id of the KeyVault containing the key or secret",
- "oneOf": [
- {
- "$ref": "#/definitions/SourceVault"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "sourceVault",
- "keyUrl"
- ],
- "type": "object"
- },
- "KeyVaultAndSecretReference": {
- "description": "Key Vault Secret Url and vault id of the encryption key ",
- "properties": {
- "secretUrl": {
- "description": "Url pointing to a key or secret in KeyVault",
- "type": "string"
- },
- "sourceVault": {
- "description": "Resource id of the KeyVault containing the key or secret",
- "oneOf": [
- {
- "$ref": "#/definitions/SourceVault"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "sourceVault",
- "secretUrl"
- ],
- "type": "object"
- },
- "PrivateEndpointConnectionProperties": {
- "description": "Properties of the PrivateEndpointConnectProperties.",
- "properties": {
- "privateLinkServiceConnectionState": {
- "description": "A collection of information about the state of the connection between DiskAccess and Virtual Network.",
- "oneOf": [
- {
- "$ref": "#/definitions/PrivateLinkServiceConnectionState"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "privateLinkServiceConnectionState"
- ],
- "type": "object"
- },
- "PrivateLinkServiceConnectionState": {
- "description": "A collection of information about the state of the connection between service consumer and provider.",
- "properties": {
- "actionsRequired": {
- "description": "A message indicating if changes on the service provider require any updates on the consumer.",
- "type": "string"
- },
- "description": {
- "description": "The reason for approval/rejection of the connection.",
- "type": "string"
- },
- "status": {
- "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.",
- "oneOf": [
- {
- "enum": [
- "Pending",
- "Approved",
- "Rejected"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "PurchasePlan": {
- "description": "Used for establishing the purchase context of any 3rd Party artifact through MarketPlace.",
- "properties": {
- "name": {
- "description": "The plan ID.",
- "type": "string"
- },
- "product": {
- "description": "Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.",
- "type": "string"
- },
- "promotionCode": {
- "description": "The Offer Promotion Code.",
- "type": "string"
- },
- "publisher": {
- "description": "The publisher ID.",
- "type": "string"
- }
- },
- "required": [
- "name",
- "publisher",
- "product"
- ],
- "type": "object"
- },
- "SnapshotProperties": {
- "description": "Snapshot resource properties.",
- "properties": {
- "completionPercent": {
- "description": "Percentage complete for the background copy when a resource is created via the CopyStart operation.",
- "oneOf": [
- {
- "type": "number"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "copyCompletionError": {
- "description": "Indicates the error details if the background copy of a resource created via the CopyStart operation fails.",
- "oneOf": [
- {
- "$ref": "#/definitions/CopyCompletionError"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "creationData": {
- "description": "Disk source information. CreationData information cannot be changed after the disk has been created.",
- "oneOf": [
- {
- "$ref": "#/definitions/CreationData"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dataAccessAuthMode": {
- "description": "Additional authentication requirements when exporting or uploading to a disk or snapshot.",
- "oneOf": [
- {
- "enum": [
- "AzureActiveDirectory",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskAccessId": {
- "description": "ARM id of the DiskAccess resource for using private endpoints on disks.",
- "type": "string"
- },
- "diskSizeGB": {
- "description": "If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryption": {
- "description": "Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.",
- "oneOf": [
- {
- "$ref": "#/definitions/Encryption"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettingsCollection": {
- "description": "Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSettingsCollection"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hyperVGeneration": {
- "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "incremental": {
- "description": "Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full snapshots and can be diffed.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkAccessPolicy": {
- "description": "Policy for accessing the disk via network.",
- "oneOf": [
- {
- "enum": [
- "AllowAll",
- "AllowPrivate",
- "DenyAll"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "The Operating System type.",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicNetworkAccess": {
- "description": "Policy for controlling export on the disk.",
- "oneOf": [
- {
- "enum": [
- "Enabled",
- "Disabled"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "purchasePlan": {
- "description": "Purchase plan information for the image from which the source disk for the snapshot was originally created.",
- "oneOf": [
- {
- "$ref": "#/definitions/PurchasePlan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Contains the security related information for the resource.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskSecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "supportedCapabilities": {
- "description": "List of supported capabilities for the image from which the source disk from the snapshot was originally created.",
- "oneOf": [
- {
- "$ref": "#/definitions/SupportedCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "supportsHibernation": {
- "description": "Indicates the OS on a snapshot supports hibernation.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "creationData"
- ],
- "type": "object"
- },
- "SnapshotSku": {
- "description": "The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot",
- "properties": {
- "name": {
- "description": "The sku name.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "Standard_ZRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SourceVault": {
- "description": "The vault id is an Azure Resource Manager Resource id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SupportedCapabilities": {
- "description": "List of supported capabilities persisted on the disk resource for VM use.",
- "properties": {
- "acceleratedNetwork": {
- "description": "True if the image from which the OS disk is created supports accelerated networking.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "architecture": {
- "description": "CPU architecture supported by an OS disk.",
- "oneOf": [
- {
- "enum": [
- "x64",
- "Arm64"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskControllerTypes": {
- "description": "The disk controllers that an OS disk supports. If set it can be SCSI or SCSI, NVME or NVME, SCSI.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "UserAssignedIdentitiesValue": {
- "properties": {},
- "type": "object"
- },
- "diskAccesses_privateEndpointConnections_childResource": {
- "description": "Microsoft.Compute/diskAccesses/privateEndpointConnections",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-01-02"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the private endpoint connection.",
- "type": "string"
- },
- "properties": {
- "description": "Resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/PrivateEndpointConnectionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "privateEndpointConnections"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- }
-}
\ No newline at end of file
diff --git a/schemas/2023-03-01/Microsoft.Compute.json b/schemas/2023-03-01/Microsoft.Compute.json
deleted file mode 100644
index 29bb3649f1..0000000000
--- a/schemas/2023-03-01/Microsoft.Compute.json
+++ /dev/null
@@ -1,7837 +0,0 @@
-{
- "id": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.json#",
- "title": "Microsoft.Compute",
- "description": "Microsoft Compute Resource Types",
- "$schema": "http://json-schema.org/draft-04/schema#",
- "resourceDefinitions": {
- "availabilitySets": {
- "description": "Microsoft.Compute/availabilitySets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the availability set.",
- "type": "string"
- },
- "properties": {
- "description": "The instance view of a resource.",
- "oneOf": [
- {
- "$ref": "#/definitions/AvailabilitySetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "Sku of the availability set, only name is required to be set. See AvailabilitySetSkuTypes for possible set of values. Use 'Aligned' for virtual machines with managed disks and 'Classic' for virtual machines with unmanaged disks. Default value is 'Classic'.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/availabilitySets"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "capacityReservationGroups": {
- "description": "Microsoft.Compute/capacityReservationGroups",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the capacity reservation group.",
- "type": "string"
- },
- "properties": {
- "description": "capacity reservation group Properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/CapacityReservationGroupProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/capacityReservationGroups_capacityReservations_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/capacityReservationGroups"
- ],
- "type": "string"
- },
- "zones": {
- "description": "Availability Zones to use for this capacity reservation group. The zones can be assigned only during creation. If not provided, the group supports only regional resources in the region. If provided, enforces each capacity reservation in the group to be in one of the zones.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "capacityReservationGroups_capacityReservations": {
- "description": "Microsoft.Compute/capacityReservationGroups/capacityReservations",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the capacity reservation.",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the Capacity reservation.",
- "oneOf": [
- {
- "$ref": "#/definitions/CapacityReservationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "SKU of the resource for which capacity needs be reserved. The SKU name and capacity is required to be set. Currently VM Skus with the capability called 'CapacityReservationSupported' set to true are supported. Refer to List Microsoft.Compute SKUs in a region (https://docs.microsoft.com/rest/api/compute/resourceskus/list) for supported values.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/capacityReservationGroups/capacityReservations"
- ],
- "type": "string"
- },
- "zones": {
- "description": "Availability Zone to use for this capacity reservation. The zone has to be single value and also should be part for the list of zones specified during the capacity reservation group creation. The zone can be assigned only during creation. If not provided, the reservation supports only non-zonal deployments. If provided, enforces VM/VMSS using this capacity reservation to be in same zone.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "hostGroups": {
- "description": "Microsoft.Compute/hostGroups",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the dedicated host group.",
- "type": "string"
- },
- "properties": {
- "description": "Dedicated Host Group Properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/DedicatedHostGroupProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/hostGroups_hosts_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/hostGroups"
- ],
- "type": "string"
- },
- "zones": {
- "description": "Availability Zone to use for this host group. Only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "hostGroups_hosts": {
- "description": "Microsoft.Compute/hostGroups/hosts",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the dedicated host .",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the dedicated host.",
- "oneOf": [
- {
- "$ref": "#/definitions/DedicatedHostProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be set. List Microsoft.Compute SKUs for a list of possible values.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/hostGroups/hosts"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "images": {
- "description": "Microsoft.Compute/images",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-03-01"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location of the Image.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the image.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of an Image.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/images"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "proximityPlacementGroups": {
- "description": "Microsoft.Compute/proximityPlacementGroups",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the proximity placement group.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Proximity Placement Group.",
- "oneOf": [
- {
- "$ref": "#/definitions/ProximityPlacementGroupProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/proximityPlacementGroups"
- ],
- "type": "string"
- },
- "zones": {
- "description": "Specifies the Availability Zone where virtual machine, virtual machine scale set or availability set associated with the proximity placement group can be created.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "restorePointCollections": {
- "description": "Microsoft.Compute/restorePointCollections",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the restore point collection.",
- "type": "string"
- },
- "properties": {
- "description": "The restore point collection properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/RestorePointCollectionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/restorePointCollections_restorePoints_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/restorePointCollections"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "restorePointCollections_restorePoints": {
- "description": "Microsoft.Compute/restorePointCollections/restorePoints",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-03-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the restore point.",
- "type": "string"
- },
- "properties": {
- "description": "The restore point properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/RestorePointProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/restorePointCollections/restorePoints"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "sshPublicKeys": {
- "description": "Microsoft.Compute/sshPublicKeys",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the SSH public key.",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the SSH public key.",
- "oneOf": [
- {
- "$ref": "#/definitions/SshPublicKeyResourceProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/sshPublicKeys"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets": {
- "description": "Microsoft.Compute/virtualMachineScaleSets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-03-01"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location of the Virtual Machine Scale Set.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "identity": {
- "description": "The identity of the virtual machine scale set, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the VM scale set to create or update.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Scale Set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachineScaleSets_extensions_childResource"
- },
- {
- "$ref": "#/definitions/virtualMachineScaleSets_virtualMachines_childResource"
- }
- ]
- },
- "type": "array"
- },
- "sku": {
- "description": "The virtual machine scale set sku.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The virtual machine scale set zones. NOTE: Availability zones can only be set when you create the scale set",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-03-01"
- ],
- "type": "string"
- },
- "identity": {
- "description": "The identity of the virtual machine, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The instance ID of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachineScaleSets_virtualMachines_extensions_childResource"
- },
- {
- "$ref": "#/definitions/virtualMachineScaleSets_virtualMachines_runCommands_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets/virtualMachines"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_extensions": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "The location of the extension.",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine extension.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Extension.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_runCommands": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/runCommands",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine run command.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/runCommands"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines": {
- "description": "Microsoft.Compute/virtualMachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-03-01"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location of the Virtual Machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "identity": {
- "description": "The identity of the virtual machine, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachines_extensions_childResource"
- },
- {
- "$ref": "#/definitions/virtualMachines_runCommands_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachines"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The virtual machine zones.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines_runCommands": {
- "description": "Microsoft.Compute/virtualMachines/runCommands",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine run command.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachines/runCommands"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- },
- "definitions": {
- "AdditionalCapabilities": {
- "description": "Enables or disables a capability on the virtual machine or virtual machine scale set.",
- "properties": {
- "hibernationEnabled": {
- "description": "The flag that enables or disables hibernation capability on the VM.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ultraSSDEnabled": {
- "description": "The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "AdditionalUnattendContent": {
- "description": "Specifies additional XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is applied.",
- "properties": {
- "componentName": {
- "description": "The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup.",
- "oneOf": [
- {
- "enum": [
- "Microsoft-Windows-Shell-Setup"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "content": {
- "description": "Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted.",
- "type": "string"
- },
- "passName": {
- "description": "The pass name. Currently, the only allowable value is OobeSystem.",
- "oneOf": [
- {
- "enum": [
- "OobeSystem"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "settingName": {
- "description": "Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon.",
- "oneOf": [
- {
- "enum": [
- "AutoLogon",
- "FirstLogonCommands"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ApiEntityReference": {
- "description": "The API entity reference.",
- "properties": {
- "id": {
- "description": "The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ApplicationProfile": {
- "description": "Contains the list of gallery applications that should be made available to the VM/VMSS",
- "properties": {
- "galleryApplications": {
- "description": "Specifies the gallery applications that should be made available to the VM/VMSS",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VMGalleryApplication"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "AutomaticOSUpgradePolicy": {
- "description": "The configuration parameters used for performing automatic OS upgrade.",
- "properties": {
- "disableAutomaticRollback": {
- "description": "Whether OS image rollback feature should be disabled. Default value is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticOSUpgrade": {
- "description": "Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. Default value is false. If this is set to true for Windows based scale sets, [enableAutomaticUpdates](https://docs.microsoft.com/dotnet/api/microsoft.azure.management.compute.models.windowsconfiguration.enableautomaticupdates?view=azure-dotnet) is automatically set to false and cannot be set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "useRollingUpgradePolicy": {
- "description": "Indicates whether rolling upgrade policy should be used during Auto OS Upgrade. Default value is false. Auto OS Upgrade will fallback to the default policy if no policy is defined on the VMSS.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "AutomaticRepairsPolicy": {
- "description": "Specifies the configuration parameters for automatic repairs on the virtual machine scale set.",
- "properties": {
- "enabled": {
- "description": "Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "gracePeriod": {
- "description": "The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The minimum allowed grace period is 10 minutes (PT10M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M).",
- "type": "string"
- },
- "repairAction": {
- "description": "Type of repair action (replace, restart, reimage) that will be used for repairing unhealthy virtual machines in the scale set. Default value is replace.",
- "oneOf": [
- {
- "enum": [
- "Replace",
- "Restart",
- "Reimage"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "AvailabilitySetProperties": {
- "description": "The instance view of a resource.",
- "properties": {
- "platformFaultDomainCount": {
- "description": "Fault Domain count.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformUpdateDomainCount": {
- "description": "Update Domain count.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the availability set should be assigned to. Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "virtualMachines": {
- "description": "A list of references to all virtual machines in the availability set.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "BillingProfile": {
- "description": "Specifies the billing related details of a Azure Spot VM or VMSS. Minimum api-version: 2019-03-01.",
- "properties": {
- "maxPrice": {
- "description": "Specifies the maximum price you are willing to pay for a Azure Spot VM/VMSS. This price is in US Dollars.
This price will be compared with the current Azure Spot price for the VM size. Also, the prices are compared at the time of create/update of Azure Spot VM/VMSS and the operation will only succeed if the maxPrice is greater than the current Azure Spot price.
The maxPrice will also be used for evicting a Azure Spot VM/VMSS if the current Azure Spot price goes beyond the maxPrice after creation of VM/VMSS.
Possible values are:
- Any decimal value greater than zero. Example: 0.01538
-1 – indicates default price to be up-to on-demand.
You can set the maxPrice to -1 to indicate that the Azure Spot VM/VMSS should not be evicted for price reasons. Also, the default max price is -1 if it is not provided by you.
Minimum api-version: 2019-03-01.",
- "oneOf": [
- {
- "type": "number"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "BootDiagnostics": {
- "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. You can easily view the output of your console log. Azure also enables you to see a screenshot of the VM from the hypervisor.",
- "properties": {
- "enabled": {
- "description": "Whether boot diagnostics should be enabled on the Virtual Machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageUri": {
- "description": "Uri of the storage account to use for placing the console output and screenshot. If storageUri is not specified while enabling boot diagnostics, managed storage will be used.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "CapacityReservationGroupProperties": {
- "description": "capacity reservation group Properties.",
- "properties": {},
- "type": "object"
- },
- "CapacityReservationProfile": {
- "description": "The parameters of a capacity reservation Profile.",
- "properties": {
- "capacityReservationGroup": {
- "description": "Specifies the capacity reservation group resource id that should be used for allocating the virtual machine or scaleset vm instances provided enough capacity has been reserved. Please refer to https://aka.ms/CapacityReservation for more details.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "CapacityReservationProperties": {
- "description": "Properties of the Capacity reservation.",
- "properties": {},
- "type": "object"
- },
- "DataDisk": {
- "description": "Describes a data disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The defaulting behavior is: **None for Standard storage. ReadOnly for Premium storage.**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machine should be created. Possible values are: **Attach.** This value is used when you are using a specialized disk to create the virtual machine. **FromImage.** This value is used when you are using an image to create the virtual machine. If you are using a platform image, you should also use the imageReference element described above. If you are using a marketplace image, you should also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "deleteOption": {
- "description": "Specifies whether data disk should be deleted or detached upon VM deletion. Possible values are: **Delete.** If this value is used, the data disk is deleted when VM is deleted. **Detach.** If this value is used, the data disk is retained after VM is deleted. The default value is set to **Detach**.",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "detachOption": {
- "description": "Specifies the detach behavior to be used while detaching a disk or which is already in the process of detachment from the virtual machine. Supported values: **ForceDetach.** detachOption: **ForceDetach** is applicable only for managed data disks. If a previous detachment attempt of the data disk did not complete due to an unexpected failure from the virtual machine and the disk is still not released then use force-detach as a last resort option to detach the disk forcibly from the VM. All writes might not have been flushed when using this detach behavior. **This feature is still in preview** mode and is not supported for VirtualMachineScaleSet. To force-detach a data disk update toBeDetached to 'true' along with setting detachOption: 'ForceDetach'.",
- "oneOf": [
- {
- "enum": [
- "ForceDetach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property 'diskSizeGB' is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/ManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "toBeDetached": {
- "description": "Specifies whether the data disk is in process of detachment from the VirtualMachine/VirtualMachineScaleset",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhd": {
- "description": "The virtual hard disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun",
- "createOption"
- ],
- "type": "object"
- },
- "DedicatedHostGroupProperties": {
- "description": "Dedicated Host Group Properties.",
- "properties": {
- "additionalCapabilities": {
- "description": "Enables or disables a capability on the dedicated host group. Minimum api-version: 2022-03-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/DedicatedHostGroupPropertiesAdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformFaultDomainCount": {
- "description": "Number of fault domains that the host group can span.",
- "oneOf": [
- {
- "minimum": 1,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "supportAutomaticPlacement": {
- "description": "Specifies whether virtual machines or virtual machine scale sets can be placed automatically on the dedicated host group. Automatic placement means resources are allocated on dedicated hosts, that are chosen by Azure, under the dedicated host group. The value is defaulted to 'false' when not provided. Minimum api-version: 2020-06-01.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "platformFaultDomainCount"
- ],
- "type": "object"
- },
- "DedicatedHostGroupPropertiesAdditionalCapabilities": {
- "description": "Enables or disables a capability on the dedicated host group. Minimum api-version: 2022-03-01.",
- "properties": {
- "ultraSSDEnabled": {
- "description": "The flag that enables or disables a capability to have UltraSSD Enabled Virtual Machines on Dedicated Hosts of the Dedicated Host Group. For the Virtual Machines to be UltraSSD Enabled, UltraSSDEnabled flag for the resource needs to be set true as well. The value is defaulted to 'false' when not provided. Please refer to https://docs.microsoft.com/en-us/azure/virtual-machines/disks-enable-ultra-ssd for more details on Ultra SSD feature. **Note:** The ultraSSDEnabled setting can only be enabled for Host Groups that are created as zonal. Minimum api-version: 2022-03-01.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DedicatedHostProperties": {
- "description": "Properties of the dedicated host.",
- "properties": {
- "autoReplaceOnFailure": {
- "description": "Specifies whether the dedicated host should be replaced automatically in case of a failure. The value is defaulted to 'true' when not provided.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies the software license type that will be applied to the VMs deployed on the dedicated host. Possible values are: **None,** **Windows_Server_Hybrid,** **Windows_Server_Perpetual.** The default value is: **None.**",
- "oneOf": [
- {
- "enum": [
- "None",
- "Windows_Server_Hybrid",
- "Windows_Server_Perpetual"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformFaultDomain": {
- "description": "Fault domain of the dedicated host within a dedicated host group.",
- "oneOf": [
- {
- "minimum": 0,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15.",
- "properties": {
- "bootDiagnostics": {
- "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. **NOTE**: If storageUri is being specified then ensure that the storage account is in the same region and subscription as the VM. You can easily view the output of your console log. Azure also enables you to see a screenshot of the VM from the hypervisor.",
- "oneOf": [
- {
- "$ref": "#/definitions/BootDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiffDiskSettings": {
- "description": "Describes the parameters of ephemeral disk settings that can be specified for operating system disk. **Note:** The ephemeral disk settings can only be specified for managed disk.",
- "properties": {
- "option": {
- "description": "Specifies the ephemeral disk settings for operating system disk.",
- "oneOf": [
- {
- "enum": [
- "Local"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "placement": {
- "description": "Specifies the ephemeral disk placement for operating system disk. Possible values are: **CacheDisk,** **ResourceDisk.** The defaulting behavior is: **CacheDisk** if one is configured for the VM size otherwise **ResourceDisk** is used. Refer to the VM size documentation for Windows VM at https://docs.microsoft.com/azure/virtual-machines/windows/sizes and Linux VM at https://docs.microsoft.com/azure/virtual-machines/linux/sizes to check which VM sizes exposes a cache disk.",
- "oneOf": [
- {
- "enum": [
- "CacheDisk",
- "ResourceDisk"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiskEncryptionSetParameters": {
- "description": "Describes the parameter of customer managed disk encryption set resource id that can be specified for disk. **Note:** The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "DiskEncryptionSettings": {
- "description": "Describes a Encryption Settings for a Disk",
- "properties": {
- "diskEncryptionKey": {
- "description": "Specifies the location of the disk encryption key, which is a Key Vault Secret.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enabled": {
- "description": "Specifies whether disk encryption should be enabled on the virtual machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "keyEncryptionKey": {
- "description": "Specifies the location of the key encryption key in Key Vault.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultKeyReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiskRestorePointAttributes": {
- "description": "Disk Restore Point details.",
- "properties": {
- "encryption": {
- "description": "Encryption at rest settings for disk restore point. It is an optional property that can be specified in the input while creating a restore point.",
- "oneOf": [
- {
- "$ref": "#/definitions/RestorePointEncryption"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sourceDiskRestorePoint": {
- "description": "Resource Id of the source disk restore point.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApiEntityReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ExtendedLocation": {
- "description": "The complex type of the extended location.",
- "properties": {
- "name": {
- "description": "The name of the extended location.",
- "type": "string"
- },
- "type": {
- "description": "The type of the extended location.",
- "oneOf": [
- {
- "enum": [
- "EdgeZone"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "HardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "properties": {
- "vmSize": {
- "description": "Specifies the size of the virtual machine. The enum data type is currently deprecated and will be removed by December 23rd 2023. The recommended way to get the list of available sizes is using these APIs: [List all available virtual machine sizes in an availability set](https://docs.microsoft.com/rest/api/compute/availabilitysets/listavailablesizes), [List all available virtual machine sizes in a region]( https://docs.microsoft.com/rest/api/compute/resourceskus/list), [List all available virtual machine sizes for resizing](https://docs.microsoft.com/rest/api/compute/virtualmachines/listavailablesizes). For more information about virtual machine sizes, see [Sizes for virtual machines](https://docs.microsoft.com/azure/virtual-machines/sizes). The available VM sizes depend on region and availability set.",
- "oneOf": [
- {
- "enum": [
- "Basic_A0",
- "Basic_A1",
- "Basic_A2",
- "Basic_A3",
- "Basic_A4",
- "Standard_A0",
- "Standard_A1",
- "Standard_A2",
- "Standard_A3",
- "Standard_A4",
- "Standard_A5",
- "Standard_A6",
- "Standard_A7",
- "Standard_A8",
- "Standard_A9",
- "Standard_A10",
- "Standard_A11",
- "Standard_A1_v2",
- "Standard_A2_v2",
- "Standard_A4_v2",
- "Standard_A8_v2",
- "Standard_A2m_v2",
- "Standard_A4m_v2",
- "Standard_A8m_v2",
- "Standard_B1s",
- "Standard_B1ms",
- "Standard_B2s",
- "Standard_B2ms",
- "Standard_B4ms",
- "Standard_B8ms",
- "Standard_D1",
- "Standard_D2",
- "Standard_D3",
- "Standard_D4",
- "Standard_D11",
- "Standard_D12",
- "Standard_D13",
- "Standard_D14",
- "Standard_D1_v2",
- "Standard_D2_v2",
- "Standard_D3_v2",
- "Standard_D4_v2",
- "Standard_D5_v2",
- "Standard_D2_v3",
- "Standard_D4_v3",
- "Standard_D8_v3",
- "Standard_D16_v3",
- "Standard_D32_v3",
- "Standard_D64_v3",
- "Standard_D2s_v3",
- "Standard_D4s_v3",
- "Standard_D8s_v3",
- "Standard_D16s_v3",
- "Standard_D32s_v3",
- "Standard_D64s_v3",
- "Standard_D11_v2",
- "Standard_D12_v2",
- "Standard_D13_v2",
- "Standard_D14_v2",
- "Standard_D15_v2",
- "Standard_DS1",
- "Standard_DS2",
- "Standard_DS3",
- "Standard_DS4",
- "Standard_DS11",
- "Standard_DS12",
- "Standard_DS13",
- "Standard_DS14",
- "Standard_DS1_v2",
- "Standard_DS2_v2",
- "Standard_DS3_v2",
- "Standard_DS4_v2",
- "Standard_DS5_v2",
- "Standard_DS11_v2",
- "Standard_DS12_v2",
- "Standard_DS13_v2",
- "Standard_DS14_v2",
- "Standard_DS15_v2",
- "Standard_DS13-4_v2",
- "Standard_DS13-2_v2",
- "Standard_DS14-8_v2",
- "Standard_DS14-4_v2",
- "Standard_E2_v3",
- "Standard_E4_v3",
- "Standard_E8_v3",
- "Standard_E16_v3",
- "Standard_E32_v3",
- "Standard_E64_v3",
- "Standard_E2s_v3",
- "Standard_E4s_v3",
- "Standard_E8s_v3",
- "Standard_E16s_v3",
- "Standard_E32s_v3",
- "Standard_E64s_v3",
- "Standard_E32-16_v3",
- "Standard_E32-8s_v3",
- "Standard_E64-32s_v3",
- "Standard_E64-16s_v3",
- "Standard_F1",
- "Standard_F2",
- "Standard_F4",
- "Standard_F8",
- "Standard_F16",
- "Standard_F1s",
- "Standard_F2s",
- "Standard_F4s",
- "Standard_F8s",
- "Standard_F16s",
- "Standard_F2s_v2",
- "Standard_F4s_v2",
- "Standard_F8s_v2",
- "Standard_F16s_v2",
- "Standard_F32s_v2",
- "Standard_F64s_v2",
- "Standard_F72s_v2",
- "Standard_G1",
- "Standard_G2",
- "Standard_G3",
- "Standard_G4",
- "Standard_G5",
- "Standard_GS1",
- "Standard_GS2",
- "Standard_GS3",
- "Standard_GS4",
- "Standard_GS5",
- "Standard_GS4-8",
- "Standard_GS4-4",
- "Standard_GS5-16",
- "Standard_GS5-8",
- "Standard_H8",
- "Standard_H16",
- "Standard_H8m",
- "Standard_H16m",
- "Standard_H16r",
- "Standard_H16mr",
- "Standard_L4s",
- "Standard_L8s",
- "Standard_L16s",
- "Standard_L32s",
- "Standard_M64s",
- "Standard_M64ms",
- "Standard_M128s",
- "Standard_M128ms",
- "Standard_M64-32ms",
- "Standard_M64-16ms",
- "Standard_M128-64ms",
- "Standard_M128-32ms",
- "Standard_NC6",
- "Standard_NC12",
- "Standard_NC24",
- "Standard_NC24r",
- "Standard_NC6s_v2",
- "Standard_NC12s_v2",
- "Standard_NC24s_v2",
- "Standard_NC24rs_v2",
- "Standard_NC6s_v3",
- "Standard_NC12s_v3",
- "Standard_NC24s_v3",
- "Standard_NC24rs_v3",
- "Standard_ND6s",
- "Standard_ND12s",
- "Standard_ND24s",
- "Standard_ND24rs",
- "Standard_NV6",
- "Standard_NV12",
- "Standard_NV24"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vmSizeProperties": {
- "description": "Specifies the properties for customizing the size of the virtual machine. Minimum api-version: 2021-07-01. This feature is still in preview mode and is not supported for VirtualMachineScaleSet. Please follow the instructions in [VM Customization](https://aka.ms/vmcustomization) for more details.",
- "oneOf": [
- {
- "$ref": "#/definitions/VMSizeProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImageDataDisk": {
- "description": "Describes a data disk.",
- "properties": {
- "blobUri": {
- "description": "The Virtual Hard Disk.",
- "type": "string"
- },
- "caching": {
- "description": "Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The default values are: **None for Standard storage. ReadOnly for Premium storage.**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed image disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image. This value cannot be larger than 1023 GB.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managedDisk.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "snapshot": {
- "description": "The snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS",
- "Premium_ZRS",
- "StandardSSD_ZRS",
- "PremiumV2_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun"
- ],
- "type": "object"
- },
- "ImageOSDisk": {
- "description": "Describes an Operating System disk.",
- "properties": {
- "blobUri": {
- "description": "The Virtual Hard Disk.",
- "type": "string"
- },
- "caching": {
- "description": "Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The default values are: **None for Standard storage. ReadOnly for Premium storage.**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed image disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image. This value cannot be larger than 1023 GB.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managedDisk.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osState": {
- "description": "The OS State. For managed images, use Generalized.",
- "oneOf": [
- {
- "enum": [
- "Generalized",
- "Specialized"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from a custom image. Possible values are: **Windows,** **Linux.**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "snapshot": {
- "description": "The snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS",
- "Premium_ZRS",
- "StandardSSD_ZRS",
- "PremiumV2_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "osType",
- "osState"
- ],
- "type": "object"
- },
- "ImageProperties": {
- "description": "Describes the properties of an Image.",
- "properties": {
- "hyperVGeneration": {
- "description": "Specifies the HyperVGenerationType of the VirtualMachine created from the image. From API Version 2019-03-01 if the image source is a blob, then we need the user to specify the value, if the source is managed resource like disk or snapshot, we may require the user to specify the property if we cannot deduce it from the source managed resource.",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sourceVirtualMachine": {
- "description": "The source virtual machine from which Image is created.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. NOTE: Image reference publisher and offer can only be set when you create the scale set.",
- "properties": {
- "communityGalleryImageId": {
- "description": "Specified the community gallery image unique id for vm deployment. This can be fetched from community gallery image GET call.",
- "type": "string"
- },
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "offer": {
- "description": "Specifies the offer of the platform image or marketplace image used to create the virtual machine.",
- "type": "string"
- },
- "publisher": {
- "description": "The image publisher.",
- "type": "string"
- },
- "sharedGalleryImageId": {
- "description": "Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call.",
- "type": "string"
- },
- "sku": {
- "description": "The image SKU.",
- "type": "string"
- },
- "version": {
- "description": "Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available. Please do not use field 'version' for gallery image deployment, gallery image should always use 'id' field for deployment, to use 'latest' version of gallery image, just set '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}' in the 'id' field without version input.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ImageStorageProfile": {
- "description": "Describes a storage profile.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add a data disk to a virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/ImageDataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageOSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "zoneResilient": {
- "description": "Specifies whether an image is zone resilient or not. Default is false. Zone resilient images can be created only in regions that provide Zone Redundant Storage (ZRS).",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "InstanceViewStatus": {
- "description": "Instance view status.",
- "properties": {
- "code": {
- "description": "The status code.",
- "type": "string"
- },
- "displayStatus": {
- "description": "The short localizable label for the status.",
- "type": "string"
- },
- "level": {
- "description": "The level code.",
- "oneOf": [
- {
- "enum": [
- "Info",
- "Warning",
- "Error"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "message": {
- "description": "The detailed status message, including for alerts and error messages.",
- "type": "string"
- },
- "time": {
- "description": "The time of the status.",
- "format": "date-time",
- "type": "string"
- }
- },
- "type": "object"
- },
- "KeyVaultKeyReference": {
- "description": "Describes a reference to Key Vault Key",
- "properties": {
- "keyUrl": {
- "description": "The URL referencing a key encryption key in Key Vault.",
- "type": "string"
- },
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing the key.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "keyUrl",
- "sourceVault"
- ],
- "type": "object"
- },
- "KeyVaultSecretReference": {
- "description": "Describes a reference to Key Vault Secret",
- "properties": {
- "secretUrl": {
- "description": "The URL referencing a secret in a Key Vault.",
- "type": "string"
- },
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing the secret.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "secretUrl",
- "sourceVault"
- ],
- "type": "object"
- },
- "LinuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine. For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros).",
- "properties": {
- "disablePasswordAuthentication": {
- "description": "Specifies whether password authentication should be disabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableVMAgentPlatformUpdates": {
- "description": "Indicates whether VMAgent Platform Updates is enabled for the Linux virtual machine. Default value is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "patchSettings": {
- "description": "[Preview Feature] Specifies settings related to VM Guest Patching on Linux.",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxPatchSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionVMAgent": {
- "description": "Indicates whether virtual machine agent should be provisioned on the virtual machine. When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ssh": {
- "description": "Specifies the ssh key configuration for a Linux OS.",
- "oneOf": [
- {
- "$ref": "#/definitions/SshConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "LinuxPatchSettings": {
- "description": "Specifies settings related to VM Guest Patching on Linux.",
- "properties": {
- "assessmentMode": {
- "description": "Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine.
Possible values are:
**ImageDefault** - You control the timing of patch assessments on a virtual machine.
**AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true.",
- "oneOf": [
- {
- "enum": [
- "ImageDefault",
- "AutomaticByPlatform"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "automaticByPlatformSettings": {
- "description": "Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Linux.",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxVMGuestPatchAutomaticByPlatformSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "patchMode": {
- "description": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.
Possible values are:
**ImageDefault** - The virtual machine's default patching configuration is used.
**AutomaticByPlatform** - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true",
- "oneOf": [
- {
- "enum": [
- "ImageDefault",
- "AutomaticByPlatform"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "LinuxVMGuestPatchAutomaticByPlatformSettings": {
- "description": "Specifies additional settings to be applied when patch mode AutomaticByPlatform is selected in Linux patch settings.",
- "properties": {
- "bypassPlatformSafetyChecksOnUserSchedule": {
- "description": "Enables customer to schedule patching without accidental upgrades",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "rebootSetting": {
- "description": "Specifies the reboot setting for all AutomaticByPlatform patch installation operations.",
- "oneOf": [
- {
- "enum": [
- "Unknown",
- "IfRequired",
- "Never",
- "Always"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ManagedDiskParameters": {
- "description": "The parameters of a managed disk.",
- "properties": {
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "securityProfile": {
- "description": "Specifies the security profile for the managed disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VMDiskSecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS",
- "Premium_ZRS",
- "StandardSSD_ZRS",
- "PremiumV2_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkInterfaceReference": {
- "description": "Describes a network interface reference.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "properties": {
- "description": "Describes a network interface reference properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkInterfaceReferenceProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkInterfaceReferenceProperties": {
- "description": "Describes a network interface reference properties.",
- "properties": {
- "deleteOption": {
- "description": "Specify what happens to the network interface when the VM is deleted",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkProfile": {
- "description": "Specifies the network interfaces or the networking configuration of the virtual machine.",
- "properties": {
- "networkApiVersion": {
- "description": "specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations",
- "oneOf": [
- {
- "enum": [
- "2020-11-01"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkInterfaceConfigurations": {
- "description": "Specifies the networking configurations that will be used to create the virtual machine networking resources.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineNetworkInterfaceConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkInterfaces": {
- "description": "Specifies the list of resource Ids for the network interfaces associated with the virtual machine.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/NetworkInterfaceReference"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "OSDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine. For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The defaulting behavior is: **None for Standard storage. ReadOnly for Premium storage.**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machine should be created. Possible values are: **Attach.** This value is used when you are using a specialized disk to create the virtual machine. **FromImage.** This value is used when you are using an image to create the virtual machine. If you are using a platform image, you should also use the imageReference element described above. If you are using a marketplace image, you should also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "deleteOption": {
- "description": "Specifies whether OS Disk should be deleted or detached upon VM deletion. Possible values are: **Delete.** If this value is used, the OS disk is deleted when VM is deleted. **Detach.** If this value is used, the os disk is retained after VM is deleted. The default value is set to **Detach**. For an ephemeral OS Disk, the default value is set to **Delete**. The user cannot change the delete option for an ephemeral OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diffDiskSettings": {
- "description": "Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiffDiskSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property 'diskSizeGB' is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettings": {
- "description": "Specifies the encryption settings for the OS Disk. Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/ManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. Possible values are: **Windows,** **Linux.**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhd": {
- "description": "The virtual hard disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "OSImageNotificationProfile": {
- "properties": {
- "enable": {
- "description": "Specifies whether the OS Image Scheduled event is enabled or disabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "notBeforeTimeout": {
- "description": "Length of time a Virtual Machine being reimaged or having its OS upgraded will have to potentially approve the OS Image Scheduled Event before the event is auto approved (timed out). The configuration is specified in ISO 8601 format, and the value must be 15 minutes (PT15M)",
- "type": "string"
- }
- },
- "type": "object"
- },
- "OSProfile": {
- "description": "Specifies the operating system settings for the virtual machine. Some of the settings cannot be changed once VM is provisioned.",
- "properties": {
- "adminPassword": {
- "description": "Specifies the password of the administrator account.
**Minimum-length (Windows):** 8 characters
**Minimum-length (Linux):** 6 characters
**Max-length (Windows):** 123 characters
**Max-length (Linux):** 72 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])
**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"
For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp)
For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)",
- "type": "string"
- },
- "adminUsername": {
- "description": "Specifies the name of the administrator account.
This property cannot be updated after the VM is created.
**Windows-only restriction:** Cannot end in \".\"
**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters.",
- "type": "string"
- },
- "allowExtensionOperations": {
- "description": "Specifies whether extension operations should be allowed on the virtual machine. This may only be set to False when no extensions are present on the virtual machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "computerName": {
- "description": "Specifies the host OS name of the virtual machine. This name cannot be updated after the VM is created. **Max-length (Windows):** 15 characters. **Max-length (Linux):** 64 characters. For naming conventions and restrictions see [Azure infrastructure services implementation guidelines](https://docs.microsoft.com/azure/azure-resource-manager/management/resource-name-rules).",
- "type": "string"
- },
- "customData": {
- "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes. **Note: Do not pass any secrets or passwords in customData property.** This property cannot be updated after the VM is created. The property 'customData' is passed to the VM to be saved as a file, for more information see [Custom Data on Azure VMs](https://azure.microsoft.com/blog/custom-data-and-cloud-init-on-windows-azure/). For using cloud-init for your Linux VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init).",
- "type": "string"
- },
- "linuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine. For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros).",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "requireGuestProvisionSignal": {
- "description": "Optional property which must either be set to True or omitted.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "secrets": {
- "description": "Specifies set of certificates that should be installed onto the virtual machine. To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultSecretGroup"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "windowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/WindowsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "PatchSettings": {
- "description": "Specifies settings related to VM Guest Patching on Windows.",
- "properties": {
- "assessmentMode": {
- "description": "Specifies the mode of VM Guest patch assessment for the IaaS virtual machine.
Possible values are:
**ImageDefault** - You control the timing of patch assessments on a virtual machine.
**AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true. ",
- "oneOf": [
- {
- "enum": [
- "ImageDefault",
- "AutomaticByPlatform"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "automaticByPlatformSettings": {
- "description": "Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Windows.",
- "oneOf": [
- {
- "$ref": "#/definitions/WindowsVMGuestPatchAutomaticByPlatformSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableHotpatching": {
- "description": "Enables customers to patch their Azure VMs without requiring a reboot. For enableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode' must be set to 'AutomaticByPlatform'.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "patchMode": {
- "description": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.
Possible values are:
**Manual** - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false
**AutomaticByOS** - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true.
**AutomaticByPlatform** - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true ",
- "oneOf": [
- {
- "enum": [
- "Manual",
- "AutomaticByOS",
- "AutomaticByPlatform"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "properties": {
- "name": {
- "description": "The plan ID.",
- "type": "string"
- },
- "product": {
- "description": "Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.",
- "type": "string"
- },
- "promotionCode": {
- "description": "The promotion code.",
- "type": "string"
- },
- "publisher": {
- "description": "The publisher ID.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "PriorityMixPolicy": {
- "description": "Specifies the target splits for Spot and Regular priority VMs within a scale set with flexible orchestration mode. With this property the customer is able to specify the base number of regular priority VMs created as the VMSS flex instance scales out and the split between Spot and Regular priority VMs after this base target has been reached.",
- "properties": {
- "baseRegularPriorityCount": {
- "description": "The base number of regular priority VMs that will be created in this scale set as it scales out.",
- "oneOf": [
- {
- "minimum": 0,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "regularPriorityPercentageAboveBase": {
- "description": "The percentage of VM instances, after the base regular priority count has been reached, that are expected to use regular priority.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ProximityPlacementGroupProperties": {
- "description": "Describes the properties of a Proximity Placement Group.",
- "properties": {
- "colocationStatus": {
- "description": "Describes colocation status of the Proximity Placement Group.",
- "oneOf": [
- {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "intent": {
- "description": "Specifies the user intent of the proximity placement group.",
- "oneOf": [
- {
- "$ref": "#/definitions/ProximityPlacementGroupPropertiesIntent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroupType": {
- "description": "Specifies the type of the proximity placement group. Possible values are: **Standard** : Co-locate resources within an Azure region or Availability Zone. **Ultra** : For future use.",
- "oneOf": [
- {
- "enum": [
- "Standard",
- "Ultra"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ProximityPlacementGroupPropertiesIntent": {
- "description": "Specifies the user intent of the proximity placement group.",
- "properties": {
- "vmSizes": {
- "description": "Specifies possible sizes of virtual machines that can be created in the proximity placement group.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "PublicIPAddressSku": {
- "description": "Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible.",
- "properties": {
- "name": {
- "description": "Specify public IP sku name",
- "oneOf": [
- {
- "enum": [
- "Basic",
- "Standard"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tier": {
- "description": "Specify public IP sku tier",
- "oneOf": [
- {
- "enum": [
- "Regional",
- "Global"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RestorePointCollectionProperties": {
- "description": "The restore point collection properties.",
- "properties": {
- "source": {
- "description": "The properties of the source resource that this restore point collection is created from.",
- "oneOf": [
- {
- "$ref": "#/definitions/RestorePointCollectionSourceProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RestorePointCollectionSourceProperties": {
- "description": "The properties of the source resource that this restore point collection is created from.",
- "properties": {
- "id": {
- "description": "Resource Id of the source resource used to create this restore point collection",
- "type": "string"
- }
- },
- "type": "object"
- },
- "RestorePointEncryption": {
- "description": "Encryption at rest settings for disk restore point. It is an optional property that can be specified in the input while creating a restore point.",
- "properties": {
- "diskEncryptionSet": {
- "description": "Describes the parameter of customer managed disk encryption set resource id that can be specified for disk. **Note:** The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "The type of key used to encrypt the data of the disk restore point.",
- "oneOf": [
- {
- "enum": [
- "EncryptionAtRestWithPlatformKey",
- "EncryptionAtRestWithCustomerKey",
- "EncryptionAtRestWithPlatformAndCustomerKeys"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RestorePointProperties": {
- "description": "The restore point properties.",
- "properties": {
- "consistencyMode": {
- "description": "ConsistencyMode of the RestorePoint. Can be specified in the input while creating a restore point. For now, only CrashConsistent is accepted as a valid input. Please refer to https://aka.ms/RestorePoints for more details.",
- "oneOf": [
- {
- "enum": [
- "CrashConsistent",
- "FileSystemConsistent",
- "ApplicationConsistent"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "excludeDisks": {
- "description": "List of disk resource ids that the customer wishes to exclude from the restore point. If no disks are specified, all disks will be included.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/ApiEntityReference"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sourceMetadata": {
- "description": "Gets the details of the VM captured at the time of the restore point creation.",
- "oneOf": [
- {
- "$ref": "#/definitions/RestorePointSourceMetadata"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sourceRestorePoint": {
- "description": "Resource Id of the source restore point from which a copy needs to be created.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApiEntityReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "timeCreated": {
- "description": "Gets the creation time of the restore point.",
- "format": "date-time",
- "type": "string"
- }
- },
- "type": "object"
- },
- "RestorePointSourceMetadata": {
- "description": "Describes the properties of the Virtual Machine for which the restore point was created. The properties provided are a subset and the snapshot of the overall Virtual Machine properties captured at the time of the restore point creation.",
- "properties": {
- "storageProfile": {
- "description": "Gets the storage profile.",
- "oneOf": [
- {
- "$ref": "#/definitions/RestorePointSourceVMStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RestorePointSourceVMDataDisk": {
- "description": "Describes a data disk.",
- "properties": {
- "diskRestorePoint": {
- "description": "Contains Disk Restore Point properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskRestorePointAttributes"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "Contains the managed disk details.",
- "oneOf": [
- {
- "$ref": "#/definitions/ManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RestorePointSourceVMStorageProfile": {
- "description": "Describes the storage profile.",
- "properties": {
- "dataDisks": {
- "description": "Gets the data disks of the VM captured at the time of the restore point creation.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/RestorePointSourceVMDataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Gets the OS disk of the VM captured at the time of the restore point creation.",
- "oneOf": [
- {
- "$ref": "#/definitions/RestorePointSourceVmosDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RestorePointSourceVmosDisk": {
- "description": "Describes an Operating System disk.",
- "properties": {
- "diskRestorePoint": {
- "description": "Contains Disk Restore Point properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskRestorePointAttributes"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "Gets the managed disk details",
- "oneOf": [
- {
- "$ref": "#/definitions/ManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RollingUpgradePolicy": {
- "description": "The configuration parameters used while performing a rolling upgrade.",
- "properties": {
- "enableCrossZoneUpgrade": {
- "description": "Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxBatchInstancePercent": {
- "description": "The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 5,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxSurge": {
- "description": "Create new virtual machines to upgrade the scale set, rather than updating the existing virtual machines. Existing virtual machines will be deleted once the new virtual machines are created for each batch.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxUnhealthyInstancePercent": {
- "description": "The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 5,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxUnhealthyUpgradedInstancePercent": {
- "description": "The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "pauseTimeBetweenBatches": {
- "description": "The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format. The default value is 0 seconds (PT0S).",
- "type": "string"
- },
- "prioritizeUnhealthyInstances": {
- "description": "Upgrade all unhealthy instances in a scale set before any healthy instances.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "rollbackFailedInstancesOnPolicyBreach": {
- "description": "Rollback failed instances to previous model if the Rolling Upgrade policy is violated.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RunCommandInputParameter": {
- "description": "Describes the properties of a run command parameter.",
- "properties": {
- "name": {
- "description": "The run command parameter name.",
- "type": "string"
- },
- "value": {
- "description": "The run command parameter value.",
- "type": "string"
- }
- },
- "required": [
- "name",
- "value"
- ],
- "type": "object"
- },
- "RunCommandManagedIdentity": {
- "description": " Contains clientId or objectId (use only one, not both) of a user-assigned managed identity that has access to storage blob used in Run Command. Use an empty RunCommandManagedIdentity object in case of system-assigned identity. Make sure the Azure storage blob exists in case of scriptUri, and managed identity has been given access to blob's container with 'Storage Blob Data Reader' role assignment with scriptUri blob and 'Storage Blob Data Contributor' for Append blobs(outputBlobUri, errorBlobUri). In case of user assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged.",
- "properties": {
- "clientId": {
- "description": "Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.",
- "type": "string"
- },
- "objectId": {
- "description": "Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ScaleInPolicy": {
- "description": "Describes a scale-in policy for a virtual machine scale set.",
- "properties": {
- "forceDeletion": {
- "description": "This property allows you to specify if virtual machines chosen for removal have to be force deleted when a virtual machine scale set is being scaled-in.(Feature in Preview)",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "rules": {
- "description": "The rules to be followed when scaling-in a virtual machine scale set.
Possible values are:
**Default** When a virtual machine scale set is scaled in, the scale set will first be balanced across zones if it is a zonal scale set. Then, it will be balanced across Fault Domains as far as possible. Within each Fault Domain, the virtual machines chosen for removal will be the newest ones that are not protected from scale-in.
**OldestVM** When a virtual machine scale set is being scaled-in, the oldest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the oldest virtual machines that are not protected will be chosen for removal.
**NewestVM** When a virtual machine scale set is being scaled-in, the newest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the newest virtual machines that are not protected will be chosen for removal.
",
- "oneOf": [
- {
- "items": {
- "enum": [
- "Default",
- "OldestVM",
- "NewestVM"
- ],
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ScheduledEventsProfile": {
- "properties": {
- "osImageNotificationProfile": {
- "description": "Specifies OS Image Scheduled Event related configurations.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSImageNotificationProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "terminateNotificationProfile": {
- "description": "Specifies Terminate Scheduled Event related configurations.",
- "oneOf": [
- {
- "$ref": "#/definitions/TerminateNotificationProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SecurityPostureReference": {
- "description": "Specifies the security posture to be used for all virtual machines in the scale set. Minimum api-version: 2023-03-01",
- "properties": {
- "excludeExtensions": {
- "description": "List of virtual machine extensions to exclude when applying the Security Posture.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineExtension"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "id": {
- "description": "The security posture reference id in the form of /CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SecurityProfile": {
- "description": "Specifies the Security profile settings for the virtual machine or virtual machine scale set.",
- "properties": {
- "encryptionAtHost": {
- "description": "This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself. The default behavior is: The Encryption at host will be disabled unless this property is set to true for the resource.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityType": {
- "description": "Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings. The default behavior is: UefiSettings will not be enabled unless this property is set.",
- "oneOf": [
- {
- "enum": [
- "TrustedLaunch",
- "ConfidentialVM"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "uefiSettings": {
- "description": "Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum api-version: 2020-12-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/UefiSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ServiceArtifactReference": {
- "description": "Specifies the service artifact reference id used to set same image version for all virtual machines in the scale set when using 'latest' image version. Minimum api-version: 2022-11-01",
- "properties": {
- "id": {
- "description": "The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Sku": {
- "description": "Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name.",
- "properties": {
- "capacity": {
- "description": "Specifies the number of virtual machines in the scale set.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The sku name.",
- "type": "string"
- },
- "tier": {
- "description": "Specifies the tier of virtual machines in a scale set.
Possible Values:
**Standard**
**Basic**",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SpotRestorePolicy": {
- "description": "Specifies the Spot-Try-Restore properties for the virtual machine scale set. With this property customer can enable or disable automatic restore of the evicted Spot VMSS VM instances opportunistically based on capacity availability and pricing constraint.",
- "properties": {
- "enabled": {
- "description": "Enables the Spot-Try-Restore feature where evicted VMSS SPOT instances will be tried to be restored opportunistically based on capacity availability and pricing constraints",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "restoreTimeout": {
- "description": "Timeout value expressed as an ISO 8601 time duration after which the platform will not try to restore the VMSS SPOT instances",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SshConfiguration": {
- "description": "SSH configuration for Linux based VMs running on Azure",
- "properties": {
- "publicKeys": {
- "description": "The list of SSH public keys used to authenticate with linux based VMs.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SshPublicKey"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SshPublicKey": {
- "description": "Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed.",
- "properties": {
- "keyData": {
- "description": "SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed).",
- "type": "string"
- },
- "path": {
- "description": "Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SshPublicKeyResourceProperties": {
- "description": "Properties of the SSH public key.",
- "properties": {
- "publicKey": {
- "description": "SSH public key used to authenticate to a virtual machine through ssh. If this property is not initially provided when the resource is created, the publicKey property will be populated when generateKeyPair is called. If the public key is provided upon resource creation, the provided public key needs to be at least 2048-bit and in ssh-rsa format.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "StorageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add a data disk to a virtual machine. For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/DataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskControllerType": {
- "description": "Specifies the disk controller type configured for the VM. **Note:** This property will be set to the default disk controller type if not specified provided virtual machine is being created with 'hyperVGeneration' set to V2 based on the capabilities of the operating system disk and VM size from the the specified minimum api version. You need to deallocate the VM before updating its disk controller type unless you are updating the VM size in the VM configuration which implicitly deallocates and reallocates the VM. Minimum api-version: 2022-08-01.",
- "oneOf": [
- {
- "enum": [
- "SCSI",
- "NVMe"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine. For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "$ref": "#/definitions/OSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SubResource": {
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "TerminateNotificationProfile": {
- "properties": {
- "enable": {
- "description": "Specifies whether the Terminate Scheduled event is enabled or disabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "notBeforeTimeout": {
- "description": "Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M)",
- "type": "string"
- }
- },
- "type": "object"
- },
- "UefiSettings": {
- "description": "Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum api-version: 2020-12-01.",
- "properties": {
- "secureBootEnabled": {
- "description": "Specifies whether secure boot should be enabled on the virtual machine. Minimum api-version: 2020-12-01.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vTpmEnabled": {
- "description": "Specifies whether vTPM should be enabled on the virtual machine. Minimum api-version: 2020-12-01.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "UpgradePolicy": {
- "description": "Describes an upgrade policy - automatic, manual, or rolling.",
- "properties": {
- "automaticOSUpgradePolicy": {
- "description": "Configuration parameters used for performing automatic OS Upgrade.",
- "oneOf": [
- {
- "$ref": "#/definitions/AutomaticOSUpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "mode": {
- "description": "Specifies the mode of an upgrade to virtual machines in the scale set.
Possible values are:
**Manual** - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.
**Automatic** - All virtual machines in the scale set are automatically updated at the same time.",
- "oneOf": [
- {
- "enum": [
- "Automatic",
- "Manual",
- "Rolling"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "rollingUpgradePolicy": {
- "description": "The configuration parameters used while performing a rolling upgrade.",
- "oneOf": [
- {
- "$ref": "#/definitions/RollingUpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "UserAssignedIdentitiesValue": {
- "properties": {},
- "type": "object"
- },
- "VMDiskSecurityProfile": {
- "description": "Specifies the security profile settings for the managed disk. **Note:** It can only be set for Confidential VMs.",
- "properties": {
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed disk that is used for Customer Managed Key encrypted ConfidentialVM OS Disk and VMGuest blob.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityEncryptionType": {
- "description": "Specifies the EncryptionType of the managed disk. It is set to DiskWithVMGuestState for encryption of the managed disk along with VMGuestState blob, and VMGuestStateOnly for encryption of just the VMGuestState blob. **Note:** It can be set for only Confidential VMs.",
- "oneOf": [
- {
- "enum": [
- "VMGuestStateOnly",
- "DiskWithVMGuestState"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VMGalleryApplication": {
- "description": "Specifies the required information to reference a compute gallery application version",
- "properties": {
- "configurationReference": {
- "description": "Optional, Specifies the uri to an azure blob that will replace the default configuration for the package if provided",
- "type": "string"
- },
- "enableAutomaticUpgrade": {
- "description": "If set to true, when a new Gallery Application version is available in PIR/SIG, it will be automatically updated for the VM/VMSS",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "order": {
- "description": "Optional, Specifies the order in which the packages have to be installed",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "packageReferenceId": {
- "description": "Specifies the GalleryApplicationVersion resource id on the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version}",
- "type": "string"
- },
- "tags": {
- "description": "Optional, Specifies a passthrough value for more generic context.",
- "type": "string"
- },
- "treatFailureAsDeploymentFailure": {
- "description": "Optional, If true, any failure for any operation in the VmApplication will fail the deployment",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "packageReferenceId"
- ],
- "type": "object"
- },
- "VMSizeProperties": {
- "description": "Specifies VM Size Property settings on the virtual machine.",
- "properties": {
- "vCPUsAvailable": {
- "description": "Specifies the number of vCPUs available for the VM. When this property is not specified in the request body the default behavior is to set it to the value of vCPUs available for that VM size exposed in api response of [List all available virtual machine sizes in a region](https://docs.microsoft.com/en-us/rest/api/compute/resource-skus/list).",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vCPUsPerCore": {
- "description": "Specifies the vCPU to physical core ratio. When this property is not specified in the request body the default behavior is set to the value of vCPUsPerCore for the VM Size exposed in api response of [List all available virtual machine sizes in a region](https://docs.microsoft.com/en-us/rest/api/compute/resource-skus/list). **Setting this property to 1 also means that hyper-threading is disabled.**",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VaultCertificate": {
- "description": "Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM.",
- "properties": {
- "certificateStore": {
- "description": "For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account. For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of these files are .pem formatted.",
- "type": "string"
- },
- "certificateUrl": {
- "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:
{
\"data\":\"\",
\"dataType\":\"pfx\",
\"password\":\"\"
}
To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VaultSecretGroup": {
- "description": "Describes a set of certificates which are all in the same Key Vault.",
- "properties": {
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing all of the certificates in VaultCertificates.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vaultCertificates": {
- "description": "The list of key vault references in SourceVault which contain certificates.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultCertificate"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualHardDisk": {
- "description": "Describes the uri of a disk.",
- "properties": {
- "uri": {
- "description": "Specifies the virtual hard disk's uri.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineExtension": {
- "description": "Describes a Virtual Machine Extension.",
- "properties": {
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Extension.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineExtensionInstanceView": {
- "description": "The instance view of a virtual machine extension.",
- "properties": {
- "name": {
- "description": "The virtual machine extension name.",
- "type": "string"
- },
- "statuses": {
- "description": "The resource status information.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "substatuses": {
- "description": "The resource status information.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineExtensionProperties": {
- "description": "Describes the properties of a Virtual Machine Extension.",
- "properties": {
- "autoUpgradeMinorVersion": {
- "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticUpgrade": {
- "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "forceUpdateTag": {
- "description": "How the extension handler should be forced to update even if the extension configuration has not changed.",
- "type": "string"
- },
- "instanceView": {
- "description": "The virtual machine extension instance view.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionInstanceView"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedSettings": {
- "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedSettingsFromKeyVault": {
- "description": "The extensions protected settings that are passed by reference, and consumed from key vault",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionAfterExtensions": {
- "description": "Collection of extension names after which this extension needs to be provisioned.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publisher": {
- "description": "The name of the extension handler publisher.",
- "type": "string"
- },
- "settings": {
- "description": "Json formatted public settings for the extension.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "suppressFailures": {
- "description": "Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineIdentity": {
- "description": "Identity for the virtual machine.",
- "properties": {
- "type": {
- "description": "The type of identity used for the virtual machine. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned",
- "UserAssigned",
- "SystemAssigned, UserAssigned",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userAssignedIdentities": {
- "description": "The list of user identities associated with the Virtual Machine. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
- "oneOf": [
- {
- "additionalProperties": {
- "$ref": "#/definitions/UserAssignedIdentitiesValue"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineIpTag": {
- "description": "Contains the IP tag associated with the public IP address.",
- "properties": {
- "ipTagType": {
- "description": "IP tag type. Example: FirstPartyUsage.",
- "type": "string"
- },
- "tag": {
- "description": "IP tag associated with the public IP. Example: SQL, Storage etc.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineNetworkInterfaceConfiguration": {
- "description": "Describes a virtual machine network interface configurations.",
- "properties": {
- "name": {
- "description": "The network interface configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine network profile's IP configuration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineNetworkInterfaceConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineNetworkInterfaceConfigurationProperties": {
- "description": "Describes a virtual machine network profile's IP configuration.",
- "properties": {
- "deleteOption": {
- "description": "Specify what happens to the network interface when the VM is deleted",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "disableTcpStateTracking": {
- "description": "Specifies whether the network interface is disabled for tcp state tracking.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dnsSettings": {
- "description": "The dns settings to be applied on the network interfaces.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineNetworkInterfaceDnsSettingsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dscpConfiguration": {
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAcceleratedNetworking": {
- "description": "Specifies whether the network interface is accelerated networking-enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableFpga": {
- "description": "Specifies whether the network interface is FPGA networking-enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableIPForwarding": {
- "description": "Whether IP forwarding enabled on this NIC.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipConfigurations": {
- "description": "Specifies the IP configurations of the network interface.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineNetworkInterfaceIPConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkSecurityGroup": {
- "description": "The network security group.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "ipConfigurations"
- ],
- "type": "object"
- },
- "VirtualMachineNetworkInterfaceDnsSettingsConfiguration": {
- "description": "Describes a virtual machines network configuration's DNS settings.",
- "properties": {
- "dnsServers": {
- "description": "List of DNS servers IP addresses",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineNetworkInterfaceIPConfiguration": {
- "description": "Describes a virtual machine network profile's IP configuration.",
- "properties": {
- "name": {
- "description": "The IP configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine network interface IP configuration properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineNetworkInterfaceIPConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineNetworkInterfaceIPConfigurationProperties": {
- "description": "Describes a virtual machine network interface IP configuration properties.",
- "properties": {
- "applicationGatewayBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of application gateways. A virtual machine can reference backend address pools of multiple application gateways. Multiple virtual machines cannot use the same application gateway.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "applicationSecurityGroups": {
- "description": "Specifies an array of references to application security group.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of load balancers. A virtual machine can reference backend address pools of one public and one internal load balancer. [Multiple virtual machines cannot use the same basic sku load balancer].",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "privateIPAddressVersion": {
- "description": "Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressConfiguration": {
- "description": "The publicIPAddressConfiguration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachinePublicIPAddressConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "subnet": {
- "description": "Specifies the identifier of the subnet.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineProperties": {
- "description": "Describes the properties of a Virtual Machine.",
- "properties": {
- "additionalCapabilities": {
- "description": "Specifies additional capabilities enabled or disabled on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/AdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "applicationProfile": {
- "description": "Specifies the gallery applications that should be made available to the VM/VMSS.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApplicationProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "availabilitySet": {
- "description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Availability sets overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview). For more information on Azure planned maintenance, see [Maintenance and updates for Virtual Machines in Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates). Currently, a VM can only be added to availability set at creation time. The availability set to which the VM is being added should be under the same resource group as the availability set resource. An existing VM cannot be added to an availability set. This property cannot exist along with a non-null properties.virtualMachineScaleSet reference.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "billingProfile": {
- "description": "Specifies the billing related details of a Azure Spot virtual machine. Minimum api-version: 2019-03-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/BillingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "capacityReservation": {
- "description": "Specifies information about the capacity reservation that is used to allocate virtual machine. Minimum api-version: 2021-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/CapacityReservationProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "evictionPolicy": {
- "description": "Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set. For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01. For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview.",
- "oneOf": [
- {
- "enum": [
- "Deallocate",
- "Delete"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extensionsTimeBudget": {
- "description": "Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M). Minimum api-version: 2020-06-01.",
- "type": "string"
- },
- "hardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/HardwareProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "host": {
- "description": "Specifies information about the dedicated host that the virtual machine resides in. Minimum api-version: 2018-10-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hostGroup": {
- "description": "Specifies information about the dedicated host group that the virtual machine resides in. **Note:** User cannot specify both host and hostGroup properties. Minimum api-version: 2020-06-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises.
Possible values for Windows Server operating system are:
Windows_Client
Windows_Server
Possible values for Linux Server operating system are:
RHEL_BYOS (for RHEL)
SLES_BYOS (for SUSE)
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)
[Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings used while creating the virtual machine. Some of the settings cannot be changed once VM is provisioned.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformFaultDomain": {
- "description": "Specifies the scale set logical fault domain into which the Virtual Machine will be created. By default, the Virtual Machine will by automatically assigned to a fault domain that best maintains balance across available fault domains. This is applicable only if the 'virtualMachineScaleSet' property of this Virtual Machine is set. The Virtual Machine Scale Set that is referenced, must have 'platformFaultDomainCount' greater than 1. This property cannot be updated once the Virtual Machine is created. Fault domain assignment can be viewed in the Virtual Machine Instance View. Minimum api‐version: 2020‐12‐01.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "priority": {
- "description": "Specifies the priority for the virtual machine. Minimum api-version: 2019-03-01",
- "oneOf": [
- {
- "enum": [
- "Regular",
- "Low",
- "Spot"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the virtual machine should be assigned to. Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "scheduledEventsProfile": {
- "description": "Specifies Scheduled Event related configurations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ScheduledEventsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Specifies the Security related profile settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/SecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/StorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userData": {
- "description": "UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here. Minimum api-version: 2021-03-01.",
- "type": "string"
- },
- "virtualMachineScaleSet": {
- "description": "Specifies information about the virtual machine scale set that the virtual machine should be assigned to. Virtual machines specified in the same virtual machine scale set are allocated to different nodes to maximize availability. Currently, a VM can only be added to virtual machine scale set at creation time. An existing VM cannot be added to a virtual machine scale set. This property cannot exist along with a non-null properties.availabilitySet reference. Minimum api‐version: 2019‐03‐01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachinePublicIPAddressConfiguration": {
- "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration",
- "properties": {
- "name": {
- "description": "The publicIP address configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachinePublicIPAddressConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible.",
- "oneOf": [
- {
- "$ref": "#/definitions/PublicIPAddressSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachinePublicIPAddressConfigurationProperties": {
- "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration",
- "properties": {
- "deleteOption": {
- "description": "Specify what happens to the public IP address when the VM is deleted",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dnsSettings": {
- "description": "The dns settings to be applied on the publicIP addresses .",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachinePublicIPAddressDnsSettingsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "idleTimeoutInMinutes": {
- "description": "The idle timeout of the public IP address.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipTags": {
- "description": "The list of IP tags associated with the public IP address.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineIpTag"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressVersion": {
- "description": "Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAllocationMethod": {
- "description": "Specify the public IP allocation type",
- "oneOf": [
- {
- "enum": [
- "Dynamic",
- "Static"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPPrefix": {
- "description": "The PublicIPPrefix from which to allocate publicIP addresses.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachinePublicIPAddressDnsSettingsConfiguration": {
- "description": "Describes a virtual machines network configuration's DNS settings.",
- "properties": {
- "domainNameLabel": {
- "description": "The Domain name label prefix of the PublicIPAddress resources that will be created. The generated name label is the concatenation of the domain name label and vm network profile unique ID.",
- "type": "string"
- }
- },
- "required": [
- "domainNameLabel"
- ],
- "type": "object"
- },
- "VirtualMachineRunCommandProperties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "properties": {
- "asyncExecution": {
- "description": "Optional. If set to true, provisioning will complete as soon as the script starts and will not wait for script to complete.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "errorBlobManagedIdentity": {
- "description": "User-assigned managed identity that has access to errorBlobUri storage blob. Use an empty object in case of system-assigned identity. Make sure managed identity has been given access to blob's container with 'Storage Blob Data Contributor' role assignment. In case of user-assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged ",
- "oneOf": [
- {
- "$ref": "#/definitions/RunCommandManagedIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "errorBlobUri": {
- "description": "Specifies the Azure storage blob where script error stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer errorBlobManagedIdentity parameter.",
- "type": "string"
- },
- "outputBlobManagedIdentity": {
- "description": "User-assigned managed identity that has access to outputBlobUri storage blob. Use an empty object in case of system-assigned identity. Make sure managed identity has been given access to blob's container with 'Storage Blob Data Contributor' role assignment. In case of user-assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged ",
- "oneOf": [
- {
- "$ref": "#/definitions/RunCommandManagedIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "outputBlobUri": {
- "description": "Specifies the Azure storage blob where script output stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer outputBlobManagedIdentity parameter. ",
- "type": "string"
- },
- "parameters": {
- "description": "The parameters used by the script.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/RunCommandInputParameter"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedParameters": {
- "description": "The parameters used by the script.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/RunCommandInputParameter"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "runAsPassword": {
- "description": "Specifies the user account password on the VM when executing the run command.",
- "type": "string"
- },
- "runAsUser": {
- "description": "Specifies the user account on the VM when executing the run command.",
- "type": "string"
- },
- "source": {
- "description": "The source of the run command script.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandScriptSource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "timeoutInSeconds": {
- "description": "The timeout in seconds to execute the run command.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "treatFailureAsDeploymentFailure": {
- "description": "Optional. If set to true, any failure in the script will fail the deployment and ProvisioningState will be marked as Failed. If set to false, ProvisioningState would only reflect whether the run command was run or not by the extensions platform, it would not indicate whether script failed in case of script failures. See instance view of run command in case of script failures to see executionMessage, output, error: https://aka.ms/runcommandmanaged#get-execution-status-and-results ",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineRunCommandScriptSource": {
- "description": "Describes the script sources for run command. Use only one of script, scriptUri, commandId.",
- "properties": {
- "commandId": {
- "description": "Specifies a commandId of predefined built-in script.",
- "type": "string"
- },
- "script": {
- "description": "Specifies the script content to be executed on the VM.",
- "type": "string"
- },
- "scriptUri": {
- "description": "Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI.",
- "type": "string"
- },
- "scriptUriManagedIdentity": {
- "description": "User-assigned managed identity that has access to scriptUri in case of Azure storage blob. Use an empty object in case of system-assigned identity. Make sure the Azure storage blob exists, and managed identity has been given access to blob's container with 'Storage Blob Data Reader' role assignment. In case of user-assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged.",
- "oneOf": [
- {
- "$ref": "#/definitions/RunCommandManagedIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetDataDisk": {
- "description": "Describes a virtual machine scale set data disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The default values are: **None for Standard storage. ReadOnly for Premium storage.**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "The create option.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "deleteOption": {
- "description": "Specifies whether data disk should be deleted or detached upon VMSS Flex deletion (This feature is available for VMSS with Flexible OrchestrationMode only).
Possible values:
**Delete** If this value is used, the data disk is deleted when the VMSS Flex VM is deleted.
**Detach** If this value is used, the data disk is retained after VMSS Flex VM is deleted.
The default value is set to **Delete**.",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskIOPSReadWrite": {
- "description": "Specifies the Read-Write IOPS for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskMBpsReadWrite": {
- "description": "Specifies the bandwidth in MB per second for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property diskSizeGB is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun",
- "createOption"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetExtension": {
- "description": "Describes a Virtual Machine Scale Set Extension.",
- "properties": {
- "name": {
- "description": "The name of the extension.",
- "type": "string"
- },
- "properties": {
- "anyOf": [
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/genericExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/bgInfo"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/dscExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackup"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/chefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/dockerExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/eset"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/puppetAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/customScript"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetExtensionProfile": {
- "description": "Describes a virtual machine scale set extension profile.",
- "properties": {
- "extensions": {
- "description": "The virtual machine scale set child extension resources.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetExtension"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extensionsTimeBudget": {
- "description": "Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M). Minimum api-version: 2020-06-01.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetExtensionProperties": {
- "description": "Describes the properties of a Virtual Machine Scale Set Extension.",
- "properties": {
- "autoUpgradeMinorVersion": {
- "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticUpgrade": {
- "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "forceUpdateTag": {
- "description": "If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.",
- "type": "string"
- },
- "protectedSettings": {
- "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedSettingsFromKeyVault": {
- "description": "The extensions protected settings that are passed by reference, and consumed from key vault",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionAfterExtensions": {
- "description": "Collection of extension names after which this extension needs to be provisioned.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publisher": {
- "description": "The name of the extension handler publisher.",
- "type": "string"
- },
- "settings": {
- "description": "Json formatted public settings for the extension.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "suppressFailures": {
- "description": "Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetHardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine scale set.",
- "properties": {
- "vmSizeProperties": {
- "description": "Specifies the properties for customizing the size of the virtual machine. Minimum api-version: 2021-11-01. Please follow the instructions in [VM Customization](https://aka.ms/vmcustomization) for more details.",
- "oneOf": [
- {
- "$ref": "#/definitions/VMSizeProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIPConfiguration": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "properties": {
- "name": {
- "description": "The IP configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetIPConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetIPConfigurationProperties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration properties.",
- "properties": {
- "applicationGatewayBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of application gateways. A scale set can reference backend address pools of multiple application gateways. Multiple scale sets cannot use the same application gateway.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "applicationSecurityGroups": {
- "description": "Specifies an array of references to application security group.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of load balancers. A scale set can reference backend address pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerInboundNatPools": {
- "description": "Specifies an array of references to inbound Nat pools of the load balancers. A scale set can reference inbound nat pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "privateIPAddressVersion": {
- "description": "Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressConfiguration": {
- "description": "The publicIPAddressConfiguration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "subnet": {
- "description": "Specifies the identifier of the subnet.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApiEntityReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIdentity": {
- "description": "Identity for the virtual machine scale set.",
- "properties": {
- "type": {
- "description": "The type of identity used for the virtual machine scale set. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine scale set.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned",
- "UserAssigned",
- "SystemAssigned, UserAssigned",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userAssignedIdentities": {
- "description": "The list of user identities associated with the virtual machine scale set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
- "oneOf": [
- {
- "additionalProperties": {
- "$ref": "#/definitions/UserAssignedIdentitiesValue"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIpTag": {
- "description": "Contains the IP tag associated with the public IP address.",
- "properties": {
- "ipTagType": {
- "description": "IP tag type. Example: FirstPartyUsage.",
- "type": "string"
- },
- "tag": {
- "description": "IP tag associated with the public IP. Example: SQL, Storage etc.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetManagedDiskParameters": {
- "description": "Describes the parameters of a ScaleSet managed disk.",
- "properties": {
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Specifies the security profile for the managed disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VMDiskSecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS",
- "Premium_ZRS",
- "StandardSSD_ZRS",
- "PremiumV2_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfiguration": {
- "description": "Describes a virtual machine scale set network profile's network configurations.",
- "properties": {
- "name": {
- "description": "The network configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfigurationDnsSettings": {
- "description": "Describes a virtual machines scale sets network configuration's DNS settings.",
- "properties": {
- "dnsServers": {
- "description": "List of DNS servers IP addresses",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfigurationProperties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "properties": {
- "deleteOption": {
- "description": "Specify what happens to the network interface when the VM is deleted",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "disableTcpStateTracking": {
- "description": "Specifies whether the network interface is disabled for tcp state tracking.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dnsSettings": {
- "description": "The dns settings to be applied on the network interfaces.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationDnsSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAcceleratedNetworking": {
- "description": "Specifies whether the network interface is accelerated networking-enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableFpga": {
- "description": "Specifies whether the network interface is FPGA networking-enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableIPForwarding": {
- "description": "Whether IP forwarding enabled on this NIC.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipConfigurations": {
- "description": "Specifies the IP configurations of the network interface.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetIPConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkSecurityGroup": {
- "description": "The network security group.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "ipConfigurations"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkProfile": {
- "description": "Describes a virtual machine scale set network profile.",
- "properties": {
- "healthProbe": {
- "description": "A reference to a load balancer probe used to determine the health of an instance in the virtual machine scale set. The reference will be in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApiEntityReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkApiVersion": {
- "description": "specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations for Virtual Machine Scale Set with orchestration mode 'Flexible'",
- "oneOf": [
- {
- "enum": [
- "2020-11-01"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkInterfaceConfigurations": {
- "description": "The list of network configurations.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetOSDisk": {
- "description": "Describes a virtual machine scale set operating system disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The default values are: **None for Standard storage. ReadOnly for Premium storage.**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machines in the scale set should be created. The only allowed value is: **FromImage.** This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "deleteOption": {
- "description": "Specifies whether OS Disk should be deleted or detached upon VMSS Flex deletion (This feature is available for VMSS with Flexible OrchestrationMode only).
Possible values:
**Delete** If this value is used, the OS disk is deleted when VMSS Flex VM is deleted.
**Detach** If this value is used, the OS disk is retained after VMSS Flex VM is deleted.
The default value is set to **Delete**. For an Ephemeral OS Disk, the default value is set to **Delete**. User cannot change the delete option for Ephemeral OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diffDiskSettings": {
- "description": "Specifies the ephemeral disk Settings for the operating system disk used by the virtual machine scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiffDiskSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property 'diskSizeGB' is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "Specifies information about the unmanaged user image to base the scale set on.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. Possible values are: **Windows,** **Linux.**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhdContainers": {
- "description": "Specifies the container urls that are used to store operating system disks for the scale set.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetOSProfile": {
- "description": "Describes a virtual machine scale set OS profile.",
- "properties": {
- "adminPassword": {
- "description": "Specifies the password of the administrator account.
**Minimum-length (Windows):** 8 characters
**Minimum-length (Linux):** 6 characters
**Max-length (Windows):** 123 characters
**Max-length (Linux):** 72 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])
**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"
For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp)
For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)",
- "type": "string"
- },
- "adminUsername": {
- "description": "Specifies the name of the administrator account.
**Windows-only restriction:** Cannot end in \".\"
**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters",
- "type": "string"
- },
- "allowExtensionOperations": {
- "description": "Specifies whether extension operations should be allowed on the virtual machine scale set. This may only be set to False when no extensions are present on the virtual machine scale set.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "computerNamePrefix": {
- "description": "Specifies the computer name prefix for all of the virtual machines in the scale set. Computer name prefixes must be 1 to 15 characters long.",
- "type": "string"
- },
- "customData": {
- "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes. For using cloud-init for your VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init)",
- "type": "string"
- },
- "linuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine. For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros).",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "requireGuestProvisionSignal": {
- "description": "Optional property which must either be set to True or omitted.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "secrets": {
- "description": "Specifies set of certificates that should be installed onto the virtual machines in the scale set. To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultSecretGroup"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "windowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/WindowsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetProperties": {
- "description": "Describes the properties of a Virtual Machine Scale Set.",
- "properties": {
- "additionalCapabilities": {
- "description": "Specifies additional capabilities enabled or disabled on the Virtual Machines in the Virtual Machine Scale Set. For instance: whether the Virtual Machines have the capability to support attaching managed data disks with UltraSSD_LRS storage account type.",
- "oneOf": [
- {
- "$ref": "#/definitions/AdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "automaticRepairsPolicy": {
- "description": "Policy for automatic repairs.",
- "oneOf": [
- {
- "$ref": "#/definitions/AutomaticRepairsPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "constrainedMaximumCapacity": {
- "description": "Optional property which must either be set to True or omitted.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "doNotRunExtensionsOnOverprovisionedVMs": {
- "description": "When Overprovision is enabled, extensions are launched only on the requested number of VMs which are finally kept. This property will hence ensure that the extensions do not run on the extra overprovisioned VMs.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hostGroup": {
- "description": "Specifies information about the dedicated host group that the virtual machine scale set resides in. Minimum api-version: 2020-06-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "orchestrationMode": {
- "description": "Specifies the orchestration mode for the virtual machine scale set.",
- "oneOf": [
- {
- "enum": [
- "Uniform",
- "Flexible"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "overprovision": {
- "description": "Specifies whether the Virtual Machine Scale Set should be overprovisioned.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformFaultDomainCount": {
- "description": "Fault Domain count for each placement group.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "priorityMixPolicy": {
- "description": "Specifies the desired targets for mixing Spot and Regular priority VMs within the same VMSS Flex instance.",
- "oneOf": [
- {
- "$ref": "#/definitions/PriorityMixPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the virtual machine scale set should be assigned to. Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "scaleInPolicy": {
- "description": "Specifies the policies applied when scaling in Virtual Machines in the Virtual Machine Scale Set.",
- "oneOf": [
- {
- "$ref": "#/definitions/ScaleInPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "singlePlacementGroup": {
- "description": "When true this limits the scale set to a single placement group, of max size 100 virtual machines. NOTE: If singlePlacementGroup is true, it may be modified to false. However, if singlePlacementGroup is false, it may not be modified to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "spotRestorePolicy": {
- "description": "Specifies the Spot Restore properties for the virtual machine scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/SpotRestorePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "upgradePolicy": {
- "description": "The upgrade policy.",
- "oneOf": [
- {
- "$ref": "#/definitions/UpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "virtualMachineProfile": {
- "description": "The virtual machine profile.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "zoneBalance": {
- "description": "Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage. zoneBalance property can only be set if the zones property of the scale set contains more than one zone. If there are no zones or only one zone specified, then zoneBalance property should not be set.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfiguration": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "properties": {
- "name": {
- "description": "The publicIP address configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible.",
- "oneOf": [
- {
- "$ref": "#/definitions/PublicIPAddressSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings": {
- "description": "Describes a virtual machines scale sets network configuration's DNS settings.",
- "properties": {
- "domainNameLabel": {
- "description": "The Domain name label.The concatenation of the domain name label and vm index will be the domain name labels of the PublicIPAddress resources that will be created",
- "type": "string"
- }
- },
- "required": [
- "domainNameLabel"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfigurationProperties": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "properties": {
- "deleteOption": {
- "description": "Specify what happens to the public IP when the VM is deleted",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dnsSettings": {
- "description": "The dns settings to be applied on the publicIP addresses .",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "idleTimeoutInMinutes": {
- "description": "The idle timeout of the public IP address.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipTags": {
- "description": "The list of IP tags associated with the public IP address.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetIpTag"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressVersion": {
- "description": "Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPPrefix": {
- "description": "The PublicIPPrefix from which to allocate publicIP addresses.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetStorageProfile": {
- "description": "Describes a virtual machine scale set storage profile.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add data disks to the virtual machines in the scale set. For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetDataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskControllerType": {
- "type": "string"
- },
- "imageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machines in the scale set. For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetOSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMNetworkProfileConfiguration": {
- "description": "Describes a virtual machine scale set VM network profile.",
- "properties": {
- "networkInterfaceConfigurations": {
- "description": "The list of network configurations.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProfile": {
- "description": "Describes a virtual machine scale set virtual machine profile.",
- "properties": {
- "applicationProfile": {
- "description": "Specifies the gallery applications that should be made available to the VM/VMSS",
- "oneOf": [
- {
- "$ref": "#/definitions/ApplicationProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "billingProfile": {
- "description": "Specifies the billing related details of a Azure Spot VMSS. Minimum api-version: 2019-03-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/BillingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "capacityReservation": {
- "description": "Specifies the capacity reservation related details of a scale set. Minimum api-version: 2021-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/CapacityReservationProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "evictionPolicy": {
- "description": "Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set. For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01. For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview.",
- "oneOf": [
- {
- "enum": [
- "Deallocate",
- "Delete"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extensionProfile": {
- "description": "Specifies a collection of settings for extensions installed on virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetExtensionProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hardwareProfile": {
- "description": "Specifies the hardware profile related details of a scale set. Minimum api-version: 2021-11-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetHardwareProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises.
Possible values for Windows Server operating system are:
Windows_Client
Windows_Server
Possible values for Linux Server operating system are:
RHEL_BYOS (for RHEL)
SLES_BYOS (for SUSE)
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)
[Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies properties of the network interfaces of the virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings for the virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetOSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "priority": {
- "description": "Specifies the priority for the virtual machines in the scale set. Minimum api-version: 2017-10-30-preview.",
- "oneOf": [
- {
- "enum": [
- "Regular",
- "Low",
- "Spot"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "scheduledEventsProfile": {
- "description": "Specifies Scheduled Event related configurations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ScheduledEventsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityPostureReference": {
- "description": "Specifies the security posture to be used for all virtual machines in the scale set. Minimum api-version: 2023-03-01",
- "oneOf": [
- {
- "$ref": "#/definitions/SecurityPostureReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Specifies the Security related profile settings for the virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/SecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "serviceArtifactReference": {
- "description": "Specifies the service artifact reference id used to set same image version for all virtual machines in the scale set when using 'latest' image version. Minimum api-version: 2022-11-01",
- "oneOf": [
- {
- "$ref": "#/definitions/ServiceArtifactReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userData": {
- "description": "UserData for the virtual machines in the scale set, which must be base-64 encoded. Customer should not pass any secrets in here. Minimum api-version: 2021-03-01.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProperties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "properties": {
- "additionalCapabilities": {
- "description": "Specifies additional capabilities enabled or disabled on the virtual machine in the scale set. For instance: whether the virtual machine has the capability to support attaching managed data disks with UltraSSD_LRS storage account type.",
- "oneOf": [
- {
- "$ref": "#/definitions/AdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "availabilitySet": {
- "description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Availability sets overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview). For more information on Azure planned maintenance, see [Maintenance and updates for Virtual Machines in Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates). Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/HardwareProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises.
Possible values for Windows Server operating system are:
Windows_Client
Windows_Server
Possible values for Linux Server operating system are:
RHEL_BYOS (for RHEL)
SLES_BYOS (for SUSE)
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)
[Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkProfileConfiguration": {
- "description": "Specifies the network profile configuration of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMNetworkProfileConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectionPolicy": {
- "description": "Specifies the protection policy of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProtectionPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Specifies the Security related profile settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/SecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/StorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userData": {
- "description": "UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here.
Minimum api-version: 2021-03-01",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProtectionPolicy": {
- "description": "The protection policy of a virtual machine scale set VM.",
- "properties": {
- "protectFromScaleIn": {
- "description": "Indicates that the virtual machine scale set VM shouldn't be considered for deletion during a scale-in operation.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectFromScaleSetActions": {
- "description": "Indicates that model updates or actions (including scale-in) initiated on the virtual machine scale set should not be applied to the virtual machine scale set VM.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WinRMConfiguration": {
- "description": "Describes Windows Remote Management configuration of the VM",
- "properties": {
- "listeners": {
- "description": "The list of Windows Remote Management listeners",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/WinRMListener"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WinRMListener": {
- "description": "Describes Protocol and thumbprint of Windows Remote Management listener",
- "properties": {
- "certificateUrl": {
- "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be the Base64 encoding of the following JSON Object which is encoded in UTF-8:
{
\"data\":\"\",
\"dataType\":\"pfx\",
\"password\":\"\"
}
To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).",
- "type": "string"
- },
- "protocol": {
- "description": "Specifies the protocol of WinRM listener. Possible values are: **http,** **https.**",
- "oneOf": [
- {
- "enum": [
- "Http",
- "Https"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WindowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "properties": {
- "additionalUnattendContent": {
- "description": "Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/AdditionalUnattendContent"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticUpdates": {
- "description": "Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value is true. For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableVMAgentPlatformUpdates": {
- "description": "Indicates whether VMAgent Platform Updates is enabled for the Windows virtual machine. Default value is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "patchSettings": {
- "description": "[Preview Feature] Specifies settings related to VM Guest Patching on Windows.",
- "oneOf": [
- {
- "$ref": "#/definitions/PatchSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionVMAgent": {
- "description": "Indicates whether virtual machine agent should be provisioned on the virtual machine. When this property is not specified in the request body, it is set to true by default. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "timeZone": {
- "description": "Specifies the time zone of the virtual machine. e.g. \"Pacific Standard Time\". Possible values can be [TimeZoneInfo.Id](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.id?#System_TimeZoneInfo_Id) value from time zones returned by [TimeZoneInfo.GetSystemTimeZones](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.getsystemtimezones).",
- "type": "string"
- },
- "winRM": {
- "description": "Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.",
- "oneOf": [
- {
- "$ref": "#/definitions/WinRMConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WindowsVMGuestPatchAutomaticByPlatformSettings": {
- "description": "Specifies additional settings to be applied when patch mode AutomaticByPlatform is selected in Windows patch settings.",
- "properties": {
- "bypassPlatformSafetyChecksOnUserSchedule": {
- "description": "Enables customer to schedule patching without accidental upgrades",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "rebootSetting": {
- "description": "Specifies the reboot setting for all AutomaticByPlatform patch installation operations.",
- "oneOf": [
- {
- "enum": [
- "Unknown",
- "IfRequired",
- "Never",
- "Always"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "capacityReservationGroups_capacityReservations_childResource": {
- "description": "Microsoft.Compute/capacityReservationGroups/capacityReservations",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the capacity reservation.",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the Capacity reservation.",
- "oneOf": [
- {
- "$ref": "#/definitions/CapacityReservationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "SKU of the resource for which capacity needs be reserved. The SKU name and capacity is required to be set. Currently VM Skus with the capability called 'CapacityReservationSupported' set to true are supported. Refer to List Microsoft.Compute SKUs in a region (https://docs.microsoft.com/rest/api/compute/resourceskus/list) for supported values.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "capacityReservations"
- ],
- "type": "string"
- },
- "zones": {
- "description": "Availability Zone to use for this capacity reservation. The zone has to be single value and also should be part for the list of zones specified during the capacity reservation group creation. The zone can be assigned only during creation. If not provided, the reservation supports only non-zonal deployments. If provided, enforces VM/VMSS using this capacity reservation to be in same zone.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "hostGroups_hosts_childResource": {
- "description": "Microsoft.Compute/hostGroups/hosts",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the dedicated host .",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the dedicated host.",
- "oneOf": [
- {
- "$ref": "#/definitions/DedicatedHostProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be set. List Microsoft.Compute SKUs for a list of possible values.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "hosts"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "restorePointCollections_restorePoints_childResource": {
- "description": "Microsoft.Compute/restorePointCollections/restorePoints",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-03-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the restore point.",
- "type": "string"
- },
- "properties": {
- "description": "The restore point properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/RestorePointProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "restorePoints"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-03-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the VM scale set extension.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Scale Set Extension.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetExtensionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-03-01"
- ],
- "type": "string"
- },
- "identity": {
- "description": "The identity of the virtual machine, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The instance ID of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "virtualMachines"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "The location of the extension.",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine extension.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Extension.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_runCommands_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/runCommands",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine run command.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "runCommands"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachines/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine extension.",
- "type": "string"
- },
- "properties": {
- "anyOf": [
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/genericExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/bgInfo"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/dscExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackup"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/chefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/dockerExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/eset"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/puppetAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/customScript"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines_runCommands_childResource": {
- "description": "Microsoft.Compute/virtualMachines/runCommands",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-03-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine run command.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "runCommands"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- }
-}
\ No newline at end of file
diff --git a/schemas/2023-04-02/Microsoft.Compute.json b/schemas/2023-04-02/Microsoft.Compute.json
deleted file mode 100644
index c35b5c6dcc..0000000000
--- a/schemas/2023-04-02/Microsoft.Compute.json
+++ /dev/null
@@ -1,1533 +0,0 @@
-{
- "id": "https://schema.management.azure.com/schemas/2023-04-02/Microsoft.Compute.json#",
- "title": "Microsoft.Compute",
- "description": "Microsoft Compute Resource Types",
- "$schema": "http://json-schema.org/draft-04/schema#",
- "resourceDefinitions": {
- "diskAccesses": {
- "description": "Microsoft.Compute/diskAccesses",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-04-02"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location where the disk access will be created. Extended location cannot be changed.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the disk access resource that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "oneOf": [
- {
- "$ref": "#/definitions/DiskAccessProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/diskAccesses_privateEndpointConnections_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/diskAccesses"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "diskAccesses_privateEndpointConnections": {
- "description": "Microsoft.Compute/diskAccesses/privateEndpointConnections",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-04-02"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the private endpoint connection.",
- "type": "string"
- },
- "properties": {
- "description": "Resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/PrivateEndpointConnectionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/diskAccesses/privateEndpointConnections"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "diskEncryptionSets": {
- "description": "Microsoft.Compute/diskEncryptionSets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-04-02"
- ],
- "type": "string"
- },
- "identity": {
- "description": "The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSetIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the disk encryption set that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/diskEncryptionSets"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "disks": {
- "description": "Microsoft.Compute/disks",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-04-02"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location where the disk will be created. Extended location cannot be changed.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Disk resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, StandardSSD_ZRS, or PremiumV2_LRS.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/disks"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The Logical zone list for Disk.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "snapshots": {
- "description": "Microsoft.Compute/snapshots",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-04-02"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location where the snapshot will be created. Extended location cannot be changed.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The max name length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Snapshot resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/SnapshotProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot",
- "oneOf": [
- {
- "$ref": "#/definitions/SnapshotSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/snapshots"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- },
- "definitions": {
- "CopyCompletionError": {
- "description": "Indicates the error details if the background copy of a resource created via the CopyStart operation fails.",
- "properties": {
- "errorCode": {
- "description": "Indicates the error code if the background copy of a resource created via the CopyStart operation fails.",
- "oneOf": [
- {
- "enum": [
- "CopySourceNotFound"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "errorMessage": {
- "description": "Indicates the error message if the background copy of a resource created via the CopyStart operation fails.",
- "type": "string"
- }
- },
- "required": [
- "errorCode",
- "errorMessage"
- ],
- "type": "object"
- },
- "CreationData": {
- "description": "Data used when creating a disk.",
- "properties": {
- "createOption": {
- "description": "This enumerates the possible sources of a disk's creation.",
- "oneOf": [
- {
- "enum": [
- "Empty",
- "Attach",
- "FromImage",
- "Import",
- "Copy",
- "Restore",
- "Upload",
- "CopyStart",
- "ImportSecure",
- "UploadPreparedSecure",
- "CopyFromSanSnapshot"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "elasticSanResourceId": {
- "description": "Required if createOption is CopyFromSanSnapshot. This is the ARM id of the source elastic san volume snapshot.",
- "type": "string"
- },
- "galleryImageReference": {
- "description": "Required if creating from a Gallery Image. The id/sharedGalleryImageId/communityGalleryImageId of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageDiskReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Disk source information for PIR or user images.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageDiskReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "logicalSectorSize": {
- "description": "Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "performancePlus": {
- "description": "Set this flag to true to get a boost on the performance target of the disk deployed, see here on the respective performance target. This flag can only be set on disk creation time and cannot be disabled after enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityDataUri": {
- "description": "If createOption is ImportSecure, this is the URI of a blob to be imported into VM guest state.",
- "type": "string"
- },
- "sourceResourceId": {
- "description": "If createOption is Copy, this is the ARM id of the source snapshot or disk.",
- "type": "string"
- },
- "sourceUri": {
- "description": "If createOption is Import, this is the URI of a blob to be imported into a managed disk.",
- "type": "string"
- },
- "storageAccountId": {
- "description": "Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk.",
- "type": "string"
- },
- "uploadSizeBytes": {
- "description": "If createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer).",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "DiskAccessProperties": {
- "properties": {},
- "type": "object"
- },
- "DiskProperties": {
- "description": "Disk resource properties.",
- "properties": {
- "burstingEnabled": {
- "description": "Set to true to enable bursting beyond the provisioned performance target of the disk. Bursting is disabled by default. Does not apply to Ultra disks.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "completionPercent": {
- "description": "Percentage complete for the background copy when a resource is created via the CopyStart operation.",
- "oneOf": [
- {
- "type": "number"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "creationData": {
- "description": "Disk source information. CreationData information cannot be changed after the disk has been created.",
- "oneOf": [
- {
- "$ref": "#/definitions/CreationData"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dataAccessAuthMode": {
- "description": "Additional authentication requirements when exporting or uploading to a disk or snapshot.",
- "oneOf": [
- {
- "enum": [
- "AzureActiveDirectory",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskAccessId": {
- "description": "ARM id of the DiskAccess resource for using private endpoints on disks.",
- "type": "string"
- },
- "diskIOPSReadOnly": {
- "description": "The total number of IOPS that will be allowed across all VMs mounting the shared disk as ReadOnly. One operation can transfer between 4k and 256k bytes.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskIOPSReadWrite": {
- "description": "The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskMBpsReadOnly": {
- "description": "The total throughput (MBps) that will be allowed across all VMs mounting the shared disk as ReadOnly. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskMBpsReadWrite": {
- "description": "The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryption": {
- "description": "Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.",
- "oneOf": [
- {
- "$ref": "#/definitions/Encryption"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettingsCollection": {
- "description": "Encryption settings collection used for Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSettingsCollection"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hyperVGeneration": {
- "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxShares": {
- "description": "The maximum number of VMs that can attach to the disk at the same time. Value greater than one indicates a disk that can be mounted on multiple VMs at the same time.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkAccessPolicy": {
- "description": "Policy for accessing the disk via network.",
- "oneOf": [
- {
- "enum": [
- "AllowAll",
- "AllowPrivate",
- "DenyAll"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "optimizedForFrequentAttach": {
- "description": "Setting this property to true improves reliability and performance of data disks that are frequently (more than 5 times a day) by detached from one virtual machine and attached to another. This property should not be set for disks that are not detached and attached frequently as it causes the disks to not align with the fault domain of the virtual machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "The Operating System type.",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicNetworkAccess": {
- "description": "Policy for controlling export on the disk.",
- "oneOf": [
- {
- "enum": [
- "Enabled",
- "Disabled"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "purchasePlan": {
- "description": "Purchase plan information for the the image from which the OS disk was created. E.g. - {name: 2019-Datacenter, publisher: MicrosoftWindowsServer, product: WindowsServer}",
- "oneOf": [
- {
- "$ref": "#/definitions/PurchasePlan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Contains the security related information for the resource.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskSecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "supportedCapabilities": {
- "description": "List of supported capabilities for the image from which the OS disk was created.",
- "oneOf": [
- {
- "$ref": "#/definitions/SupportedCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "supportsHibernation": {
- "description": "Indicates the OS on a disk supports hibernation.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tier": {
- "description": "Performance tier of the disk (e.g, P4, S10) as described here: https://azure.microsoft.com/en-us/pricing/details/managed-disks/. Does not apply to Ultra disks.",
- "type": "string"
- }
- },
- "required": [
- "creationData"
- ],
- "type": "object"
- },
- "DiskSecurityProfile": {
- "description": "Contains the security related information for the resource.",
- "properties": {
- "secureVMDiskEncryptionSetId": {
- "description": "ResourceId of the disk encryption set associated to Confidential VM supported disk encrypted with customer managed key",
- "type": "string"
- },
- "securityType": {
- "description": "Specifies the SecurityType of the VM. Applicable for OS disks only.",
- "oneOf": [
- {
- "enum": [
- "TrustedLaunch",
- "ConfidentialVM_VMGuestStateOnlyEncryptedWithPlatformKey",
- "ConfidentialVM_DiskEncryptedWithPlatformKey",
- "ConfidentialVM_DiskEncryptedWithCustomerKey"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiskSku": {
- "description": "The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, StandardSSD_ZRS, or PremiumV2_LRS.",
- "properties": {
- "name": {
- "description": "The sku name.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS",
- "Premium_ZRS",
- "StandardSSD_ZRS",
- "PremiumV2_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Encryption": {
- "description": "Encryption at rest settings for disk or snapshot",
- "properties": {
- "diskEncryptionSetId": {
- "description": "ResourceId of the disk encryption set to use for enabling encryption at rest.",
- "type": "string"
- },
- "type": {
- "description": "The type of key used to encrypt the data of the disk.",
- "oneOf": [
- {
- "enum": [
- "EncryptionAtRestWithPlatformKey",
- "EncryptionAtRestWithCustomerKey",
- "EncryptionAtRestWithPlatformAndCustomerKeys"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "EncryptionSetIdentity": {
- "description": "The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks.",
- "properties": {
- "type": {
- "description": "The type of Managed Identity used by the DiskEncryptionSet. Only SystemAssigned is supported for new creations. Disk Encryption Sets can be updated with Identity type None during migration of subscription to a new Azure Active Directory tenant; it will cause the encrypted resources to lose access to the keys.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned",
- "UserAssigned",
- "SystemAssigned, UserAssigned",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userAssignedIdentities": {
- "description": "The list of user identities associated with the disk encryption set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
- "oneOf": [
- {
- "additionalProperties": {
- "$ref": "#/definitions/UserAssignedIdentitiesValue"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "EncryptionSetProperties": {
- "properties": {
- "activeKey": {
- "description": "The key vault key which is currently used by this disk encryption set.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyForDiskEncryptionSet"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionType": {
- "description": "The type of key used to encrypt the data of the disk.",
- "oneOf": [
- {
- "enum": [
- "EncryptionAtRestWithCustomerKey",
- "EncryptionAtRestWithPlatformAndCustomerKeys",
- "ConfidentialVmEncryptedWithCustomerKey"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "federatedClientId": {
- "description": "Multi-tenant application client id to access key vault in a different tenant. Setting the value to 'None' will clear the property.",
- "type": "string"
- },
- "rotationToLatestKeyVersionEnabled": {
- "description": "Set this flag to true to enable auto-updating of this disk encryption set to the latest key version.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "EncryptionSettingsCollection": {
- "description": "Encryption settings for disk or snapshot",
- "properties": {
- "enabled": {
- "description": "Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettings": {
- "description": "A collection of encryption settings, one for each disk volume.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/EncryptionSettingsElement"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettingsVersion": {
- "description": "Describes what type of encryption is used for the disks. Once this field is set, it cannot be overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption.",
- "type": "string"
- }
- },
- "required": [
- "enabled"
- ],
- "type": "object"
- },
- "EncryptionSettingsElement": {
- "description": "Encryption settings for one disk volume.",
- "properties": {
- "diskEncryptionKey": {
- "description": "Key Vault Secret Url and vault id of the disk encryption key",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultAndSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "keyEncryptionKey": {
- "description": "Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultAndKeyReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ExtendedLocation": {
- "description": "The complex type of the extended location.",
- "properties": {
- "name": {
- "description": "The name of the extended location.",
- "type": "string"
- },
- "type": {
- "description": "The type of the extended location.",
- "oneOf": [
- {
- "enum": [
- "EdgeZone"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImageDiskReference": {
- "description": "The source image used for creating the disk.",
- "properties": {
- "communityGalleryImageId": {
- "description": "A relative uri containing a community Azure Compute Gallery image reference.",
- "type": "string"
- },
- "id": {
- "description": "A relative uri containing either a Platform Image Repository, user image, or Azure Compute Gallery image reference.",
- "type": "string"
- },
- "lun": {
- "description": "If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sharedGalleryImageId": {
- "description": "A relative uri containing a direct shared Azure Compute Gallery image reference.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "KeyForDiskEncryptionSet": {
- "description": "Key Vault Key Url to be used for server side encryption of Managed Disks and Snapshots",
- "properties": {
- "keyUrl": {
- "description": "Fully versioned Key Url pointing to a key in KeyVault. Version segment of the Url is required regardless of rotationToLatestKeyVersionEnabled value.",
- "type": "string"
- },
- "sourceVault": {
- "description": "Resource id of the KeyVault containing the key or secret. This property is optional and cannot be used if the KeyVault subscription is not the same as the Disk Encryption Set subscription.",
- "oneOf": [
- {
- "$ref": "#/definitions/SourceVault"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "keyUrl"
- ],
- "type": "object"
- },
- "KeyVaultAndKeyReference": {
- "description": "Key Vault Key Url and vault id of KeK, KeK is optional and when provided is used to unwrap the encryptionKey",
- "properties": {
- "keyUrl": {
- "description": "Url pointing to a key or secret in KeyVault",
- "type": "string"
- },
- "sourceVault": {
- "description": "Resource id of the KeyVault containing the key or secret",
- "oneOf": [
- {
- "$ref": "#/definitions/SourceVault"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "sourceVault",
- "keyUrl"
- ],
- "type": "object"
- },
- "KeyVaultAndSecretReference": {
- "description": "Key Vault Secret Url and vault id of the encryption key ",
- "properties": {
- "secretUrl": {
- "description": "Url pointing to a key or secret in KeyVault",
- "type": "string"
- },
- "sourceVault": {
- "description": "Resource id of the KeyVault containing the key or secret",
- "oneOf": [
- {
- "$ref": "#/definitions/SourceVault"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "sourceVault",
- "secretUrl"
- ],
- "type": "object"
- },
- "PrivateEndpointConnectionProperties": {
- "description": "Properties of the PrivateEndpointConnectProperties.",
- "properties": {
- "privateLinkServiceConnectionState": {
- "description": "A collection of information about the state of the connection between DiskAccess and Virtual Network.",
- "oneOf": [
- {
- "$ref": "#/definitions/PrivateLinkServiceConnectionState"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "privateLinkServiceConnectionState"
- ],
- "type": "object"
- },
- "PrivateLinkServiceConnectionState": {
- "description": "A collection of information about the state of the connection between service consumer and provider.",
- "properties": {
- "actionsRequired": {
- "description": "A message indicating if changes on the service provider require any updates on the consumer.",
- "type": "string"
- },
- "description": {
- "description": "The reason for approval/rejection of the connection.",
- "type": "string"
- },
- "status": {
- "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.",
- "oneOf": [
- {
- "enum": [
- "Pending",
- "Approved",
- "Rejected"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "PurchasePlan": {
- "description": "Used for establishing the purchase context of any 3rd Party artifact through MarketPlace.",
- "properties": {
- "name": {
- "description": "The plan ID.",
- "type": "string"
- },
- "product": {
- "description": "Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.",
- "type": "string"
- },
- "promotionCode": {
- "description": "The Offer Promotion Code.",
- "type": "string"
- },
- "publisher": {
- "description": "The publisher ID.",
- "type": "string"
- }
- },
- "required": [
- "name",
- "publisher",
- "product"
- ],
- "type": "object"
- },
- "SnapshotProperties": {
- "description": "Snapshot resource properties.",
- "properties": {
- "completionPercent": {
- "description": "Percentage complete for the background copy when a resource is created via the CopyStart operation.",
- "oneOf": [
- {
- "type": "number"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "copyCompletionError": {
- "description": "Indicates the error details if the background copy of a resource created via the CopyStart operation fails.",
- "oneOf": [
- {
- "$ref": "#/definitions/CopyCompletionError"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "creationData": {
- "description": "Disk source information. CreationData information cannot be changed after the disk has been created.",
- "oneOf": [
- {
- "$ref": "#/definitions/CreationData"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dataAccessAuthMode": {
- "description": "Additional authentication requirements when exporting or uploading to a disk or snapshot.",
- "oneOf": [
- {
- "enum": [
- "AzureActiveDirectory",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskAccessId": {
- "description": "ARM id of the DiskAccess resource for using private endpoints on disks.",
- "type": "string"
- },
- "diskSizeGB": {
- "description": "If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryption": {
- "description": "Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.",
- "oneOf": [
- {
- "$ref": "#/definitions/Encryption"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettingsCollection": {
- "description": "Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionSettingsCollection"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hyperVGeneration": {
- "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "incremental": {
- "description": "Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full snapshots and can be diffed.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkAccessPolicy": {
- "description": "Policy for accessing the disk via network.",
- "oneOf": [
- {
- "enum": [
- "AllowAll",
- "AllowPrivate",
- "DenyAll"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "The Operating System type.",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicNetworkAccess": {
- "description": "Policy for controlling export on the disk.",
- "oneOf": [
- {
- "enum": [
- "Enabled",
- "Disabled"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "purchasePlan": {
- "description": "Purchase plan information for the image from which the source disk for the snapshot was originally created.",
- "oneOf": [
- {
- "$ref": "#/definitions/PurchasePlan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Contains the security related information for the resource.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskSecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "supportedCapabilities": {
- "description": "List of supported capabilities for the image from which the source disk from the snapshot was originally created.",
- "oneOf": [
- {
- "$ref": "#/definitions/SupportedCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "supportsHibernation": {
- "description": "Indicates the OS on a snapshot supports hibernation.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "creationData"
- ],
- "type": "object"
- },
- "SnapshotSku": {
- "description": "The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot",
- "properties": {
- "name": {
- "description": "The sku name.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "Standard_ZRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SourceVault": {
- "description": "The vault id is an Azure Resource Manager Resource id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SupportedCapabilities": {
- "description": "List of supported capabilities persisted on the disk resource for VM use.",
- "properties": {
- "acceleratedNetwork": {
- "description": "True if the image from which the OS disk is created supports accelerated networking.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "architecture": {
- "description": "CPU architecture supported by an OS disk.",
- "oneOf": [
- {
- "enum": [
- "x64",
- "Arm64"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskControllerTypes": {
- "description": "The disk controllers that an OS disk supports. If set it can be SCSI or SCSI, NVME or NVME, SCSI.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "UserAssignedIdentitiesValue": {
- "properties": {},
- "type": "object"
- },
- "diskAccesses_privateEndpointConnections_childResource": {
- "description": "Microsoft.Compute/diskAccesses/privateEndpointConnections",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-04-02"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the private endpoint connection.",
- "type": "string"
- },
- "properties": {
- "description": "Resource properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/PrivateEndpointConnectionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "privateEndpointConnections"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- }
-}
\ No newline at end of file
diff --git a/schemas/2023-07-01/Microsoft.Compute.json b/schemas/2023-07-01/Microsoft.Compute.json
deleted file mode 100644
index 447e677b9c..0000000000
--- a/schemas/2023-07-01/Microsoft.Compute.json
+++ /dev/null
@@ -1,7939 +0,0 @@
-{
- "id": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.json#",
- "title": "Microsoft.Compute",
- "description": "Microsoft Compute Resource Types",
- "$schema": "http://json-schema.org/draft-04/schema#",
- "resourceDefinitions": {
- "availabilitySets": {
- "description": "Microsoft.Compute/availabilitySets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the availability set.",
- "type": "string"
- },
- "properties": {
- "description": "The instance view of a resource.",
- "oneOf": [
- {
- "$ref": "#/definitions/AvailabilitySetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "Sku of the availability set, only name is required to be set. See AvailabilitySetSkuTypes for possible set of values. Use 'Aligned' for virtual machines with managed disks and 'Classic' for virtual machines with unmanaged disks. Default value is 'Classic'.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/availabilitySets"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "capacityReservationGroups": {
- "description": "Microsoft.Compute/capacityReservationGroups",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the capacity reservation group.",
- "type": "string"
- },
- "properties": {
- "description": "capacity reservation group Properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/CapacityReservationGroupProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/capacityReservationGroups_capacityReservations_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/capacityReservationGroups"
- ],
- "type": "string"
- },
- "zones": {
- "description": "Availability Zones to use for this capacity reservation group. The zones can be assigned only during creation. If not provided, the group supports only regional resources in the region. If provided, enforces each capacity reservation in the group to be in one of the zones.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "capacityReservationGroups_capacityReservations": {
- "description": "Microsoft.Compute/capacityReservationGroups/capacityReservations",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the capacity reservation.",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the Capacity reservation.",
- "oneOf": [
- {
- "$ref": "#/definitions/CapacityReservationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "SKU of the resource for which capacity needs be reserved. The SKU name and capacity is required to be set. Currently VM Skus with the capability called 'CapacityReservationSupported' set to true are supported. Refer to List Microsoft.Compute SKUs in a region (https://docs.microsoft.com/rest/api/compute/resourceskus/list) for supported values.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/capacityReservationGroups/capacityReservations"
- ],
- "type": "string"
- },
- "zones": {
- "description": "Availability Zone to use for this capacity reservation. The zone has to be single value and also should be part for the list of zones specified during the capacity reservation group creation. The zone can be assigned only during creation. If not provided, the reservation supports only non-zonal deployments. If provided, enforces VM/VMSS using this capacity reservation to be in same zone.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "hostGroups": {
- "description": "Microsoft.Compute/hostGroups",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the dedicated host group.",
- "type": "string"
- },
- "properties": {
- "description": "Dedicated Host Group Properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/DedicatedHostGroupProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/hostGroups_hosts_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/hostGroups"
- ],
- "type": "string"
- },
- "zones": {
- "description": "Availability Zone to use for this host group. Only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "hostGroups_hosts": {
- "description": "Microsoft.Compute/hostGroups/hosts",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the dedicated host .",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the dedicated host.",
- "oneOf": [
- {
- "$ref": "#/definitions/DedicatedHostProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be set. List Microsoft.Compute SKUs for a list of possible values.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/hostGroups/hosts"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "images": {
- "description": "Microsoft.Compute/images",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-07-01"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location of the Image.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the image.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of an Image.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/images"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "proximityPlacementGroups": {
- "description": "Microsoft.Compute/proximityPlacementGroups",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the proximity placement group.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Proximity Placement Group.",
- "oneOf": [
- {
- "$ref": "#/definitions/ProximityPlacementGroupProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/proximityPlacementGroups"
- ],
- "type": "string"
- },
- "zones": {
- "description": "Specifies the Availability Zone where virtual machine, virtual machine scale set or availability set associated with the proximity placement group can be created.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "restorePointCollections": {
- "description": "Microsoft.Compute/restorePointCollections",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the restore point collection.",
- "type": "string"
- },
- "properties": {
- "description": "The restore point collection properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/RestorePointCollectionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/restorePointCollections_restorePoints_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/restorePointCollections"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "restorePointCollections_restorePoints": {
- "description": "Microsoft.Compute/restorePointCollections/restorePoints",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-07-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the restore point.",
- "type": "string"
- },
- "properties": {
- "description": "The restore point properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/RestorePointProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/restorePointCollections/restorePoints"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "sshPublicKeys": {
- "description": "Microsoft.Compute/sshPublicKeys",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the SSH public key.",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the SSH public key.",
- "oneOf": [
- {
- "$ref": "#/definitions/SshPublicKeyResourceProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/sshPublicKeys"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets": {
- "description": "Microsoft.Compute/virtualMachineScaleSets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-07-01"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location of the Virtual Machine Scale Set.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "identity": {
- "description": "The identity of the virtual machine scale set, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the VM scale set to create or update.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Scale Set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachineScaleSets_extensions_childResource"
- },
- {
- "$ref": "#/definitions/virtualMachineScaleSets_virtualMachines_childResource"
- }
- ]
- },
- "type": "array"
- },
- "sku": {
- "description": "The virtual machine scale set sku.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The virtual machine scale set zones. NOTE: Availability zones can only be set when you create the scale set",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-07-01"
- ],
- "type": "string"
- },
- "identity": {
- "description": "The identity of the virtual machine, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The instance ID of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachineScaleSets_virtualMachines_extensions_childResource"
- },
- {
- "$ref": "#/definitions/virtualMachineScaleSets_virtualMachines_runCommands_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets/virtualMachines"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_extensions": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "The location of the extension.",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine extension.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Extension.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_runCommands": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/runCommands",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine run command.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/runCommands"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines": {
- "description": "Microsoft.Compute/virtualMachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-07-01"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location of the Virtual Machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "identity": {
- "description": "The identity of the virtual machine, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachines_extensions_childResource"
- },
- {
- "$ref": "#/definitions/virtualMachines_runCommands_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachines"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The virtual machine zones.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines_runCommands": {
- "description": "Microsoft.Compute/virtualMachines/runCommands",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine run command.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachines/runCommands"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- },
- "definitions": {
- "AdditionalCapabilities": {
- "description": "Enables or disables a capability on the virtual machine or virtual machine scale set.",
- "properties": {
- "hibernationEnabled": {
- "description": "The flag that enables or disables hibernation capability on the VM.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ultraSSDEnabled": {
- "description": "The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "AdditionalUnattendContent": {
- "description": "Specifies additional XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is applied.",
- "properties": {
- "componentName": {
- "description": "The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup.",
- "oneOf": [
- {
- "enum": [
- "Microsoft-Windows-Shell-Setup"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "content": {
- "description": "Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted.",
- "type": "string"
- },
- "passName": {
- "description": "The pass name. Currently, the only allowable value is OobeSystem.",
- "oneOf": [
- {
- "enum": [
- "OobeSystem"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "settingName": {
- "description": "Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon.",
- "oneOf": [
- {
- "enum": [
- "AutoLogon",
- "FirstLogonCommands"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ApiEntityReference": {
- "description": "The API entity reference.",
- "properties": {
- "id": {
- "description": "The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ApplicationProfile": {
- "description": "Contains the list of gallery applications that should be made available to the VM/VMSS",
- "properties": {
- "galleryApplications": {
- "description": "Specifies the gallery applications that should be made available to the VM/VMSS",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VMGalleryApplication"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "AutomaticOSUpgradePolicy": {
- "description": "The configuration parameters used for performing automatic OS upgrade.",
- "properties": {
- "disableAutomaticRollback": {
- "description": "Whether OS image rollback feature should be disabled. Default value is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticOSUpgrade": {
- "description": "Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. Default value is false. If this is set to true for Windows based scale sets, [enableAutomaticUpdates](https://docs.microsoft.com/dotnet/api/microsoft.azure.management.compute.models.windowsconfiguration.enableautomaticupdates?view=azure-dotnet) is automatically set to false and cannot be set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "useRollingUpgradePolicy": {
- "description": "Indicates whether rolling upgrade policy should be used during Auto OS Upgrade. Default value is false. Auto OS Upgrade will fallback to the default policy if no policy is defined on the VMSS.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "AutomaticRepairsPolicy": {
- "description": "Specifies the configuration parameters for automatic repairs on the virtual machine scale set.",
- "properties": {
- "enabled": {
- "description": "Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "gracePeriod": {
- "description": "The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The minimum allowed grace period is 10 minutes (PT10M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M).",
- "type": "string"
- },
- "repairAction": {
- "description": "Type of repair action (replace, restart, reimage) that will be used for repairing unhealthy virtual machines in the scale set. Default value is replace.",
- "oneOf": [
- {
- "enum": [
- "Replace",
- "Restart",
- "Reimage"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "AvailabilitySetProperties": {
- "description": "The instance view of a resource.",
- "properties": {
- "platformFaultDomainCount": {
- "description": "Fault Domain count.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformUpdateDomainCount": {
- "description": "Update Domain count.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the availability set should be assigned to. Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "virtualMachines": {
- "description": "A list of references to all virtual machines in the availability set.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "BillingProfile": {
- "description": "Specifies the billing related details of a Azure Spot VM or VMSS. Minimum api-version: 2019-03-01.",
- "properties": {
- "maxPrice": {
- "description": "Specifies the maximum price you are willing to pay for a Azure Spot VM/VMSS. This price is in US Dollars.
This price will be compared with the current Azure Spot price for the VM size. Also, the prices are compared at the time of create/update of Azure Spot VM/VMSS and the operation will only succeed if the maxPrice is greater than the current Azure Spot price.
The maxPrice will also be used for evicting a Azure Spot VM/VMSS if the current Azure Spot price goes beyond the maxPrice after creation of VM/VMSS.
Possible values are:
- Any decimal value greater than zero. Example: 0.01538
-1 – indicates default price to be up-to on-demand.
You can set the maxPrice to -1 to indicate that the Azure Spot VM/VMSS should not be evicted for price reasons. Also, the default max price is -1 if it is not provided by you.
Minimum api-version: 2019-03-01.",
- "oneOf": [
- {
- "type": "number"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "BootDiagnostics": {
- "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. You can easily view the output of your console log. Azure also enables you to see a screenshot of the VM from the hypervisor.",
- "properties": {
- "enabled": {
- "description": "Whether boot diagnostics should be enabled on the Virtual Machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageUri": {
- "description": "Uri of the storage account to use for placing the console output and screenshot. If storageUri is not specified while enabling boot diagnostics, managed storage will be used.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "CapacityReservationGroupProperties": {
- "description": "capacity reservation group Properties.",
- "properties": {},
- "type": "object"
- },
- "CapacityReservationProfile": {
- "description": "The parameters of a capacity reservation Profile.",
- "properties": {
- "capacityReservationGroup": {
- "description": "Specifies the capacity reservation group resource id that should be used for allocating the virtual machine or scaleset vm instances provided enough capacity has been reserved. Please refer to https://aka.ms/CapacityReservation for more details.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "CapacityReservationProperties": {
- "description": "Properties of the Capacity reservation.",
- "properties": {},
- "type": "object"
- },
- "DataDisk": {
- "description": "Describes a data disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The defaulting behavior is: **None for Standard storage. ReadOnly for Premium storage.**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machine should be created. Possible values are: **Attach.** This value is used when you are using a specialized disk to create the virtual machine. **FromImage.** This value is used when you are using an image to create the virtual machine. If you are using a platform image, you should also use the imageReference element described above. If you are using a marketplace image, you should also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "deleteOption": {
- "description": "Specifies whether data disk should be deleted or detached upon VM deletion. Possible values are: **Delete.** If this value is used, the data disk is deleted when VM is deleted. **Detach.** If this value is used, the data disk is retained after VM is deleted. The default value is set to **Detach**.",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "detachOption": {
- "description": "Specifies the detach behavior to be used while detaching a disk or which is already in the process of detachment from the virtual machine. Supported values: **ForceDetach.** detachOption: **ForceDetach** is applicable only for managed data disks. If a previous detachment attempt of the data disk did not complete due to an unexpected failure from the virtual machine and the disk is still not released then use force-detach as a last resort option to detach the disk forcibly from the VM. All writes might not have been flushed when using this detach behavior. **This feature is still in preview** mode and is not supported for VirtualMachineScaleSet. To force-detach a data disk update toBeDetached to 'true' along with setting detachOption: 'ForceDetach'.",
- "oneOf": [
- {
- "enum": [
- "ForceDetach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property 'diskSizeGB' is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/ManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "toBeDetached": {
- "description": "Specifies whether the data disk is in process of detachment from the VirtualMachine/VirtualMachineScaleset",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhd": {
- "description": "The virtual hard disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun",
- "createOption"
- ],
- "type": "object"
- },
- "DedicatedHostGroupProperties": {
- "description": "Dedicated Host Group Properties.",
- "properties": {
- "additionalCapabilities": {
- "description": "Enables or disables a capability on the dedicated host group. Minimum api-version: 2022-03-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/DedicatedHostGroupPropertiesAdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformFaultDomainCount": {
- "description": "Number of fault domains that the host group can span.",
- "oneOf": [
- {
- "minimum": 1,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "supportAutomaticPlacement": {
- "description": "Specifies whether virtual machines or virtual machine scale sets can be placed automatically on the dedicated host group. Automatic placement means resources are allocated on dedicated hosts, that are chosen by Azure, under the dedicated host group. The value is defaulted to 'false' when not provided. Minimum api-version: 2020-06-01.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "platformFaultDomainCount"
- ],
- "type": "object"
- },
- "DedicatedHostGroupPropertiesAdditionalCapabilities": {
- "description": "Enables or disables a capability on the dedicated host group. Minimum api-version: 2022-03-01.",
- "properties": {
- "ultraSSDEnabled": {
- "description": "The flag that enables or disables a capability to have UltraSSD Enabled Virtual Machines on Dedicated Hosts of the Dedicated Host Group. For the Virtual Machines to be UltraSSD Enabled, UltraSSDEnabled flag for the resource needs to be set true as well. The value is defaulted to 'false' when not provided. Please refer to https://docs.microsoft.com/en-us/azure/virtual-machines/disks-enable-ultra-ssd for more details on Ultra SSD feature. **Note:** The ultraSSDEnabled setting can only be enabled for Host Groups that are created as zonal. Minimum api-version: 2022-03-01.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DedicatedHostProperties": {
- "description": "Properties of the dedicated host.",
- "properties": {
- "autoReplaceOnFailure": {
- "description": "Specifies whether the dedicated host should be replaced automatically in case of a failure. The value is defaulted to 'true' when not provided.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies the software license type that will be applied to the VMs deployed on the dedicated host. Possible values are: **None,** **Windows_Server_Hybrid,** **Windows_Server_Perpetual.** The default value is: **None.**",
- "oneOf": [
- {
- "enum": [
- "None",
- "Windows_Server_Hybrid",
- "Windows_Server_Perpetual"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformFaultDomain": {
- "description": "Fault domain of the dedicated host within a dedicated host group.",
- "oneOf": [
- {
- "minimum": 0,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15.",
- "properties": {
- "bootDiagnostics": {
- "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. **NOTE**: If storageUri is being specified then ensure that the storage account is in the same region and subscription as the VM. You can easily view the output of your console log. Azure also enables you to see a screenshot of the VM from the hypervisor.",
- "oneOf": [
- {
- "$ref": "#/definitions/BootDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiffDiskSettings": {
- "description": "Describes the parameters of ephemeral disk settings that can be specified for operating system disk. **Note:** The ephemeral disk settings can only be specified for managed disk.",
- "properties": {
- "option": {
- "description": "Specifies the ephemeral disk settings for operating system disk.",
- "oneOf": [
- {
- "enum": [
- "Local"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "placement": {
- "description": "Specifies the ephemeral disk placement for operating system disk. Possible values are: **CacheDisk,** **ResourceDisk.** The defaulting behavior is: **CacheDisk** if one is configured for the VM size otherwise **ResourceDisk** is used. Refer to the VM size documentation for Windows VM at https://docs.microsoft.com/azure/virtual-machines/windows/sizes and Linux VM at https://docs.microsoft.com/azure/virtual-machines/linux/sizes to check which VM sizes exposes a cache disk.",
- "oneOf": [
- {
- "enum": [
- "CacheDisk",
- "ResourceDisk"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiskEncryptionSetParameters": {
- "description": "Describes the parameter of customer managed disk encryption set resource id that can be specified for disk. **Note:** The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "DiskEncryptionSettings": {
- "description": "Describes a Encryption Settings for a Disk",
- "properties": {
- "diskEncryptionKey": {
- "description": "Specifies the location of the disk encryption key, which is a Key Vault Secret.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enabled": {
- "description": "Specifies whether disk encryption should be enabled on the virtual machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "keyEncryptionKey": {
- "description": "Specifies the location of the key encryption key in Key Vault.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultKeyReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiskRestorePointAttributes": {
- "description": "Disk Restore Point details.",
- "properties": {
- "encryption": {
- "description": "Encryption at rest settings for disk restore point. It is an optional property that can be specified in the input while creating a restore point.",
- "oneOf": [
- {
- "$ref": "#/definitions/RestorePointEncryption"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sourceDiskRestorePoint": {
- "description": "Resource Id of the source disk restore point.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApiEntityReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ExtendedLocation": {
- "description": "The complex type of the extended location.",
- "properties": {
- "name": {
- "description": "The name of the extended location.",
- "type": "string"
- },
- "type": {
- "description": "The type of the extended location.",
- "oneOf": [
- {
- "enum": [
- "EdgeZone"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "HardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "properties": {
- "vmSize": {
- "description": "Specifies the size of the virtual machine. The enum data type is currently deprecated and will be removed by December 23rd 2023. The recommended way to get the list of available sizes is using these APIs: [List all available virtual machine sizes in an availability set](https://docs.microsoft.com/rest/api/compute/availabilitysets/listavailablesizes), [List all available virtual machine sizes in a region]( https://docs.microsoft.com/rest/api/compute/resourceskus/list), [List all available virtual machine sizes for resizing](https://docs.microsoft.com/rest/api/compute/virtualmachines/listavailablesizes). For more information about virtual machine sizes, see [Sizes for virtual machines](https://docs.microsoft.com/azure/virtual-machines/sizes). The available VM sizes depend on region and availability set.",
- "oneOf": [
- {
- "enum": [
- "Basic_A0",
- "Basic_A1",
- "Basic_A2",
- "Basic_A3",
- "Basic_A4",
- "Standard_A0",
- "Standard_A1",
- "Standard_A2",
- "Standard_A3",
- "Standard_A4",
- "Standard_A5",
- "Standard_A6",
- "Standard_A7",
- "Standard_A8",
- "Standard_A9",
- "Standard_A10",
- "Standard_A11",
- "Standard_A1_v2",
- "Standard_A2_v2",
- "Standard_A4_v2",
- "Standard_A8_v2",
- "Standard_A2m_v2",
- "Standard_A4m_v2",
- "Standard_A8m_v2",
- "Standard_B1s",
- "Standard_B1ms",
- "Standard_B2s",
- "Standard_B2ms",
- "Standard_B4ms",
- "Standard_B8ms",
- "Standard_D1",
- "Standard_D2",
- "Standard_D3",
- "Standard_D4",
- "Standard_D11",
- "Standard_D12",
- "Standard_D13",
- "Standard_D14",
- "Standard_D1_v2",
- "Standard_D2_v2",
- "Standard_D3_v2",
- "Standard_D4_v2",
- "Standard_D5_v2",
- "Standard_D2_v3",
- "Standard_D4_v3",
- "Standard_D8_v3",
- "Standard_D16_v3",
- "Standard_D32_v3",
- "Standard_D64_v3",
- "Standard_D2s_v3",
- "Standard_D4s_v3",
- "Standard_D8s_v3",
- "Standard_D16s_v3",
- "Standard_D32s_v3",
- "Standard_D64s_v3",
- "Standard_D11_v2",
- "Standard_D12_v2",
- "Standard_D13_v2",
- "Standard_D14_v2",
- "Standard_D15_v2",
- "Standard_DS1",
- "Standard_DS2",
- "Standard_DS3",
- "Standard_DS4",
- "Standard_DS11",
- "Standard_DS12",
- "Standard_DS13",
- "Standard_DS14",
- "Standard_DS1_v2",
- "Standard_DS2_v2",
- "Standard_DS3_v2",
- "Standard_DS4_v2",
- "Standard_DS5_v2",
- "Standard_DS11_v2",
- "Standard_DS12_v2",
- "Standard_DS13_v2",
- "Standard_DS14_v2",
- "Standard_DS15_v2",
- "Standard_DS13-4_v2",
- "Standard_DS13-2_v2",
- "Standard_DS14-8_v2",
- "Standard_DS14-4_v2",
- "Standard_E2_v3",
- "Standard_E4_v3",
- "Standard_E8_v3",
- "Standard_E16_v3",
- "Standard_E32_v3",
- "Standard_E64_v3",
- "Standard_E2s_v3",
- "Standard_E4s_v3",
- "Standard_E8s_v3",
- "Standard_E16s_v3",
- "Standard_E32s_v3",
- "Standard_E64s_v3",
- "Standard_E32-16_v3",
- "Standard_E32-8s_v3",
- "Standard_E64-32s_v3",
- "Standard_E64-16s_v3",
- "Standard_F1",
- "Standard_F2",
- "Standard_F4",
- "Standard_F8",
- "Standard_F16",
- "Standard_F1s",
- "Standard_F2s",
- "Standard_F4s",
- "Standard_F8s",
- "Standard_F16s",
- "Standard_F2s_v2",
- "Standard_F4s_v2",
- "Standard_F8s_v2",
- "Standard_F16s_v2",
- "Standard_F32s_v2",
- "Standard_F64s_v2",
- "Standard_F72s_v2",
- "Standard_G1",
- "Standard_G2",
- "Standard_G3",
- "Standard_G4",
- "Standard_G5",
- "Standard_GS1",
- "Standard_GS2",
- "Standard_GS3",
- "Standard_GS4",
- "Standard_GS5",
- "Standard_GS4-8",
- "Standard_GS4-4",
- "Standard_GS5-16",
- "Standard_GS5-8",
- "Standard_H8",
- "Standard_H16",
- "Standard_H8m",
- "Standard_H16m",
- "Standard_H16r",
- "Standard_H16mr",
- "Standard_L4s",
- "Standard_L8s",
- "Standard_L16s",
- "Standard_L32s",
- "Standard_M64s",
- "Standard_M64ms",
- "Standard_M128s",
- "Standard_M128ms",
- "Standard_M64-32ms",
- "Standard_M64-16ms",
- "Standard_M128-64ms",
- "Standard_M128-32ms",
- "Standard_NC6",
- "Standard_NC12",
- "Standard_NC24",
- "Standard_NC24r",
- "Standard_NC6s_v2",
- "Standard_NC12s_v2",
- "Standard_NC24s_v2",
- "Standard_NC24rs_v2",
- "Standard_NC6s_v3",
- "Standard_NC12s_v3",
- "Standard_NC24s_v3",
- "Standard_NC24rs_v3",
- "Standard_ND6s",
- "Standard_ND12s",
- "Standard_ND24s",
- "Standard_ND24rs",
- "Standard_NV6",
- "Standard_NV12",
- "Standard_NV24"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vmSizeProperties": {
- "description": "Specifies the properties for customizing the size of the virtual machine. Minimum api-version: 2021-07-01. This feature is still in preview mode and is not supported for VirtualMachineScaleSet. Please follow the instructions in [VM Customization](https://aka.ms/vmcustomization) for more details.",
- "oneOf": [
- {
- "$ref": "#/definitions/VMSizeProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImageDataDisk": {
- "description": "Describes a data disk.",
- "properties": {
- "blobUri": {
- "description": "The Virtual Hard Disk.",
- "type": "string"
- },
- "caching": {
- "description": "Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The default values are: **None for Standard storage. ReadOnly for Premium storage.**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed image disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image. This value cannot be larger than 1023 GB.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managedDisk.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "snapshot": {
- "description": "The snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS",
- "Premium_ZRS",
- "StandardSSD_ZRS",
- "PremiumV2_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun"
- ],
- "type": "object"
- },
- "ImageOSDisk": {
- "description": "Describes an Operating System disk.",
- "properties": {
- "blobUri": {
- "description": "The Virtual Hard Disk.",
- "type": "string"
- },
- "caching": {
- "description": "Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The default values are: **None for Standard storage. ReadOnly for Premium storage.**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed image disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image. This value cannot be larger than 1023 GB.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managedDisk.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osState": {
- "description": "The OS State. For managed images, use Generalized.",
- "oneOf": [
- {
- "enum": [
- "Generalized",
- "Specialized"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from a custom image. Possible values are: **Windows,** **Linux.**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "snapshot": {
- "description": "The snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS",
- "Premium_ZRS",
- "StandardSSD_ZRS",
- "PremiumV2_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "osType",
- "osState"
- ],
- "type": "object"
- },
- "ImageProperties": {
- "description": "Describes the properties of an Image.",
- "properties": {
- "hyperVGeneration": {
- "description": "Specifies the HyperVGenerationType of the VirtualMachine created from the image. From API Version 2019-03-01 if the image source is a blob, then we need the user to specify the value, if the source is managed resource like disk or snapshot, we may require the user to specify the property if we cannot deduce it from the source managed resource.",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sourceVirtualMachine": {
- "description": "The source virtual machine from which Image is created.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. NOTE: Image reference publisher and offer can only be set when you create the scale set.",
- "properties": {
- "communityGalleryImageId": {
- "description": "Specified the community gallery image unique id for vm deployment. This can be fetched from community gallery image GET call.",
- "type": "string"
- },
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "offer": {
- "description": "Specifies the offer of the platform image or marketplace image used to create the virtual machine.",
- "type": "string"
- },
- "publisher": {
- "description": "The image publisher.",
- "type": "string"
- },
- "sharedGalleryImageId": {
- "description": "Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call.",
- "type": "string"
- },
- "sku": {
- "description": "The image SKU.",
- "type": "string"
- },
- "version": {
- "description": "Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available. Please do not use field 'version' for gallery image deployment, gallery image should always use 'id' field for deployment, to use 'latest' version of gallery image, just set '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}' in the 'id' field without version input.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ImageStorageProfile": {
- "description": "Describes a storage profile.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add a data disk to a virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/ImageDataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageOSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "zoneResilient": {
- "description": "Specifies whether an image is zone resilient or not. Default is false. Zone resilient images can be created only in regions that provide Zone Redundant Storage (ZRS).",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "InstanceViewStatus": {
- "description": "Instance view status.",
- "properties": {
- "code": {
- "description": "The status code.",
- "type": "string"
- },
- "displayStatus": {
- "description": "The short localizable label for the status.",
- "type": "string"
- },
- "level": {
- "description": "The level code.",
- "oneOf": [
- {
- "enum": [
- "Info",
- "Warning",
- "Error"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "message": {
- "description": "The detailed status message, including for alerts and error messages.",
- "type": "string"
- },
- "time": {
- "description": "The time of the status.",
- "format": "date-time",
- "type": "string"
- }
- },
- "type": "object"
- },
- "KeyVaultKeyReference": {
- "description": "Describes a reference to Key Vault Key",
- "properties": {
- "keyUrl": {
- "description": "The URL referencing a key encryption key in Key Vault.",
- "type": "string"
- },
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing the key.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "keyUrl",
- "sourceVault"
- ],
- "type": "object"
- },
- "KeyVaultSecretReference": {
- "description": "Describes a reference to Key Vault Secret",
- "properties": {
- "secretUrl": {
- "description": "The URL referencing a secret in a Key Vault.",
- "type": "string"
- },
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing the secret.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "secretUrl",
- "sourceVault"
- ],
- "type": "object"
- },
- "LinuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine. For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros).",
- "properties": {
- "disablePasswordAuthentication": {
- "description": "Specifies whether password authentication should be disabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableVMAgentPlatformUpdates": {
- "description": "Indicates whether VMAgent Platform Updates is enabled for the Linux virtual machine. Default value is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "patchSettings": {
- "description": "[Preview Feature] Specifies settings related to VM Guest Patching on Linux.",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxPatchSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionVMAgent": {
- "description": "Indicates whether virtual machine agent should be provisioned on the virtual machine. When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ssh": {
- "description": "Specifies the ssh key configuration for a Linux OS.",
- "oneOf": [
- {
- "$ref": "#/definitions/SshConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "LinuxPatchSettings": {
- "description": "Specifies settings related to VM Guest Patching on Linux.",
- "properties": {
- "assessmentMode": {
- "description": "Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine.
Possible values are:
**ImageDefault** - You control the timing of patch assessments on a virtual machine.
**AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true.",
- "oneOf": [
- {
- "enum": [
- "ImageDefault",
- "AutomaticByPlatform"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "automaticByPlatformSettings": {
- "description": "Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Linux.",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxVMGuestPatchAutomaticByPlatformSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "patchMode": {
- "description": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.
Possible values are:
**ImageDefault** - The virtual machine's default patching configuration is used.
**AutomaticByPlatform** - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true",
- "oneOf": [
- {
- "enum": [
- "ImageDefault",
- "AutomaticByPlatform"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "LinuxVMGuestPatchAutomaticByPlatformSettings": {
- "description": "Specifies additional settings to be applied when patch mode AutomaticByPlatform is selected in Linux patch settings.",
- "properties": {
- "bypassPlatformSafetyChecksOnUserSchedule": {
- "description": "Enables customer to schedule patching without accidental upgrades",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "rebootSetting": {
- "description": "Specifies the reboot setting for all AutomaticByPlatform patch installation operations.",
- "oneOf": [
- {
- "enum": [
- "Unknown",
- "IfRequired",
- "Never",
- "Always"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ManagedDiskParameters": {
- "description": "The parameters of a managed disk.",
- "properties": {
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "securityProfile": {
- "description": "Specifies the security profile for the managed disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VMDiskSecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS",
- "Premium_ZRS",
- "StandardSSD_ZRS",
- "PremiumV2_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkInterfaceReference": {
- "description": "Describes a network interface reference.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "properties": {
- "description": "Describes a network interface reference properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkInterfaceReferenceProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkInterfaceReferenceProperties": {
- "description": "Describes a network interface reference properties.",
- "properties": {
- "deleteOption": {
- "description": "Specify what happens to the network interface when the VM is deleted",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkProfile": {
- "description": "Specifies the network interfaces or the networking configuration of the virtual machine.",
- "properties": {
- "networkApiVersion": {
- "description": "specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations",
- "oneOf": [
- {
- "enum": [
- "2020-11-01"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkInterfaceConfigurations": {
- "description": "Specifies the networking configurations that will be used to create the virtual machine networking resources.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineNetworkInterfaceConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkInterfaces": {
- "description": "Specifies the list of resource Ids for the network interfaces associated with the virtual machine.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/NetworkInterfaceReference"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "OSDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine. For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The defaulting behavior is: **None for Standard storage. ReadOnly for Premium storage.**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machine should be created. Possible values are: **Attach.** This value is used when you are using a specialized disk to create the virtual machine. **FromImage.** This value is used when you are using an image to create the virtual machine. If you are using a platform image, you should also use the imageReference element described above. If you are using a marketplace image, you should also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "deleteOption": {
- "description": "Specifies whether OS Disk should be deleted or detached upon VM deletion. Possible values are: **Delete.** If this value is used, the OS disk is deleted when VM is deleted. **Detach.** If this value is used, the os disk is retained after VM is deleted. The default value is set to **Detach**. For an ephemeral OS Disk, the default value is set to **Delete**. The user cannot change the delete option for an ephemeral OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diffDiskSettings": {
- "description": "Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiffDiskSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property 'diskSizeGB' is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettings": {
- "description": "Specifies the encryption settings for the OS Disk. Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/ManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. Possible values are: **Windows,** **Linux.**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhd": {
- "description": "The virtual hard disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "OSImageNotificationProfile": {
- "properties": {
- "enable": {
- "description": "Specifies whether the OS Image Scheduled event is enabled or disabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "notBeforeTimeout": {
- "description": "Length of time a Virtual Machine being reimaged or having its OS upgraded will have to potentially approve the OS Image Scheduled Event before the event is auto approved (timed out). The configuration is specified in ISO 8601 format, and the value must be 15 minutes (PT15M)",
- "type": "string"
- }
- },
- "type": "object"
- },
- "OSProfile": {
- "description": "Specifies the operating system settings for the virtual machine. Some of the settings cannot be changed once VM is provisioned.",
- "properties": {
- "adminPassword": {
- "description": "Specifies the password of the administrator account.
**Minimum-length (Windows):** 8 characters
**Minimum-length (Linux):** 6 characters
**Max-length (Windows):** 123 characters
**Max-length (Linux):** 72 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])
**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"
For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp)
For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)",
- "type": "string"
- },
- "adminUsername": {
- "description": "Specifies the name of the administrator account.
This property cannot be updated after the VM is created.
**Windows-only restriction:** Cannot end in \".\"
**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters.",
- "type": "string"
- },
- "allowExtensionOperations": {
- "description": "Specifies whether extension operations should be allowed on the virtual machine. This may only be set to False when no extensions are present on the virtual machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "computerName": {
- "description": "Specifies the host OS name of the virtual machine. This name cannot be updated after the VM is created. **Max-length (Windows):** 15 characters. **Max-length (Linux):** 64 characters. For naming conventions and restrictions see [Azure infrastructure services implementation guidelines](https://docs.microsoft.com/azure/azure-resource-manager/management/resource-name-rules).",
- "type": "string"
- },
- "customData": {
- "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes. **Note: Do not pass any secrets or passwords in customData property.** This property cannot be updated after the VM is created. The property 'customData' is passed to the VM to be saved as a file, for more information see [Custom Data on Azure VMs](https://azure.microsoft.com/blog/custom-data-and-cloud-init-on-windows-azure/). For using cloud-init for your Linux VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init).",
- "type": "string"
- },
- "linuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine. For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros).",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "requireGuestProvisionSignal": {
- "description": "Optional property which must either be set to True or omitted.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "secrets": {
- "description": "Specifies set of certificates that should be installed onto the virtual machine. To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultSecretGroup"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "windowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/WindowsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "PatchSettings": {
- "description": "Specifies settings related to VM Guest Patching on Windows.",
- "properties": {
- "assessmentMode": {
- "description": "Specifies the mode of VM Guest patch assessment for the IaaS virtual machine.
Possible values are:
**ImageDefault** - You control the timing of patch assessments on a virtual machine.
**AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true. ",
- "oneOf": [
- {
- "enum": [
- "ImageDefault",
- "AutomaticByPlatform"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "automaticByPlatformSettings": {
- "description": "Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Windows.",
- "oneOf": [
- {
- "$ref": "#/definitions/WindowsVMGuestPatchAutomaticByPlatformSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableHotpatching": {
- "description": "Enables customers to patch their Azure VMs without requiring a reboot. For enableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode' must be set to 'AutomaticByPlatform'.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "patchMode": {
- "description": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.
Possible values are:
**Manual** - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false
**AutomaticByOS** - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true.
**AutomaticByPlatform** - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true ",
- "oneOf": [
- {
- "enum": [
- "Manual",
- "AutomaticByOS",
- "AutomaticByPlatform"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "properties": {
- "name": {
- "description": "The plan ID.",
- "type": "string"
- },
- "product": {
- "description": "Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.",
- "type": "string"
- },
- "promotionCode": {
- "description": "The promotion code.",
- "type": "string"
- },
- "publisher": {
- "description": "The publisher ID.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "PriorityMixPolicy": {
- "description": "Specifies the target splits for Spot and Regular priority VMs within a scale set with flexible orchestration mode. With this property the customer is able to specify the base number of regular priority VMs created as the VMSS flex instance scales out and the split between Spot and Regular priority VMs after this base target has been reached.",
- "properties": {
- "baseRegularPriorityCount": {
- "description": "The base number of regular priority VMs that will be created in this scale set as it scales out.",
- "oneOf": [
- {
- "minimum": 0,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "regularPriorityPercentageAboveBase": {
- "description": "The percentage of VM instances, after the base regular priority count has been reached, that are expected to use regular priority.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ProximityPlacementGroupProperties": {
- "description": "Describes the properties of a Proximity Placement Group.",
- "properties": {
- "colocationStatus": {
- "description": "Describes colocation status of the Proximity Placement Group.",
- "oneOf": [
- {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "intent": {
- "description": "Specifies the user intent of the proximity placement group.",
- "oneOf": [
- {
- "$ref": "#/definitions/ProximityPlacementGroupPropertiesIntent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroupType": {
- "description": "Specifies the type of the proximity placement group. Possible values are: **Standard** : Co-locate resources within an Azure region or Availability Zone. **Ultra** : For future use.",
- "oneOf": [
- {
- "enum": [
- "Standard",
- "Ultra"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ProximityPlacementGroupPropertiesIntent": {
- "description": "Specifies the user intent of the proximity placement group.",
- "properties": {
- "vmSizes": {
- "description": "Specifies possible sizes of virtual machines that can be created in the proximity placement group.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "PublicIPAddressSku": {
- "description": "Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible.",
- "properties": {
- "name": {
- "description": "Specify public IP sku name",
- "oneOf": [
- {
- "enum": [
- "Basic",
- "Standard"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tier": {
- "description": "Specify public IP sku tier",
- "oneOf": [
- {
- "enum": [
- "Regional",
- "Global"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RestorePointCollectionProperties": {
- "description": "The restore point collection properties.",
- "properties": {
- "source": {
- "description": "The properties of the source resource that this restore point collection is created from.",
- "oneOf": [
- {
- "$ref": "#/definitions/RestorePointCollectionSourceProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RestorePointCollectionSourceProperties": {
- "description": "The properties of the source resource that this restore point collection is created from.",
- "properties": {
- "id": {
- "description": "Resource Id of the source resource used to create this restore point collection",
- "type": "string"
- }
- },
- "type": "object"
- },
- "RestorePointEncryption": {
- "description": "Encryption at rest settings for disk restore point. It is an optional property that can be specified in the input while creating a restore point.",
- "properties": {
- "diskEncryptionSet": {
- "description": "Describes the parameter of customer managed disk encryption set resource id that can be specified for disk. **Note:** The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "The type of key used to encrypt the data of the disk restore point.",
- "oneOf": [
- {
- "enum": [
- "EncryptionAtRestWithPlatformKey",
- "EncryptionAtRestWithCustomerKey",
- "EncryptionAtRestWithPlatformAndCustomerKeys"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RestorePointProperties": {
- "description": "The restore point properties.",
- "properties": {
- "consistencyMode": {
- "description": "ConsistencyMode of the RestorePoint. Can be specified in the input while creating a restore point. For now, only CrashConsistent is accepted as a valid input. Please refer to https://aka.ms/RestorePoints for more details.",
- "oneOf": [
- {
- "enum": [
- "CrashConsistent",
- "FileSystemConsistent",
- "ApplicationConsistent"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "excludeDisks": {
- "description": "List of disk resource ids that the customer wishes to exclude from the restore point. If no disks are specified, all disks will be included.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/ApiEntityReference"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sourceMetadata": {
- "description": "Gets the details of the VM captured at the time of the restore point creation.",
- "oneOf": [
- {
- "$ref": "#/definitions/RestorePointSourceMetadata"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sourceRestorePoint": {
- "description": "Resource Id of the source restore point from which a copy needs to be created.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApiEntityReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "timeCreated": {
- "description": "Gets the creation time of the restore point.",
- "format": "date-time",
- "type": "string"
- }
- },
- "type": "object"
- },
- "RestorePointSourceMetadata": {
- "description": "Describes the properties of the Virtual Machine for which the restore point was created. The properties provided are a subset and the snapshot of the overall Virtual Machine properties captured at the time of the restore point creation.",
- "properties": {
- "storageProfile": {
- "description": "Gets the storage profile.",
- "oneOf": [
- {
- "$ref": "#/definitions/RestorePointSourceVMStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RestorePointSourceVMDataDisk": {
- "description": "Describes a data disk.",
- "properties": {
- "diskRestorePoint": {
- "description": "Contains Disk Restore Point properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskRestorePointAttributes"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "Contains the managed disk details.",
- "oneOf": [
- {
- "$ref": "#/definitions/ManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RestorePointSourceVMStorageProfile": {
- "description": "Describes the storage profile.",
- "properties": {
- "dataDisks": {
- "description": "Gets the data disks of the VM captured at the time of the restore point creation.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/RestorePointSourceVMDataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Gets the OS disk of the VM captured at the time of the restore point creation.",
- "oneOf": [
- {
- "$ref": "#/definitions/RestorePointSourceVmosDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RestorePointSourceVmosDisk": {
- "description": "Describes an Operating System disk.",
- "properties": {
- "diskRestorePoint": {
- "description": "Contains Disk Restore Point properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskRestorePointAttributes"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "Gets the managed disk details",
- "oneOf": [
- {
- "$ref": "#/definitions/ManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RollingUpgradePolicy": {
- "description": "The configuration parameters used while performing a rolling upgrade.",
- "properties": {
- "enableCrossZoneUpgrade": {
- "description": "Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxBatchInstancePercent": {
- "description": "The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 5,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxSurge": {
- "description": "Create new virtual machines to upgrade the scale set, rather than updating the existing virtual machines. Existing virtual machines will be deleted once the new virtual machines are created for each batch.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxUnhealthyInstancePercent": {
- "description": "The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 5,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxUnhealthyUpgradedInstancePercent": {
- "description": "The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "pauseTimeBetweenBatches": {
- "description": "The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format. The default value is 0 seconds (PT0S).",
- "type": "string"
- },
- "prioritizeUnhealthyInstances": {
- "description": "Upgrade all unhealthy instances in a scale set before any healthy instances.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "rollbackFailedInstancesOnPolicyBreach": {
- "description": "Rollback failed instances to previous model if the Rolling Upgrade policy is violated.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RunCommandInputParameter": {
- "description": "Describes the properties of a run command parameter.",
- "properties": {
- "name": {
- "description": "The run command parameter name.",
- "type": "string"
- },
- "value": {
- "description": "The run command parameter value.",
- "type": "string"
- }
- },
- "required": [
- "name",
- "value"
- ],
- "type": "object"
- },
- "RunCommandManagedIdentity": {
- "description": " Contains clientId or objectId (use only one, not both) of a user-assigned managed identity that has access to storage blob used in Run Command. Use an empty RunCommandManagedIdentity object in case of system-assigned identity. Make sure the Azure storage blob exists in case of scriptUri, and managed identity has been given access to blob's container with 'Storage Blob Data Reader' role assignment with scriptUri blob and 'Storage Blob Data Contributor' for Append blobs(outputBlobUri, errorBlobUri). In case of user assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged.",
- "properties": {
- "clientId": {
- "description": "Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.",
- "type": "string"
- },
- "objectId": {
- "description": "Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ScaleInPolicy": {
- "description": "Describes a scale-in policy for a virtual machine scale set.",
- "properties": {
- "forceDeletion": {
- "description": "This property allows you to specify if virtual machines chosen for removal have to be force deleted when a virtual machine scale set is being scaled-in.(Feature in Preview)",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "rules": {
- "description": "The rules to be followed when scaling-in a virtual machine scale set.
Possible values are:
**Default** When a virtual machine scale set is scaled in, the scale set will first be balanced across zones if it is a zonal scale set. Then, it will be balanced across Fault Domains as far as possible. Within each Fault Domain, the virtual machines chosen for removal will be the newest ones that are not protected from scale-in.
**OldestVM** When a virtual machine scale set is being scaled-in, the oldest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the oldest virtual machines that are not protected will be chosen for removal.
**NewestVM** When a virtual machine scale set is being scaled-in, the newest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the newest virtual machines that are not protected will be chosen for removal.
",
- "oneOf": [
- {
- "items": {
- "enum": [
- "Default",
- "OldestVM",
- "NewestVM"
- ],
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ScheduledEventsProfile": {
- "properties": {
- "osImageNotificationProfile": {
- "description": "Specifies OS Image Scheduled Event related configurations.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSImageNotificationProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "terminateNotificationProfile": {
- "description": "Specifies Terminate Scheduled Event related configurations.",
- "oneOf": [
- {
- "$ref": "#/definitions/TerminateNotificationProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SecurityPostureReference": {
- "description": "Specifies the security posture to be used for all virtual machines in the scale set. Minimum api-version: 2023-03-01",
- "properties": {
- "excludeExtensions": {
- "description": "List of virtual machine extensions to exclude when applying the Security Posture.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineExtension"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "id": {
- "description": "The security posture reference id in the form of /CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SecurityProfile": {
- "description": "Specifies the Security profile settings for the virtual machine or virtual machine scale set.",
- "properties": {
- "encryptionAtHost": {
- "description": "This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself. The default behavior is: The Encryption at host will be disabled unless this property is set to true for the resource.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityType": {
- "description": "Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings. The default behavior is: UefiSettings will not be enabled unless this property is set.",
- "oneOf": [
- {
- "enum": [
- "TrustedLaunch",
- "ConfidentialVM"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "uefiSettings": {
- "description": "Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum api-version: 2020-12-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/UefiSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ServiceArtifactReference": {
- "description": "Specifies the service artifact reference id used to set same image version for all virtual machines in the scale set when using 'latest' image version. Minimum api-version: 2022-11-01",
- "properties": {
- "id": {
- "description": "The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Sku": {
- "description": "Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name.",
- "properties": {
- "capacity": {
- "description": "Specifies the number of virtual machines in the scale set.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The sku name.",
- "type": "string"
- },
- "tier": {
- "description": "Specifies the tier of virtual machines in a scale set.
Possible Values:
**Standard**
**Basic**",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SpotRestorePolicy": {
- "description": "Specifies the Spot-Try-Restore properties for the virtual machine scale set. With this property customer can enable or disable automatic restore of the evicted Spot VMSS VM instances opportunistically based on capacity availability and pricing constraint.",
- "properties": {
- "enabled": {
- "description": "Enables the Spot-Try-Restore feature where evicted VMSS SPOT instances will be tried to be restored opportunistically based on capacity availability and pricing constraints",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "restoreTimeout": {
- "description": "Timeout value expressed as an ISO 8601 time duration after which the platform will not try to restore the VMSS SPOT instances",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SshConfiguration": {
- "description": "SSH configuration for Linux based VMs running on Azure",
- "properties": {
- "publicKeys": {
- "description": "The list of SSH public keys used to authenticate with linux based VMs.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SshPublicKey"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SshPublicKey": {
- "description": "Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed.",
- "properties": {
- "keyData": {
- "description": "SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed).",
- "type": "string"
- },
- "path": {
- "description": "Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SshPublicKeyResourceProperties": {
- "description": "Properties of the SSH public key.",
- "properties": {
- "publicKey": {
- "description": "SSH public key used to authenticate to a virtual machine through ssh. If this property is not initially provided when the resource is created, the publicKey property will be populated when generateKeyPair is called. If the public key is provided upon resource creation, the provided public key needs to be at least 2048-bit and in ssh-rsa format.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "StorageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add a data disk to a virtual machine. For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/DataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskControllerType": {
- "description": "Specifies the disk controller type configured for the VM. **Note:** This property will be set to the default disk controller type if not specified provided virtual machine is being created with 'hyperVGeneration' set to V2 based on the capabilities of the operating system disk and VM size from the the specified minimum api version. You need to deallocate the VM before updating its disk controller type unless you are updating the VM size in the VM configuration which implicitly deallocates and reallocates the VM. Minimum api-version: 2022-08-01.",
- "oneOf": [
- {
- "enum": [
- "SCSI",
- "NVMe"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine. For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "$ref": "#/definitions/OSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SubResource": {
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "TerminateNotificationProfile": {
- "properties": {
- "enable": {
- "description": "Specifies whether the Terminate Scheduled event is enabled or disabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "notBeforeTimeout": {
- "description": "Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M)",
- "type": "string"
- }
- },
- "type": "object"
- },
- "UefiSettings": {
- "description": "Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum api-version: 2020-12-01.",
- "properties": {
- "secureBootEnabled": {
- "description": "Specifies whether secure boot should be enabled on the virtual machine. Minimum api-version: 2020-12-01.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vTpmEnabled": {
- "description": "Specifies whether vTPM should be enabled on the virtual machine. Minimum api-version: 2020-12-01.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "UpgradePolicy": {
- "description": "Describes an upgrade policy - automatic, manual, or rolling.",
- "properties": {
- "automaticOSUpgradePolicy": {
- "description": "Configuration parameters used for performing automatic OS Upgrade.",
- "oneOf": [
- {
- "$ref": "#/definitions/AutomaticOSUpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "mode": {
- "description": "Specifies the mode of an upgrade to virtual machines in the scale set.
Possible values are:
**Manual** - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.
**Automatic** - All virtual machines in the scale set are automatically updated at the same time.",
- "oneOf": [
- {
- "enum": [
- "Automatic",
- "Manual",
- "Rolling"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "rollingUpgradePolicy": {
- "description": "The configuration parameters used while performing a rolling upgrade.",
- "oneOf": [
- {
- "$ref": "#/definitions/RollingUpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "UserAssignedIdentitiesValue": {
- "properties": {},
- "type": "object"
- },
- "VMDiskSecurityProfile": {
- "description": "Specifies the security profile settings for the managed disk. **Note:** It can only be set for Confidential VMs.",
- "properties": {
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed disk that is used for Customer Managed Key encrypted ConfidentialVM OS Disk and VMGuest blob.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityEncryptionType": {
- "description": "Specifies the EncryptionType of the managed disk. It is set to DiskWithVMGuestState for encryption of the managed disk along with VMGuestState blob, and VMGuestStateOnly for encryption of just the VMGuestState blob. **Note:** It can be set for only Confidential VMs.",
- "oneOf": [
- {
- "enum": [
- "VMGuestStateOnly",
- "DiskWithVMGuestState"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VMGalleryApplication": {
- "description": "Specifies the required information to reference a compute gallery application version",
- "properties": {
- "configurationReference": {
- "description": "Optional, Specifies the uri to an azure blob that will replace the default configuration for the package if provided",
- "type": "string"
- },
- "enableAutomaticUpgrade": {
- "description": "If set to true, when a new Gallery Application version is available in PIR/SIG, it will be automatically updated for the VM/VMSS",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "order": {
- "description": "Optional, Specifies the order in which the packages have to be installed",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "packageReferenceId": {
- "description": "Specifies the GalleryApplicationVersion resource id on the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version}",
- "type": "string"
- },
- "tags": {
- "description": "Optional, Specifies a passthrough value for more generic context.",
- "type": "string"
- },
- "treatFailureAsDeploymentFailure": {
- "description": "Optional, If true, any failure for any operation in the VmApplication will fail the deployment",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "packageReferenceId"
- ],
- "type": "object"
- },
- "VMSizeProperties": {
- "description": "Specifies VM Size Property settings on the virtual machine.",
- "properties": {
- "vCPUsAvailable": {
- "description": "Specifies the number of vCPUs available for the VM. When this property is not specified in the request body the default behavior is to set it to the value of vCPUs available for that VM size exposed in api response of [List all available virtual machine sizes in a region](https://docs.microsoft.com/en-us/rest/api/compute/resource-skus/list).",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vCPUsPerCore": {
- "description": "Specifies the vCPU to physical core ratio. When this property is not specified in the request body the default behavior is set to the value of vCPUsPerCore for the VM Size exposed in api response of [List all available virtual machine sizes in a region](https://docs.microsoft.com/en-us/rest/api/compute/resource-skus/list). **Setting this property to 1 also means that hyper-threading is disabled.**",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VaultCertificate": {
- "description": "Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM.",
- "properties": {
- "certificateStore": {
- "description": "For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account. For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of these files are .pem formatted.",
- "type": "string"
- },
- "certificateUrl": {
- "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:
{
\"data\":\"\",
\"dataType\":\"pfx\",
\"password\":\"\"
}
To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VaultSecretGroup": {
- "description": "Describes a set of certificates which are all in the same Key Vault.",
- "properties": {
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing all of the certificates in VaultCertificates.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vaultCertificates": {
- "description": "The list of key vault references in SourceVault which contain certificates.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultCertificate"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualHardDisk": {
- "description": "Describes the uri of a disk.",
- "properties": {
- "uri": {
- "description": "Specifies the virtual hard disk's uri.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineExtension": {
- "description": "Describes a Virtual Machine Extension.",
- "properties": {
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Extension.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineExtensionInstanceView": {
- "description": "The instance view of a virtual machine extension.",
- "properties": {
- "name": {
- "description": "The virtual machine extension name.",
- "type": "string"
- },
- "statuses": {
- "description": "The resource status information.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "substatuses": {
- "description": "The resource status information.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineExtensionProperties": {
- "description": "Describes the properties of a Virtual Machine Extension.",
- "properties": {
- "autoUpgradeMinorVersion": {
- "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticUpgrade": {
- "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "forceUpdateTag": {
- "description": "How the extension handler should be forced to update even if the extension configuration has not changed.",
- "type": "string"
- },
- "instanceView": {
- "description": "The virtual machine extension instance view.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionInstanceView"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedSettings": {
- "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedSettingsFromKeyVault": {
- "description": "The extensions protected settings that are passed by reference, and consumed from key vault",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionAfterExtensions": {
- "description": "Collection of extension names after which this extension needs to be provisioned.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publisher": {
- "description": "The name of the extension handler publisher.",
- "type": "string"
- },
- "settings": {
- "description": "Json formatted public settings for the extension.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "suppressFailures": {
- "description": "Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineIdentity": {
- "description": "Identity for the virtual machine.",
- "properties": {
- "type": {
- "description": "The type of identity used for the virtual machine. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned",
- "UserAssigned",
- "SystemAssigned, UserAssigned",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userAssignedIdentities": {
- "description": "The list of user identities associated with the Virtual Machine. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
- "oneOf": [
- {
- "additionalProperties": {
- "$ref": "#/definitions/UserAssignedIdentitiesValue"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineIpTag": {
- "description": "Contains the IP tag associated with the public IP address.",
- "properties": {
- "ipTagType": {
- "description": "IP tag type. Example: FirstPartyUsage.",
- "type": "string"
- },
- "tag": {
- "description": "IP tag associated with the public IP. Example: SQL, Storage etc.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineNetworkInterfaceConfiguration": {
- "description": "Describes a virtual machine network interface configurations.",
- "properties": {
- "name": {
- "description": "The network interface configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine network profile's IP configuration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineNetworkInterfaceConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineNetworkInterfaceConfigurationProperties": {
- "description": "Describes a virtual machine network profile's IP configuration.",
- "properties": {
- "auxiliaryMode": {
- "description": "Specifies whether the Auxiliary mode is enabled for the Network Interface resource.",
- "oneOf": [
- {
- "enum": [
- "None",
- "AcceleratedConnections",
- "Floating"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "auxiliarySku": {
- "description": "Specifies whether the Auxiliary sku is enabled for the Network Interface resource.",
- "oneOf": [
- {
- "enum": [
- "None",
- "A1",
- "A2",
- "A4",
- "A8"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "deleteOption": {
- "description": "Specify what happens to the network interface when the VM is deleted",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "disableTcpStateTracking": {
- "description": "Specifies whether the network interface is disabled for tcp state tracking.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dnsSettings": {
- "description": "The dns settings to be applied on the network interfaces.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineNetworkInterfaceDnsSettingsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dscpConfiguration": {
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAcceleratedNetworking": {
- "description": "Specifies whether the network interface is accelerated networking-enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableFpga": {
- "description": "Specifies whether the network interface is FPGA networking-enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableIPForwarding": {
- "description": "Whether IP forwarding enabled on this NIC.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipConfigurations": {
- "description": "Specifies the IP configurations of the network interface.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineNetworkInterfaceIPConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkSecurityGroup": {
- "description": "The network security group.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "ipConfigurations"
- ],
- "type": "object"
- },
- "VirtualMachineNetworkInterfaceDnsSettingsConfiguration": {
- "description": "Describes a virtual machines network configuration's DNS settings.",
- "properties": {
- "dnsServers": {
- "description": "List of DNS servers IP addresses",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineNetworkInterfaceIPConfiguration": {
- "description": "Describes a virtual machine network profile's IP configuration.",
- "properties": {
- "name": {
- "description": "The IP configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine network interface IP configuration properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineNetworkInterfaceIPConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineNetworkInterfaceIPConfigurationProperties": {
- "description": "Describes a virtual machine network interface IP configuration properties.",
- "properties": {
- "applicationGatewayBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of application gateways. A virtual machine can reference backend address pools of multiple application gateways. Multiple virtual machines cannot use the same application gateway.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "applicationSecurityGroups": {
- "description": "Specifies an array of references to application security group.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of load balancers. A virtual machine can reference backend address pools of one public and one internal load balancer. [Multiple virtual machines cannot use the same basic sku load balancer].",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "privateIPAddressVersion": {
- "description": "Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressConfiguration": {
- "description": "The publicIPAddressConfiguration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachinePublicIPAddressConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "subnet": {
- "description": "Specifies the identifier of the subnet.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineProperties": {
- "description": "Describes the properties of a Virtual Machine.",
- "properties": {
- "additionalCapabilities": {
- "description": "Specifies additional capabilities enabled or disabled on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/AdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "applicationProfile": {
- "description": "Specifies the gallery applications that should be made available to the VM/VMSS.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApplicationProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "availabilitySet": {
- "description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Availability sets overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview). For more information on Azure planned maintenance, see [Maintenance and updates for Virtual Machines in Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates). Currently, a VM can only be added to availability set at creation time. The availability set to which the VM is being added should be under the same resource group as the availability set resource. An existing VM cannot be added to an availability set. This property cannot exist along with a non-null properties.virtualMachineScaleSet reference.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "billingProfile": {
- "description": "Specifies the billing related details of a Azure Spot virtual machine. Minimum api-version: 2019-03-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/BillingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "capacityReservation": {
- "description": "Specifies information about the capacity reservation that is used to allocate virtual machine. Minimum api-version: 2021-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/CapacityReservationProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "evictionPolicy": {
- "description": "Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set. For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01. For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview.",
- "oneOf": [
- {
- "enum": [
- "Deallocate",
- "Delete"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extensionsTimeBudget": {
- "description": "Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M). Minimum api-version: 2020-06-01.",
- "type": "string"
- },
- "hardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/HardwareProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "host": {
- "description": "Specifies information about the dedicated host that the virtual machine resides in. Minimum api-version: 2018-10-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hostGroup": {
- "description": "Specifies information about the dedicated host group that the virtual machine resides in. **Note:** User cannot specify both host and hostGroup properties. Minimum api-version: 2020-06-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises.
Possible values for Windows Server operating system are:
Windows_Client
Windows_Server
Possible values for Linux Server operating system are:
RHEL_BYOS (for RHEL)
SLES_BYOS (for SUSE)
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)
[Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings used while creating the virtual machine. Some of the settings cannot be changed once VM is provisioned.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformFaultDomain": {
- "description": "Specifies the scale set logical fault domain into which the Virtual Machine will be created. By default, the Virtual Machine will by automatically assigned to a fault domain that best maintains balance across available fault domains. This is applicable only if the 'virtualMachineScaleSet' property of this Virtual Machine is set. The Virtual Machine Scale Set that is referenced, must have 'platformFaultDomainCount' greater than 1. This property cannot be updated once the Virtual Machine is created. Fault domain assignment can be viewed in the Virtual Machine Instance View. Minimum api‐version: 2020‐12‐01.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "priority": {
- "description": "Specifies the priority for the virtual machine. Minimum api-version: 2019-03-01",
- "oneOf": [
- {
- "enum": [
- "Regular",
- "Low",
- "Spot"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the virtual machine should be assigned to. Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "scheduledEventsProfile": {
- "description": "Specifies Scheduled Event related configurations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ScheduledEventsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Specifies the Security related profile settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/SecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/StorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userData": {
- "description": "UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here. Minimum api-version: 2021-03-01.",
- "type": "string"
- },
- "virtualMachineScaleSet": {
- "description": "Specifies information about the virtual machine scale set that the virtual machine should be assigned to. Virtual machines specified in the same virtual machine scale set are allocated to different nodes to maximize availability. Currently, a VM can only be added to virtual machine scale set at creation time. An existing VM cannot be added to a virtual machine scale set. This property cannot exist along with a non-null properties.availabilitySet reference. Minimum api‐version: 2019‐03‐01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachinePublicIPAddressConfiguration": {
- "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration",
- "properties": {
- "name": {
- "description": "The publicIP address configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachinePublicIPAddressConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible.",
- "oneOf": [
- {
- "$ref": "#/definitions/PublicIPAddressSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachinePublicIPAddressConfigurationProperties": {
- "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration",
- "properties": {
- "deleteOption": {
- "description": "Specify what happens to the public IP address when the VM is deleted",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dnsSettings": {
- "description": "The dns settings to be applied on the publicIP addresses .",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachinePublicIPAddressDnsSettingsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "idleTimeoutInMinutes": {
- "description": "The idle timeout of the public IP address.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipTags": {
- "description": "The list of IP tags associated with the public IP address.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineIpTag"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressVersion": {
- "description": "Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAllocationMethod": {
- "description": "Specify the public IP allocation type",
- "oneOf": [
- {
- "enum": [
- "Dynamic",
- "Static"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPPrefix": {
- "description": "The PublicIPPrefix from which to allocate publicIP addresses.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachinePublicIPAddressDnsSettingsConfiguration": {
- "description": "Describes a virtual machines network configuration's DNS settings.",
- "properties": {
- "domainNameLabel": {
- "description": "The Domain name label prefix of the PublicIPAddress resources that will be created. The generated name label is the concatenation of the domain name label and vm network profile unique ID.",
- "type": "string"
- },
- "domainNameLabelScope": {
- "description": "The Domain name label scope of the PublicIPAddress resources that will be created. The generated name label is the concatenation of the hashed domain name label with policy according to the domain name label scope and vm network profile unique ID.",
- "oneOf": [
- {
- "enum": [
- "TenantReuse",
- "SubscriptionReuse",
- "ResourceGroupReuse",
- "NoReuse"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "domainNameLabel"
- ],
- "type": "object"
- },
- "VirtualMachineRunCommandProperties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "properties": {
- "asyncExecution": {
- "description": "Optional. If set to true, provisioning will complete as soon as the script starts and will not wait for script to complete.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "errorBlobManagedIdentity": {
- "description": "User-assigned managed identity that has access to errorBlobUri storage blob. Use an empty object in case of system-assigned identity. Make sure managed identity has been given access to blob's container with 'Storage Blob Data Contributor' role assignment. In case of user-assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged ",
- "oneOf": [
- {
- "$ref": "#/definitions/RunCommandManagedIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "errorBlobUri": {
- "description": "Specifies the Azure storage blob where script error stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer errorBlobManagedIdentity parameter.",
- "type": "string"
- },
- "outputBlobManagedIdentity": {
- "description": "User-assigned managed identity that has access to outputBlobUri storage blob. Use an empty object in case of system-assigned identity. Make sure managed identity has been given access to blob's container with 'Storage Blob Data Contributor' role assignment. In case of user-assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged ",
- "oneOf": [
- {
- "$ref": "#/definitions/RunCommandManagedIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "outputBlobUri": {
- "description": "Specifies the Azure storage blob where script output stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer outputBlobManagedIdentity parameter. ",
- "type": "string"
- },
- "parameters": {
- "description": "The parameters used by the script.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/RunCommandInputParameter"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedParameters": {
- "description": "The parameters used by the script.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/RunCommandInputParameter"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "runAsPassword": {
- "description": "Specifies the user account password on the VM when executing the run command.",
- "type": "string"
- },
- "runAsUser": {
- "description": "Specifies the user account on the VM when executing the run command.",
- "type": "string"
- },
- "source": {
- "description": "The source of the run command script.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandScriptSource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "timeoutInSeconds": {
- "description": "The timeout in seconds to execute the run command.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "treatFailureAsDeploymentFailure": {
- "description": "Optional. If set to true, any failure in the script will fail the deployment and ProvisioningState will be marked as Failed. If set to false, ProvisioningState would only reflect whether the run command was run or not by the extensions platform, it would not indicate whether script failed in case of script failures. See instance view of run command in case of script failures to see executionMessage, output, error: https://aka.ms/runcommandmanaged#get-execution-status-and-results ",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineRunCommandScriptSource": {
- "description": "Describes the script sources for run command. Use only one of script, scriptUri, commandId.",
- "properties": {
- "commandId": {
- "description": "Specifies a commandId of predefined built-in script.",
- "type": "string"
- },
- "script": {
- "description": "Specifies the script content to be executed on the VM.",
- "type": "string"
- },
- "scriptUri": {
- "description": "Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI.",
- "type": "string"
- },
- "scriptUriManagedIdentity": {
- "description": "User-assigned managed identity that has access to scriptUri in case of Azure storage blob. Use an empty object in case of system-assigned identity. Make sure the Azure storage blob exists, and managed identity has been given access to blob's container with 'Storage Blob Data Reader' role assignment. In case of user-assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged.",
- "oneOf": [
- {
- "$ref": "#/definitions/RunCommandManagedIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetDataDisk": {
- "description": "Describes a virtual machine scale set data disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The default values are: **None for Standard storage. ReadOnly for Premium storage.**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "The create option.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "deleteOption": {
- "description": "Specifies whether data disk should be deleted or detached upon VMSS Flex deletion (This feature is available for VMSS with Flexible OrchestrationMode only).
Possible values:
**Delete** If this value is used, the data disk is deleted when the VMSS Flex VM is deleted.
**Detach** If this value is used, the data disk is retained after VMSS Flex VM is deleted.
The default value is set to **Delete**.",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskIOPSReadWrite": {
- "description": "Specifies the Read-Write IOPS for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskMBpsReadWrite": {
- "description": "Specifies the bandwidth in MB per second for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property diskSizeGB is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun",
- "createOption"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetExtension": {
- "description": "Describes a Virtual Machine Scale Set Extension.",
- "properties": {
- "name": {
- "description": "The name of the extension.",
- "type": "string"
- },
- "properties": {
- "anyOf": [
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/genericExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/bgInfo"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/dscExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackup"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/chefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/dockerExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/eset"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/puppetAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/customScript"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetExtensionProfile": {
- "description": "Describes a virtual machine scale set extension profile.",
- "properties": {
- "extensions": {
- "description": "The virtual machine scale set child extension resources.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetExtension"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extensionsTimeBudget": {
- "description": "Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M). Minimum api-version: 2020-06-01.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetExtensionProperties": {
- "description": "Describes the properties of a Virtual Machine Scale Set Extension.",
- "properties": {
- "autoUpgradeMinorVersion": {
- "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticUpgrade": {
- "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "forceUpdateTag": {
- "description": "If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.",
- "type": "string"
- },
- "protectedSettings": {
- "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedSettingsFromKeyVault": {
- "description": "The extensions protected settings that are passed by reference, and consumed from key vault",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionAfterExtensions": {
- "description": "Collection of extension names after which this extension needs to be provisioned.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publisher": {
- "description": "The name of the extension handler publisher.",
- "type": "string"
- },
- "settings": {
- "description": "Json formatted public settings for the extension.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "suppressFailures": {
- "description": "Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetHardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine scale set.",
- "properties": {
- "vmSizeProperties": {
- "description": "Specifies the properties for customizing the size of the virtual machine. Minimum api-version: 2021-11-01. Please follow the instructions in [VM Customization](https://aka.ms/vmcustomization) for more details.",
- "oneOf": [
- {
- "$ref": "#/definitions/VMSizeProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIPConfiguration": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "properties": {
- "name": {
- "description": "The IP configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetIPConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetIPConfigurationProperties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration properties.",
- "properties": {
- "applicationGatewayBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of application gateways. A scale set can reference backend address pools of multiple application gateways. Multiple scale sets cannot use the same application gateway.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "applicationSecurityGroups": {
- "description": "Specifies an array of references to application security group.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of load balancers. A scale set can reference backend address pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerInboundNatPools": {
- "description": "Specifies an array of references to inbound Nat pools of the load balancers. A scale set can reference inbound nat pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "privateIPAddressVersion": {
- "description": "Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressConfiguration": {
- "description": "The publicIPAddressConfiguration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "subnet": {
- "description": "Specifies the identifier of the subnet.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApiEntityReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIdentity": {
- "description": "Identity for the virtual machine scale set.",
- "properties": {
- "type": {
- "description": "The type of identity used for the virtual machine scale set. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine scale set.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned",
- "UserAssigned",
- "SystemAssigned, UserAssigned",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userAssignedIdentities": {
- "description": "The list of user identities associated with the virtual machine scale set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
- "oneOf": [
- {
- "additionalProperties": {
- "$ref": "#/definitions/UserAssignedIdentitiesValue"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIpTag": {
- "description": "Contains the IP tag associated with the public IP address.",
- "properties": {
- "ipTagType": {
- "description": "IP tag type. Example: FirstPartyUsage.",
- "type": "string"
- },
- "tag": {
- "description": "IP tag associated with the public IP. Example: SQL, Storage etc.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetManagedDiskParameters": {
- "description": "Describes the parameters of a ScaleSet managed disk.",
- "properties": {
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Specifies the security profile for the managed disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VMDiskSecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS",
- "Premium_ZRS",
- "StandardSSD_ZRS",
- "PremiumV2_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfiguration": {
- "description": "Describes a virtual machine scale set network profile's network configurations.",
- "properties": {
- "name": {
- "description": "The network configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfigurationDnsSettings": {
- "description": "Describes a virtual machines scale sets network configuration's DNS settings.",
- "properties": {
- "dnsServers": {
- "description": "List of DNS servers IP addresses",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfigurationProperties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "properties": {
- "auxiliaryMode": {
- "description": "Specifies whether the Auxiliary mode is enabled for the Network Interface resource.",
- "oneOf": [
- {
- "enum": [
- "None",
- "AcceleratedConnections",
- "Floating"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "auxiliarySku": {
- "description": "Specifies whether the Auxiliary sku is enabled for the Network Interface resource.",
- "oneOf": [
- {
- "enum": [
- "None",
- "A1",
- "A2",
- "A4",
- "A8"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "deleteOption": {
- "description": "Specify what happens to the network interface when the VM is deleted",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "disableTcpStateTracking": {
- "description": "Specifies whether the network interface is disabled for tcp state tracking.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dnsSettings": {
- "description": "The dns settings to be applied on the network interfaces.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationDnsSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAcceleratedNetworking": {
- "description": "Specifies whether the network interface is accelerated networking-enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableFpga": {
- "description": "Specifies whether the network interface is FPGA networking-enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableIPForwarding": {
- "description": "Whether IP forwarding enabled on this NIC.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipConfigurations": {
- "description": "Specifies the IP configurations of the network interface.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetIPConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkSecurityGroup": {
- "description": "The network security group.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "ipConfigurations"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkProfile": {
- "description": "Describes a virtual machine scale set network profile.",
- "properties": {
- "healthProbe": {
- "description": "A reference to a load balancer probe used to determine the health of an instance in the virtual machine scale set. The reference will be in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApiEntityReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkApiVersion": {
- "description": "specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations for Virtual Machine Scale Set with orchestration mode 'Flexible'",
- "oneOf": [
- {
- "enum": [
- "2020-11-01"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkInterfaceConfigurations": {
- "description": "The list of network configurations.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetOSDisk": {
- "description": "Describes a virtual machine scale set operating system disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The default values are: **None for Standard storage. ReadOnly for Premium storage.**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machines in the scale set should be created. The only allowed value is: **FromImage.** This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "deleteOption": {
- "description": "Specifies whether OS Disk should be deleted or detached upon VMSS Flex deletion (This feature is available for VMSS with Flexible OrchestrationMode only).
Possible values:
**Delete** If this value is used, the OS disk is deleted when VMSS Flex VM is deleted.
**Detach** If this value is used, the OS disk is retained after VMSS Flex VM is deleted.
The default value is set to **Delete**. For an Ephemeral OS Disk, the default value is set to **Delete**. User cannot change the delete option for Ephemeral OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diffDiskSettings": {
- "description": "Specifies the ephemeral disk Settings for the operating system disk used by the virtual machine scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiffDiskSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property 'diskSizeGB' is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "Specifies information about the unmanaged user image to base the scale set on.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. Possible values are: **Windows,** **Linux.**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhdContainers": {
- "description": "Specifies the container urls that are used to store operating system disks for the scale set.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetOSProfile": {
- "description": "Describes a virtual machine scale set OS profile.",
- "properties": {
- "adminPassword": {
- "description": "Specifies the password of the administrator account.
**Minimum-length (Windows):** 8 characters
**Minimum-length (Linux):** 6 characters
**Max-length (Windows):** 123 characters
**Max-length (Linux):** 72 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])
**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"
For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp)
For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)",
- "type": "string"
- },
- "adminUsername": {
- "description": "Specifies the name of the administrator account.
**Windows-only restriction:** Cannot end in \".\"
**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters",
- "type": "string"
- },
- "allowExtensionOperations": {
- "description": "Specifies whether extension operations should be allowed on the virtual machine scale set. This may only be set to False when no extensions are present on the virtual machine scale set.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "computerNamePrefix": {
- "description": "Specifies the computer name prefix for all of the virtual machines in the scale set. Computer name prefixes must be 1 to 15 characters long.",
- "type": "string"
- },
- "customData": {
- "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes. For using cloud-init for your VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init)",
- "type": "string"
- },
- "linuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine. For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros).",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "requireGuestProvisionSignal": {
- "description": "Optional property which must either be set to True or omitted.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "secrets": {
- "description": "Specifies set of certificates that should be installed onto the virtual machines in the scale set. To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultSecretGroup"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "windowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/WindowsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetProperties": {
- "description": "Describes the properties of a Virtual Machine Scale Set.",
- "properties": {
- "additionalCapabilities": {
- "description": "Specifies additional capabilities enabled or disabled on the Virtual Machines in the Virtual Machine Scale Set. For instance: whether the Virtual Machines have the capability to support attaching managed data disks with UltraSSD_LRS storage account type.",
- "oneOf": [
- {
- "$ref": "#/definitions/AdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "automaticRepairsPolicy": {
- "description": "Policy for automatic repairs.",
- "oneOf": [
- {
- "$ref": "#/definitions/AutomaticRepairsPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "constrainedMaximumCapacity": {
- "description": "Optional property which must either be set to True or omitted.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "doNotRunExtensionsOnOverprovisionedVMs": {
- "description": "When Overprovision is enabled, extensions are launched only on the requested number of VMs which are finally kept. This property will hence ensure that the extensions do not run on the extra overprovisioned VMs.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hostGroup": {
- "description": "Specifies information about the dedicated host group that the virtual machine scale set resides in. Minimum api-version: 2020-06-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "orchestrationMode": {
- "description": "Specifies the orchestration mode for the virtual machine scale set.",
- "oneOf": [
- {
- "enum": [
- "Uniform",
- "Flexible"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "overprovision": {
- "description": "Specifies whether the Virtual Machine Scale Set should be overprovisioned.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformFaultDomainCount": {
- "description": "Fault Domain count for each placement group.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "priorityMixPolicy": {
- "description": "Specifies the desired targets for mixing Spot and Regular priority VMs within the same VMSS Flex instance.",
- "oneOf": [
- {
- "$ref": "#/definitions/PriorityMixPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the virtual machine scale set should be assigned to. Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "scaleInPolicy": {
- "description": "Specifies the policies applied when scaling in Virtual Machines in the Virtual Machine Scale Set.",
- "oneOf": [
- {
- "$ref": "#/definitions/ScaleInPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "singlePlacementGroup": {
- "description": "When true this limits the scale set to a single placement group, of max size 100 virtual machines. NOTE: If singlePlacementGroup is true, it may be modified to false. However, if singlePlacementGroup is false, it may not be modified to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "spotRestorePolicy": {
- "description": "Specifies the Spot Restore properties for the virtual machine scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/SpotRestorePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "upgradePolicy": {
- "description": "The upgrade policy.",
- "oneOf": [
- {
- "$ref": "#/definitions/UpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "virtualMachineProfile": {
- "description": "The virtual machine profile.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "zoneBalance": {
- "description": "Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage. zoneBalance property can only be set if the zones property of the scale set contains more than one zone. If there are no zones or only one zone specified, then zoneBalance property should not be set.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfiguration": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "properties": {
- "name": {
- "description": "The publicIP address configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible.",
- "oneOf": [
- {
- "$ref": "#/definitions/PublicIPAddressSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings": {
- "description": "Describes a virtual machines scale sets network configuration's DNS settings.",
- "properties": {
- "domainNameLabel": {
- "description": "The Domain name label.The concatenation of the domain name label and vm index will be the domain name labels of the PublicIPAddress resources that will be created",
- "type": "string"
- },
- "domainNameLabelScope": {
- "description": "The Domain name label scope.The concatenation of the hashed domain name label that generated according to the policy from domain name label scope and vm index will be the domain name labels of the PublicIPAddress resources that will be created",
- "oneOf": [
- {
- "enum": [
- "TenantReuse",
- "SubscriptionReuse",
- "ResourceGroupReuse",
- "NoReuse"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "domainNameLabel"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfigurationProperties": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "properties": {
- "deleteOption": {
- "description": "Specify what happens to the public IP when the VM is deleted",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dnsSettings": {
- "description": "The dns settings to be applied on the publicIP addresses .",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "idleTimeoutInMinutes": {
- "description": "The idle timeout of the public IP address.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipTags": {
- "description": "The list of IP tags associated with the public IP address.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetIpTag"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressVersion": {
- "description": "Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPPrefix": {
- "description": "The PublicIPPrefix from which to allocate publicIP addresses.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetStorageProfile": {
- "description": "Describes a virtual machine scale set storage profile.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add data disks to the virtual machines in the scale set. For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetDataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskControllerType": {
- "type": "string"
- },
- "imageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machines in the scale set. For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetOSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMNetworkProfileConfiguration": {
- "description": "Describes a virtual machine scale set VM network profile.",
- "properties": {
- "networkInterfaceConfigurations": {
- "description": "The list of network configurations.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProfile": {
- "description": "Describes a virtual machine scale set virtual machine profile.",
- "properties": {
- "applicationProfile": {
- "description": "Specifies the gallery applications that should be made available to the VM/VMSS",
- "oneOf": [
- {
- "$ref": "#/definitions/ApplicationProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "billingProfile": {
- "description": "Specifies the billing related details of a Azure Spot VMSS. Minimum api-version: 2019-03-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/BillingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "capacityReservation": {
- "description": "Specifies the capacity reservation related details of a scale set. Minimum api-version: 2021-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/CapacityReservationProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "evictionPolicy": {
- "description": "Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set. For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01. For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview.",
- "oneOf": [
- {
- "enum": [
- "Deallocate",
- "Delete"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extensionProfile": {
- "description": "Specifies a collection of settings for extensions installed on virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetExtensionProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hardwareProfile": {
- "description": "Specifies the hardware profile related details of a scale set. Minimum api-version: 2021-11-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetHardwareProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises.
Possible values for Windows Server operating system are:
Windows_Client
Windows_Server
Possible values for Linux Server operating system are:
RHEL_BYOS (for RHEL)
SLES_BYOS (for SUSE)
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)
[Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies properties of the network interfaces of the virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings for the virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetOSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "priority": {
- "description": "Specifies the priority for the virtual machines in the scale set. Minimum api-version: 2017-10-30-preview.",
- "oneOf": [
- {
- "enum": [
- "Regular",
- "Low",
- "Spot"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "scheduledEventsProfile": {
- "description": "Specifies Scheduled Event related configurations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ScheduledEventsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityPostureReference": {
- "description": "Specifies the security posture to be used for all virtual machines in the scale set. Minimum api-version: 2023-03-01",
- "oneOf": [
- {
- "$ref": "#/definitions/SecurityPostureReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Specifies the Security related profile settings for the virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/SecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "serviceArtifactReference": {
- "description": "Specifies the service artifact reference id used to set same image version for all virtual machines in the scale set when using 'latest' image version. Minimum api-version: 2022-11-01",
- "oneOf": [
- {
- "$ref": "#/definitions/ServiceArtifactReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userData": {
- "description": "UserData for the virtual machines in the scale set, which must be base-64 encoded. Customer should not pass any secrets in here. Minimum api-version: 2021-03-01.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProperties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "properties": {
- "additionalCapabilities": {
- "description": "Specifies additional capabilities enabled or disabled on the virtual machine in the scale set. For instance: whether the virtual machine has the capability to support attaching managed data disks with UltraSSD_LRS storage account type.",
- "oneOf": [
- {
- "$ref": "#/definitions/AdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "availabilitySet": {
- "description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Availability sets overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview). For more information on Azure planned maintenance, see [Maintenance and updates for Virtual Machines in Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates). Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/HardwareProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises.
Possible values for Windows Server operating system are:
Windows_Client
Windows_Server
Possible values for Linux Server operating system are:
RHEL_BYOS (for RHEL)
SLES_BYOS (for SUSE)
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)
[Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkProfileConfiguration": {
- "description": "Specifies the network profile configuration of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMNetworkProfileConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectionPolicy": {
- "description": "Specifies the protection policy of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProtectionPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Specifies the Security related profile settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/SecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/StorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userData": {
- "description": "UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here.
Minimum api-version: 2021-03-01",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProtectionPolicy": {
- "description": "The protection policy of a virtual machine scale set VM.",
- "properties": {
- "protectFromScaleIn": {
- "description": "Indicates that the virtual machine scale set VM shouldn't be considered for deletion during a scale-in operation.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectFromScaleSetActions": {
- "description": "Indicates that model updates or actions (including scale-in) initiated on the virtual machine scale set should not be applied to the virtual machine scale set VM.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WinRMConfiguration": {
- "description": "Describes Windows Remote Management configuration of the VM",
- "properties": {
- "listeners": {
- "description": "The list of Windows Remote Management listeners",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/WinRMListener"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WinRMListener": {
- "description": "Describes Protocol and thumbprint of Windows Remote Management listener",
- "properties": {
- "certificateUrl": {
- "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be the Base64 encoding of the following JSON Object which is encoded in UTF-8:
{
\"data\":\"\",
\"dataType\":\"pfx\",
\"password\":\"\"
}
To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).",
- "type": "string"
- },
- "protocol": {
- "description": "Specifies the protocol of WinRM listener. Possible values are: **http,** **https.**",
- "oneOf": [
- {
- "enum": [
- "Http",
- "Https"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WindowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "properties": {
- "additionalUnattendContent": {
- "description": "Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/AdditionalUnattendContent"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticUpdates": {
- "description": "Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value is true. For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableVMAgentPlatformUpdates": {
- "description": "Indicates whether VMAgent Platform Updates is enabled for the Windows virtual machine. Default value is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "patchSettings": {
- "description": "[Preview Feature] Specifies settings related to VM Guest Patching on Windows.",
- "oneOf": [
- {
- "$ref": "#/definitions/PatchSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionVMAgent": {
- "description": "Indicates whether virtual machine agent should be provisioned on the virtual machine. When this property is not specified in the request body, it is set to true by default. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "timeZone": {
- "description": "Specifies the time zone of the virtual machine. e.g. \"Pacific Standard Time\". Possible values can be [TimeZoneInfo.Id](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.id?#System_TimeZoneInfo_Id) value from time zones returned by [TimeZoneInfo.GetSystemTimeZones](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.getsystemtimezones).",
- "type": "string"
- },
- "winRM": {
- "description": "Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.",
- "oneOf": [
- {
- "$ref": "#/definitions/WinRMConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WindowsVMGuestPatchAutomaticByPlatformSettings": {
- "description": "Specifies additional settings to be applied when patch mode AutomaticByPlatform is selected in Windows patch settings.",
- "properties": {
- "bypassPlatformSafetyChecksOnUserSchedule": {
- "description": "Enables customer to schedule patching without accidental upgrades",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "rebootSetting": {
- "description": "Specifies the reboot setting for all AutomaticByPlatform patch installation operations.",
- "oneOf": [
- {
- "enum": [
- "Unknown",
- "IfRequired",
- "Never",
- "Always"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "capacityReservationGroups_capacityReservations_childResource": {
- "description": "Microsoft.Compute/capacityReservationGroups/capacityReservations",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the capacity reservation.",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the Capacity reservation.",
- "oneOf": [
- {
- "$ref": "#/definitions/CapacityReservationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "SKU of the resource for which capacity needs be reserved. The SKU name and capacity is required to be set. Currently VM Skus with the capability called 'CapacityReservationSupported' set to true are supported. Refer to List Microsoft.Compute SKUs in a region (https://docs.microsoft.com/rest/api/compute/resourceskus/list) for supported values.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "capacityReservations"
- ],
- "type": "string"
- },
- "zones": {
- "description": "Availability Zone to use for this capacity reservation. The zone has to be single value and also should be part for the list of zones specified during the capacity reservation group creation. The zone can be assigned only during creation. If not provided, the reservation supports only non-zonal deployments. If provided, enforces VM/VMSS using this capacity reservation to be in same zone.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "hostGroups_hosts_childResource": {
- "description": "Microsoft.Compute/hostGroups/hosts",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the dedicated host .",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the dedicated host.",
- "oneOf": [
- {
- "$ref": "#/definitions/DedicatedHostProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be set. List Microsoft.Compute SKUs for a list of possible values.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "hosts"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "restorePointCollections_restorePoints_childResource": {
- "description": "Microsoft.Compute/restorePointCollections/restorePoints",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-07-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the restore point.",
- "type": "string"
- },
- "properties": {
- "description": "The restore point properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/RestorePointProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "restorePoints"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-07-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the VM scale set extension.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Scale Set Extension.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetExtensionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-07-01"
- ],
- "type": "string"
- },
- "identity": {
- "description": "The identity of the virtual machine, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The instance ID of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "virtualMachines"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "The location of the extension.",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine extension.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Extension.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_runCommands_childResource": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/runCommands",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine run command.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "runCommands"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines_extensions_childResource": {
- "description": "Microsoft.Compute/virtualMachines/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine extension.",
- "type": "string"
- },
- "properties": {
- "anyOf": [
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/genericExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/bgInfo"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/dscExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackup"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/chefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/dockerExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/eset"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/puppetAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/customScript"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines_runCommands_childResource": {
- "description": "Microsoft.Compute/virtualMachines/runCommands",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-07-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine run command.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "runCommands"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- }
-}
\ No newline at end of file
diff --git a/schemas/2023-07-03/Microsoft.Compute.json b/schemas/2023-07-03/Microsoft.Compute.json
deleted file mode 100644
index 56600f6b87..0000000000
--- a/schemas/2023-07-03/Microsoft.Compute.json
+++ /dev/null
@@ -1,2091 +0,0 @@
-{
- "id": "https://schema.management.azure.com/schemas/2023-07-03/Microsoft.Compute.json#",
- "title": "Microsoft.Compute",
- "description": "Microsoft Compute Resource Types",
- "$schema": "http://json-schema.org/draft-04/schema#",
- "resourceDefinitions": {
- "galleries": {
- "description": "Microsoft.Compute/galleries",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-07-03"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the Shared Image Gallery. The allowed characters are alphabets and numbers with dots and periods allowed in the middle. The maximum length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Shared Image Gallery.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/galleries_images_childResource"
- },
- {
- "$ref": "#/definitions/galleries_applications_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/galleries"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_applications": {
- "description": "Microsoft.Compute/galleries/applications",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-07-03"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Application Definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery Application Definition.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryApplicationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/galleries_applications_versions_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/galleries/applications"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_applications_versions": {
- "description": "Microsoft.Compute/galleries/applications/versions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-07-03"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Application Version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery image version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryApplicationVersionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/galleries/applications/versions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_images": {
- "description": "Microsoft.Compute/galleries/images",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-07-03"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery image definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery image definition.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/galleries_images_versions_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/galleries/images"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_images_versions": {
- "description": "Microsoft.Compute/galleries/images/versions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-07-03"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery image version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery image version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageVersionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/galleries/images/versions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- },
- "definitions": {
- "CommunityGalleryInfo": {
- "description": "Information of community gallery if current gallery is shared to community",
- "properties": {
- "eula": {
- "description": "End-user license agreement for community gallery image.",
- "type": "string"
- },
- "publicNamePrefix": {
- "description": "The prefix of the gallery name that will be displayed publicly. Visible to all users.",
- "type": "string"
- },
- "publisherContact": {
- "description": "Community gallery publisher support email. The email address of the publisher. Visible to all users.",
- "type": "string"
- },
- "publisherUri": {
- "description": "The link to the publisher website. Visible to all users.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "DataDiskImageEncryption": {
- "description": "Contains encryption settings for a data disk image.",
- "properties": {
- "diskEncryptionSetId": {
- "description": "A relative URI containing the resource ID of the disk encryption set.",
- "type": "string"
- },
- "lun": {
- "description": "This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun"
- ],
- "type": "object"
- },
- "Disallowed": {
- "description": "Describes the disallowed disk types.",
- "properties": {
- "diskTypes": {
- "description": "A list of disk types.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "EncryptionImages": {
- "description": "Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact.",
- "properties": {
- "dataDiskImages": {
- "description": "A list of encryption specifications for data disk images.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/DataDiskImageEncryption"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDiskImage": {
- "description": "Contains encryption settings for an OS disk image.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSDiskImageEncryption"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryApplicationCustomAction": {
- "description": "A custom action that can be performed with a Gallery Application Version.",
- "properties": {
- "description": {
- "description": "Description to help the users understand what this custom action does.",
- "type": "string"
- },
- "name": {
- "description": "The name of the custom action. Must be unique within the Gallery Application Version.",
- "type": "string"
- },
- "parameters": {
- "description": "The parameters that this custom action uses",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/GalleryApplicationCustomActionParameter"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "script": {
- "description": "The script to run when executing this custom action.",
- "type": "string"
- }
- },
- "required": [
- "name",
- "script"
- ],
- "type": "object"
- },
- "GalleryApplicationCustomActionParameter": {
- "description": "The definition of a parameter that can be passed to a custom action of a Gallery Application Version.",
- "properties": {
- "defaultValue": {
- "description": "The default value of the parameter. Only applies to string types",
- "type": "string"
- },
- "description": {
- "description": "A description to help users understand what this parameter means",
- "type": "string"
- },
- "name": {
- "description": "The name of the custom action. Must be unique within the Gallery Application Version.",
- "type": "string"
- },
- "required": {
- "description": "Indicates whether this parameter must be passed when running the custom action.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the custom action parameter. Possible values are: String, ConfigurationDataBlob or LogOutputBlob",
- "oneOf": [
- {
- "enum": [
- "String",
- "ConfigurationDataBlob",
- "LogOutputBlob"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "GalleryApplicationProperties": {
- "description": "Describes the properties of a gallery Application Definition.",
- "properties": {
- "customActions": {
- "description": "A list of custom actions that can be performed with all of the Gallery Application Versions within this Gallery Application.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/GalleryApplicationCustomAction"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "description": {
- "description": "The description of this gallery Application Definition resource. This property is updatable.",
- "type": "string"
- },
- "endOfLifeDate": {
- "description": "The end of life date of the gallery Application Definition. This property can be used for decommissioning purposes. This property is updatable.",
- "format": "date-time",
- "type": "string"
- },
- "eula": {
- "description": "The Eula agreement for the gallery Application Definition.",
- "type": "string"
- },
- "privacyStatementUri": {
- "description": "The privacy statement uri.",
- "type": "string"
- },
- "releaseNoteUri": {
- "description": "The release note uri.",
- "type": "string"
- },
- "supportedOSType": {
- "description": "This property allows you to specify the supported type of the OS that application is built for. Possible values are: **Windows,** **Linux.**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "supportedOSType"
- ],
- "type": "object"
- },
- "GalleryApplicationVersionProperties": {
- "description": "Describes the properties of a gallery image version.",
- "properties": {
- "publishingProfile": {
- "description": "The publishing profile of a gallery image version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryApplicationVersionPublishingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "safetyProfile": {
- "description": "The safety profile of the Gallery Application Version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryApplicationVersionSafetyProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "publishingProfile"
- ],
- "type": "object"
- },
- "GalleryApplicationVersionPublishingProfile": {
- "description": "The publishing profile of a gallery image version.",
- "properties": {
- "advancedSettings": {
- "description": "Optional. Additional settings to pass to the vm-application-manager extension. For advanced use only.",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "customActions": {
- "description": "A list of custom actions that can be performed with this Gallery Application Version.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/GalleryApplicationCustomAction"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableHealthCheck": {
- "description": "Optional. Whether or not this application reports health.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "endOfLifeDate": {
- "description": "The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable.",
- "format": "date-time",
- "type": "string"
- },
- "excludeFromLatest": {
- "description": "If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "manageActions": {
- "oneOf": [
- {
- "$ref": "#/definitions/UserArtifactManage"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "replicaCount": {
- "description": "The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "replicationMode": {
- "description": "Optional parameter which specifies the mode to be used for replication. This property is not updatable.",
- "oneOf": [
- {
- "enum": [
- "Full",
- "Shallow"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "settings": {
- "description": "Additional settings for the VM app that contains the target package and config file name when it is deployed to target VM or VM scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/UserArtifactSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "source": {
- "description": "The source image from which the Image Version is going to be created.",
- "oneOf": [
- {
- "$ref": "#/definitions/UserArtifactSource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type to be used to store the image. This property is not updatable.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Standard_ZRS",
- "Premium_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "targetExtendedLocations": {
- "description": "The target extended locations where the Image Version is going to be replicated to. This property is updatable.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/GalleryTargetExtendedLocation"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "targetRegions": {
- "description": "The target regions where the Image Version is going to be replicated to. This property is updatable.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/TargetRegion"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "source"
- ],
- "type": "object"
- },
- "GalleryApplicationVersionSafetyProfile": {
- "description": "The safety profile of the Gallery Application Version.",
- "properties": {
- "allowDeletionOfReplicatedLocations": {
- "description": "Indicates whether or not removing this Gallery Image Version from replicated regions is allowed.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryArtifactVersionFullSource": {
- "description": "The source of the gallery artifact version.",
- "properties": {
- "communityGalleryImageId": {
- "description": "The resource Id of the source Community Gallery Image. Only required when using Community Gallery Image as a source.",
- "type": "string"
- },
- "id": {
- "description": "The id of the gallery artifact version source.",
- "type": "string"
- },
- "virtualMachineId": {
- "description": "The resource Id of the source virtual machine. Only required when capturing a virtual machine to source this Gallery Image Version.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "GalleryDataDiskImage": {
- "description": "This is the data disk image.",
- "properties": {
- "hostCaching": {
- "description": "The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "source": {
- "description": "The source for the disk image.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryDiskImageSource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun"
- ],
- "type": "object"
- },
- "GalleryDiskImageSource": {
- "description": "The source for the disk image.",
- "properties": {
- "id": {
- "description": "The id of the gallery artifact version source.",
- "type": "string"
- },
- "storageAccountId": {
- "description": "The Storage Account Id that contains the vhd blob being used as a source for this artifact version.",
- "type": "string"
- },
- "uri": {
- "description": "The uri of the gallery artifact version source. Currently used to specify vhd/blob source.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "GalleryExtendedLocation": {
- "description": "The name of the extended location.",
- "properties": {
- "name": {
- "type": "string"
- },
- "type": {
- "description": "It is type of the extended location.",
- "oneOf": [
- {
- "enum": [
- "EdgeZone",
- "Unknown"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryIdentifier": {
- "description": "Describes the gallery unique name.",
- "properties": {},
- "type": "object"
- },
- "GalleryImageFeature": {
- "description": "A feature for gallery image.",
- "properties": {
- "name": {
- "description": "The name of the gallery image feature.",
- "type": "string"
- },
- "value": {
- "description": "The value of the gallery image feature.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "GalleryImageIdentifier": {
- "description": "This is the gallery image definition identifier.",
- "properties": {
- "offer": {
- "description": "The name of the gallery image definition offer.",
- "type": "string"
- },
- "publisher": {
- "description": "The name of the gallery image definition publisher.",
- "type": "string"
- },
- "sku": {
- "description": "The name of the gallery image definition SKU.",
- "type": "string"
- }
- },
- "required": [
- "publisher",
- "offer",
- "sku"
- ],
- "type": "object"
- },
- "GalleryImageProperties": {
- "description": "Describes the properties of a gallery image definition.",
- "properties": {
- "architecture": {
- "description": "The architecture of the image. Applicable to OS disks only.",
- "oneOf": [
- {
- "enum": [
- "x64",
- "Arm64"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "description": {
- "description": "The description of this gallery image definition resource. This property is updatable.",
- "type": "string"
- },
- "disallowed": {
- "description": "Describes the disallowed disk types.",
- "oneOf": [
- {
- "$ref": "#/definitions/Disallowed"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "endOfLifeDate": {
- "description": "The end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable.",
- "format": "date-time",
- "type": "string"
- },
- "eula": {
- "description": "The Eula agreement for the gallery image definition.",
- "type": "string"
- },
- "features": {
- "description": "A list of gallery image features.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/GalleryImageFeature"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hyperVGeneration": {
- "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "identifier": {
- "description": "This is the gallery image definition identifier.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageIdentifier"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osState": {
- "description": "This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'.",
- "oneOf": [
- {
- "enum": [
- "Generalized",
- "Specialized"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image. Possible values are: **Windows,** **Linux.**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "privacyStatementUri": {
- "description": "The privacy statement uri.",
- "type": "string"
- },
- "purchasePlan": {
- "description": "Describes the gallery image definition purchase plan. This is used by marketplace images.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImagePurchasePlan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "recommended": {
- "description": "The properties describe the recommended machine configuration for this Image Definition. These properties are updatable.",
- "oneOf": [
- {
- "$ref": "#/definitions/RecommendedMachineConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "releaseNoteUri": {
- "description": "The release note uri.",
- "type": "string"
- }
- },
- "required": [
- "osType",
- "osState",
- "identifier"
- ],
- "type": "object"
- },
- "GalleryImageVersionProperties": {
- "description": "Describes the properties of a gallery image version.",
- "properties": {
- "publishingProfile": {
- "description": "The publishing profile of a gallery image Version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageVersionPublishingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "safetyProfile": {
- "description": "This is the safety profile of the Gallery Image Version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageVersionSafetyProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "The security profile of a gallery image version",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageVersionSecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "This is the storage profile of a Gallery Image Version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageVersionStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "storageProfile"
- ],
- "type": "object"
- },
- "GalleryImageVersionPublishingProfile": {
- "description": "The publishing profile of a gallery image Version.",
- "properties": {
- "endOfLifeDate": {
- "description": "The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable.",
- "format": "date-time",
- "type": "string"
- },
- "excludeFromLatest": {
- "description": "If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "replicaCount": {
- "description": "The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "replicationMode": {
- "description": "Optional parameter which specifies the mode to be used for replication. This property is not updatable.",
- "oneOf": [
- {
- "enum": [
- "Full",
- "Shallow"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type to be used to store the image. This property is not updatable.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Standard_ZRS",
- "Premium_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "targetExtendedLocations": {
- "description": "The target extended locations where the Image Version is going to be replicated to. This property is updatable.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/GalleryTargetExtendedLocation"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "targetRegions": {
- "description": "The target regions where the Image Version is going to be replicated to. This property is updatable.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/TargetRegion"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryImageVersionSafetyProfile": {
- "description": "This is the safety profile of the Gallery Image Version.",
- "properties": {
- "allowDeletionOfReplicatedLocations": {
- "description": "Indicates whether or not removing this Gallery Image Version from replicated regions is allowed.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryImageVersionStorageProfile": {
- "description": "This is the storage profile of a Gallery Image Version.",
- "properties": {
- "dataDiskImages": {
- "description": "A list of data disk images.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/GalleryDataDiskImage"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDiskImage": {
- "description": "This is the OS disk image.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryOSDiskImage"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "source": {
- "description": "The source of the gallery artifact version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryArtifactVersionFullSource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryImageVersionUefiSettings": {
- "description": "Contains UEFI settings for the image version.",
- "properties": {
- "additionalSignatures": {
- "description": "Additional UEFI key signatures that will be added to the image in addition to the signature templates",
- "oneOf": [
- {
- "$ref": "#/definitions/UefiKeySignatures"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "signatureTemplateNames": {
- "description": "The name of the template(s) that contains default UEFI key signatures that will be added to the image.",
- "oneOf": [
- {
- "items": {
- "enum": [
- "NoSignatureTemplate",
- "MicrosoftUefiCertificateAuthorityTemplate",
- "MicrosoftWindowsTemplate"
- ],
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryOSDiskImage": {
- "description": "This is the OS disk image.",
- "properties": {
- "hostCaching": {
- "description": "The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "source": {
- "description": "The source for the disk image.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryDiskImageSource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryProperties": {
- "description": "Describes the properties of a Shared Image Gallery.",
- "properties": {
- "description": {
- "description": "The description of this Shared Image Gallery resource. This property is updatable.",
- "type": "string"
- },
- "identifier": {
- "description": "Describes the gallery unique name.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryIdentifier"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sharingProfile": {
- "description": "Profile for gallery sharing to subscription or tenant",
- "oneOf": [
- {
- "$ref": "#/definitions/SharingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "softDeletePolicy": {
- "description": "Contains information about the soft deletion policy of the gallery.",
- "oneOf": [
- {
- "$ref": "#/definitions/SoftDeletePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "GalleryTargetExtendedLocation": {
- "properties": {
- "encryption": {
- "description": "Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionImages"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extendedLocation": {
- "description": "The name of the extended location.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extendedLocationReplicaCount": {
- "description": "The number of replicas of the Image Version to be created per extended location. This property is updatable.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The name of the region.",
- "type": "string"
- },
- "storageAccountType": {
- "description": "Specifies the storage account type to be used to store the image. This property is not updatable.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Standard_ZRS",
- "StandardSSD_LRS",
- "Premium_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImagePurchasePlan": {
- "description": "Describes the gallery image definition purchase plan. This is used by marketplace images.",
- "properties": {
- "name": {
- "description": "The plan ID.",
- "type": "string"
- },
- "product": {
- "description": "The product ID.",
- "type": "string"
- },
- "publisher": {
- "description": "The publisher ID.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ImageVersionSecurityProfile": {
- "description": "The security profile of a gallery image version",
- "properties": {
- "uefiSettings": {
- "description": "Contains UEFI settings for the image version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageVersionUefiSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "OSDiskImageEncryption": {
- "description": "Contains encryption settings for an OS disk image.",
- "properties": {
- "diskEncryptionSetId": {
- "description": "A relative URI containing the resource ID of the disk encryption set.",
- "type": "string"
- },
- "securityProfile": {
- "description": "This property specifies the security profile of an OS disk image.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSDiskImageSecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "OSDiskImageSecurityProfile": {
- "description": "Contains security profile for an OS disk image.",
- "properties": {
- "confidentialVMEncryptionType": {
- "description": "confidential VM encryption types",
- "oneOf": [
- {
- "enum": [
- "EncryptedVMGuestStateOnlyWithPmk",
- "EncryptedWithPmk",
- "EncryptedWithCmk",
- "NonPersistedTPM"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "secureVMDiskEncryptionSetId": {
- "description": "secure VM disk encryption set id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "RecommendedMachineConfiguration": {
- "description": "The properties describe the recommended machine configuration for this Image Definition. These properties are updatable.",
- "properties": {
- "memory": {
- "description": "Describes the resource range.",
- "oneOf": [
- {
- "$ref": "#/definitions/ResourceRange"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vCPUs": {
- "description": "Describes the resource range.",
- "oneOf": [
- {
- "$ref": "#/definitions/ResourceRange"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ResourceRange": {
- "description": "Describes the resource range.",
- "properties": {
- "max": {
- "description": "The maximum number of the resource.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "min": {
- "description": "The minimum number of the resource.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SharingProfile": {
- "description": "Profile for gallery sharing to subscription or tenant",
- "properties": {
- "communityGalleryInfo": {
- "description": "Information of community gallery if current gallery is shared to community.",
- "oneOf": [
- {
- "$ref": "#/definitions/CommunityGalleryInfo"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "permissions": {
- "description": "This property allows you to specify the permission of sharing gallery. Possible values are: **Private,** **Groups,** **Community.**",
- "oneOf": [
- {
- "enum": [
- "Private",
- "Groups",
- "Community"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SoftDeletePolicy": {
- "description": "Contains information about the soft deletion policy of the gallery.",
- "properties": {
- "isSoftDeleteEnabled": {
- "description": "Enables soft-deletion for resources in this gallery, allowing them to be recovered within retention time.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "TargetRegion": {
- "description": "Describes the target region information.",
- "properties": {
- "encryption": {
- "description": "Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionImages"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "excludeFromLatest": {
- "description": "Contains the flag setting to hide an image when users specify version='latest'",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The name of the region.",
- "type": "string"
- },
- "regionalReplicaCount": {
- "description": "The number of replicas of the Image Version to be created per region. This property is updatable.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type to be used to store the image. This property is not updatable.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Standard_ZRS",
- "Premium_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "UefiKey": {
- "description": "A UEFI key signature.",
- "properties": {
- "type": {
- "description": "The type of key signature.",
- "oneOf": [
- {
- "enum": [
- "sha256",
- "x509"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "value": {
- "description": "The value of the key signature.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "UefiKeySignatures": {
- "description": "Additional UEFI key signatures that will be added to the image in addition to the signature templates",
- "properties": {
- "db": {
- "description": "The database of UEFI keys for this image version.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/UefiKey"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dbx": {
- "description": "The database of revoked UEFI keys for this image version.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/UefiKey"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "kek": {
- "description": "The Key Encryption Keys of this image version.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/UefiKey"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "pk": {
- "description": "The Platform Key of this image version.",
- "oneOf": [
- {
- "$ref": "#/definitions/UefiKey"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "UserArtifactManage": {
- "properties": {
- "install": {
- "description": "Required. The path and arguments to install the gallery application. This is limited to 4096 characters.",
- "type": "string"
- },
- "remove": {
- "description": "Required. The path and arguments to remove the gallery application. This is limited to 4096 characters.",
- "type": "string"
- },
- "update": {
- "description": "Optional. The path and arguments to update the gallery application. If not present, then update operation will invoke remove command on the previous version and install command on the current version of the gallery application. This is limited to 4096 characters.",
- "type": "string"
- }
- },
- "required": [
- "install",
- "remove"
- ],
- "type": "object"
- },
- "UserArtifactSettings": {
- "description": "Additional settings for the VM app that contains the target package and config file name when it is deployed to target VM or VM scale set.",
- "properties": {
- "configFileName": {
- "description": "Optional. The name to assign the downloaded config file on the VM. This is limited to 4096 characters. If not specified, the config file will be named the Gallery Application name appended with \"_config\".",
- "type": "string"
- },
- "packageFileName": {
- "description": "Optional. The name to assign the downloaded package file on the VM. This is limited to 4096 characters. If not specified, the package file will be named the same as the Gallery Application name.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "UserArtifactSource": {
- "description": "The source image from which the Image Version is going to be created.",
- "properties": {
- "defaultConfigurationLink": {
- "description": "Optional. The defaultConfigurationLink of the artifact, must be a readable storage page blob.",
- "type": "string"
- },
- "mediaLink": {
- "description": "Required. The mediaLink of the artifact, must be a readable storage page blob.",
- "type": "string"
- }
- },
- "required": [
- "mediaLink"
- ],
- "type": "object"
- },
- "galleries_applications_childResource": {
- "description": "Microsoft.Compute/galleries/applications",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-07-03"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Application Definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery Application Definition.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryApplicationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "applications"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_applications_versions_childResource": {
- "description": "Microsoft.Compute/galleries/applications/versions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-07-03"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery Application Version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery image version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryApplicationVersionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "versions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_images_childResource": {
- "description": "Microsoft.Compute/galleries/images",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-07-03"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery image definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery image definition.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "images"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "galleries_images_versions_childResource": {
- "description": "Microsoft.Compute/galleries/images/versions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-07-03"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the gallery image version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a gallery image version.",
- "oneOf": [
- {
- "$ref": "#/definitions/GalleryImageVersionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "versions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- }
-}
\ No newline at end of file
diff --git a/schemas/2023-09-01/Microsoft.Compute.json b/schemas/2023-09-01/Microsoft.Compute.json
deleted file mode 100644
index 8af5fb9756..0000000000
--- a/schemas/2023-09-01/Microsoft.Compute.json
+++ /dev/null
@@ -1,8130 +0,0 @@
-{
- "id": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.json#",
- "title": "Microsoft.Compute",
- "description": "Microsoft Compute Resource Types",
- "$schema": "http://json-schema.org/draft-04/schema#",
- "resourceDefinitions": {
- "availabilitySets": {
- "description": "Microsoft.Compute/availabilitySets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-09-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the availability set.",
- "type": "string"
- },
- "properties": {
- "description": "The instance view of a resource.",
- "oneOf": [
- {
- "$ref": "#/definitions/AvailabilitySetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "Sku of the availability set, only name is required to be set. See AvailabilitySetSkuTypes for possible set of values. Use 'Aligned' for virtual machines with managed disks and 'Classic' for virtual machines with unmanaged disks. Default value is 'Classic'.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/availabilitySets"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "capacityReservationGroups": {
- "description": "Microsoft.Compute/capacityReservationGroups",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-09-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the capacity reservation group.",
- "type": "string"
- },
- "properties": {
- "description": "capacity reservation group Properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/CapacityReservationGroupProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/capacityReservationGroups_capacityReservations_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/capacityReservationGroups"
- ],
- "type": "string"
- },
- "zones": {
- "description": "Availability Zones to use for this capacity reservation group. The zones can be assigned only during creation. If not provided, the group supports only regional resources in the region. If provided, enforces each capacity reservation in the group to be in one of the zones.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "capacityReservationGroups_capacityReservations": {
- "description": "Microsoft.Compute/capacityReservationGroups/capacityReservations",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-09-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the capacity reservation.",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the Capacity reservation.",
- "oneOf": [
- {
- "$ref": "#/definitions/CapacityReservationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "SKU of the resource for which capacity needs be reserved. The SKU name and capacity is required to be set. Currently VM Skus with the capability called 'CapacityReservationSupported' set to true are supported. Refer to List Microsoft.Compute SKUs in a region (https://docs.microsoft.com/rest/api/compute/resourceskus/list) for supported values.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/capacityReservationGroups/capacityReservations"
- ],
- "type": "string"
- },
- "zones": {
- "description": "Availability Zone to use for this capacity reservation. The zone has to be single value and also should be part for the list of zones specified during the capacity reservation group creation. The zone can be assigned only during creation. If not provided, the reservation supports only non-zonal deployments. If provided, enforces VM/VMSS using this capacity reservation to be in same zone.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "hostGroups": {
- "description": "Microsoft.Compute/hostGroups",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-09-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the dedicated host group.",
- "type": "string"
- },
- "properties": {
- "description": "Dedicated Host Group Properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/DedicatedHostGroupProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/hostGroups_hosts_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/hostGroups"
- ],
- "type": "string"
- },
- "zones": {
- "description": "Availability Zone to use for this host group. Only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "hostGroups_hosts": {
- "description": "Microsoft.Compute/hostGroups/hosts",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-09-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the dedicated host .",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the dedicated host.",
- "oneOf": [
- {
- "$ref": "#/definitions/DedicatedHostProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be set. List Microsoft.Compute SKUs for a list of possible values.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/hostGroups/hosts"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "images": {
- "description": "Microsoft.Compute/images",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-09-01"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location of the Image.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the image.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of an Image.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/images"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "proximityPlacementGroups": {
- "description": "Microsoft.Compute/proximityPlacementGroups",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-09-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the proximity placement group.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Proximity Placement Group.",
- "oneOf": [
- {
- "$ref": "#/definitions/ProximityPlacementGroupProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/proximityPlacementGroups"
- ],
- "type": "string"
- },
- "zones": {
- "description": "Specifies the Availability Zone where virtual machine, virtual machine scale set or availability set associated with the proximity placement group can be created.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "restorePointCollections": {
- "description": "Microsoft.Compute/restorePointCollections",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-09-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the restore point collection.",
- "type": "string"
- },
- "properties": {
- "description": "The restore point collection properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/RestorePointCollectionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/restorePointCollections_restorePoints_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/restorePointCollections"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "restorePointCollections_restorePoints": {
- "description": "Microsoft.Compute/restorePointCollections/restorePoints",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-09-01"
- ],
- "type": "string"
- },
- "name": {
- "description": "The name of the restore point.",
- "type": "string"
- },
- "properties": {
- "description": "The restore point properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/RestorePointProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/restorePointCollections/restorePoints"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "sshPublicKeys": {
- "description": "Microsoft.Compute/sshPublicKeys",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-09-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the SSH public key.",
- "type": "string"
- },
- "properties": {
- "description": "Properties of the SSH public key.",
- "oneOf": [
- {
- "$ref": "#/definitions/SshPublicKeyResourceProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/sshPublicKeys"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets": {
- "description": "Microsoft.Compute/virtualMachineScaleSets",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-09-01"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location of the Virtual Machine Scale Set.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "identity": {
- "description": "The identity of the virtual machine scale set, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the VM scale set to create or update.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Scale Set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachineScaleSets_extensions_childResource"
- },
- {
- "$ref": "#/definitions/virtualMachineScaleSets_virtualMachines_childResource"
- }
- ]
- },
- "type": "array"
- },
- "sku": {
- "description": "The virtual machine scale set sku.",
- "oneOf": [
- {
- "$ref": "#/definitions/Sku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The virtual machine scale set zones. NOTE: Availability zones can only be set when you create the scale set",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-09-01"
- ],
- "type": "string"
- },
- "identity": {
- "description": "The identity of the virtual machine, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The instance ID of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachineScaleSets_virtualMachines_extensions_childResource"
- },
- {
- "$ref": "#/definitions/virtualMachineScaleSets_virtualMachines_runCommands_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets/virtualMachines"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_extensions": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-09-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "The location of the extension.",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine extension.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Extension.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachineScaleSets_virtualMachines_runCommands": {
- "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/runCommands",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-09-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine run command.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/runCommands"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines": {
- "description": "Microsoft.Compute/virtualMachines",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-09-01"
- ],
- "type": "string"
- },
- "extendedLocation": {
- "description": "The extended location of the Virtual Machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/ExtendedLocation"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "identity": {
- "description": "The identity of the virtual machine, if configured.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine.",
- "type": "string"
- },
- "plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "oneOf": [
- {
- "$ref": "#/definitions/Plan"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resources": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/virtualMachines_extensions_childResource"
- },
- {
- "$ref": "#/definitions/virtualMachines_runCommands_childResource"
- }
- ]
- },
- "type": "array"
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachines"
- ],
- "type": "string"
- },
- "zones": {
- "description": "The virtual machine zones.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- },
- "virtualMachines_runCommands": {
- "description": "Microsoft.Compute/virtualMachines/runCommands",
- "properties": {
- "apiVersion": {
- "enum": [
- "2023-09-01"
- ],
- "type": "string"
- },
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "name": {
- "description": "The name of the virtual machine run command.",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "enum": [
- "Microsoft.Compute/virtualMachines/runCommands"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "properties",
- "apiVersion",
- "type"
- ],
- "type": "object"
- }
- },
- "definitions": {
- "AdditionalCapabilities": {
- "description": "Enables or disables a capability on the virtual machine or virtual machine scale set.",
- "properties": {
- "hibernationEnabled": {
- "description": "The flag that enables or disables hibernation capability on the VM.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ultraSSDEnabled": {
- "description": "The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "AdditionalUnattendContent": {
- "description": "Specifies additional XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is applied.",
- "properties": {
- "componentName": {
- "description": "The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup.",
- "oneOf": [
- {
- "enum": [
- "Microsoft-Windows-Shell-Setup"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "content": {
- "description": "Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted.",
- "type": "string"
- },
- "passName": {
- "description": "The pass name. Currently, the only allowable value is OobeSystem.",
- "oneOf": [
- {
- "enum": [
- "OobeSystem"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "settingName": {
- "description": "Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon.",
- "oneOf": [
- {
- "enum": [
- "AutoLogon",
- "FirstLogonCommands"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ApiEntityReference": {
- "description": "The API entity reference.",
- "properties": {
- "id": {
- "description": "The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ApplicationProfile": {
- "description": "Contains the list of gallery applications that should be made available to the VM/VMSS",
- "properties": {
- "galleryApplications": {
- "description": "Specifies the gallery applications that should be made available to the VM/VMSS",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VMGalleryApplication"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "AutomaticOSUpgradePolicy": {
- "description": "The configuration parameters used for performing automatic OS upgrade.",
- "properties": {
- "disableAutomaticRollback": {
- "description": "Whether OS image rollback feature should be disabled. Default value is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticOSUpgrade": {
- "description": "Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. Default value is false. If this is set to true for Windows based scale sets, [enableAutomaticUpdates](https://docs.microsoft.com/dotnet/api/microsoft.azure.management.compute.models.windowsconfiguration.enableautomaticupdates?view=azure-dotnet) is automatically set to false and cannot be set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osRollingUpgradeDeferral": {
- "description": "Indicates whether Auto OS Upgrade should undergo deferral. Deferred OS upgrades will send advanced notifications on a per-VM basis that an OS upgrade from rolling upgrades is incoming, via the IMDS tag 'Platform.PendingOSUpgrade'. The upgrade then defers until the upgrade is approved via an ApproveRollingUpgrade call.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "useRollingUpgradePolicy": {
- "description": "Indicates whether rolling upgrade policy should be used during Auto OS Upgrade. Default value is false. Auto OS Upgrade will fallback to the default policy if no policy is defined on the VMSS.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "AutomaticRepairsPolicy": {
- "description": "Specifies the configuration parameters for automatic repairs on the virtual machine scale set.",
- "properties": {
- "enabled": {
- "description": "Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "gracePeriod": {
- "description": "The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The minimum allowed grace period is 10 minutes (PT10M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M).",
- "type": "string"
- },
- "repairAction": {
- "description": "Type of repair action (replace, restart, reimage) that will be used for repairing unhealthy virtual machines in the scale set. Default value is replace.",
- "oneOf": [
- {
- "enum": [
- "Replace",
- "Restart",
- "Reimage"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "AvailabilitySetProperties": {
- "description": "The instance view of a resource.",
- "properties": {
- "platformFaultDomainCount": {
- "description": "Fault Domain count.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformUpdateDomainCount": {
- "description": "Update Domain count.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the availability set should be assigned to. Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "virtualMachines": {
- "description": "A list of references to all virtual machines in the availability set.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "BillingProfile": {
- "description": "Specifies the billing related details of a Azure Spot VM or VMSS. Minimum api-version: 2019-03-01.",
- "properties": {
- "maxPrice": {
- "description": "Specifies the maximum price you are willing to pay for a Azure Spot VM/VMSS. This price is in US Dollars.
This price will be compared with the current Azure Spot price for the VM size. Also, the prices are compared at the time of create/update of Azure Spot VM/VMSS and the operation will only succeed if the maxPrice is greater than the current Azure Spot price.
The maxPrice will also be used for evicting a Azure Spot VM/VMSS if the current Azure Spot price goes beyond the maxPrice after creation of VM/VMSS.
Possible values are:
- Any decimal value greater than zero. Example: 0.01538
-1 – indicates default price to be up-to on-demand.
You can set the maxPrice to -1 to indicate that the Azure Spot VM/VMSS should not be evicted for price reasons. Also, the default max price is -1 if it is not provided by you.
Minimum api-version: 2019-03-01.",
- "oneOf": [
- {
- "type": "number"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "BootDiagnostics": {
- "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. You can easily view the output of your console log. Azure also enables you to see a screenshot of the VM from the hypervisor.",
- "properties": {
- "enabled": {
- "description": "Whether boot diagnostics should be enabled on the Virtual Machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageUri": {
- "description": "Uri of the storage account to use for placing the console output and screenshot. If storageUri is not specified while enabling boot diagnostics, managed storage will be used.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "CapacityReservationGroupProperties": {
- "description": "capacity reservation group Properties.",
- "properties": {
- "sharingProfile": {
- "description": "Specifies the settings to enable sharing across subscriptions for the capacity reservation group resource. Pls. keep in mind the capacity reservation group resource generally can be shared across subscriptions belonging to a single azure AAD tenant or cross AAD tenant if there is a trust relationship established between the AAD tenants. **Note:** Minimum api-version: 2023-09-01. Please refer to https://aka.ms/computereservationsharing for more details.",
- "oneOf": [
- {
- "$ref": "#/definitions/ResourceSharingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "CapacityReservationProfile": {
- "description": "The parameters of a capacity reservation Profile.",
- "properties": {
- "capacityReservationGroup": {
- "description": "Specifies the capacity reservation group resource id that should be used for allocating the virtual machine or scaleset vm instances provided enough capacity has been reserved. Please refer to https://aka.ms/CapacityReservation for more details.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "CapacityReservationProperties": {
- "description": "Properties of the Capacity reservation.",
- "properties": {},
- "type": "object"
- },
- "DataDisk": {
- "description": "Describes a data disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The defaulting behavior is: **None for Standard storage. ReadOnly for Premium storage.**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machine should be created. Possible values are: **Attach.** This value is used when you are using a specialized disk to create the virtual machine. **FromImage.** This value is used when you are using an image to create the virtual machine. If you are using a platform image, you should also use the imageReference element described above. If you are using a marketplace image, you should also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "deleteOption": {
- "description": "Specifies whether data disk should be deleted or detached upon VM deletion. Possible values are: **Delete.** If this value is used, the data disk is deleted when VM is deleted. **Detach.** If this value is used, the data disk is retained after VM is deleted. The default value is set to **Detach**.",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "detachOption": {
- "description": "Specifies the detach behavior to be used while detaching a disk or which is already in the process of detachment from the virtual machine. Supported values: **ForceDetach.** detachOption: **ForceDetach** is applicable only for managed data disks. If a previous detachment attempt of the data disk did not complete due to an unexpected failure from the virtual machine and the disk is still not released then use force-detach as a last resort option to detach the disk forcibly from the VM. All writes might not have been flushed when using this detach behavior. **This feature is still in preview** mode and is not supported for VirtualMachineScaleSet. To force-detach a data disk update toBeDetached to 'true' along with setting detachOption: 'ForceDetach'.",
- "oneOf": [
- {
- "enum": [
- "ForceDetach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property 'diskSizeGB' is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/ManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "toBeDetached": {
- "description": "Specifies whether the data disk is in process of detachment from the VirtualMachine/VirtualMachineScaleset",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhd": {
- "description": "The virtual hard disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun",
- "createOption"
- ],
- "type": "object"
- },
- "DedicatedHostGroupProperties": {
- "description": "Dedicated Host Group Properties.",
- "properties": {
- "additionalCapabilities": {
- "description": "Enables or disables a capability on the dedicated host group. Minimum api-version: 2022-03-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/DedicatedHostGroupPropertiesAdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformFaultDomainCount": {
- "description": "Number of fault domains that the host group can span.",
- "oneOf": [
- {
- "minimum": 1,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "supportAutomaticPlacement": {
- "description": "Specifies whether virtual machines or virtual machine scale sets can be placed automatically on the dedicated host group. Automatic placement means resources are allocated on dedicated hosts, that are chosen by Azure, under the dedicated host group. The value is defaulted to 'false' when not provided. Minimum api-version: 2020-06-01.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "platformFaultDomainCount"
- ],
- "type": "object"
- },
- "DedicatedHostGroupPropertiesAdditionalCapabilities": {
- "description": "Enables or disables a capability on the dedicated host group. Minimum api-version: 2022-03-01.",
- "properties": {
- "ultraSSDEnabled": {
- "description": "The flag that enables or disables a capability to have UltraSSD Enabled Virtual Machines on Dedicated Hosts of the Dedicated Host Group. For the Virtual Machines to be UltraSSD Enabled, UltraSSDEnabled flag for the resource needs to be set true as well. The value is defaulted to 'false' when not provided. Please refer to https://docs.microsoft.com/en-us/azure/virtual-machines/disks-enable-ultra-ssd for more details on Ultra SSD feature. **Note:** The ultraSSDEnabled setting can only be enabled for Host Groups that are created as zonal. Minimum api-version: 2022-03-01.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DedicatedHostProperties": {
- "description": "Properties of the dedicated host.",
- "properties": {
- "autoReplaceOnFailure": {
- "description": "Specifies whether the dedicated host should be replaced automatically in case of a failure. The value is defaulted to 'true' when not provided.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies the software license type that will be applied to the VMs deployed on the dedicated host. Possible values are: **None,** **Windows_Server_Hybrid,** **Windows_Server_Perpetual.** The default value is: **None.**",
- "oneOf": [
- {
- "enum": [
- "None",
- "Windows_Server_Hybrid",
- "Windows_Server_Perpetual"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformFaultDomain": {
- "description": "Fault domain of the dedicated host within a dedicated host group.",
- "oneOf": [
- {
- "minimum": 0,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15.",
- "properties": {
- "bootDiagnostics": {
- "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. **NOTE**: If storageUri is being specified then ensure that the storage account is in the same region and subscription as the VM. You can easily view the output of your console log. Azure also enables you to see a screenshot of the VM from the hypervisor.",
- "oneOf": [
- {
- "$ref": "#/definitions/BootDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiffDiskSettings": {
- "description": "Describes the parameters of ephemeral disk settings that can be specified for operating system disk. **Note:** The ephemeral disk settings can only be specified for managed disk.",
- "properties": {
- "option": {
- "description": "Specifies the ephemeral disk settings for operating system disk.",
- "oneOf": [
- {
- "enum": [
- "Local"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "placement": {
- "description": "Specifies the ephemeral disk placement for operating system disk. Possible values are: **CacheDisk,** **ResourceDisk.** The defaulting behavior is: **CacheDisk** if one is configured for the VM size otherwise **ResourceDisk** is used. Refer to the VM size documentation for Windows VM at https://docs.microsoft.com/azure/virtual-machines/windows/sizes and Linux VM at https://docs.microsoft.com/azure/virtual-machines/linux/sizes to check which VM sizes exposes a cache disk.",
- "oneOf": [
- {
- "enum": [
- "CacheDisk",
- "ResourceDisk"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiskEncryptionSetParameters": {
- "description": "Describes the parameter of customer managed disk encryption set resource id that can be specified for disk. **Note:** The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "DiskEncryptionSettings": {
- "description": "Describes a Encryption Settings for a Disk",
- "properties": {
- "diskEncryptionKey": {
- "description": "Specifies the location of the disk encryption key, which is a Key Vault Secret.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enabled": {
- "description": "Specifies whether disk encryption should be enabled on the virtual machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "keyEncryptionKey": {
- "description": "Specifies the location of the key encryption key in Key Vault.",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultKeyReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "DiskRestorePointAttributes": {
- "description": "Disk Restore Point details.",
- "properties": {
- "encryption": {
- "description": "Encryption at rest settings for disk restore point. It is an optional property that can be specified in the input while creating a restore point.",
- "oneOf": [
- {
- "$ref": "#/definitions/RestorePointEncryption"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sourceDiskRestorePoint": {
- "description": "Resource Id of the source disk restore point.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApiEntityReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "EncryptionIdentity": {
- "description": "Specifies the Managed Identity used by ADE to get access token for keyvault operations.",
- "properties": {
- "userAssignedIdentityResourceId": {
- "description": "Specifies ARM Resource ID of one of the user identities associated with the VM.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ExtendedLocation": {
- "description": "The complex type of the extended location.",
- "properties": {
- "name": {
- "description": "The name of the extended location.",
- "type": "string"
- },
- "type": {
- "description": "The type of the extended location.",
- "oneOf": [
- {
- "enum": [
- "EdgeZone"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "HardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "properties": {
- "vmSize": {
- "description": "Specifies the size of the virtual machine. The enum data type is currently deprecated and will be removed by December 23rd 2023. The recommended way to get the list of available sizes is using these APIs: [List all available virtual machine sizes in an availability set](https://docs.microsoft.com/rest/api/compute/availabilitysets/listavailablesizes), [List all available virtual machine sizes in a region]( https://docs.microsoft.com/rest/api/compute/resourceskus/list), [List all available virtual machine sizes for resizing](https://docs.microsoft.com/rest/api/compute/virtualmachines/listavailablesizes). For more information about virtual machine sizes, see [Sizes for virtual machines](https://docs.microsoft.com/azure/virtual-machines/sizes). The available VM sizes depend on region and availability set.",
- "oneOf": [
- {
- "enum": [
- "Basic_A0",
- "Basic_A1",
- "Basic_A2",
- "Basic_A3",
- "Basic_A4",
- "Standard_A0",
- "Standard_A1",
- "Standard_A2",
- "Standard_A3",
- "Standard_A4",
- "Standard_A5",
- "Standard_A6",
- "Standard_A7",
- "Standard_A8",
- "Standard_A9",
- "Standard_A10",
- "Standard_A11",
- "Standard_A1_v2",
- "Standard_A2_v2",
- "Standard_A4_v2",
- "Standard_A8_v2",
- "Standard_A2m_v2",
- "Standard_A4m_v2",
- "Standard_A8m_v2",
- "Standard_B1s",
- "Standard_B1ms",
- "Standard_B2s",
- "Standard_B2ms",
- "Standard_B4ms",
- "Standard_B8ms",
- "Standard_D1",
- "Standard_D2",
- "Standard_D3",
- "Standard_D4",
- "Standard_D11",
- "Standard_D12",
- "Standard_D13",
- "Standard_D14",
- "Standard_D1_v2",
- "Standard_D2_v2",
- "Standard_D3_v2",
- "Standard_D4_v2",
- "Standard_D5_v2",
- "Standard_D2_v3",
- "Standard_D4_v3",
- "Standard_D8_v3",
- "Standard_D16_v3",
- "Standard_D32_v3",
- "Standard_D64_v3",
- "Standard_D2s_v3",
- "Standard_D4s_v3",
- "Standard_D8s_v3",
- "Standard_D16s_v3",
- "Standard_D32s_v3",
- "Standard_D64s_v3",
- "Standard_D11_v2",
- "Standard_D12_v2",
- "Standard_D13_v2",
- "Standard_D14_v2",
- "Standard_D15_v2",
- "Standard_DS1",
- "Standard_DS2",
- "Standard_DS3",
- "Standard_DS4",
- "Standard_DS11",
- "Standard_DS12",
- "Standard_DS13",
- "Standard_DS14",
- "Standard_DS1_v2",
- "Standard_DS2_v2",
- "Standard_DS3_v2",
- "Standard_DS4_v2",
- "Standard_DS5_v2",
- "Standard_DS11_v2",
- "Standard_DS12_v2",
- "Standard_DS13_v2",
- "Standard_DS14_v2",
- "Standard_DS15_v2",
- "Standard_DS13-4_v2",
- "Standard_DS13-2_v2",
- "Standard_DS14-8_v2",
- "Standard_DS14-4_v2",
- "Standard_E2_v3",
- "Standard_E4_v3",
- "Standard_E8_v3",
- "Standard_E16_v3",
- "Standard_E32_v3",
- "Standard_E64_v3",
- "Standard_E2s_v3",
- "Standard_E4s_v3",
- "Standard_E8s_v3",
- "Standard_E16s_v3",
- "Standard_E32s_v3",
- "Standard_E64s_v3",
- "Standard_E32-16_v3",
- "Standard_E32-8s_v3",
- "Standard_E64-32s_v3",
- "Standard_E64-16s_v3",
- "Standard_F1",
- "Standard_F2",
- "Standard_F4",
- "Standard_F8",
- "Standard_F16",
- "Standard_F1s",
- "Standard_F2s",
- "Standard_F4s",
- "Standard_F8s",
- "Standard_F16s",
- "Standard_F2s_v2",
- "Standard_F4s_v2",
- "Standard_F8s_v2",
- "Standard_F16s_v2",
- "Standard_F32s_v2",
- "Standard_F64s_v2",
- "Standard_F72s_v2",
- "Standard_G1",
- "Standard_G2",
- "Standard_G3",
- "Standard_G4",
- "Standard_G5",
- "Standard_GS1",
- "Standard_GS2",
- "Standard_GS3",
- "Standard_GS4",
- "Standard_GS5",
- "Standard_GS4-8",
- "Standard_GS4-4",
- "Standard_GS5-16",
- "Standard_GS5-8",
- "Standard_H8",
- "Standard_H16",
- "Standard_H8m",
- "Standard_H16m",
- "Standard_H16r",
- "Standard_H16mr",
- "Standard_L4s",
- "Standard_L8s",
- "Standard_L16s",
- "Standard_L32s",
- "Standard_M64s",
- "Standard_M64ms",
- "Standard_M128s",
- "Standard_M128ms",
- "Standard_M64-32ms",
- "Standard_M64-16ms",
- "Standard_M128-64ms",
- "Standard_M128-32ms",
- "Standard_NC6",
- "Standard_NC12",
- "Standard_NC24",
- "Standard_NC24r",
- "Standard_NC6s_v2",
- "Standard_NC12s_v2",
- "Standard_NC24s_v2",
- "Standard_NC24rs_v2",
- "Standard_NC6s_v3",
- "Standard_NC12s_v3",
- "Standard_NC24s_v3",
- "Standard_NC24rs_v3",
- "Standard_ND6s",
- "Standard_ND12s",
- "Standard_ND24s",
- "Standard_ND24rs",
- "Standard_NV6",
- "Standard_NV12",
- "Standard_NV24"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vmSizeProperties": {
- "description": "Specifies the properties for customizing the size of the virtual machine. Minimum api-version: 2021-07-01. This feature is still in preview mode and is not supported for VirtualMachineScaleSet. Please follow the instructions in [VM Customization](https://aka.ms/vmcustomization) for more details.",
- "oneOf": [
- {
- "$ref": "#/definitions/VMSizeProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImageDataDisk": {
- "description": "Describes a data disk.",
- "properties": {
- "blobUri": {
- "description": "The Virtual Hard Disk.",
- "type": "string"
- },
- "caching": {
- "description": "Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The default values are: **None for Standard storage. ReadOnly for Premium storage.**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed image disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image. This value cannot be larger than 1023 GB.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managedDisk.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "snapshot": {
- "description": "The snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS",
- "Premium_ZRS",
- "StandardSSD_ZRS",
- "PremiumV2_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun"
- ],
- "type": "object"
- },
- "ImageOSDisk": {
- "description": "Describes an Operating System disk.",
- "properties": {
- "blobUri": {
- "description": "The Virtual Hard Disk.",
- "type": "string"
- },
- "caching": {
- "description": "Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The default values are: **None for Standard storage. ReadOnly for Premium storage.**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed image disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image. This value cannot be larger than 1023 GB.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managedDisk.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osState": {
- "description": "The OS State. For managed images, use Generalized.",
- "oneOf": [
- {
- "enum": [
- "Generalized",
- "Specialized"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from a custom image. Possible values are: **Windows,** **Linux.**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "snapshot": {
- "description": "The snapshot.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS",
- "Premium_ZRS",
- "StandardSSD_ZRS",
- "PremiumV2_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "osType",
- "osState"
- ],
- "type": "object"
- },
- "ImageProperties": {
- "description": "Describes the properties of an Image.",
- "properties": {
- "hyperVGeneration": {
- "description": "Specifies the HyperVGenerationType of the VirtualMachine created from the image. From API Version 2019-03-01 if the image source is a blob, then we need the user to specify the value, if the source is managed resource like disk or snapshot, we may require the user to specify the property if we cannot deduce it from the source managed resource.",
- "oneOf": [
- {
- "enum": [
- "V1",
- "V2"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sourceVirtualMachine": {
- "description": "The source virtual machine from which Image is created.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ImageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. NOTE: Image reference publisher and offer can only be set when you create the scale set.",
- "properties": {
- "communityGalleryImageId": {
- "description": "Specified the community gallery image unique id for vm deployment. This can be fetched from community gallery image GET call.",
- "type": "string"
- },
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "offer": {
- "description": "Specifies the offer of the platform image or marketplace image used to create the virtual machine.",
- "type": "string"
- },
- "publisher": {
- "description": "The image publisher.",
- "type": "string"
- },
- "sharedGalleryImageId": {
- "description": "Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call.",
- "type": "string"
- },
- "sku": {
- "description": "The image SKU.",
- "type": "string"
- },
- "version": {
- "description": "Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available. Please do not use field 'version' for gallery image deployment, gallery image should always use 'id' field for deployment, to use 'latest' version of gallery image, just set '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}' in the 'id' field without version input.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ImageStorageProfile": {
- "description": "Describes a storage profile.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add a data disk to a virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/ImageDataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageOSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "zoneResilient": {
- "description": "Specifies whether an image is zone resilient or not. Default is false. Zone resilient images can be created only in regions that provide Zone Redundant Storage (ZRS).",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "InstanceViewStatus": {
- "description": "Instance view status.",
- "properties": {
- "code": {
- "description": "The status code.",
- "type": "string"
- },
- "displayStatus": {
- "description": "The short localizable label for the status.",
- "type": "string"
- },
- "level": {
- "description": "The level code.",
- "oneOf": [
- {
- "enum": [
- "Info",
- "Warning",
- "Error"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "message": {
- "description": "The detailed status message, including for alerts and error messages.",
- "type": "string"
- },
- "time": {
- "description": "The time of the status.",
- "format": "date-time",
- "type": "string"
- }
- },
- "type": "object"
- },
- "KeyVaultKeyReference": {
- "description": "Describes a reference to Key Vault Key",
- "properties": {
- "keyUrl": {
- "description": "The URL referencing a key encryption key in Key Vault.",
- "type": "string"
- },
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing the key.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "keyUrl",
- "sourceVault"
- ],
- "type": "object"
- },
- "KeyVaultSecretReference": {
- "description": "Describes a reference to Key Vault Secret",
- "properties": {
- "secretUrl": {
- "description": "The URL referencing a secret in a Key Vault.",
- "type": "string"
- },
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing the secret.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "secretUrl",
- "sourceVault"
- ],
- "type": "object"
- },
- "LinuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine. For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros).",
- "properties": {
- "disablePasswordAuthentication": {
- "description": "Specifies whether password authentication should be disabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableVMAgentPlatformUpdates": {
- "description": "Indicates whether VMAgent Platform Updates is enabled for the Linux virtual machine. Default value is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "patchSettings": {
- "description": "[Preview Feature] Specifies settings related to VM Guest Patching on Linux.",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxPatchSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionVMAgent": {
- "description": "Indicates whether virtual machine agent should be provisioned on the virtual machine. When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ssh": {
- "description": "Specifies the ssh key configuration for a Linux OS.",
- "oneOf": [
- {
- "$ref": "#/definitions/SshConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "LinuxPatchSettings": {
- "description": "Specifies settings related to VM Guest Patching on Linux.",
- "properties": {
- "assessmentMode": {
- "description": "Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine.
Possible values are:
**ImageDefault** - You control the timing of patch assessments on a virtual machine.
**AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true.",
- "oneOf": [
- {
- "enum": [
- "ImageDefault",
- "AutomaticByPlatform"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "automaticByPlatformSettings": {
- "description": "Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Linux.",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxVMGuestPatchAutomaticByPlatformSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "patchMode": {
- "description": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.
Possible values are:
**ImageDefault** - The virtual machine's default patching configuration is used.
**AutomaticByPlatform** - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true",
- "oneOf": [
- {
- "enum": [
- "ImageDefault",
- "AutomaticByPlatform"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "LinuxVMGuestPatchAutomaticByPlatformSettings": {
- "description": "Specifies additional settings to be applied when patch mode AutomaticByPlatform is selected in Linux patch settings.",
- "properties": {
- "bypassPlatformSafetyChecksOnUserSchedule": {
- "description": "Enables customer to schedule patching without accidental upgrades",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "rebootSetting": {
- "description": "Specifies the reboot setting for all AutomaticByPlatform patch installation operations.",
- "oneOf": [
- {
- "enum": [
- "Unknown",
- "IfRequired",
- "Never",
- "Always"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ManagedDiskParameters": {
- "description": "The parameters of a managed disk.",
- "properties": {
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "securityProfile": {
- "description": "Specifies the security profile for the managed disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VMDiskSecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS",
- "Premium_ZRS",
- "StandardSSD_ZRS",
- "PremiumV2_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkInterfaceReference": {
- "description": "Describes a network interface reference.",
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- },
- "properties": {
- "description": "Describes a network interface reference properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkInterfaceReferenceProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkInterfaceReferenceProperties": {
- "description": "Describes a network interface reference properties.",
- "properties": {
- "deleteOption": {
- "description": "Specify what happens to the network interface when the VM is deleted",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "NetworkProfile": {
- "description": "Specifies the network interfaces or the networking configuration of the virtual machine.",
- "properties": {
- "networkApiVersion": {
- "description": "specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations",
- "oneOf": [
- {
- "enum": [
- "2020-11-01"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkInterfaceConfigurations": {
- "description": "Specifies the networking configurations that will be used to create the virtual machine networking resources.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineNetworkInterfaceConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkInterfaces": {
- "description": "Specifies the list of resource Ids for the network interfaces associated with the virtual machine.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/NetworkInterfaceReference"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "OSDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine. For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The defaulting behavior is: **None for Standard storage. ReadOnly for Premium storage.**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machine should be created. Possible values are: **Attach.** This value is used when you are using a specialized disk to create the virtual machine. **FromImage.** This value is used when you are using an image to create the virtual machine. If you are using a platform image, you should also use the imageReference element described above. If you are using a marketplace image, you should also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "deleteOption": {
- "description": "Specifies whether OS Disk should be deleted or detached upon VM deletion. Possible values are: **Delete.** If this value is used, the OS disk is deleted when VM is deleted. **Detach.** If this value is used, the os disk is retained after VM is deleted. The default value is set to **Detach**. For an ephemeral OS Disk, the default value is set to **Delete**. The user cannot change the delete option for an ephemeral OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diffDiskSettings": {
- "description": "Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiffDiskSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property 'diskSizeGB' is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionSettings": {
- "description": "Specifies the encryption settings for the OS Disk. Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/ManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. Possible values are: **Windows,** **Linux.**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhd": {
- "description": "The virtual hard disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "OSImageNotificationProfile": {
- "properties": {
- "enable": {
- "description": "Specifies whether the OS Image Scheduled event is enabled or disabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "notBeforeTimeout": {
- "description": "Length of time a Virtual Machine being reimaged or having its OS upgraded will have to potentially approve the OS Image Scheduled Event before the event is auto approved (timed out). The configuration is specified in ISO 8601 format, and the value must be 15 minutes (PT15M)",
- "type": "string"
- }
- },
- "type": "object"
- },
- "OSProfile": {
- "description": "Specifies the operating system settings for the virtual machine. Some of the settings cannot be changed once VM is provisioned.",
- "properties": {
- "adminPassword": {
- "description": "Specifies the password of the administrator account.
**Minimum-length (Windows):** 8 characters
**Minimum-length (Linux):** 6 characters
**Max-length (Windows):** 123 characters
**Max-length (Linux):** 72 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])
**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"
For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp)
For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)",
- "type": "string"
- },
- "adminUsername": {
- "description": "Specifies the name of the administrator account.
This property cannot be updated after the VM is created.
**Windows-only restriction:** Cannot end in \".\"
**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters.",
- "type": "string"
- },
- "allowExtensionOperations": {
- "description": "Specifies whether extension operations should be allowed on the virtual machine. This may only be set to False when no extensions are present on the virtual machine.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "computerName": {
- "description": "Specifies the host OS name of the virtual machine. This name cannot be updated after the VM is created. **Max-length (Windows):** 15 characters. **Max-length (Linux):** 64 characters. For naming conventions and restrictions see [Azure infrastructure services implementation guidelines](https://docs.microsoft.com/azure/azure-resource-manager/management/resource-name-rules).",
- "type": "string"
- },
- "customData": {
- "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes. **Note: Do not pass any secrets or passwords in customData property.** This property cannot be updated after the VM is created. The property 'customData' is passed to the VM to be saved as a file, for more information see [Custom Data on Azure VMs](https://azure.microsoft.com/blog/custom-data-and-cloud-init-on-windows-azure/). For using cloud-init for your Linux VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init).",
- "type": "string"
- },
- "linuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine. For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros).",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "requireGuestProvisionSignal": {
- "description": "Optional property which must either be set to True or omitted.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "secrets": {
- "description": "Specifies set of certificates that should be installed onto the virtual machine. To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultSecretGroup"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "windowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/WindowsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "PatchSettings": {
- "description": "Specifies settings related to VM Guest Patching on Windows.",
- "properties": {
- "assessmentMode": {
- "description": "Specifies the mode of VM Guest patch assessment for the IaaS virtual machine.
Possible values are:
**ImageDefault** - You control the timing of patch assessments on a virtual machine.
**AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true. ",
- "oneOf": [
- {
- "enum": [
- "ImageDefault",
- "AutomaticByPlatform"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "automaticByPlatformSettings": {
- "description": "Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Windows.",
- "oneOf": [
- {
- "$ref": "#/definitions/WindowsVMGuestPatchAutomaticByPlatformSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableHotpatching": {
- "description": "Enables customers to patch their Azure VMs without requiring a reboot. For enableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode' must be set to 'AutomaticByPlatform'.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "patchMode": {
- "description": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.
Possible values are:
**Manual** - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false
**AutomaticByOS** - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true.
**AutomaticByPlatform** - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true ",
- "oneOf": [
- {
- "enum": [
- "Manual",
- "AutomaticByOS",
- "AutomaticByPlatform"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "Plan": {
- "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
- "properties": {
- "name": {
- "description": "The plan ID.",
- "type": "string"
- },
- "product": {
- "description": "Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.",
- "type": "string"
- },
- "promotionCode": {
- "description": "The promotion code.",
- "type": "string"
- },
- "publisher": {
- "description": "The publisher ID.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "PriorityMixPolicy": {
- "description": "Specifies the target splits for Spot and Regular priority VMs within a scale set with flexible orchestration mode. With this property the customer is able to specify the base number of regular priority VMs created as the VMSS flex instance scales out and the split between Spot and Regular priority VMs after this base target has been reached.",
- "properties": {
- "baseRegularPriorityCount": {
- "description": "The base number of regular priority VMs that will be created in this scale set as it scales out.",
- "oneOf": [
- {
- "minimum": 0,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "regularPriorityPercentageAboveBase": {
- "description": "The percentage of VM instances, after the base regular priority count has been reached, that are expected to use regular priority.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ProximityPlacementGroupProperties": {
- "description": "Describes the properties of a Proximity Placement Group.",
- "properties": {
- "colocationStatus": {
- "description": "Describes colocation status of the Proximity Placement Group.",
- "oneOf": [
- {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "intent": {
- "description": "Specifies the user intent of the proximity placement group.",
- "oneOf": [
- {
- "$ref": "#/definitions/ProximityPlacementGroupPropertiesIntent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroupType": {
- "description": "Specifies the type of the proximity placement group. Possible values are: **Standard** : Co-locate resources within an Azure region or Availability Zone. **Ultra** : For future use.",
- "oneOf": [
- {
- "enum": [
- "Standard",
- "Ultra"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ProximityPlacementGroupPropertiesIntent": {
- "description": "Specifies the user intent of the proximity placement group.",
- "properties": {
- "vmSizes": {
- "description": "Specifies possible sizes of virtual machines that can be created in the proximity placement group.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ProxyAgentSettings": {
- "description": "Specifies ProxyAgent settings while creating the virtual machine. Minimum api-version: 2023-09-01.",
- "properties": {
- "enabled": {
- "description": "Specifies whether ProxyAgent feature should be enabled on the virtual machine or virtual machine scale set.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "keyIncarnationId": {
- "description": "Increase the value of this property allows user to reset the key used for securing communication channel between guest and host.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "mode": {
- "description": "Specifies the mode that ProxyAgent will execute on if the feature is enabled. ProxyAgent will start to audit or monitor but not enforce access control over requests to host endpoints in Audit mode, while in Enforce mode it will enforce access control. The default value is Enforce mode.",
- "oneOf": [
- {
- "enum": [
- "Audit",
- "Enforce"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "PublicIPAddressSku": {
- "description": "Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible.",
- "properties": {
- "name": {
- "description": "Specify public IP sku name",
- "oneOf": [
- {
- "enum": [
- "Basic",
- "Standard"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tier": {
- "description": "Specify public IP sku tier",
- "oneOf": [
- {
- "enum": [
- "Regional",
- "Global"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ResiliencyPolicy": {
- "description": "Describes an resiliency policy - resilientVMCreationPolicy and/or resilientVMDeletionPolicy.",
- "properties": {
- "resilientVMCreationPolicy": {
- "description": "The configuration parameters used while performing resilient VM creation.",
- "oneOf": [
- {
- "$ref": "#/definitions/ResilientVMCreationPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resilientVMDeletionPolicy": {
- "description": "The configuration parameters used while performing resilient VM deletion.",
- "oneOf": [
- {
- "$ref": "#/definitions/ResilientVMDeletionPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ResilientVMCreationPolicy": {
- "description": "The configuration parameters used while performing resilient VM creation.",
- "properties": {
- "enabled": {
- "description": "Specifies whether resilient VM creation should be enabled on the virtual machine scale set. The default value is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ResilientVMDeletionPolicy": {
- "description": "The configuration parameters used while performing resilient VM deletion.",
- "properties": {
- "enabled": {
- "description": "Specifies whether resilient VM deletion should be enabled on the virtual machine scale set. The default value is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ResourceSharingProfile": {
- "properties": {
- "subscriptionIds": {
- "description": "Specifies an array of subscription resource IDs that capacity reservation group is shared with. **Note:** Minimum api-version: 2023-09-01. Please refer to https://aka.ms/computereservationsharing for more details.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RestorePointCollectionProperties": {
- "description": "The restore point collection properties.",
- "properties": {
- "source": {
- "description": "The properties of the source resource that this restore point collection is created from.",
- "oneOf": [
- {
- "$ref": "#/definitions/RestorePointCollectionSourceProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RestorePointCollectionSourceProperties": {
- "description": "The properties of the source resource that this restore point collection is created from.",
- "properties": {
- "id": {
- "description": "Resource Id of the source resource used to create this restore point collection",
- "type": "string"
- }
- },
- "type": "object"
- },
- "RestorePointEncryption": {
- "description": "Encryption at rest settings for disk restore point. It is an optional property that can be specified in the input while creating a restore point.",
- "properties": {
- "diskEncryptionSet": {
- "description": "Describes the parameter of customer managed disk encryption set resource id that can be specified for disk. **Note:** The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "The type of key used to encrypt the data of the disk restore point.",
- "oneOf": [
- {
- "enum": [
- "EncryptionAtRestWithPlatformKey",
- "EncryptionAtRestWithCustomerKey",
- "EncryptionAtRestWithPlatformAndCustomerKeys"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RestorePointProperties": {
- "description": "The restore point properties.",
- "properties": {
- "consistencyMode": {
- "description": "ConsistencyMode of the RestorePoint. Can be specified in the input while creating a restore point. For now, only CrashConsistent is accepted as a valid input. Please refer to https://aka.ms/RestorePoints for more details.",
- "oneOf": [
- {
- "enum": [
- "CrashConsistent",
- "FileSystemConsistent",
- "ApplicationConsistent"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "excludeDisks": {
- "description": "List of disk resource ids that the customer wishes to exclude from the restore point. If no disks are specified, all disks will be included.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/ApiEntityReference"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sourceMetadata": {
- "description": "Gets the details of the VM captured at the time of the restore point creation.",
- "oneOf": [
- {
- "$ref": "#/definitions/RestorePointSourceMetadata"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sourceRestorePoint": {
- "description": "Resource Id of the source restore point from which a copy needs to be created.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApiEntityReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "timeCreated": {
- "description": "Gets the creation time of the restore point.",
- "format": "date-time",
- "type": "string"
- }
- },
- "type": "object"
- },
- "RestorePointSourceMetadata": {
- "description": "Describes the properties of the Virtual Machine for which the restore point was created. The properties provided are a subset and the snapshot of the overall Virtual Machine properties captured at the time of the restore point creation.",
- "properties": {
- "storageProfile": {
- "description": "Gets the storage profile.",
- "oneOf": [
- {
- "$ref": "#/definitions/RestorePointSourceVMStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RestorePointSourceVMDataDisk": {
- "description": "Describes a data disk.",
- "properties": {
- "diskRestorePoint": {
- "description": "Contains Disk Restore Point properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskRestorePointAttributes"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "Contains the managed disk details.",
- "oneOf": [
- {
- "$ref": "#/definitions/ManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RestorePointSourceVMStorageProfile": {
- "description": "Describes the storage profile.",
- "properties": {
- "dataDisks": {
- "description": "Gets the data disks of the VM captured at the time of the restore point creation.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/RestorePointSourceVMDataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Gets the OS disk of the VM captured at the time of the restore point creation.",
- "oneOf": [
- {
- "$ref": "#/definitions/RestorePointSourceVmosDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RestorePointSourceVmosDisk": {
- "description": "Describes an Operating System disk.",
- "properties": {
- "diskRestorePoint": {
- "description": "Contains Disk Restore Point properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskRestorePointAttributes"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "Gets the managed disk details",
- "oneOf": [
- {
- "$ref": "#/definitions/ManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RollingUpgradePolicy": {
- "description": "The configuration parameters used while performing a rolling upgrade.",
- "properties": {
- "enableCrossZoneUpgrade": {
- "description": "Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxBatchInstancePercent": {
- "description": "The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 5,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxSurge": {
- "description": "Create new virtual machines to upgrade the scale set, rather than updating the existing virtual machines. Existing virtual machines will be deleted once the new virtual machines are created for each batch.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxUnhealthyInstancePercent": {
- "description": "The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 5,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "maxUnhealthyUpgradedInstancePercent": {
- "description": "The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The default value for this parameter is 20%.",
- "oneOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "pauseTimeBetweenBatches": {
- "description": "The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format. The default value is 0 seconds (PT0S).",
- "type": "string"
- },
- "prioritizeUnhealthyInstances": {
- "description": "Upgrade all unhealthy instances in a scale set before any healthy instances.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "rollbackFailedInstancesOnPolicyBreach": {
- "description": "Rollback failed instances to previous model if the Rolling Upgrade policy is violated.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "RunCommandInputParameter": {
- "description": "Describes the properties of a run command parameter.",
- "properties": {
- "name": {
- "description": "The run command parameter name.",
- "type": "string"
- },
- "value": {
- "description": "The run command parameter value.",
- "type": "string"
- }
- },
- "required": [
- "name",
- "value"
- ],
- "type": "object"
- },
- "RunCommandManagedIdentity": {
- "description": " Contains clientId or objectId (use only one, not both) of a user-assigned managed identity that has access to storage blob used in Run Command. Use an empty RunCommandManagedIdentity object in case of system-assigned identity. Make sure the Azure storage blob exists in case of scriptUri, and managed identity has been given access to blob's container with 'Storage Blob Data Reader' role assignment with scriptUri blob and 'Storage Blob Data Contributor' for Append blobs(outputBlobUri, errorBlobUri). In case of user assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged.",
- "properties": {
- "clientId": {
- "description": "Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.",
- "type": "string"
- },
- "objectId": {
- "description": "Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ScaleInPolicy": {
- "description": "Describes a scale-in policy for a virtual machine scale set.",
- "properties": {
- "forceDeletion": {
- "description": "This property allows you to specify if virtual machines chosen for removal have to be force deleted when a virtual machine scale set is being scaled-in.(Feature in Preview)",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "rules": {
- "description": "The rules to be followed when scaling-in a virtual machine scale set.
Possible values are:
**Default** When a virtual machine scale set is scaled in, the scale set will first be balanced across zones if it is a zonal scale set. Then, it will be balanced across Fault Domains as far as possible. Within each Fault Domain, the virtual machines chosen for removal will be the newest ones that are not protected from scale-in.
**OldestVM** When a virtual machine scale set is being scaled-in, the oldest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the oldest virtual machines that are not protected will be chosen for removal.
**NewestVM** When a virtual machine scale set is being scaled-in, the newest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the newest virtual machines that are not protected will be chosen for removal.
",
- "oneOf": [
- {
- "items": {
- "enum": [
- "Default",
- "OldestVM",
- "NewestVM"
- ],
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ScheduledEventsProfile": {
- "properties": {
- "osImageNotificationProfile": {
- "description": "Specifies OS Image Scheduled Event related configurations.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSImageNotificationProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "terminateNotificationProfile": {
- "description": "Specifies Terminate Scheduled Event related configurations.",
- "oneOf": [
- {
- "$ref": "#/definitions/TerminateNotificationProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SecurityPostureReference": {
- "description": "Specifies the security posture to be used for all virtual machines in the scale set. Minimum api-version: 2023-03-01",
- "properties": {
- "excludeExtensions": {
- "description": "List of virtual machine extensions to exclude when applying the Security Posture.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineExtension"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "id": {
- "description": "The security posture reference id in the form of /CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SecurityProfile": {
- "description": "Specifies the Security profile settings for the virtual machine or virtual machine scale set.",
- "properties": {
- "encryptionAtHost": {
- "description": "This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself. The default behavior is: The Encryption at host will be disabled unless this property is set to true for the resource.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "encryptionIdentity": {
- "description": "Specifies the Managed Identity used by ADE to get access token for keyvault operations.",
- "oneOf": [
- {
- "$ref": "#/definitions/EncryptionIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proxyAgentSettings": {
- "description": "Specifies ProxyAgent settings while creating the virtual machine. Minimum api-version: 2023-09-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/ProxyAgentSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityType": {
- "description": "Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings. The default behavior is: UefiSettings will not be enabled unless this property is set.",
- "oneOf": [
- {
- "enum": [
- "TrustedLaunch",
- "ConfidentialVM"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "uefiSettings": {
- "description": "Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum api-version: 2020-12-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/UefiSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "ServiceArtifactReference": {
- "description": "Specifies the service artifact reference id used to set same image version for all virtual machines in the scale set when using 'latest' image version. Minimum api-version: 2022-11-01",
- "properties": {
- "id": {
- "description": "The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Sku": {
- "description": "Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name.",
- "properties": {
- "capacity": {
- "description": "Specifies the number of virtual machines in the scale set.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The sku name.",
- "type": "string"
- },
- "tier": {
- "description": "Specifies the tier of virtual machines in a scale set.
Possible Values:
**Standard**
**Basic**",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SpotRestorePolicy": {
- "description": "Specifies the Spot-Try-Restore properties for the virtual machine scale set. With this property customer can enable or disable automatic restore of the evicted Spot VMSS VM instances opportunistically based on capacity availability and pricing constraint.",
- "properties": {
- "enabled": {
- "description": "Enables the Spot-Try-Restore feature where evicted VMSS SPOT instances will be tried to be restored opportunistically based on capacity availability and pricing constraints",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "restoreTimeout": {
- "description": "Timeout value expressed as an ISO 8601 time duration after which the platform will not try to restore the VMSS SPOT instances",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SshConfiguration": {
- "description": "SSH configuration for Linux based VMs running on Azure",
- "properties": {
- "publicKeys": {
- "description": "The list of SSH public keys used to authenticate with linux based VMs.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SshPublicKey"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SshPublicKey": {
- "description": "Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed.",
- "properties": {
- "keyData": {
- "description": "SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed).",
- "type": "string"
- },
- "path": {
- "description": "Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SshPublicKeyResourceProperties": {
- "description": "Properties of the SSH public key.",
- "properties": {
- "publicKey": {
- "description": "SSH public key used to authenticate to a virtual machine through ssh. If this property is not initially provided when the resource is created, the publicKey property will be populated when generateKeyPair is called. If the public key is provided upon resource creation, the provided public key needs to be at least 2048-bit and in ssh-rsa format.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "StorageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add a data disk to a virtual machine. For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/DataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskControllerType": {
- "description": "Specifies the disk controller type configured for the VM. **Note:** This property will be set to the default disk controller type if not specified provided virtual machine is being created with 'hyperVGeneration' set to V2 based on the capabilities of the operating system disk and VM size from the the specified minimum api version. You need to deallocate the VM before updating its disk controller type unless you are updating the VM size in the VM configuration which implicitly deallocates and reallocates the VM. Minimum api-version: 2022-08-01.",
- "oneOf": [
- {
- "enum": [
- "SCSI",
- "NVMe"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "imageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machine. For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "$ref": "#/definitions/OSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "SubResource": {
- "properties": {
- "id": {
- "description": "Resource Id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "TerminateNotificationProfile": {
- "properties": {
- "enable": {
- "description": "Specifies whether the Terminate Scheduled event is enabled or disabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "notBeforeTimeout": {
- "description": "Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M)",
- "type": "string"
- }
- },
- "type": "object"
- },
- "UefiSettings": {
- "description": "Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum api-version: 2020-12-01.",
- "properties": {
- "secureBootEnabled": {
- "description": "Specifies whether secure boot should be enabled on the virtual machine. Minimum api-version: 2020-12-01.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vTpmEnabled": {
- "description": "Specifies whether vTPM should be enabled on the virtual machine. Minimum api-version: 2020-12-01.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "UpgradePolicy": {
- "description": "Describes an upgrade policy - automatic, manual, or rolling.",
- "properties": {
- "automaticOSUpgradePolicy": {
- "description": "Configuration parameters used for performing automatic OS Upgrade.",
- "oneOf": [
- {
- "$ref": "#/definitions/AutomaticOSUpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "mode": {
- "description": "Specifies the mode of an upgrade to virtual machines in the scale set.
Possible values are:
**Manual** - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.
**Automatic** - All virtual machines in the scale set are automatically updated at the same time.",
- "oneOf": [
- {
- "enum": [
- "Automatic",
- "Manual",
- "Rolling"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "rollingUpgradePolicy": {
- "description": "The configuration parameters used while performing a rolling upgrade.",
- "oneOf": [
- {
- "$ref": "#/definitions/RollingUpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "UserAssignedIdentitiesValue": {
- "properties": {},
- "type": "object"
- },
- "VMDiskSecurityProfile": {
- "description": "Specifies the security profile settings for the managed disk. **Note:** It can only be set for Confidential VMs.",
- "properties": {
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed disk that is used for Customer Managed Key encrypted ConfidentialVM OS Disk and VMGuest blob.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityEncryptionType": {
- "description": "Specifies the EncryptionType of the managed disk. It is set to DiskWithVMGuestState for encryption of the managed disk along with VMGuestState blob, VMGuestStateOnly for encryption of just the VMGuestState blob, and NonPersistedTPM for not persisting firmware state in the VMGuestState blob.. **Note:** It can be set for only Confidential VMs.",
- "oneOf": [
- {
- "enum": [
- "VMGuestStateOnly",
- "DiskWithVMGuestState",
- "NonPersistedTPM"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VMGalleryApplication": {
- "description": "Specifies the required information to reference a compute gallery application version",
- "properties": {
- "configurationReference": {
- "description": "Optional, Specifies the uri to an azure blob that will replace the default configuration for the package if provided",
- "type": "string"
- },
- "enableAutomaticUpgrade": {
- "description": "If set to true, when a new Gallery Application version is available in PIR/SIG, it will be automatically updated for the VM/VMSS",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "order": {
- "description": "Optional, Specifies the order in which the packages have to be installed",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "packageReferenceId": {
- "description": "Specifies the GalleryApplicationVersion resource id on the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version}",
- "type": "string"
- },
- "tags": {
- "description": "Optional, Specifies a passthrough value for more generic context.",
- "type": "string"
- },
- "treatFailureAsDeploymentFailure": {
- "description": "Optional, If true, any failure for any operation in the VmApplication will fail the deployment",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "packageReferenceId"
- ],
- "type": "object"
- },
- "VMSizeProperties": {
- "description": "Specifies VM Size Property settings on the virtual machine.",
- "properties": {
- "vCPUsAvailable": {
- "description": "Specifies the number of vCPUs available for the VM. When this property is not specified in the request body the default behavior is to set it to the value of vCPUs available for that VM size exposed in api response of [List all available virtual machine sizes in a region](https://docs.microsoft.com/en-us/rest/api/compute/resource-skus/list).",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vCPUsPerCore": {
- "description": "Specifies the vCPU to physical core ratio. When this property is not specified in the request body the default behavior is set to the value of vCPUsPerCore for the VM Size exposed in api response of [List all available virtual machine sizes in a region](https://docs.microsoft.com/en-us/rest/api/compute/resource-skus/list). **Setting this property to 1 also means that hyper-threading is disabled.**",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VaultCertificate": {
- "description": "Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM.",
- "properties": {
- "certificateStore": {
- "description": "For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account. For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of these files are .pem formatted.",
- "type": "string"
- },
- "certificateUrl": {
- "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:
{
\"data\":\"\",
\"dataType\":\"pfx\",
\"password\":\"\"
}
To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VaultSecretGroup": {
- "description": "Describes a set of certificates which are all in the same Key Vault.",
- "properties": {
- "sourceVault": {
- "description": "The relative URL of the Key Vault containing all of the certificates in VaultCertificates.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vaultCertificates": {
- "description": "The list of key vault references in SourceVault which contain certificates.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultCertificate"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualHardDisk": {
- "description": "Describes the uri of a disk.",
- "properties": {
- "uri": {
- "description": "Specifies the virtual hard disk's uri.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineExtension": {
- "description": "Describes a Virtual Machine Extension.",
- "properties": {
- "location": {
- "description": "Resource location",
- "type": "string"
- },
- "properties": {
- "description": "Describes the properties of a Virtual Machine Extension.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "tags": {
- "description": "Resource tags",
- "oneOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineExtensionInstanceView": {
- "description": "The instance view of a virtual machine extension.",
- "properties": {
- "name": {
- "description": "The virtual machine extension name.",
- "type": "string"
- },
- "statuses": {
- "description": "The resource status information.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "substatuses": {
- "description": "The resource status information.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/InstanceViewStatus"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineExtensionProperties": {
- "description": "Describes the properties of a Virtual Machine Extension.",
- "properties": {
- "autoUpgradeMinorVersion": {
- "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticUpgrade": {
- "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "forceUpdateTag": {
- "description": "How the extension handler should be forced to update even if the extension configuration has not changed.",
- "type": "string"
- },
- "instanceView": {
- "description": "The virtual machine extension instance view.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionInstanceView"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedSettings": {
- "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedSettingsFromKeyVault": {
- "description": "The extensions protected settings that are passed by reference, and consumed from key vault",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionAfterExtensions": {
- "description": "Collection of extension names after which this extension needs to be provisioned.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publisher": {
- "description": "The name of the extension handler publisher.",
- "type": "string"
- },
- "settings": {
- "description": "Json formatted public settings for the extension.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "suppressFailures": {
- "description": "Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineIdentity": {
- "description": "Identity for the virtual machine.",
- "properties": {
- "type": {
- "description": "The type of identity used for the virtual machine. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned",
- "UserAssigned",
- "SystemAssigned, UserAssigned",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userAssignedIdentities": {
- "description": "The list of user identities associated with the Virtual Machine. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
- "oneOf": [
- {
- "additionalProperties": {
- "$ref": "#/definitions/UserAssignedIdentitiesValue"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineIpTag": {
- "description": "Contains the IP tag associated with the public IP address.",
- "properties": {
- "ipTagType": {
- "description": "IP tag type. Example: FirstPartyUsage.",
- "type": "string"
- },
- "tag": {
- "description": "IP tag associated with the public IP. Example: SQL, Storage etc.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineNetworkInterfaceConfiguration": {
- "description": "Describes a virtual machine network interface configurations.",
- "properties": {
- "name": {
- "description": "The network interface configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine network profile's IP configuration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineNetworkInterfaceConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineNetworkInterfaceConfigurationProperties": {
- "description": "Describes a virtual machine network profile's IP configuration.",
- "properties": {
- "auxiliaryMode": {
- "description": "Specifies whether the Auxiliary mode is enabled for the Network Interface resource.",
- "oneOf": [
- {
- "enum": [
- "None",
- "AcceleratedConnections",
- "Floating"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "auxiliarySku": {
- "description": "Specifies whether the Auxiliary sku is enabled for the Network Interface resource.",
- "oneOf": [
- {
- "enum": [
- "None",
- "A1",
- "A2",
- "A4",
- "A8"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "deleteOption": {
- "description": "Specify what happens to the network interface when the VM is deleted",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "disableTcpStateTracking": {
- "description": "Specifies whether the network interface is disabled for tcp state tracking.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dnsSettings": {
- "description": "The dns settings to be applied on the network interfaces.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineNetworkInterfaceDnsSettingsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dscpConfiguration": {
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAcceleratedNetworking": {
- "description": "Specifies whether the network interface is accelerated networking-enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableFpga": {
- "description": "Specifies whether the network interface is FPGA networking-enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableIPForwarding": {
- "description": "Whether IP forwarding enabled on this NIC.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipConfigurations": {
- "description": "Specifies the IP configurations of the network interface.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineNetworkInterfaceIPConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkSecurityGroup": {
- "description": "The network security group.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "ipConfigurations"
- ],
- "type": "object"
- },
- "VirtualMachineNetworkInterfaceDnsSettingsConfiguration": {
- "description": "Describes a virtual machines network configuration's DNS settings.",
- "properties": {
- "dnsServers": {
- "description": "List of DNS servers IP addresses",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineNetworkInterfaceIPConfiguration": {
- "description": "Describes a virtual machine network profile's IP configuration.",
- "properties": {
- "name": {
- "description": "The IP configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine network interface IP configuration properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineNetworkInterfaceIPConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineNetworkInterfaceIPConfigurationProperties": {
- "description": "Describes a virtual machine network interface IP configuration properties.",
- "properties": {
- "applicationGatewayBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of application gateways. A virtual machine can reference backend address pools of multiple application gateways. Multiple virtual machines cannot use the same application gateway.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "applicationSecurityGroups": {
- "description": "Specifies an array of references to application security group.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of load balancers. A virtual machine can reference backend address pools of one public and one internal load balancer. [Multiple virtual machines cannot use the same basic sku load balancer].",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "privateIPAddressVersion": {
- "description": "Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressConfiguration": {
- "description": "The publicIPAddressConfiguration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachinePublicIPAddressConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "subnet": {
- "description": "Specifies the identifier of the subnet.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineProperties": {
- "description": "Describes the properties of a Virtual Machine.",
- "properties": {
- "additionalCapabilities": {
- "description": "Specifies additional capabilities enabled or disabled on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/AdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "applicationProfile": {
- "description": "Specifies the gallery applications that should be made available to the VM/VMSS.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApplicationProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "availabilitySet": {
- "description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Availability sets overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview). For more information on Azure planned maintenance, see [Maintenance and updates for Virtual Machines in Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates). Currently, a VM can only be added to availability set at creation time. The availability set to which the VM is being added should be under the same resource group as the availability set resource. An existing VM cannot be added to an availability set. This property cannot exist along with a non-null properties.virtualMachineScaleSet reference.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "billingProfile": {
- "description": "Specifies the billing related details of a Azure Spot virtual machine. Minimum api-version: 2019-03-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/BillingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "capacityReservation": {
- "description": "Specifies information about the capacity reservation that is used to allocate virtual machine. Minimum api-version: 2021-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/CapacityReservationProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "evictionPolicy": {
- "description": "Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set. For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01. For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview.",
- "oneOf": [
- {
- "enum": [
- "Deallocate",
- "Delete"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extensionsTimeBudget": {
- "description": "Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M). Minimum api-version: 2020-06-01.",
- "type": "string"
- },
- "hardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/HardwareProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "host": {
- "description": "Specifies information about the dedicated host that the virtual machine resides in. Minimum api-version: 2018-10-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hostGroup": {
- "description": "Specifies information about the dedicated host group that the virtual machine resides in. **Note:** User cannot specify both host and hostGroup properties. Minimum api-version: 2020-06-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises.
Possible values for Windows Server operating system are:
Windows_Client
Windows_Server
Possible values for Linux Server operating system are:
RHEL_BYOS (for RHEL)
SLES_BYOS (for SUSE)
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)
[Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings used while creating the virtual machine. Some of the settings cannot be changed once VM is provisioned.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformFaultDomain": {
- "description": "Specifies the scale set logical fault domain into which the Virtual Machine will be created. By default, the Virtual Machine will by automatically assigned to a fault domain that best maintains balance across available fault domains. This is applicable only if the 'virtualMachineScaleSet' property of this Virtual Machine is set. The Virtual Machine Scale Set that is referenced, must have 'platformFaultDomainCount' greater than 1. This property cannot be updated once the Virtual Machine is created. Fault domain assignment can be viewed in the Virtual Machine Instance View. Minimum api‐version: 2020‐12‐01.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "priority": {
- "description": "Specifies the priority for the virtual machine. Minimum api-version: 2019-03-01",
- "oneOf": [
- {
- "enum": [
- "Regular",
- "Low",
- "Spot"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the virtual machine should be assigned to. Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "scheduledEventsProfile": {
- "description": "Specifies Scheduled Event related configurations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ScheduledEventsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Specifies the Security related profile settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/SecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/StorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userData": {
- "description": "UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here. Minimum api-version: 2021-03-01.",
- "type": "string"
- },
- "virtualMachineScaleSet": {
- "description": "Specifies information about the virtual machine scale set that the virtual machine should be assigned to. Virtual machines specified in the same virtual machine scale set are allocated to different nodes to maximize availability. Currently, a VM can only be added to virtual machine scale set at creation time. An existing VM cannot be added to a virtual machine scale set. This property cannot exist along with a non-null properties.availabilitySet reference. Minimum api‐version: 2019‐03‐01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachinePublicIPAddressConfiguration": {
- "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration",
- "properties": {
- "name": {
- "description": "The publicIP address configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachinePublicIPAddressConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible.",
- "oneOf": [
- {
- "$ref": "#/definitions/PublicIPAddressSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachinePublicIPAddressConfigurationProperties": {
- "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration",
- "properties": {
- "deleteOption": {
- "description": "Specify what happens to the public IP address when the VM is deleted",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dnsSettings": {
- "description": "The dns settings to be applied on the publicIP addresses .",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachinePublicIPAddressDnsSettingsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "idleTimeoutInMinutes": {
- "description": "The idle timeout of the public IP address.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipTags": {
- "description": "The list of IP tags associated with the public IP address.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineIpTag"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressVersion": {
- "description": "Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAllocationMethod": {
- "description": "Specify the public IP allocation type",
- "oneOf": [
- {
- "enum": [
- "Dynamic",
- "Static"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPPrefix": {
- "description": "The PublicIPPrefix from which to allocate publicIP addresses.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachinePublicIPAddressDnsSettingsConfiguration": {
- "description": "Describes a virtual machines network configuration's DNS settings.",
- "properties": {
- "domainNameLabel": {
- "description": "The Domain name label prefix of the PublicIPAddress resources that will be created. The generated name label is the concatenation of the domain name label and vm network profile unique ID.",
- "type": "string"
- },
- "domainNameLabelScope": {
- "description": "The Domain name label scope of the PublicIPAddress resources that will be created. The generated name label is the concatenation of the hashed domain name label with policy according to the domain name label scope and vm network profile unique ID.",
- "oneOf": [
- {
- "enum": [
- "TenantReuse",
- "SubscriptionReuse",
- "ResourceGroupReuse",
- "NoReuse"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "domainNameLabel"
- ],
- "type": "object"
- },
- "VirtualMachineRunCommandProperties": {
- "description": "Describes the properties of a Virtual Machine run command.",
- "properties": {
- "asyncExecution": {
- "description": "Optional. If set to true, provisioning will complete as soon as the script starts and will not wait for script to complete.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "errorBlobManagedIdentity": {
- "description": "User-assigned managed identity that has access to errorBlobUri storage blob. Use an empty object in case of system-assigned identity. Make sure managed identity has been given access to blob's container with 'Storage Blob Data Contributor' role assignment. In case of user-assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged ",
- "oneOf": [
- {
- "$ref": "#/definitions/RunCommandManagedIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "errorBlobUri": {
- "description": "Specifies the Azure storage blob where script error stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer errorBlobManagedIdentity parameter.",
- "type": "string"
- },
- "outputBlobManagedIdentity": {
- "description": "User-assigned managed identity that has access to outputBlobUri storage blob. Use an empty object in case of system-assigned identity. Make sure managed identity has been given access to blob's container with 'Storage Blob Data Contributor' role assignment. In case of user-assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged ",
- "oneOf": [
- {
- "$ref": "#/definitions/RunCommandManagedIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "outputBlobUri": {
- "description": "Specifies the Azure storage blob where script output stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer outputBlobManagedIdentity parameter. ",
- "type": "string"
- },
- "parameters": {
- "description": "The parameters used by the script.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/RunCommandInputParameter"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedParameters": {
- "description": "The parameters used by the script.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/RunCommandInputParameter"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "runAsPassword": {
- "description": "Specifies the user account password on the VM when executing the run command.",
- "type": "string"
- },
- "runAsUser": {
- "description": "Specifies the user account on the VM when executing the run command.",
- "type": "string"
- },
- "source": {
- "description": "The source of the run command script.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineRunCommandScriptSource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "timeoutInSeconds": {
- "description": "The timeout in seconds to execute the run command.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "treatFailureAsDeploymentFailure": {
- "description": "Optional. If set to true, any failure in the script will fail the deployment and ProvisioningState will be marked as Failed. If set to false, ProvisioningState would only reflect whether the run command was run or not by the extensions platform, it would not indicate whether script failed in case of script failures. See instance view of run command in case of script failures to see executionMessage, output, error: https://aka.ms/runcommandmanaged#get-execution-status-and-results ",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineRunCommandScriptSource": {
- "description": "Describes the script sources for run command. Use only one of script, scriptUri, commandId.",
- "properties": {
- "commandId": {
- "description": "Specifies a commandId of predefined built-in script.",
- "type": "string"
- },
- "script": {
- "description": "Specifies the script content to be executed on the VM.",
- "type": "string"
- },
- "scriptUri": {
- "description": "Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI.",
- "type": "string"
- },
- "scriptUriManagedIdentity": {
- "description": "User-assigned managed identity that has access to scriptUri in case of Azure storage blob. Use an empty object in case of system-assigned identity. Make sure the Azure storage blob exists, and managed identity has been given access to blob's container with 'Storage Blob Data Reader' role assignment. In case of user-assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged.",
- "oneOf": [
- {
- "$ref": "#/definitions/RunCommandManagedIdentity"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetDataDisk": {
- "description": "Describes a virtual machine scale set data disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The default values are: **None for Standard storage. ReadOnly for Premium storage.**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "The create option.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "deleteOption": {
- "description": "Specifies whether data disk should be deleted or detached upon VMSS Flex deletion (This feature is available for VMSS with Flexible OrchestrationMode only).
Possible values:
**Delete** If this value is used, the data disk is deleted when the VMSS Flex VM is deleted.
**Detach** If this value is used, the data disk is retained after VMSS Flex VM is deleted.
The default value is set to **Delete**.",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskIOPSReadWrite": {
- "description": "Specifies the Read-Write IOPS for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskMBpsReadWrite": {
- "description": "Specifies the bandwidth in MB per second for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property diskSizeGB is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "lun": {
- "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "lun",
- "createOption"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetExtension": {
- "description": "Describes a Virtual Machine Scale Set Extension.",
- "properties": {
- "name": {
- "description": "The name of the extension.",
- "type": "string"
- },
- "properties": {
- "anyOf": [
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.Extensions.json#/definitions/genericExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.Extensions.json#/definitions/bgInfo"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.Extensions.json#/definitions/dscExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackup"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.Extensions.json#/definitions/chefClient"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.Extensions.json#/definitions/dockerExtension"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.Extensions.json#/definitions/eset"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.Extensions.json#/definitions/puppetAgent"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.Extensions.json#/definitions/customScript"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetExtensionProfile": {
- "description": "Describes a virtual machine scale set extension profile.",
- "properties": {
- "extensions": {
- "description": "The virtual machine scale set child extension resources.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetExtension"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extensionsTimeBudget": {
- "description": "Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M). Minimum api-version: 2020-06-01.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetExtensionProperties": {
- "description": "Describes the properties of a Virtual Machine Scale Set Extension.",
- "properties": {
- "autoUpgradeMinorVersion": {
- "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAutomaticUpgrade": {
- "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "forceUpdateTag": {
- "description": "If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.",
- "type": "string"
- },
- "protectedSettings": {
- "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectedSettingsFromKeyVault": {
- "description": "The extensions protected settings that are passed by reference, and consumed from key vault",
- "oneOf": [
- {
- "$ref": "#/definitions/KeyVaultSecretReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "provisionAfterExtensions": {
- "description": "Collection of extension names after which this extension needs to be provisioned.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publisher": {
- "description": "The name of the extension handler publisher.",
- "type": "string"
- },
- "settings": {
- "description": "Json formatted public settings for the extension.",
- "oneOf": [
- {
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "suppressFailures": {
- "description": "Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "type": {
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
- "type": "string"
- },
- "typeHandlerVersion": {
- "description": "Specifies the version of the script handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetHardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine scale set.",
- "properties": {
- "vmSizeProperties": {
- "description": "Specifies the properties for customizing the size of the virtual machine. Minimum api-version: 2021-11-01. Please follow the instructions in [VM Customization](https://aka.ms/vmcustomization) for more details.",
- "oneOf": [
- {
- "$ref": "#/definitions/VMSizeProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIPConfiguration": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "properties": {
- "name": {
- "description": "The IP configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration properties.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetIPConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetIPConfigurationProperties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration properties.",
- "properties": {
- "applicationGatewayBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of application gateways. A scale set can reference backend address pools of multiple application gateways. Multiple scale sets cannot use the same application gateway.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "applicationSecurityGroups": {
- "description": "Specifies an array of references to application security group.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerBackendAddressPools": {
- "description": "Specifies an array of references to backend address pools of load balancers. A scale set can reference backend address pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "loadBalancerInboundNatPools": {
- "description": "Specifies an array of references to inbound Nat pools of the load balancers. A scale set can reference inbound nat pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/SubResource"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "privateIPAddressVersion": {
- "description": "Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressConfiguration": {
- "description": "The publicIPAddressConfiguration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "subnet": {
- "description": "Specifies the identifier of the subnet.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApiEntityReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIdentity": {
- "description": "Identity for the virtual machine scale set.",
- "properties": {
- "type": {
- "description": "The type of identity used for the virtual machine scale set. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine scale set.",
- "oneOf": [
- {
- "enum": [
- "SystemAssigned",
- "UserAssigned",
- "SystemAssigned, UserAssigned",
- "None"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userAssignedIdentities": {
- "description": "The list of user identities associated with the virtual machine scale set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
- "oneOf": [
- {
- "additionalProperties": {
- "$ref": "#/definitions/UserAssignedIdentitiesValue"
- },
- "properties": {},
- "type": "object"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetIpTag": {
- "description": "Contains the IP tag associated with the public IP address.",
- "properties": {
- "ipTagType": {
- "description": "IP tag type. Example: FirstPartyUsage.",
- "type": "string"
- },
- "tag": {
- "description": "IP tag associated with the public IP. Example: SQL, Storage etc.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetManagedDiskParameters": {
- "description": "Describes the parameters of a ScaleSet managed disk.",
- "properties": {
- "diskEncryptionSet": {
- "description": "Specifies the customer managed disk encryption set resource id for the managed disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiskEncryptionSetParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Specifies the security profile for the managed disk.",
- "oneOf": [
- {
- "$ref": "#/definitions/VMDiskSecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageAccountType": {
- "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS",
- "Premium_ZRS",
- "StandardSSD_ZRS",
- "PremiumV2_LRS"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfiguration": {
- "description": "Describes a virtual machine scale set network profile's network configurations.",
- "properties": {
- "name": {
- "description": "The network configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfigurationDnsSettings": {
- "description": "Describes a virtual machines scale sets network configuration's DNS settings.",
- "properties": {
- "dnsServers": {
- "description": "List of DNS servers IP addresses",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkConfigurationProperties": {
- "description": "Describes a virtual machine scale set network profile's IP configuration.",
- "properties": {
- "auxiliaryMode": {
- "description": "Specifies whether the Auxiliary mode is enabled for the Network Interface resource.",
- "oneOf": [
- {
- "enum": [
- "None",
- "AcceleratedConnections",
- "Floating"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "auxiliarySku": {
- "description": "Specifies whether the Auxiliary sku is enabled for the Network Interface resource.",
- "oneOf": [
- {
- "enum": [
- "None",
- "A1",
- "A2",
- "A4",
- "A8"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "deleteOption": {
- "description": "Specify what happens to the network interface when the VM is deleted",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "disableTcpStateTracking": {
- "description": "Specifies whether the network interface is disabled for tcp state tracking.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dnsSettings": {
- "description": "The dns settings to be applied on the network interfaces.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationDnsSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableAcceleratedNetworking": {
- "description": "Specifies whether the network interface is accelerated networking-enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableFpga": {
- "description": "Specifies whether the network interface is FPGA networking-enabled.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "enableIPForwarding": {
- "description": "Whether IP forwarding enabled on this NIC.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipConfigurations": {
- "description": "Specifies the IP configurations of the network interface.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetIPConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkSecurityGroup": {
- "description": "The network security group.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "primary": {
- "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "ipConfigurations"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetNetworkProfile": {
- "description": "Describes a virtual machine scale set network profile.",
- "properties": {
- "healthProbe": {
- "description": "A reference to a load balancer probe used to determine the health of an instance in the virtual machine scale set. The reference will be in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'.",
- "oneOf": [
- {
- "$ref": "#/definitions/ApiEntityReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkApiVersion": {
- "description": "specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations for Virtual Machine Scale Set with orchestration mode 'Flexible'",
- "oneOf": [
- {
- "enum": [
- "2020-11-01"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkInterfaceConfigurations": {
- "description": "The list of network configurations.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetOSDisk": {
- "description": "Describes a virtual machine scale set operating system disk.",
- "properties": {
- "caching": {
- "description": "Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The default values are: **None for Standard storage. ReadOnly for Premium storage.**",
- "oneOf": [
- {
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "createOption": {
- "description": "Specifies how the virtual machines in the scale set should be created. The only allowed value is: **FromImage.** This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
- "oneOf": [
- {
- "enum": [
- "FromImage",
- "Empty",
- "Attach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "deleteOption": {
- "description": "Specifies whether OS Disk should be deleted or detached upon VMSS Flex deletion (This feature is available for VMSS with Flexible OrchestrationMode only).
Possible values:
**Delete** If this value is used, the OS disk is deleted when VMSS Flex VM is deleted.
**Detach** If this value is used, the OS disk is retained after VMSS Flex VM is deleted.
The default value is set to **Delete**. For an Ephemeral OS Disk, the default value is set to **Delete**. User cannot change the delete option for Ephemeral OS Disk.",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diffDiskSettings": {
- "description": "Specifies the ephemeral disk Settings for the operating system disk used by the virtual machine scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiffDiskSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskSizeGB": {
- "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property 'diskSizeGB' is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "image": {
- "description": "Specifies information about the unmanaged user image to base the scale set on.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualHardDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "managedDisk": {
- "description": "The managed disk parameters.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "name": {
- "description": "The disk name.",
- "type": "string"
- },
- "osType": {
- "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. Possible values are: **Windows,** **Linux.**",
- "oneOf": [
- {
- "enum": [
- "Windows",
- "Linux"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "vhdContainers": {
- "description": "Specifies the container urls that are used to store operating system disks for the scale set.",
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "writeAcceleratorEnabled": {
- "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "createOption"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetOSProfile": {
- "description": "Describes a virtual machine scale set OS profile.",
- "properties": {
- "adminPassword": {
- "description": "Specifies the password of the administrator account.
**Minimum-length (Windows):** 8 characters
**Minimum-length (Linux):** 6 characters
**Max-length (Windows):** 123 characters
**Max-length (Linux):** 72 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])
**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"
For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp)
For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)",
- "type": "string"
- },
- "adminUsername": {
- "description": "Specifies the name of the administrator account.
**Windows-only restriction:** Cannot end in \".\"
**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters",
- "type": "string"
- },
- "allowExtensionOperations": {
- "description": "Specifies whether extension operations should be allowed on the virtual machine scale set. This may only be set to False when no extensions are present on the virtual machine scale set.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "computerNamePrefix": {
- "description": "Specifies the computer name prefix for all of the virtual machines in the scale set. Computer name prefixes must be 1 to 15 characters long.",
- "type": "string"
- },
- "customData": {
- "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes. For using cloud-init for your VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init)",
- "type": "string"
- },
- "linuxConfiguration": {
- "description": "Specifies the Linux operating system settings on the virtual machine. For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros).",
- "oneOf": [
- {
- "$ref": "#/definitions/LinuxConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "requireGuestProvisionSignal": {
- "description": "Optional property which must either be set to True or omitted.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "secrets": {
- "description": "Specifies set of certificates that should be installed onto the virtual machines in the scale set. To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VaultSecretGroup"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "windowsConfiguration": {
- "description": "Specifies Windows operating system settings on the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/WindowsConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetProperties": {
- "description": "Describes the properties of a Virtual Machine Scale Set.",
- "properties": {
- "additionalCapabilities": {
- "description": "Specifies additional capabilities enabled or disabled on the Virtual Machines in the Virtual Machine Scale Set. For instance: whether the Virtual Machines have the capability to support attaching managed data disks with UltraSSD_LRS storage account type.",
- "oneOf": [
- {
- "$ref": "#/definitions/AdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "automaticRepairsPolicy": {
- "description": "Policy for automatic repairs.",
- "oneOf": [
- {
- "$ref": "#/definitions/AutomaticRepairsPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "constrainedMaximumCapacity": {
- "description": "Optional property which must either be set to True or omitted.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "doNotRunExtensionsOnOverprovisionedVMs": {
- "description": "When Overprovision is enabled, extensions are launched only on the requested number of VMs which are finally kept. This property will hence ensure that the extensions do not run on the extra overprovisioned VMs.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hostGroup": {
- "description": "Specifies information about the dedicated host group that the virtual machine scale set resides in. Minimum api-version: 2020-06-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "orchestrationMode": {
- "description": "Specifies the orchestration mode for the virtual machine scale set.",
- "oneOf": [
- {
- "enum": [
- "Uniform",
- "Flexible"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "overprovision": {
- "description": "Specifies whether the Virtual Machine Scale Set should be overprovisioned.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "platformFaultDomainCount": {
- "description": "Fault Domain count for each placement group.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "priorityMixPolicy": {
- "description": "Specifies the desired targets for mixing Spot and Regular priority VMs within the same VMSS Flex instance.",
- "oneOf": [
- {
- "$ref": "#/definitions/PriorityMixPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "proximityPlacementGroup": {
- "description": "Specifies information about the proximity placement group that the virtual machine scale set should be assigned to. Minimum api-version: 2018-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "resiliencyPolicy": {
- "description": "Policy for Resiliency",
- "oneOf": [
- {
- "$ref": "#/definitions/ResiliencyPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "scaleInPolicy": {
- "description": "Specifies the policies applied when scaling in Virtual Machines in the Virtual Machine Scale Set.",
- "oneOf": [
- {
- "$ref": "#/definitions/ScaleInPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "singlePlacementGroup": {
- "description": "When true this limits the scale set to a single placement group, of max size 100 virtual machines. NOTE: If singlePlacementGroup is true, it may be modified to false. However, if singlePlacementGroup is false, it may not be modified to true.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "spotRestorePolicy": {
- "description": "Specifies the Spot Restore properties for the virtual machine scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/SpotRestorePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "upgradePolicy": {
- "description": "The upgrade policy.",
- "oneOf": [
- {
- "$ref": "#/definitions/UpgradePolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "virtualMachineProfile": {
- "description": "The virtual machine profile.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "zoneBalance": {
- "description": "Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage. zoneBalance property can only be set if the zones property of the scale set contains more than one zone. If there are no zones or only one zone specified, then zoneBalance property should not be set.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfiguration": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "properties": {
- "name": {
- "description": "The publicIP address configuration name.",
- "type": "string"
- },
- "properties": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationProperties"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "sku": {
- "description": "Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible.",
- "oneOf": [
- {
- "$ref": "#/definitions/PublicIPAddressSku"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings": {
- "description": "Describes a virtual machines scale sets network configuration's DNS settings.",
- "properties": {
- "domainNameLabel": {
- "description": "The Domain name label.The concatenation of the domain name label and vm index will be the domain name labels of the PublicIPAddress resources that will be created",
- "type": "string"
- },
- "domainNameLabelScope": {
- "description": "The Domain name label scope.The concatenation of the hashed domain name label that generated according to the policy from domain name label scope and vm index will be the domain name labels of the PublicIPAddress resources that will be created",
- "oneOf": [
- {
- "enum": [
- "TenantReuse",
- "SubscriptionReuse",
- "ResourceGroupReuse",
- "NoReuse"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "required": [
- "domainNameLabel"
- ],
- "type": "object"
- },
- "VirtualMachineScaleSetPublicIPAddressConfigurationProperties": {
- "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration",
- "properties": {
- "deleteOption": {
- "description": "Specify what happens to the public IP when the VM is deleted",
- "oneOf": [
- {
- "enum": [
- "Delete",
- "Detach"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "dnsSettings": {
- "description": "The dns settings to be applied on the publicIP addresses .",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "idleTimeoutInMinutes": {
- "description": "The idle timeout of the public IP address.",
- "oneOf": [
- {
- "type": "integer"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "ipTags": {
- "description": "The list of IP tags associated with the public IP address.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetIpTag"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPAddressVersion": {
- "description": "Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
- "oneOf": [
- {
- "enum": [
- "IPv4",
- "IPv6"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "publicIPPrefix": {
- "description": "The PublicIPPrefix from which to allocate publicIP addresses.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetStorageProfile": {
- "description": "Describes a virtual machine scale set storage profile.",
- "properties": {
- "dataDisks": {
- "description": "Specifies the parameters that are used to add data disks to the virtual machines in the scale set. For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetDataDisk"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diskControllerType": {
- "type": "string"
- },
- "imageReference": {
- "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ImageReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osDisk": {
- "description": "Specifies information about the operating system disk used by the virtual machines in the scale set. For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetOSDisk"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMNetworkProfileConfiguration": {
- "description": "Describes a virtual machine scale set VM network profile.",
- "properties": {
- "networkInterfaceConfigurations": {
- "description": "The list of network configurations.",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfiguration"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProfile": {
- "description": "Describes a virtual machine scale set virtual machine profile.",
- "properties": {
- "applicationProfile": {
- "description": "Specifies the gallery applications that should be made available to the VM/VMSS",
- "oneOf": [
- {
- "$ref": "#/definitions/ApplicationProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "billingProfile": {
- "description": "Specifies the billing related details of a Azure Spot VMSS. Minimum api-version: 2019-03-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/BillingProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "capacityReservation": {
- "description": "Specifies the capacity reservation related details of a scale set. Minimum api-version: 2021-04-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/CapacityReservationProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "evictionPolicy": {
- "description": "Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set. For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01. For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview.",
- "oneOf": [
- {
- "enum": [
- "Deallocate",
- "Delete"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "extensionProfile": {
- "description": "Specifies a collection of settings for extensions installed on virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetExtensionProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hardwareProfile": {
- "description": "Specifies the hardware profile related details of a scale set. Minimum api-version: 2021-11-01.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetHardwareProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises.
Possible values for Windows Server operating system are:
Windows_Client
Windows_Server
Possible values for Linux Server operating system are:
RHEL_BYOS (for RHEL)
SLES_BYOS (for SUSE)
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)
[Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies properties of the network interfaces of the virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetNetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings for the virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetOSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "priority": {
- "description": "Specifies the priority for the virtual machines in the scale set. Minimum api-version: 2017-10-30-preview.",
- "oneOf": [
- {
- "enum": [
- "Regular",
- "Low",
- "Spot"
- ],
- "type": "string"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "scheduledEventsProfile": {
- "description": "Specifies Scheduled Event related configurations.",
- "oneOf": [
- {
- "$ref": "#/definitions/ScheduledEventsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityPostureReference": {
- "description": "Specifies the security posture to be used for all virtual machines in the scale set. Minimum api-version: 2023-03-01",
- "oneOf": [
- {
- "$ref": "#/definitions/SecurityPostureReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Specifies the Security related profile settings for the virtual machines in the scale set.",
- "oneOf": [
- {
- "$ref": "#/definitions/SecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "serviceArtifactReference": {
- "description": "Specifies the service artifact reference id used to set same image version for all virtual machines in the scale set when using 'latest' image version. Minimum api-version: 2022-11-01",
- "oneOf": [
- {
- "$ref": "#/definitions/ServiceArtifactReference"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetStorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userData": {
- "description": "UserData for the virtual machines in the scale set, which must be base-64 encoded. Customer should not pass any secrets in here. Minimum api-version: 2021-03-01.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProperties": {
- "description": "Describes the properties of a virtual machine scale set virtual machine.",
- "properties": {
- "additionalCapabilities": {
- "description": "Specifies additional capabilities enabled or disabled on the virtual machine in the scale set. For instance: whether the virtual machine has the capability to support attaching managed data disks with UltraSSD_LRS storage account type.",
- "oneOf": [
- {
- "$ref": "#/definitions/AdditionalCapabilities"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "availabilitySet": {
- "description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Availability sets overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview). For more information on Azure planned maintenance, see [Maintenance and updates for Virtual Machines in Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates). Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set.",
- "oneOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "diagnosticsProfile": {
- "description": "Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15.",
- "oneOf": [
- {
- "$ref": "#/definitions/DiagnosticsProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "hardwareProfile": {
- "description": "Specifies the hardware settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/HardwareProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "licenseType": {
- "description": "Specifies that the image or disk that is being used was licensed on-premises.
Possible values for Windows Server operating system are:
Windows_Client
Windows_Server
Possible values for Linux Server operating system are:
RHEL_BYOS (for RHEL)
SLES_BYOS (for SUSE)
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)
[Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)
Minimum api-version: 2015-06-15",
- "type": "string"
- },
- "networkProfile": {
- "description": "Specifies the network interfaces of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/NetworkProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "networkProfileConfiguration": {
- "description": "Specifies the network profile configuration of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMNetworkProfileConfiguration"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "osProfile": {
- "description": "Specifies the operating system settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/OSProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectionPolicy": {
- "description": "Specifies the protection policy of the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/VirtualMachineScaleSetVMProtectionPolicy"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "securityProfile": {
- "description": "Specifies the Security related profile settings for the virtual machine.",
- "oneOf": [
- {
- "$ref": "#/definitions/SecurityProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "storageProfile": {
- "description": "Specifies the storage settings for the virtual machine disks.",
- "oneOf": [
- {
- "$ref": "#/definitions/StorageProfile"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "userData": {
- "description": "UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here.
Minimum api-version: 2021-03-01",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VirtualMachineScaleSetVMProtectionPolicy": {
- "description": "The protection policy of a virtual machine scale set VM.",
- "properties": {
- "protectFromScaleIn": {
- "description": "Indicates that the virtual machine scale set VM shouldn't be considered for deletion during a scale-in operation.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- },
- "protectFromScaleSetActions": {
- "description": "Indicates that model updates or actions (including scale-in) initiated on the virtual machine scale set should not be applied to the virtual machine scale set VM.",
- "oneOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WinRMConfiguration": {
- "description": "Describes Windows Remote Management configuration of the VM",
- "properties": {
- "listeners": {
- "description": "The list of Windows Remote Management listeners",
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/WinRMListener"
- },
- "type": "array"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- },
- "type": "object"
- },
- "WinRMListener": {
- "description": "Describes Protocol and thumbprint of Windows Remote Management listener",
- "properties": {
- "certificateUrl": {
- "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be the Base64 encoding of the following JSON Object which is encoded in UTF-8:
{
\"data\":\"\",
\"dataType\":\"pfx\",
\"password\":\"\"