diff --git a/schemas/2022-08-01/Microsoft.Compute.json b/schemas/2022-08-01/Microsoft.Compute.json index 198f025865..f7ca651625 100644 --- a/schemas/2022-08-01/Microsoft.Compute.json +++ b/schemas/2022-08-01/Microsoft.Compute.json @@ -1459,10 +1459,10 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "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." + "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." } }, - "description": "Specifies the billing related details of a Azure Spot VM or VMSS.

Minimum api-version: 2019-03-01." + "description": "Specifies the billing related details of a Azure Spot VM or VMSS. Minimum api-version: 2019-03-01." }, "BootDiagnostics": { "type": "object", @@ -1480,10 +1480,10 @@ }, "storageUri": { "type": "string", - "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." + "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." } }, - "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." + "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." }, "CapacityReservationGroupProperties": { "type": "object", @@ -1613,7 +1613,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Specifies the caching requirements.

Possible values are:

**None**

**ReadOnly**

**ReadWrite**

Default: **None for Standard storage. ReadOnly for Premium storage**." + "description": "Specifies the caching requirements. Possible values are: **None** **ReadOnly** **ReadWrite** Default: **None for Standard storage. ReadOnly for Premium storage**." }, "createOption": { "oneOf": [ @@ -1629,7 +1629,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "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." + "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." }, "deleteOption": { "oneOf": [ @@ -1644,7 +1644,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "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**." + "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**." }, "detachOption": { "oneOf": [ @@ -1658,7 +1658,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "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'." + "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'." }, "diskSizeGB": { "oneOf": [ @@ -1669,7 +1669,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "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" + "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" }, "image": { "oneOf": [ @@ -1865,10 +1865,10 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "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." + "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." } }, - "description": "Specifies the boot diagnostic settings state.

Minimum api-version: 2015-06-15." + "description": "Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15." }, "DiffDiskSettings": { "type": "object", @@ -1900,10 +1900,10 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "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." + "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." } }, - "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." + "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." }, "DiskEncryptionSetParameters": { "type": "object", @@ -1913,7 +1913,7 @@ "description": "Resource Id" } }, - "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." + "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." }, "DiskEncryptionSettings": { "type": "object", @@ -2158,7 +2158,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "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." + "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." }, "vmSizeProperties": { "oneOf": [ @@ -2277,7 +2277,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "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." + "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." }, "diskSizeGB": { "oneOf": [ @@ -2379,7 +2379,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "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." + "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." }, "diskSizeGB": { "oneOf": [ @@ -2719,7 +2719,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "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." + "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." }, "ssh": { "oneOf": [ @@ -2733,7 +2733,7 @@ "description": "SSH configuration for Linux based VMs running on Azure" } }, - "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)." + "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)." }, "LinuxPatchSettings": { "type": "object", @@ -2817,7 +2817,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "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." + "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." }, "id": { "type": "string", @@ -2832,7 +2832,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Specifies the security profile settings for the managed disk.

NOTE: It can only be set for Confidential VMs" + "description": "Specifies the security profile settings for the managed disk. NOTE: It can only be set for Confidential VMs" }, "storageAccountType": { "oneOf": [ @@ -2975,7 +2975,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Specifies the caching requirements.

Possible values are:

**None**

**ReadOnly**

**ReadWrite**

Default: **None** for Standard storage. **ReadOnly** for Premium storage." + "description": "Specifies the caching requirements. Possible values are: **None** **ReadOnly** **ReadWrite** Default: **None** for Standard storage. **ReadOnly** for Premium storage." }, "createOption": { "oneOf": [ @@ -2991,7 +2991,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "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." + "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." }, "deleteOption": { "oneOf": [ @@ -3006,7 +3006,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "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." + "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." }, "diffDiskSettings": { "oneOf": [ @@ -3017,7 +3017,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "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." + "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." }, "diskSizeGB": { "oneOf": [ @@ -3028,7 +3028,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "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" + "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" }, "encryptionSettings": { "oneOf": [ @@ -3080,7 +3080,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "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**." + "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**." }, "vhd": { "oneOf": [ @@ -3108,18 +3108,18 @@ "required": [ "createOption" ], - "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)." + "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)." }, "OSProfile": { "type": "object", "properties": { "adminPassword": { "type": "string", - "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)" + "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)" }, "adminUsername": { "type": "string", - "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." + "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." }, "allowExtensionOperations": { "oneOf": [ @@ -3130,15 +3130,15 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "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." + "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." }, "computerName": { "type": "string", - "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)." + "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)." }, "customData": { "type": "string", - "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)" + "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)" }, "linuxConfiguration": { "oneOf": [ @@ -3149,7 +3149,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "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)." + "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)." }, "requireGuestProvisionSignal": { "oneOf": [ @@ -3671,7 +3671,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "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." + "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." }, "securityType": { "oneOf": [ @@ -3686,7 +3686,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "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." + "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." }, "uefiSettings": { "oneOf": [ @@ -3697,7 +3697,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Specifies the security settings like secure boot and vTPM used while creating the virtual machine.

Minimum api-version: 2020-12-01" + "description": "Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum api-version: 2020-12-01" } }, "description": "Specifies the Security profile settings for the virtual machine or virtual machine scale set." @@ -3773,7 +3773,7 @@ "properties": { "keyData": { "type": "string", - "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)." + "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)." }, "path": { "type": "string", @@ -3807,7 +3807,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "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)." + "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)." }, "diskControllerType": { "oneOf": [ @@ -3822,7 +3822,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "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." + "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." }, "imageReference": { "oneOf": [ @@ -3844,7 +3844,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "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)." + "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)." } }, "description": "Specifies the storage settings for the virtual machine disks." @@ -3890,7 +3890,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Specifies whether secure boot should be enabled on the virtual machine.

Minimum api-version: 2020-12-01" + "description": "Specifies whether secure boot should be enabled on the virtual machine. Minimum api-version: 2020-12-01" }, "vTpmEnabled": { "oneOf": [ @@ -3901,10 +3901,10 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Specifies whether vTPM should be enabled on the virtual machine.

Minimum api-version: 2020-12-01" + "description": "Specifies whether vTPM should be enabled on the virtual machine. Minimum api-version: 2020-12-01" } }, - "description": "Specifies the security settings like secure boot and vTPM used while creating the virtual machine.

Minimum api-version: 2020-12-01" + "description": "Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum api-version: 2020-12-01" }, "UpgradePolicy": { "type": "object", @@ -3959,11 +3959,11 @@ "properties": { "certificateStore": { "type": "string", - "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." + "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." }, "certificateUrl": { "type": "string", - "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)." + "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)." } }, "description": "Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM." @@ -4524,7 +4524,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Specifies the billing related details of a Azure Spot VM or VMSS.

Minimum api-version: 2019-03-01." + "description": "Specifies the billing related details of a Azure Spot VM or VMSS. Minimum api-version: 2019-03-01." }, "capacityReservation": { "oneOf": [ @@ -4546,7 +4546,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Specifies the boot diagnostic settings state.

Minimum api-version: 2015-06-15." + "description": "Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15." }, "evictionPolicy": { "oneOf": [ @@ -5536,7 +5536,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "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." + "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." }, "securityProfile": { "oneOf": [ @@ -5547,7 +5547,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Specifies the security profile settings for the managed disk.

NOTE: It can only be set for Confidential VMs" + "description": "Specifies the security profile settings for the managed disk. NOTE: It can only be set for Confidential VMs" }, "storageAccountType": { "oneOf": [ @@ -5838,7 +5838,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "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." + "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." }, "diskSizeGB": { "oneOf": [ @@ -5962,7 +5962,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "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)." + "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)." }, "secrets": { "oneOf": [ @@ -6601,7 +6601,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Specifies the billing related details of a Azure Spot VM or VMSS.

Minimum api-version: 2019-03-01." + "description": "Specifies the billing related details of a Azure Spot VM or VMSS. Minimum api-version: 2019-03-01." }, "capacityReservation": { "oneOf": [ @@ -6623,7 +6623,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Specifies the boot diagnostic settings state.

Minimum api-version: 2015-06-15." + "description": "Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15." }, "evictionPolicy": { "oneOf": [ @@ -6776,7 +6776,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Specifies the boot diagnostic settings state.

Minimum api-version: 2015-06-15." + "description": "Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15." }, "hardwareProfile": { "oneOf": [ @@ -7121,7 +7121,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "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." + "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." }, "securityEncryptionType": { "oneOf": [ @@ -7136,10 +7136,10 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "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." + "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." } }, - "description": "Specifies the security profile settings for the managed disk.

NOTE: It can only be set for Confidential VMs" + "description": "Specifies the security profile settings for the managed disk. NOTE: It can only be set for Confidential VMs" }, "VMGalleryApplication": { "type": "object", @@ -7207,7 +7207,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "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) ." + "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) ." }, "vCPUsPerCore": { "oneOf": [ @@ -7218,7 +7218,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "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." + "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." } }, "description": "Specifies VM Size Property settings on the virtual machine." @@ -7249,7 +7249,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "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." + "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." }, "enableVMAgentPlatformUpdates": { "oneOf": [ @@ -7282,11 +7282,11 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "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." + "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." }, "timeZone": { "type": "string", - "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)." + "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)." }, "winRM": { "oneOf": [ @@ -7350,7 +7350,7 @@ "properties": { "certificateUrl": { "type": "string", - "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)." + "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)." }, "protocol": { "oneOf": [ @@ -7365,7 +7365,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Specifies the protocol of WinRM listener.

Possible values are:
**http**

**https**." + "description": "Specifies the protocol of WinRM listener. Possible values are: **http** **https**." } }, "description": "Describes Protocol and thumbprint of Windows Remote Management listener" diff --git a/schemas/2022-08-03/Microsoft.Compute.Extensions.json b/schemas/2022-08-03/Microsoft.Compute.Extensions.json new file mode 100644 index 0000000000..5b4179fbc4 --- /dev/null +++ b/schemas/2022-08-03/Microsoft.Compute.Extensions.json @@ -0,0 +1,2026 @@ +{ + "id": "https://schema.management.azure.com/schemas/2022-08-03/Microsoft.Compute.Extensions.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Compute.Extensions", + "description": "Microsoft Compute Extensions Resource Types", + "resourceDefinitions": {}, + "definitions": { + "genericExtension": { + "type": "object", + "properties": { + "publisher": { + "type": "string", + "minLength": 1, + "description": "Microsoft.Compute/extensions - Publisher" + }, + "type": { + "type": "string", + "minLength": 1, + "description": "Microsoft.Compute/extensions - Type" + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1, + "description": "Microsoft.Compute/extensions - Type handler version" + }, + "settings": { + "oneOf": [ + { + "type": "object" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Microsoft.Compute/extensions - Settings" + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "settings" + ] + }, + "iaaSDiagnostics": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.Diagnostics" + ] + }, + "type": { + "enum": [ + "IaaSDiagnostics" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "xmlCfg": { + "type": "string" + }, + "StorageAccount": { + "type": "string" + } + }, + "required": [ + "xmlCfg", + "StorageAccount" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + }, + "storageAccountEndPoint": { + "type": "string" + } + }, + "required": [ + "storageAccountName", + "storageAccountKey", + "storageAccountEndPoint" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "iaaSAntimalware": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.Security" + ] + }, + "type": { + "enum": [ + "IaaSAntimalware" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "AntimalwareEnabled": { + "type": "boolean" + }, + "Exclusions": { + "type": "object", + "properties": { + "Paths": { + "type": "string" + }, + "Extensions": { + "type": "string" + }, + "Processes": { + "type": "string" + } + }, + "required": [ + "Paths", + "Extensions", + "Processes" + ] + }, + "RealtimeProtectionEnabled": { + "enum": [ + "true", + "false" + ] + }, + "ScheduledScanSettings": { + "type": "object", + "properties": { + "isEnabled": { + "enum": [ + "true", + "false" + ] + }, + "scanType": { + "type": "string" + }, + "day": { + "type": "string" + }, + "time": { + "type": "string" + } + }, + "required": [ + "isEnabled", + "scanType", + "day", + "time" + ] + } + }, + "required": [ + "AntimalwareEnabled", + "Exclusions", + "RealtimeProtectionEnabled", + "ScheduledScanSettings" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "customScriptExtension": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Compute" + ] + }, + "type": { + "enum": [ + "CustomScriptExtension" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "fileUris": { + "type": "array", + "items": { + "type": "string" + } + }, + "commandToExecute": { + "type": "string" + } + }, + "required": [ + "commandToExecute" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + } + } + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "customScriptForLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.OSTCExtensions" + ] + }, + "type": { + "enum": [ + "CustomScriptForLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "fileUris": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "commandToExecute": { + "type": "string" + }, + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + } + }, + "required": [ + "commandToExecute" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "linuxDiagnostic": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.OSTCExtensions" + ] + }, + "type": { + "enum": [ + "LinuxDiagnostic" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "enableSyslog": { + "type": "string" + }, + "mdsdHttpProxy": { + "type": "string" + }, + "perCfg": { + "type": "array" + }, + "fileCfg": { + "type": "array" + }, + "xmlCfg": { + "type": "string" + }, + "ladCfg": { + "type": "object" + }, + "syslogCfg": { + "type": "string" + }, + "eventVolume": { + "type": "string" + }, + "mdsdCfg": { + "type": "string" + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "mdsdHttpProxy": { + "type": "string" + }, + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + }, + "storageAccountEndPoint": { + "type": "string" + } + }, + "required": [ + "storageAccountName", + "storageAccountKey" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "vmAccessForLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.OSTCExtensions" + ] + }, + "type": { + "enum": [ + "VMAccessForLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "check_disk": { + "type": "boolean" + }, + "repair_disk": { + "type": "boolean" + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "password": { + "type": "string" + }, + "ssh_key": { + "type": "string" + }, + "reset_ssh": { + "type": "string" + }, + "remove_user": { + "type": "string" + }, + "expiration": { + "type": "string" + } + }, + "required": [ + "username", + "password", + "ssh_key", + "reset_ssh", + "remove_user", + "expiration" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "bgInfo": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Compute" + ] + }, + "type": { + "enum": [ + "bginfo" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion" + ] + }, + "vmAccessAgent": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Compute" + ] + }, + "type": { + "enum": [ + "VMAccessAgent" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "username": { + "type": "string" + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "password": { + "type": "string" + } + } + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "dscExtension": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Powershell" + ] + }, + "type": { + "enum": [ + "DSC" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "modulesUrl": { + "type": "string" + }, + "configurationFunction": { + "type": "string" + }, + "properties": { + "type": "string" + }, + "wmfVersion": { + "type": "string" + }, + "privacy": { + "type": "object", + "properties": { + "dataCollection": { + "type": "string" + } + } + } + }, + "required": [ + "modulesUrl", + "configurationFunction" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "dataBlobUri": { + "type": "string" + } + } + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "acronisBackupLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Acronis.Backup" + ] + }, + "type": { + "enum": [ + "AcronisBackupLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "absURL": { + "type": "string" + } + }, + "required": [ + "absURL" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "userLogin": { + "type": "string" + }, + "userPassword": { + "type": "string" + } + }, + "required": [ + "userLogin", + "userPassword" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "acronisBackup": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Acronis.Backup" + ] + }, + "type": { + "enum": [ + "AcronisBackup" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "absURL": { + "type": "string" + } + }, + "required": [ + "absURL" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "userLogin": { + "type": "string" + }, + "userPassword": { + "type": "string" + } + }, + "required": [ + "userLogin", + "userPassword" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "linuxChefClient": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Chef.Bootstrap.WindowsAzure" + ] + }, + "type": { + "enum": [ + "LinuxChefClient" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "bootstrap_version": { + "type": "string" + }, + "bootstrap_options": { + "type": "object", + "properties": { + "chef_node_name": { + "type": "string" + }, + "chef_server_url": { + "type": "string" + }, + "validation_client_name": { + "type": "string" + }, + "node_ssl_verify_mode": { + "type": "string" + }, + "environment": { + "type": "string" + } + }, + "required": [ + "chef_node_name", + "chef_server_url", + "validation_client_name", + "node_ssl_verify_mode", + "environment" + ] + }, + "runlist": { + "type": "string" + }, + "client_rb": { + "type": "string" + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "validation_key": { + "type": "string" + }, + "chef_server_crt": { + "type": "string" + }, + "secret": { + "type": "string" + } + }, + "required": [ + "validation_key", + "chef_server_crt", + "secret" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "chefClient": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Chef.Bootstrap.WindowsAzure" + ] + }, + "type": { + "enum": [ + "ChefClient" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "bootstrap_options": { + "type": "object", + "properties": { + "chef_node_name": { + "type": "string" + }, + "chef_server_url": { + "type": "string" + }, + "validation_client_name": { + "type": "string" + }, + "node_ssl_verify_mode": { + "type": "string" + }, + "environment": { + "type": "string" + } + }, + "required": [ + "chef_node_name", + "chef_server_url", + "validation_client_name", + "node_ssl_verify_mode", + "environment" + ] + }, + "runlist": { + "type": "string" + }, + "client_rb": { + "type": "string" + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "validation_key": { + "type": "string" + }, + "chef_server_crt": { + "type": "string" + }, + "secret": { + "type": "string" + } + }, + "required": [ + "validation_key", + "chef_server_crt", + "secret" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "datadogLinuxAgent": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Datadog.Agent" + ] + }, + "type": { + "enum": [ + "DatadogLinuxAgent" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "api_key": { + "type": "string" + } + }, + "required": [ + "api_key" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "datadogWindowsAgent": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Datadog.Agent" + ] + }, + "type": { + "enum": [ + "DatadogWindowsAgent" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "api_key": { + "type": "string" + } + }, + "required": [ + "api_key" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "dockerExtension": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.Extensions" + ] + }, + "type": { + "enum": [ + "DockerExtension" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "docker": { + "type": "object", + "properties": { + "port": { + "type": "string" + } + }, + "required": [ + "port" + ] + } + }, + "required": [ + "docker" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "certs": { + "type": "object", + "properties": { + "ca": { + "type": "string" + }, + "cert": { + "type": "string" + }, + "key": { + "type": "string" + } + }, + "required": [ + "ca", + "cert", + "key" + ] + } + }, + "required": [ + "certs" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "dynatraceLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "dynatrace.ruxit" + ] + }, + "type": { + "enum": [ + "ruxitAgentLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "tenantId": { + "type": "string" + }, + "token": { + "type": "string" + } + }, + "required": [ + "tenantId", + "token" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "dynatraceWindows": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "dynatrace.ruxit" + ] + }, + "type": { + "enum": [ + "ruxitAgentWindows" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "tenantId": { + "type": "string" + }, + "token": { + "type": "string" + } + }, + "required": [ + "tenantId", + "token" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "eset": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "ESET" + ] + }, + "type": { + "enum": [ + "FileSecurity" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "LicenseKey": { + "type": "string" + }, + "Install-RealtimeProtection": { + "type": "boolean" + }, + "Install-ProtocolFiltering": { + "type": "boolean" + }, + "Install-DeviceControl": { + "type": "boolean" + }, + "Enable-Cloud": { + "type": "boolean" + }, + "Enable-PUA": { + "type": "boolean" + }, + "ERAAgentCfgUrl": { + "type": "string" + } + }, + "required": [ + "LicenseKey", + "Install-RealtimeProtection", + "Install-ProtocolFiltering", + "Install-DeviceControl", + "Enable-Cloud", + "Enable-PUA", + "ERAAgentCfgUrl" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "hpeSecurityApplicationDefender": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "HPE.Security.ApplicationDefender" + ] + }, + "type": { + "enum": [ + "DotnetAgent" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "protectedSettings": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "serverURL": { + "type": "string" + } + }, + "required": [ + "key", + "serverURL" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "protectedSettings" + ] + }, + "puppetAgent": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Puppet" + ] + }, + "type": { + "enum": [ + "PuppetAgent" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "protectedSettings": { + "type": "object", + "properties": { + "PUPPET_MASTER_SERVER": { + "type": "string" + } + }, + "required": [ + "PUPPET_MASTER_SERVER" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "protectedSettings" + ] + }, + "site24x7LinuxServerExtn": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Site24x7" + ] + }, + "type": { + "enum": [ + "Site24x7LinuxServerExtn" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "site24x7AgentType": { + "enum": [ + "azurevmextnlinuxserver" + ] + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "site24x7LicenseKey": { + "type": "string" + } + }, + "required": [ + "site24x7LicenseKey" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "site24x7WindowsServerExtn": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Site24x7" + ] + }, + "type": { + "enum": [ + "Site24x7WindowsServerExtn" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "site24x7AgentType": { + "enum": [ + "azurevmextnwindowsserver" + ] + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "site24x7LicenseKey": { + "type": "string" + } + }, + "required": [ + "site24x7LicenseKey" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "site24x7ApmInsightExtn": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Site24x7" + ] + }, + "type": { + "enum": [ + "Site24x7ApmInsightExtn" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "site24x7AgentType": { + "enum": [ + "azurevmextnapminsightclassic" + ] + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "site24x7LicenseKey": { + "type": "string" + } + }, + "required": [ + "site24x7LicenseKey" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "trendMicroDSALinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "TrendMicro.DeepSecurity" + ] + }, + "type": { + "enum": [ + "TrendMicroDSALinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "DSMname": { + "type": "string" + }, + "DSMport": { + "type": "string" + }, + "policyNameorID": { + "type": "string" + } + }, + "required": [ + "DSMname", + "DSMport" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "tenantID": { + "type": "string" + }, + "tenantPassword": { + "type": "string" + } + }, + "required": [ + "tenantID", + "tenantPassword" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "trendMicroDSA": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "TrendMicro.DeepSecurity" + ] + }, + "type": { + "enum": [ + "TrendMicroDSA" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "DSMname": { + "type": "string" + }, + "DSMport": { + "type": "string" + }, + "policyNameorID": { + "type": "string" + } + }, + "required": [ + "DSMname", + "DSMport" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "tenantID": { + "type": "string" + }, + "tenantPassword": { + "type": "string" + } + }, + "required": [ + "tenantID", + "tenantPassword" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "bmcCtmAgentLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "ctm.bmc.com" + ] + }, + "type": { + "enum": [ + "BmcCtmAgentLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "Control-M Server Name": { + "type": "string" + }, + "Agent Port": { + "type": "string" + }, + "Host Group": { + "type": "string" + }, + "User Account": { + "type": "string" + } + }, + "required": [ + "Control-M Server Name", + "Agent Port", + "Host Group", + "User Account" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "bmcCtmAgentWindows": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "bmc.ctm" + ] + }, + "type": { + "enum": [ + "AgentWinExt" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "Control-M Server Name": { + "type": "string" + }, + "Agent Port": { + "type": "string" + }, + "Host Group": { + "type": "string" + } + }, + "required": [ + "Control-M Server Name", + "Agent Port", + "Host Group" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "OSPatchingForLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.OSTCExtensions" + ] + }, + "type": { + "enum": [ + "OSPatchingForLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "disabled": { + "type": "boolean" + }, + "stop": { + "type": "boolean" + }, + "installDuration": { + "type": "string" + }, + "intervalOfWeeks": { + "type": "number" + }, + "dayOfWeek": { + "type": "string" + }, + "startTime": { + "type": "string" + }, + "rebootAfterPatch": { + "type": "string" + }, + "category": { + "type": "string" + }, + "oneoff": { + "type": "boolean" + }, + "local": { + "type": "boolean" + }, + "idleTestScript": { + "type": "string" + }, + "healthyTestScript": { + "type": "string" + }, + "distUpgradeList": { + "type": "string" + }, + "distUpgradeAll": { + "type": "boolean" + }, + "vmStatusTest": { + "type": "object" + } + }, + "required": [ + "disabled", + "stop" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + } + } + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "VMSnapshot": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.RecoveryServices" + ] + }, + "type": { + "enum": [ + "VMSnapshot" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "locale": { + "type": "string" + }, + "taskId": { + "type": "string" + }, + "commandToExecute": { + "type": "string" + }, + "objectStr": { + "type": "string" + }, + "logsBlobUri": { + "type": "string" + }, + "statusBlobUri": { + "type": "string" + }, + "commandStartTimeUTCTicks": { + "type": "string" + }, + "vmType": { + "type": "string" + } + }, + "required": [ + "locale", + "taskId", + "commandToExecute", + "objectStr", + "logsBlobUri", + "statusBlobUri", + "commandStartTimeUTCTicks", + "vmType" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "VMSnapshotLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.RecoveryServices" + ] + }, + "type": { + "enum": [ + "VMSnapshotLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "locale": { + "type": "string" + }, + "taskId": { + "type": "string" + }, + "commandToExecute": { + "type": "string" + }, + "objectStr": { + "type": "string" + }, + "logsBlobUri": { + "type": "string" + }, + "statusBlobUri": { + "type": "string" + }, + "commandStartTimeUTCTicks": { + "type": "string" + }, + "vmType": { + "type": "string" + } + }, + "required": [ + "locale", + "taskId", + "commandToExecute", + "objectStr", + "logsBlobUri", + "statusBlobUri", + "commandStartTimeUTCTicks", + "vmType" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "customScript": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.Extensions" + ] + }, + "type": { + "enum": [ + "CustomScript" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "fileUris": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "fileUris" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + }, + "commandToExecute": { + "type": "string" + } + }, + "required": [ + "storageAccountName", + "storageAccountKey", + "commandToExecute" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "networkWatcherAgentWindows": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.NetworkWatcher" + ] + }, + "type": { + "enum": [ + "NetworkWatcherAgentWindows" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion" + ] + }, + "networkWatcherAgentLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.NetworkWatcher" + ] + }, + "type": { + "enum": [ + "NetworkWatcherAgentLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion" + ] + } + } +} \ No newline at end of file diff --git a/schemas/2022-08-03/Microsoft.Compute.json b/schemas/2022-08-03/Microsoft.Compute.json new file mode 100644 index 0000000000..55232ca5d3 --- /dev/null +++ b/schemas/2022-08-03/Microsoft.Compute.json @@ -0,0 +1,2094 @@ +{ + "id": "https://schema.management.azure.com/schemas/2022-08-03/Microsoft.Compute.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Compute", + "description": "Microsoft Compute Resource Types", + "resourceDefinitions": { + "galleries": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-08-03" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "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." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a Shared Image Gallery." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/galleries_images_childResource" + }, + { + "$ref": "#/definitions/galleries_applications_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/galleries" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/galleries" + }, + "galleries_applications": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-08-03" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "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." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryApplicationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a gallery Application Definition." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/galleries_applications_versions_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/galleries/applications" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/galleries/applications" + }, + "galleries_applications_versions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-08-03" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "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: .." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryApplicationVersionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a gallery image version." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/galleries/applications/versions" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/galleries/applications/versions" + }, + "galleries_images": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-08-03" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "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." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryImageProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a gallery image definition." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/galleries_images_versions_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/galleries/images" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/galleries/images" + }, + "galleries_images_versions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-08-03" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "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: .." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryImageVersionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a gallery image version." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/galleries/images/versions" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/galleries/images/versions" + } + }, + "definitions": { + "CommunityGalleryInfo": { + "type": "object", + "properties": { + "eula": { + "type": "string", + "description": "End-user license agreement for community gallery image." + }, + "publicNamePrefix": { + "type": "string", + "description": "The prefix of the gallery name that will be displayed publicly. Visible to all users." + }, + "publisherContact": { + "type": "string", + "description": "Community gallery publisher support email. The email address of the publisher. Visible to all users." + }, + "publisherUri": { + "type": "string", + "description": "The link to the publisher website. Visible to all users." + } + }, + "description": "Information of community gallery if current gallery is shared to community" + }, + "DataDiskImageEncryption": { + "type": "object", + "properties": { + "diskEncryptionSetId": { + "type": "string", + "description": "A relative URI containing the resource ID of the disk encryption set." + }, + "lun": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "required": [ + "lun" + ], + "description": "Contains encryption settings for a data disk image." + }, + "Disallowed": { + "type": "object", + "properties": { + "diskTypes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A list of disk types." + } + }, + "description": "Describes the disallowed disk types." + }, + "EncryptionImages": { + "type": "object", + "properties": { + "dataDiskImages": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/DataDiskImageEncryption" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A list of encryption specifications for data disk images." + }, + "osDiskImage": { + "oneOf": [ + { + "$ref": "#/definitions/OSDiskImageEncryption" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Contains encryption settings for an OS disk image." + } + }, + "description": "Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact." + }, + "galleries_applications_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-08-03" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "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." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryApplicationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a gallery Application Definition." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "applications" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/galleries/applications" + }, + "galleries_applications_versions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-08-03" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "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: .." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryApplicationVersionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a gallery image version." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "versions" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/galleries/applications/versions" + }, + "galleries_images_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-08-03" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "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." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryImageProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a gallery image definition." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "images" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/galleries/images" + }, + "galleries_images_versions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-08-03" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "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: .." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryImageVersionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a gallery image version." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "versions" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/galleries/images/versions" + }, + "GalleryApplicationCustomAction": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Description to help the users understand what this custom action does." + }, + "name": { + "type": "string", + "description": "The name of the custom action. Must be unique within the Gallery Application Version." + }, + "parameters": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/GalleryApplicationCustomActionParameter" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters that this custom action uses" + }, + "script": { + "type": "string", + "description": "The script to run when executing this custom action." + } + }, + "required": [ + "name", + "script" + ], + "description": "A custom action that can be performed with a Gallery Application Version." + }, + "GalleryApplicationCustomActionParameter": { + "type": "object", + "properties": { + "defaultValue": { + "type": "string", + "description": "The default value of the parameter. Only applies to string types" + }, + "description": { + "type": "string", + "description": "A description to help users understand what this parameter means" + }, + "name": { + "type": "string", + "description": "The name of the custom action. Must be unique within the Gallery Application Version." + }, + "required": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether this parameter must be passed when running the custom action." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "String", + "ConfigurationDataBlob", + "LogOutputBlob" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the type of the custom action parameter. Possible values are: String, ConfigurationDataBlob or LogOutputBlob." + } + }, + "required": [ + "name" + ], + "description": "The definition of a parameter that can be passed to a custom action of a Gallery Application Version." + }, + "GalleryApplicationProperties": { + "type": "object", + "properties": { + "customActions": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/GalleryApplicationCustomAction" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A list of custom actions that can be performed with all of the Gallery Application Versions within this Gallery Application." + }, + "description": { + "type": "string", + "description": "The description of this gallery Application Definition resource. This property is updatable." + }, + "endOfLifeDate": { + "type": "string", + "format": "date-time", + "description": "The end of life date of the gallery Application Definition. This property can be used for decommissioning purposes. This property is updatable." + }, + "eula": { + "type": "string", + "description": "The Eula agreement for the gallery Application Definition." + }, + "privacyStatementUri": { + "type": "string", + "description": "The privacy statement uri." + }, + "releaseNoteUri": { + "type": "string", + "description": "The release note uri." + }, + "supportedOSType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Windows", + "Linux" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This property allows you to specify the supported type of the OS that application is built for. Possible values are: **Windows,** **Linux.**." + } + }, + "required": [ + "supportedOSType" + ], + "description": "Describes the properties of a gallery Application Definition." + }, + "GalleryApplicationVersionProperties": { + "type": "object", + "properties": { + "publishingProfile": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryApplicationVersionPublishingProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The publishing profile of a gallery image version." + }, + "safetyProfile": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryApplicationVersionSafetyProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The safety profile of the Gallery Application Version." + } + }, + "required": [ + "publishingProfile" + ], + "description": "Describes the properties of a gallery image version." + }, + "GalleryApplicationVersionPublishingProfile": { + "type": "object", + "properties": { + "advancedSettings": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional. Additional settings to pass to the vm-application-manager extension. For advanced use only." + }, + "customActions": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/GalleryApplicationCustomAction" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A list of custom actions that can be performed with this Gallery Application Version." + }, + "enableHealthCheck": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional. Whether or not this application reports health." + }, + "endOfLifeDate": { + "type": "string", + "format": "date-time", + "description": "The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable." + }, + "excludeFromLatest": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version." + }, + "manageActions": { + "oneOf": [ + { + "$ref": "#/definitions/UserArtifactManage" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "replicaCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "replicationMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Full", + "Shallow" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional parameter which specifies the mode to be used for replication. This property is not updatable." + }, + "settings": { + "oneOf": [ + { + "$ref": "#/definitions/UserArtifactSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "source": { + "oneOf": [ + { + "$ref": "#/definitions/UserArtifactSource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The source image from which the Image Version is going to be created." + }, + "storageAccountType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "Standard_ZRS", + "Premium_LRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the storage account type to be used to store the image. This property is not updatable." + }, + "targetExtendedLocations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/GalleryTargetExtendedLocation" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The target extended locations where the Image Version is going to be replicated to. This property is updatable." + }, + "targetRegions": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/TargetRegion" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The target regions where the Image Version is going to be replicated to. This property is updatable." + } + }, + "required": [ + "source" + ], + "description": "The publishing profile of a gallery image version." + }, + "GalleryApplicationVersionSafetyProfile": { + "type": "object", + "properties": { + "allowDeletionOfReplicatedLocations": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether or not removing this Gallery Image Version from replicated regions is allowed." + } + }, + "description": "The safety profile of the Gallery Application Version." + }, + "GalleryArtifactVersionFullSource": { + "type": "object", + "properties": { + "communityGalleryImageId": { + "type": "string", + "description": "The resource Id of the source Community Gallery Image. Only required when using Community Gallery Image as a source." + }, + "id": { + "type": "string", + "description": "The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, user image or storage account resource." + } + }, + "description": "The source of the gallery artifact version." + }, + "GalleryDataDiskImage": { + "type": "object", + "properties": { + "hostCaching": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "ReadOnly", + "ReadWrite" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'." + }, + "lun": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "source": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryDiskImageSource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The source for the disk image." + } + }, + "required": [ + "lun" + ], + "description": "This is the data disk image." + }, + "GalleryDiskImageSource": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, user image or storage account resource." + }, + "storageAccountId": { + "type": "string", + "description": "The Storage Account Id that contains the vhd blob being used as a source for this artifact version." + }, + "uri": { + "type": "string", + "description": "The uri of the gallery artifact version source. Currently used to specify vhd/blob source." + } + }, + "description": "The source for the disk image." + }, + "GalleryExtendedLocation": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "EdgeZone", + "Unknown" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "The name of the extended location." + }, + "GalleryIdentifier": { + "type": "object", + "properties": {}, + "description": "Describes the gallery unique name." + }, + "GalleryImageFeature": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the gallery image feature." + }, + "value": { + "type": "string", + "description": "The value of the gallery image feature." + } + }, + "description": "A feature for gallery image." + }, + "GalleryImageIdentifier": { + "type": "object", + "properties": { + "offer": { + "type": "string", + "description": "The name of the gallery image definition offer." + }, + "publisher": { + "type": "string", + "description": "The name of the gallery image definition publisher." + }, + "sku": { + "type": "string", + "description": "The name of the gallery image definition SKU." + } + }, + "required": [ + "offer", + "publisher", + "sku" + ], + "description": "This is the gallery image definition identifier." + }, + "GalleryImageProperties": { + "type": "object", + "properties": { + "architecture": { + "oneOf": [ + { + "type": "string", + "enum": [ + "x64", + "Arm64" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "description": { + "type": "string", + "description": "The description of this gallery image definition resource. This property is updatable." + }, + "disallowed": { + "oneOf": [ + { + "$ref": "#/definitions/Disallowed" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the disallowed disk types." + }, + "endOfLifeDate": { + "type": "string", + "format": "date-time", + "description": "The end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable." + }, + "eula": { + "type": "string", + "description": "The Eula agreement for the gallery image definition." + }, + "features": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/GalleryImageFeature" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A list of gallery image features." + }, + "hyperVGeneration": { + "oneOf": [ + { + "type": "string", + "enum": [ + "V1", + "V2" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only." + }, + "identifier": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryImageIdentifier" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This is the gallery image definition identifier." + }, + "osState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Generalized", + "Specialized" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'." + }, + "osType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Windows", + "Linux" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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.**." + }, + "privacyStatementUri": { + "type": "string", + "description": "The privacy statement uri." + }, + "purchasePlan": { + "oneOf": [ + { + "$ref": "#/definitions/ImagePurchasePlan" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the gallery image definition purchase plan. This is used by marketplace images." + }, + "recommended": { + "oneOf": [ + { + "$ref": "#/definitions/RecommendedMachineConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties describe the recommended machine configuration for this Image Definition. These properties are updatable." + }, + "releaseNoteUri": { + "type": "string", + "description": "The release note uri." + } + }, + "required": [ + "identifier", + "osState", + "osType" + ], + "description": "Describes the properties of a gallery image definition." + }, + "GalleryImageVersionProperties": { + "type": "object", + "properties": { + "publishingProfile": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryImageVersionPublishingProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The publishing profile of a gallery image Version." + }, + "safetyProfile": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryImageVersionSafetyProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This is the safety profile of the Gallery Image Version." + }, + "securityProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ImageVersionSecurityProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The security profile of a gallery image version" + }, + "storageProfile": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryImageVersionStorageProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This is the storage profile of a Gallery Image Version." + } + }, + "required": [ + "storageProfile" + ], + "description": "Describes the properties of a gallery image version." + }, + "GalleryImageVersionPublishingProfile": { + "type": "object", + "properties": { + "endOfLifeDate": { + "type": "string", + "format": "date-time", + "description": "The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable." + }, + "excludeFromLatest": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version." + }, + "replicaCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "replicationMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Full", + "Shallow" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional parameter which specifies the mode to be used for replication. This property is not updatable." + }, + "storageAccountType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "Standard_ZRS", + "Premium_LRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the storage account type to be used to store the image. This property is not updatable." + }, + "targetExtendedLocations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/GalleryTargetExtendedLocation" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The target extended locations where the Image Version is going to be replicated to. This property is updatable." + }, + "targetRegions": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/TargetRegion" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The target regions where the Image Version is going to be replicated to. This property is updatable." + } + }, + "description": "The publishing profile of a gallery image Version." + }, + "GalleryImageVersionSafetyProfile": { + "type": "object", + "properties": { + "allowDeletionOfReplicatedLocations": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether or not removing this Gallery Image Version from replicated regions is allowed." + } + }, + "description": "This is the safety profile of the Gallery Image Version." + }, + "GalleryImageVersionStorageProfile": { + "type": "object", + "properties": { + "dataDiskImages": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/GalleryDataDiskImage" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A list of data disk images." + }, + "osDiskImage": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryOSDiskImage" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This is the OS disk image." + }, + "source": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryArtifactVersionFullSource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The source of the gallery artifact version." + } + }, + "description": "This is the storage profile of a Gallery Image Version." + }, + "GalleryImageVersionUefiSettings": { + "type": "object", + "properties": { + "additionalSignatures": { + "oneOf": [ + { + "$ref": "#/definitions/UefiKeySignatures" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Additional UEFI key signatures that will be added to the image in addition to the signature templates" + }, + "signatureTemplateNames": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "NoSignatureTemplate", + "MicrosoftUefiCertificateAuthorityTemplate", + "MicrosoftWindowsTemplate" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the template(s) that contains default UEFI key signatures that will be added to the image." + } + }, + "description": "Contains UEFI settings for the image version." + }, + "GalleryOSDiskImage": { + "type": "object", + "properties": { + "hostCaching": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "ReadOnly", + "ReadWrite" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'." + }, + "source": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryDiskImageSource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The source for the disk image." + } + }, + "description": "This is the OS disk image." + }, + "GalleryProperties": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "The description of this Shared Image Gallery resource. This property is updatable." + }, + "identifier": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryIdentifier" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the gallery unique name." + }, + "sharingProfile": { + "oneOf": [ + { + "$ref": "#/definitions/SharingProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Profile for gallery sharing to subscription or tenant" + }, + "softDeletePolicy": { + "oneOf": [ + { + "$ref": "#/definitions/SoftDeletePolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Contains information about the soft deletion policy of the gallery." + } + }, + "description": "Describes the properties of a Shared Image Gallery." + }, + "GalleryTargetExtendedLocation": { + "type": "object", + "properties": { + "encryption": { + "oneOf": [ + { + "$ref": "#/definitions/EncryptionImages" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact." + }, + "extendedLocation": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryExtendedLocation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the extended location." + }, + "extendedLocationReplicaCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of replicas of the Image Version to be created per extended location. This property is updatable." + }, + "name": { + "type": "string", + "description": "The name of the region." + }, + "storageAccountType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "Standard_ZRS", + "StandardSSD_LRS", + "Premium_LRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the storage account type to be used to store the image. This property is not updatable." + } + } + }, + "ImagePurchasePlan": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The plan ID." + }, + "product": { + "type": "string", + "description": "The product ID." + }, + "publisher": { + "type": "string", + "description": "The publisher ID." + } + }, + "description": "Describes the gallery image definition purchase plan. This is used by marketplace images." + }, + "ImageVersionSecurityProfile": { + "type": "object", + "properties": { + "uefiSettings": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryImageVersionUefiSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Contains UEFI settings for the image version." + } + }, + "description": "The security profile of a gallery image version" + }, + "OSDiskImageEncryption": { + "type": "object", + "properties": { + "diskEncryptionSetId": { + "type": "string", + "description": "A relative URI containing the resource ID of the disk encryption set." + }, + "securityProfile": { + "oneOf": [ + { + "$ref": "#/definitions/OSDiskImageSecurityProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Contains security profile for an OS disk image." + } + }, + "description": "Contains encryption settings for an OS disk image." + }, + "OSDiskImageSecurityProfile": { + "type": "object", + "properties": { + "confidentialVMEncryptionType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "EncryptedVMGuestStateOnlyWithPmk", + "EncryptedWithPmk", + "EncryptedWithCmk", + "NonPersistedTPM" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "confidential VM encryption types." + }, + "secureVMDiskEncryptionSetId": { + "type": "string", + "description": "secure VM disk encryption set id" + } + }, + "description": "Contains security profile for an OS disk image." + }, + "RecommendedMachineConfiguration": { + "type": "object", + "properties": { + "memory": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceRange" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the resource range." + }, + "vCPUs": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceRange" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the resource range." + } + }, + "description": "The properties describe the recommended machine configuration for this Image Definition. These properties are updatable." + }, + "ResourceRange": { + "type": "object", + "properties": { + "max": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum number of the resource." + }, + "min": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The minimum number of the resource." + } + }, + "description": "Describes the resource range." + }, + "SharingProfile": { + "type": "object", + "properties": { + "communityGalleryInfo": { + "oneOf": [ + { + "$ref": "#/definitions/CommunityGalleryInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Information of community gallery if current gallery is shared to community" + }, + "permissions": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Private", + "Groups", + "Community" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This property allows you to specify the permission of sharing gallery. Possible values are: **Private,** **Groups,** **Community.**." + } + }, + "description": "Profile for gallery sharing to subscription or tenant" + }, + "SoftDeletePolicy": { + "type": "object", + "properties": { + "isSoftDeleteEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enables soft-deletion for resources in this gallery, allowing them to be recovered within retention time." + } + }, + "description": "Contains information about the soft deletion policy of the gallery." + }, + "TargetRegion": { + "type": "object", + "properties": { + "encryption": { + "oneOf": [ + { + "$ref": "#/definitions/EncryptionImages" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact." + }, + "excludeFromLatest": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Contains the flag setting to hide an image when users specify version='latest'" + }, + "name": { + "type": "string", + "description": "The name of the region." + }, + "regionalReplicaCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of replicas of the Image Version to be created per region. This property is updatable." + }, + "storageAccountType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "Standard_ZRS", + "Premium_LRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the storage account type to be used to store the image. This property is not updatable." + } + }, + "required": [ + "name" + ], + "description": "Describes the target region information." + }, + "UefiKey": { + "type": "object", + "properties": { + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "sha256", + "x509" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of key signature." + }, + "value": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The value of the key signature." + } + }, + "description": "A UEFI key signature." + }, + "UefiKeySignatures": { + "type": "object", + "properties": { + "db": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/UefiKey" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The database of UEFI keys for this image version." + }, + "dbx": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/UefiKey" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The database of revoked UEFI keys for this image version." + }, + "kek": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/UefiKey" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Key Encryption Keys of this image version." + }, + "pk": { + "oneOf": [ + { + "$ref": "#/definitions/UefiKey" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A UEFI key signature." + } + }, + "description": "Additional UEFI key signatures that will be added to the image in addition to the signature templates" + }, + "UserArtifactManage": { + "type": "object", + "properties": { + "install": { + "type": "string", + "description": "Required. The path and arguments to install the gallery application. This is limited to 4096 characters." + }, + "remove": { + "type": "string", + "description": "Required. The path and arguments to remove the gallery application. This is limited to 4096 characters." + }, + "update": { + "type": "string", + "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." + } + }, + "required": [ + "install", + "remove" + ] + }, + "UserArtifactSettings": { + "type": "object", + "properties": { + "configFileName": { + "type": "string", + "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\"." + }, + "packageFileName": { + "type": "string", + "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." + } + }, + "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." + }, + "UserArtifactSource": { + "type": "object", + "properties": { + "defaultConfigurationLink": { + "type": "string", + "description": "Optional. The defaultConfigurationLink of the artifact, must be a readable storage page blob." + }, + "mediaLink": { + "type": "string", + "description": "Required. The mediaLink of the artifact, must be a readable storage page blob." + } + }, + "required": [ + "mediaLink" + ], + "description": "The source image from which the Image Version is going to be created." + } + } +} \ No newline at end of file diff --git a/schemas/2023-04-02/Microsoft.Compute.Extensions.json b/schemas/2023-04-02/Microsoft.Compute.Extensions.json new file mode 100644 index 0000000000..6833ebb355 --- /dev/null +++ b/schemas/2023-04-02/Microsoft.Compute.Extensions.json @@ -0,0 +1,2026 @@ +{ + "id": "https://schema.management.azure.com/schemas/2023-04-02/Microsoft.Compute.Extensions.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Compute.Extensions", + "description": "Microsoft Compute Extensions Resource Types", + "resourceDefinitions": {}, + "definitions": { + "genericExtension": { + "type": "object", + "properties": { + "publisher": { + "type": "string", + "minLength": 1, + "description": "Microsoft.Compute/extensions - Publisher" + }, + "type": { + "type": "string", + "minLength": 1, + "description": "Microsoft.Compute/extensions - Type" + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1, + "description": "Microsoft.Compute/extensions - Type handler version" + }, + "settings": { + "oneOf": [ + { + "type": "object" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Microsoft.Compute/extensions - Settings" + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "settings" + ] + }, + "iaaSDiagnostics": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.Diagnostics" + ] + }, + "type": { + "enum": [ + "IaaSDiagnostics" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "xmlCfg": { + "type": "string" + }, + "StorageAccount": { + "type": "string" + } + }, + "required": [ + "xmlCfg", + "StorageAccount" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + }, + "storageAccountEndPoint": { + "type": "string" + } + }, + "required": [ + "storageAccountName", + "storageAccountKey", + "storageAccountEndPoint" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "iaaSAntimalware": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.Security" + ] + }, + "type": { + "enum": [ + "IaaSAntimalware" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "AntimalwareEnabled": { + "type": "boolean" + }, + "Exclusions": { + "type": "object", + "properties": { + "Paths": { + "type": "string" + }, + "Extensions": { + "type": "string" + }, + "Processes": { + "type": "string" + } + }, + "required": [ + "Paths", + "Extensions", + "Processes" + ] + }, + "RealtimeProtectionEnabled": { + "enum": [ + "true", + "false" + ] + }, + "ScheduledScanSettings": { + "type": "object", + "properties": { + "isEnabled": { + "enum": [ + "true", + "false" + ] + }, + "scanType": { + "type": "string" + }, + "day": { + "type": "string" + }, + "time": { + "type": "string" + } + }, + "required": [ + "isEnabled", + "scanType", + "day", + "time" + ] + } + }, + "required": [ + "AntimalwareEnabled", + "Exclusions", + "RealtimeProtectionEnabled", + "ScheduledScanSettings" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "customScriptExtension": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Compute" + ] + }, + "type": { + "enum": [ + "CustomScriptExtension" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "fileUris": { + "type": "array", + "items": { + "type": "string" + } + }, + "commandToExecute": { + "type": "string" + } + }, + "required": [ + "commandToExecute" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + } + } + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "customScriptForLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.OSTCExtensions" + ] + }, + "type": { + "enum": [ + "CustomScriptForLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "fileUris": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "commandToExecute": { + "type": "string" + }, + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + } + }, + "required": [ + "commandToExecute" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "linuxDiagnostic": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.OSTCExtensions" + ] + }, + "type": { + "enum": [ + "LinuxDiagnostic" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "enableSyslog": { + "type": "string" + }, + "mdsdHttpProxy": { + "type": "string" + }, + "perCfg": { + "type": "array" + }, + "fileCfg": { + "type": "array" + }, + "xmlCfg": { + "type": "string" + }, + "ladCfg": { + "type": "object" + }, + "syslogCfg": { + "type": "string" + }, + "eventVolume": { + "type": "string" + }, + "mdsdCfg": { + "type": "string" + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "mdsdHttpProxy": { + "type": "string" + }, + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + }, + "storageAccountEndPoint": { + "type": "string" + } + }, + "required": [ + "storageAccountName", + "storageAccountKey" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "vmAccessForLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.OSTCExtensions" + ] + }, + "type": { + "enum": [ + "VMAccessForLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "check_disk": { + "type": "boolean" + }, + "repair_disk": { + "type": "boolean" + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "password": { + "type": "string" + }, + "ssh_key": { + "type": "string" + }, + "reset_ssh": { + "type": "string" + }, + "remove_user": { + "type": "string" + }, + "expiration": { + "type": "string" + } + }, + "required": [ + "username", + "password", + "ssh_key", + "reset_ssh", + "remove_user", + "expiration" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "bgInfo": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Compute" + ] + }, + "type": { + "enum": [ + "bginfo" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion" + ] + }, + "vmAccessAgent": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Compute" + ] + }, + "type": { + "enum": [ + "VMAccessAgent" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "username": { + "type": "string" + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "password": { + "type": "string" + } + } + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "dscExtension": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Powershell" + ] + }, + "type": { + "enum": [ + "DSC" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "modulesUrl": { + "type": "string" + }, + "configurationFunction": { + "type": "string" + }, + "properties": { + "type": "string" + }, + "wmfVersion": { + "type": "string" + }, + "privacy": { + "type": "object", + "properties": { + "dataCollection": { + "type": "string" + } + } + } + }, + "required": [ + "modulesUrl", + "configurationFunction" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "dataBlobUri": { + "type": "string" + } + } + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "acronisBackupLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Acronis.Backup" + ] + }, + "type": { + "enum": [ + "AcronisBackupLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "absURL": { + "type": "string" + } + }, + "required": [ + "absURL" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "userLogin": { + "type": "string" + }, + "userPassword": { + "type": "string" + } + }, + "required": [ + "userLogin", + "userPassword" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "acronisBackup": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Acronis.Backup" + ] + }, + "type": { + "enum": [ + "AcronisBackup" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "absURL": { + "type": "string" + } + }, + "required": [ + "absURL" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "userLogin": { + "type": "string" + }, + "userPassword": { + "type": "string" + } + }, + "required": [ + "userLogin", + "userPassword" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "linuxChefClient": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Chef.Bootstrap.WindowsAzure" + ] + }, + "type": { + "enum": [ + "LinuxChefClient" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "bootstrap_version": { + "type": "string" + }, + "bootstrap_options": { + "type": "object", + "properties": { + "chef_node_name": { + "type": "string" + }, + "chef_server_url": { + "type": "string" + }, + "validation_client_name": { + "type": "string" + }, + "node_ssl_verify_mode": { + "type": "string" + }, + "environment": { + "type": "string" + } + }, + "required": [ + "chef_node_name", + "chef_server_url", + "validation_client_name", + "node_ssl_verify_mode", + "environment" + ] + }, + "runlist": { + "type": "string" + }, + "client_rb": { + "type": "string" + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "validation_key": { + "type": "string" + }, + "chef_server_crt": { + "type": "string" + }, + "secret": { + "type": "string" + } + }, + "required": [ + "validation_key", + "chef_server_crt", + "secret" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "chefClient": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Chef.Bootstrap.WindowsAzure" + ] + }, + "type": { + "enum": [ + "ChefClient" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "bootstrap_options": { + "type": "object", + "properties": { + "chef_node_name": { + "type": "string" + }, + "chef_server_url": { + "type": "string" + }, + "validation_client_name": { + "type": "string" + }, + "node_ssl_verify_mode": { + "type": "string" + }, + "environment": { + "type": "string" + } + }, + "required": [ + "chef_node_name", + "chef_server_url", + "validation_client_name", + "node_ssl_verify_mode", + "environment" + ] + }, + "runlist": { + "type": "string" + }, + "client_rb": { + "type": "string" + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "validation_key": { + "type": "string" + }, + "chef_server_crt": { + "type": "string" + }, + "secret": { + "type": "string" + } + }, + "required": [ + "validation_key", + "chef_server_crt", + "secret" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "datadogLinuxAgent": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Datadog.Agent" + ] + }, + "type": { + "enum": [ + "DatadogLinuxAgent" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "api_key": { + "type": "string" + } + }, + "required": [ + "api_key" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "datadogWindowsAgent": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Datadog.Agent" + ] + }, + "type": { + "enum": [ + "DatadogWindowsAgent" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "api_key": { + "type": "string" + } + }, + "required": [ + "api_key" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "dockerExtension": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.Extensions" + ] + }, + "type": { + "enum": [ + "DockerExtension" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "docker": { + "type": "object", + "properties": { + "port": { + "type": "string" + } + }, + "required": [ + "port" + ] + } + }, + "required": [ + "docker" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "certs": { + "type": "object", + "properties": { + "ca": { + "type": "string" + }, + "cert": { + "type": "string" + }, + "key": { + "type": "string" + } + }, + "required": [ + "ca", + "cert", + "key" + ] + } + }, + "required": [ + "certs" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "dynatraceLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "dynatrace.ruxit" + ] + }, + "type": { + "enum": [ + "ruxitAgentLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "tenantId": { + "type": "string" + }, + "token": { + "type": "string" + } + }, + "required": [ + "tenantId", + "token" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "dynatraceWindows": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "dynatrace.ruxit" + ] + }, + "type": { + "enum": [ + "ruxitAgentWindows" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "tenantId": { + "type": "string" + }, + "token": { + "type": "string" + } + }, + "required": [ + "tenantId", + "token" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "eset": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "ESET" + ] + }, + "type": { + "enum": [ + "FileSecurity" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "LicenseKey": { + "type": "string" + }, + "Install-RealtimeProtection": { + "type": "boolean" + }, + "Install-ProtocolFiltering": { + "type": "boolean" + }, + "Install-DeviceControl": { + "type": "boolean" + }, + "Enable-Cloud": { + "type": "boolean" + }, + "Enable-PUA": { + "type": "boolean" + }, + "ERAAgentCfgUrl": { + "type": "string" + } + }, + "required": [ + "LicenseKey", + "Install-RealtimeProtection", + "Install-ProtocolFiltering", + "Install-DeviceControl", + "Enable-Cloud", + "Enable-PUA", + "ERAAgentCfgUrl" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "hpeSecurityApplicationDefender": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "HPE.Security.ApplicationDefender" + ] + }, + "type": { + "enum": [ + "DotnetAgent" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "protectedSettings": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "serverURL": { + "type": "string" + } + }, + "required": [ + "key", + "serverURL" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "protectedSettings" + ] + }, + "puppetAgent": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Puppet" + ] + }, + "type": { + "enum": [ + "PuppetAgent" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "protectedSettings": { + "type": "object", + "properties": { + "PUPPET_MASTER_SERVER": { + "type": "string" + } + }, + "required": [ + "PUPPET_MASTER_SERVER" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "protectedSettings" + ] + }, + "site24x7LinuxServerExtn": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Site24x7" + ] + }, + "type": { + "enum": [ + "Site24x7LinuxServerExtn" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "site24x7AgentType": { + "enum": [ + "azurevmextnlinuxserver" + ] + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "site24x7LicenseKey": { + "type": "string" + } + }, + "required": [ + "site24x7LicenseKey" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "site24x7WindowsServerExtn": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Site24x7" + ] + }, + "type": { + "enum": [ + "Site24x7WindowsServerExtn" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "site24x7AgentType": { + "enum": [ + "azurevmextnwindowsserver" + ] + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "site24x7LicenseKey": { + "type": "string" + } + }, + "required": [ + "site24x7LicenseKey" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "site24x7ApmInsightExtn": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Site24x7" + ] + }, + "type": { + "enum": [ + "Site24x7ApmInsightExtn" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "site24x7AgentType": { + "enum": [ + "azurevmextnapminsightclassic" + ] + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "site24x7LicenseKey": { + "type": "string" + } + }, + "required": [ + "site24x7LicenseKey" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "trendMicroDSALinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "TrendMicro.DeepSecurity" + ] + }, + "type": { + "enum": [ + "TrendMicroDSALinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "DSMname": { + "type": "string" + }, + "DSMport": { + "type": "string" + }, + "policyNameorID": { + "type": "string" + } + }, + "required": [ + "DSMname", + "DSMport" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "tenantID": { + "type": "string" + }, + "tenantPassword": { + "type": "string" + } + }, + "required": [ + "tenantID", + "tenantPassword" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "trendMicroDSA": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "TrendMicro.DeepSecurity" + ] + }, + "type": { + "enum": [ + "TrendMicroDSA" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "DSMname": { + "type": "string" + }, + "DSMport": { + "type": "string" + }, + "policyNameorID": { + "type": "string" + } + }, + "required": [ + "DSMname", + "DSMport" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "tenantID": { + "type": "string" + }, + "tenantPassword": { + "type": "string" + } + }, + "required": [ + "tenantID", + "tenantPassword" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "bmcCtmAgentLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "ctm.bmc.com" + ] + }, + "type": { + "enum": [ + "BmcCtmAgentLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "Control-M Server Name": { + "type": "string" + }, + "Agent Port": { + "type": "string" + }, + "Host Group": { + "type": "string" + }, + "User Account": { + "type": "string" + } + }, + "required": [ + "Control-M Server Name", + "Agent Port", + "Host Group", + "User Account" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "bmcCtmAgentWindows": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "bmc.ctm" + ] + }, + "type": { + "enum": [ + "AgentWinExt" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "Control-M Server Name": { + "type": "string" + }, + "Agent Port": { + "type": "string" + }, + "Host Group": { + "type": "string" + } + }, + "required": [ + "Control-M Server Name", + "Agent Port", + "Host Group" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "OSPatchingForLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.OSTCExtensions" + ] + }, + "type": { + "enum": [ + "OSPatchingForLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "disabled": { + "type": "boolean" + }, + "stop": { + "type": "boolean" + }, + "installDuration": { + "type": "string" + }, + "intervalOfWeeks": { + "type": "number" + }, + "dayOfWeek": { + "type": "string" + }, + "startTime": { + "type": "string" + }, + "rebootAfterPatch": { + "type": "string" + }, + "category": { + "type": "string" + }, + "oneoff": { + "type": "boolean" + }, + "local": { + "type": "boolean" + }, + "idleTestScript": { + "type": "string" + }, + "healthyTestScript": { + "type": "string" + }, + "distUpgradeList": { + "type": "string" + }, + "distUpgradeAll": { + "type": "boolean" + }, + "vmStatusTest": { + "type": "object" + } + }, + "required": [ + "disabled", + "stop" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + } + } + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "VMSnapshot": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.RecoveryServices" + ] + }, + "type": { + "enum": [ + "VMSnapshot" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "locale": { + "type": "string" + }, + "taskId": { + "type": "string" + }, + "commandToExecute": { + "type": "string" + }, + "objectStr": { + "type": "string" + }, + "logsBlobUri": { + "type": "string" + }, + "statusBlobUri": { + "type": "string" + }, + "commandStartTimeUTCTicks": { + "type": "string" + }, + "vmType": { + "type": "string" + } + }, + "required": [ + "locale", + "taskId", + "commandToExecute", + "objectStr", + "logsBlobUri", + "statusBlobUri", + "commandStartTimeUTCTicks", + "vmType" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "VMSnapshotLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.RecoveryServices" + ] + }, + "type": { + "enum": [ + "VMSnapshotLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "locale": { + "type": "string" + }, + "taskId": { + "type": "string" + }, + "commandToExecute": { + "type": "string" + }, + "objectStr": { + "type": "string" + }, + "logsBlobUri": { + "type": "string" + }, + "statusBlobUri": { + "type": "string" + }, + "commandStartTimeUTCTicks": { + "type": "string" + }, + "vmType": { + "type": "string" + } + }, + "required": [ + "locale", + "taskId", + "commandToExecute", + "objectStr", + "logsBlobUri", + "statusBlobUri", + "commandStartTimeUTCTicks", + "vmType" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "customScript": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.Extensions" + ] + }, + "type": { + "enum": [ + "CustomScript" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "fileUris": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "fileUris" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + }, + "commandToExecute": { + "type": "string" + } + }, + "required": [ + "storageAccountName", + "storageAccountKey", + "commandToExecute" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "networkWatcherAgentWindows": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.NetworkWatcher" + ] + }, + "type": { + "enum": [ + "NetworkWatcherAgentWindows" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion" + ] + }, + "networkWatcherAgentLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.NetworkWatcher" + ] + }, + "type": { + "enum": [ + "NetworkWatcherAgentLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion" + ] + } + } +} \ No newline at end of file diff --git a/schemas/2023-04-02/Microsoft.Compute.json b/schemas/2023-04-02/Microsoft.Compute.json new file mode 100644 index 0000000000..08b60e3076 --- /dev/null +++ b/schemas/2023-04-02/Microsoft.Compute.json @@ -0,0 +1,1587 @@ +{ + "id": "https://schema.management.azure.com/schemas/2023-04-02/Microsoft.Compute.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Compute", + "description": "Microsoft Compute Resource Types", + "resourceDefinitions": { + "diskAccesses": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-04-02" + ] + }, + "extendedLocation": { + "oneOf": [ + { + "$ref": "#/definitions/ExtendedLocation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The complex type of the extended location." + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "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." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DiskAccessProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/diskAccesses_privateEndpointConnections_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/diskAccesses" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/diskAccesses" + }, + "diskAccesses_privateEndpointConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-04-02" + ] + }, + "name": { + "type": "string", + "description": "The name of the private endpoint connection." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the PrivateEndpointConnectProperties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/diskAccesses/privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/diskAccesses/privateEndpointConnections" + }, + "diskEncryptionSets": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-04-02" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/EncryptionSetIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "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." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/EncryptionSetProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/diskEncryptionSets" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/diskEncryptionSets" + }, + "disks": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-04-02" + ] + }, + "extendedLocation": { + "oneOf": [ + { + "$ref": "#/definitions/ExtendedLocation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The complex type of the extended location." + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "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." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DiskProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Disk resource properties." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/DiskSku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, StandardSSD_ZRS, or PremiumV2_LRS." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/disks" + ] + }, + "zones": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Logical zone list for Disk." + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/disks" + }, + "snapshots": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-04-02" + ] + }, + "extendedLocation": { + "oneOf": [ + { + "$ref": "#/definitions/ExtendedLocation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The complex type of the extended location." + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "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." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SnapshotProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Snapshot resource properties." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/SnapshotSku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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" + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/snapshots" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/snapshots" + } + }, + "definitions": { + "CopyCompletionError": { + "type": "object", + "properties": { + "errorCode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "CopySourceNotFound" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates the error code if the background copy of a resource created via the CopyStart operation fails." + }, + "errorMessage": { + "type": "string", + "description": "Indicates the error message if the background copy of a resource created via the CopyStart operation fails." + } + }, + "required": [ + "errorCode", + "errorMessage" + ], + "description": "Indicates the error details if the background copy of a resource created via the CopyStart operation fails." + }, + "CreationData": { + "type": "object", + "properties": { + "createOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Empty", + "Attach", + "FromImage", + "Import", + "Copy", + "Restore", + "Upload", + "CopyStart", + "ImportSecure", + "UploadPreparedSecure", + "CopyFromSanSnapshot" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This enumerates the possible sources of a disk's creation." + }, + "elasticSanResourceId": { + "type": "string", + "description": "Required if createOption is CopyFromSanSnapshot. This is the ARM id of the source elastic san volume snapshot." + }, + "galleryImageReference": { + "oneOf": [ + { + "$ref": "#/definitions/ImageDiskReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The source image used for creating the disk." + }, + "imageReference": { + "oneOf": [ + { + "$ref": "#/definitions/ImageDiskReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The source image used for creating the disk." + }, + "logicalSectorSize": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default." + }, + "performancePlus": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "securityDataUri": { + "type": "string", + "description": "If createOption is ImportSecure, this is the URI of a blob to be imported into VM guest state." + }, + "sourceResourceId": { + "type": "string", + "description": "If createOption is Copy, this is the ARM id of the source snapshot or disk." + }, + "sourceUri": { + "type": "string", + "description": "If createOption is Import, this is the URI of a blob to be imported into a managed disk." + }, + "storageAccountId": { + "type": "string", + "description": "Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk." + }, + "uploadSizeBytes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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)." + } + }, + "required": [ + "createOption" + ], + "description": "Data used when creating a disk." + }, + "diskAccesses_privateEndpointConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-04-02" + ] + }, + "name": { + "type": "string", + "description": "The name of the private endpoint connection." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the PrivateEndpointConnectProperties." + }, + "type": { + "type": "string", + "enum": [ + "privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/diskAccesses/privateEndpointConnections" + }, + "DiskAccessProperties": { + "type": "object", + "properties": {} + }, + "DiskProperties": { + "type": "object", + "properties": { + "burstingEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "completionPercent": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Percentage complete for the background copy when a resource is created via the CopyStart operation." + }, + "creationData": { + "oneOf": [ + { + "$ref": "#/definitions/CreationData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Data used when creating a disk." + }, + "dataAccessAuthMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "AzureActiveDirectory", + "None" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "diskAccessId": { + "type": "string", + "description": "ARM id of the DiskAccess resource for using private endpoints on disks." + }, + "diskIOPSReadOnly": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "diskIOPSReadWrite": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes." + }, + "diskMBpsReadOnly": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "diskMBpsReadWrite": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "diskSizeGB": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "diskState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Unattached", + "Attached", + "Reserved", + "Frozen", + "ActiveSAS", + "ActiveSASFrozen", + "ReadyToUpload", + "ActiveUpload" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The state of the disk." + }, + "encryption": { + "oneOf": [ + { + "$ref": "#/definitions/Encryption" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Encryption at rest settings for disk or snapshot" + }, + "encryptionSettingsCollection": { + "oneOf": [ + { + "$ref": "#/definitions/EncryptionSettingsCollection" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Encryption settings for disk or snapshot" + }, + "hyperVGeneration": { + "oneOf": [ + { + "type": "string", + "enum": [ + "V1", + "V2" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only." + }, + "maxShares": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "networkAccessPolicy": { + "oneOf": [ + { + "type": "string", + "enum": [ + "AllowAll", + "AllowPrivate", + "DenyAll" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "optimizedForFrequentAttach": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "osType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Windows", + "Linux" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Operating System type." + }, + "publicNetworkAccess": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "purchasePlan": { + "oneOf": [ + { + "$ref": "#/definitions/PurchasePlan" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Used for establishing the purchase context of any 3rd Party artifact through MarketPlace." + }, + "securityProfile": { + "oneOf": [ + { + "$ref": "#/definitions/DiskSecurityProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Contains the security related information for the resource." + }, + "supportedCapabilities": { + "oneOf": [ + { + "$ref": "#/definitions/SupportedCapabilities" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of supported capabilities persisted on the disk resource for VM use." + }, + "supportsHibernation": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates the OS on a disk supports hibernation." + }, + "tier": { + "type": "string", + "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." + } + }, + "required": [ + "creationData" + ], + "description": "Disk resource properties." + }, + "DiskSecurityProfile": { + "type": "object", + "properties": { + "secureVMDiskEncryptionSetId": { + "type": "string", + "description": "ResourceId of the disk encryption set associated to Confidential VM supported disk encrypted with customer managed key" + }, + "securityType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "TrustedLaunch", + "ConfidentialVM_VMGuestStateOnlyEncryptedWithPlatformKey", + "ConfidentialVM_DiskEncryptedWithPlatformKey", + "ConfidentialVM_DiskEncryptedWithCustomerKey" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Contains the security related information for the resource." + }, + "DiskSku": { + "type": "object", + "properties": { + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "Premium_LRS", + "StandardSSD_LRS", + "UltraSSD_LRS", + "Premium_ZRS", + "StandardSSD_ZRS", + "PremiumV2_LRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The sku name." + } + }, + "description": "The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, StandardSSD_ZRS, or PremiumV2_LRS." + }, + "Encryption": { + "type": "object", + "properties": { + "diskEncryptionSetId": { + "type": "string", + "description": "ResourceId of the disk encryption set to use for enabling encryption at rest." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "EncryptionAtRestWithPlatformKey", + "EncryptionAtRestWithCustomerKey", + "EncryptionAtRestWithPlatformAndCustomerKeys" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Encryption at rest settings for disk or snapshot" + }, + "EncryptionSetIdentity": { + "type": "object", + "properties": { + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned", + "None" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserAssignedIdentitiesValue" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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}'." + } + }, + "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." + }, + "EncryptionSetProperties": { + "type": "object", + "properties": { + "activeKey": { + "oneOf": [ + { + "$ref": "#/definitions/KeyForDiskEncryptionSet" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Key Vault Key Url to be used for server side encryption of Managed Disks and Snapshots" + }, + "encryptionType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "EncryptionAtRestWithCustomerKey", + "EncryptionAtRestWithPlatformAndCustomerKeys", + "ConfidentialVmEncryptedWithCustomerKey" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "federatedClientId": { + "type": "string", + "description": "Multi-tenant application client id to access key vault in a different tenant. Setting the value to 'None' will clear the property." + }, + "rotationToLatestKeyVersionEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Set this flag to true to enable auto-updating of this disk encryption set to the latest key version." + } + } + }, + "EncryptionSettingsCollection": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "encryptionSettings": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/EncryptionSettingsElement" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A collection of encryption settings, one for each disk volume." + }, + "encryptionSettingsVersion": { + "type": "string", + "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." + } + }, + "required": [ + "enabled" + ], + "description": "Encryption settings for disk or snapshot" + }, + "EncryptionSettingsElement": { + "type": "object", + "properties": { + "diskEncryptionKey": { + "oneOf": [ + { + "$ref": "#/definitions/KeyVaultAndSecretReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Key Vault Secret Url and vault id of the encryption key " + }, + "keyEncryptionKey": { + "oneOf": [ + { + "$ref": "#/definitions/KeyVaultAndKeyReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Key Vault Key Url and vault id of KeK, KeK is optional and when provided is used to unwrap the encryptionKey" + } + }, + "description": "Encryption settings for one disk volume." + }, + "ExtendedLocation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the extended location." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "EdgeZone" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of the extended location." + } + }, + "description": "The complex type of the extended location." + }, + "ImageDiskReference": { + "type": "object", + "properties": { + "communityGalleryImageId": { + "type": "string", + "description": "A relative uri containing a community Azure Compute Gallery image reference." + }, + "id": { + "type": "string", + "description": "A relative uri containing either a Platform Image Repository, user image, or Azure Compute Gallery image reference." + }, + "lun": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "sharedGalleryImageId": { + "type": "string", + "description": "A relative uri containing a direct shared Azure Compute Gallery image reference." + } + }, + "description": "The source image used for creating the disk." + }, + "KeyForDiskEncryptionSet": { + "type": "object", + "properties": { + "keyUrl": { + "type": "string", + "description": "Fully versioned Key Url pointing to a key in KeyVault. Version segment of the Url is required regardless of rotationToLatestKeyVersionEnabled value." + }, + "sourceVault": { + "oneOf": [ + { + "$ref": "#/definitions/SourceVault" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The vault id is an Azure Resource Manager Resource id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" + } + }, + "required": [ + "keyUrl" + ], + "description": "Key Vault Key Url to be used for server side encryption of Managed Disks and Snapshots" + }, + "KeyVaultAndKeyReference": { + "type": "object", + "properties": { + "keyUrl": { + "type": "string", + "description": "Url pointing to a key or secret in KeyVault" + }, + "sourceVault": { + "oneOf": [ + { + "$ref": "#/definitions/SourceVault" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The vault id is an Azure Resource Manager Resource id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" + } + }, + "required": [ + "keyUrl", + "sourceVault" + ], + "description": "Key Vault Key Url and vault id of KeK, KeK is optional and when provided is used to unwrap the encryptionKey" + }, + "KeyVaultAndSecretReference": { + "type": "object", + "properties": { + "secretUrl": { + "type": "string", + "description": "Url pointing to a key or secret in KeyVault" + }, + "sourceVault": { + "oneOf": [ + { + "$ref": "#/definitions/SourceVault" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The vault id is an Azure Resource Manager Resource id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" + } + }, + "required": [ + "secretUrl", + "sourceVault" + ], + "description": "Key Vault Secret Url and vault id of the encryption key " + }, + "PrivateEndpointConnectionProperties": { + "type": "object", + "properties": { + "privateLinkServiceConnectionState": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateLinkServiceConnectionState" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A collection of information about the state of the connection between service consumer and provider." + }, + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Creating", + "Deleting", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The provisioning state of the private endpoint connection resource." + } + }, + "required": [ + "privateLinkServiceConnectionState" + ], + "description": "Properties of the PrivateEndpointConnectProperties." + }, + "PrivateLinkServiceConnectionState": { + "type": "object", + "properties": { + "actionsRequired": { + "type": "string", + "description": "A message indicating if changes on the service provider require any updates on the consumer." + }, + "description": { + "type": "string", + "description": "The reason for approval/rejection of the connection." + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Pending", + "Approved", + "Rejected" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." + } + }, + "description": "A collection of information about the state of the connection between service consumer and provider." + }, + "PurchasePlan": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The plan ID." + }, + "product": { + "type": "string", + "description": "Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element." + }, + "promotionCode": { + "type": "string", + "description": "The Offer Promotion Code." + }, + "publisher": { + "type": "string", + "description": "The publisher ID." + } + }, + "required": [ + "name", + "product", + "publisher" + ], + "description": "Used for establishing the purchase context of any 3rd Party artifact through MarketPlace." + }, + "SnapshotProperties": { + "type": "object", + "properties": { + "completionPercent": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Percentage complete for the background copy when a resource is created via the CopyStart operation." + }, + "copyCompletionError": { + "oneOf": [ + { + "$ref": "#/definitions/CopyCompletionError" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates the error details if the background copy of a resource created via the CopyStart operation fails." + }, + "creationData": { + "oneOf": [ + { + "$ref": "#/definitions/CreationData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Data used when creating a disk." + }, + "dataAccessAuthMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "AzureActiveDirectory", + "None" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "diskAccessId": { + "type": "string", + "description": "ARM id of the DiskAccess resource for using private endpoints on disks." + }, + "diskSizeGB": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "diskState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Unattached", + "Attached", + "Reserved", + "Frozen", + "ActiveSAS", + "ActiveSASFrozen", + "ReadyToUpload", + "ActiveUpload" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The state of the snapshot." + }, + "encryption": { + "oneOf": [ + { + "$ref": "#/definitions/Encryption" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Encryption at rest settings for disk or snapshot" + }, + "encryptionSettingsCollection": { + "oneOf": [ + { + "$ref": "#/definitions/EncryptionSettingsCollection" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Encryption settings for disk or snapshot" + }, + "hyperVGeneration": { + "oneOf": [ + { + "type": "string", + "enum": [ + "V1", + "V2" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only." + }, + "incremental": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full snapshots and can be diffed." + }, + "networkAccessPolicy": { + "oneOf": [ + { + "type": "string", + "enum": [ + "AllowAll", + "AllowPrivate", + "DenyAll" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "osType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Windows", + "Linux" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Operating System type." + }, + "publicNetworkAccess": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "purchasePlan": { + "oneOf": [ + { + "$ref": "#/definitions/PurchasePlan" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Used for establishing the purchase context of any 3rd Party artifact through MarketPlace." + }, + "securityProfile": { + "oneOf": [ + { + "$ref": "#/definitions/DiskSecurityProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Contains the security related information for the resource." + }, + "supportedCapabilities": { + "oneOf": [ + { + "$ref": "#/definitions/SupportedCapabilities" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of supported capabilities persisted on the disk resource for VM use." + }, + "supportsHibernation": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates the OS on a snapshot supports hibernation." + } + }, + "required": [ + "creationData" + ], + "description": "Snapshot resource properties." + }, + "SnapshotSku": { + "type": "object", + "properties": { + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "Premium_LRS", + "Standard_ZRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The sku name." + } + }, + "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" + }, + "SourceVault": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Resource Id" + } + }, + "description": "The vault id is an Azure Resource Manager Resource id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" + }, + "SupportedCapabilities": { + "type": "object", + "properties": { + "acceleratedNetwork": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "True if the image from which the OS disk is created supports accelerated networking." + }, + "architecture": { + "oneOf": [ + { + "type": "string", + "enum": [ + "x64", + "Arm64" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "CPU architecture supported by an OS disk." + }, + "diskControllerTypes": { + "type": "string", + "description": "The disk controllers that an OS disk supports. If set it can be SCSI or SCSI, NVME or NVME, SCSI." + } + }, + "description": "List of supported capabilities persisted on the disk resource for VM use." + }, + "UserAssignedIdentitiesValue": { + "type": "object", + "properties": {} + } + } +} \ No newline at end of file diff --git a/schemas/2023-07-01/Microsoft.Compute.Extensions.json b/schemas/2023-07-01/Microsoft.Compute.Extensions.json new file mode 100644 index 0000000000..fdb273cf59 --- /dev/null +++ b/schemas/2023-07-01/Microsoft.Compute.Extensions.json @@ -0,0 +1,2320 @@ +{ + "id": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Compute.Extensions", + "description": "Microsoft Compute Extensions Resource Types", + "resourceDefinitions": { + "virtualMachines_extensions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-07-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the virtual machine extension." + }, + "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": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/virtualMachines/extensions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachines/extensions" + }, + "virtualMachineScaleSets_extensions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-07-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the VM scale set extension." + }, + "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": { + "type": "string", + "enum": [ + "Microsoft.Compute/virtualMachineScaleSets/extensions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachineScaleSets/extensions" + } + }, + "definitions": { + "genericExtension": { + "type": "object", + "properties": { + "publisher": { + "type": "string", + "minLength": 1, + "description": "Microsoft.Compute/extensions - Publisher" + }, + "type": { + "type": "string", + "minLength": 1, + "description": "Microsoft.Compute/extensions - Type" + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1, + "description": "Microsoft.Compute/extensions - Type handler version" + }, + "settings": { + "oneOf": [ + { + "type": "object" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Microsoft.Compute/extensions - Settings" + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "settings" + ] + }, + "iaaSDiagnostics": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.Diagnostics" + ] + }, + "type": { + "enum": [ + "IaaSDiagnostics" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "xmlCfg": { + "type": "string" + }, + "StorageAccount": { + "type": "string" + } + }, + "required": [ + "xmlCfg", + "StorageAccount" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + }, + "storageAccountEndPoint": { + "type": "string" + } + }, + "required": [ + "storageAccountName", + "storageAccountKey", + "storageAccountEndPoint" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "iaaSAntimalware": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.Security" + ] + }, + "type": { + "enum": [ + "IaaSAntimalware" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "AntimalwareEnabled": { + "type": "boolean" + }, + "Exclusions": { + "type": "object", + "properties": { + "Paths": { + "type": "string" + }, + "Extensions": { + "type": "string" + }, + "Processes": { + "type": "string" + } + }, + "required": [ + "Paths", + "Extensions", + "Processes" + ] + }, + "RealtimeProtectionEnabled": { + "enum": [ + "true", + "false" + ] + }, + "ScheduledScanSettings": { + "type": "object", + "properties": { + "isEnabled": { + "enum": [ + "true", + "false" + ] + }, + "scanType": { + "type": "string" + }, + "day": { + "type": "string" + }, + "time": { + "type": "string" + } + }, + "required": [ + "isEnabled", + "scanType", + "day", + "time" + ] + } + }, + "required": [ + "AntimalwareEnabled", + "Exclusions", + "RealtimeProtectionEnabled", + "ScheduledScanSettings" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "customScriptExtension": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Compute" + ] + }, + "type": { + "enum": [ + "CustomScriptExtension" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "fileUris": { + "type": "array", + "items": { + "type": "string" + } + }, + "commandToExecute": { + "type": "string" + } + }, + "required": [ + "commandToExecute" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + } + } + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "customScriptForLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.OSTCExtensions" + ] + }, + "type": { + "enum": [ + "CustomScriptForLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "fileUris": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "commandToExecute": { + "type": "string" + }, + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + } + }, + "required": [ + "commandToExecute" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "linuxDiagnostic": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.OSTCExtensions" + ] + }, + "type": { + "enum": [ + "LinuxDiagnostic" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "enableSyslog": { + "type": "string" + }, + "mdsdHttpProxy": { + "type": "string" + }, + "perCfg": { + "type": "array" + }, + "fileCfg": { + "type": "array" + }, + "xmlCfg": { + "type": "string" + }, + "ladCfg": { + "type": "object" + }, + "syslogCfg": { + "type": "string" + }, + "eventVolume": { + "type": "string" + }, + "mdsdCfg": { + "type": "string" + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "mdsdHttpProxy": { + "type": "string" + }, + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + }, + "storageAccountEndPoint": { + "type": "string" + } + }, + "required": [ + "storageAccountName", + "storageAccountKey" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "vmAccessForLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.OSTCExtensions" + ] + }, + "type": { + "enum": [ + "VMAccessForLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "check_disk": { + "type": "boolean" + }, + "repair_disk": { + "type": "boolean" + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "password": { + "type": "string" + }, + "ssh_key": { + "type": "string" + }, + "reset_ssh": { + "type": "string" + }, + "remove_user": { + "type": "string" + }, + "expiration": { + "type": "string" + } + }, + "required": [ + "username", + "password", + "ssh_key", + "reset_ssh", + "remove_user", + "expiration" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "bgInfo": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Compute" + ] + }, + "type": { + "enum": [ + "bginfo" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion" + ] + }, + "vmAccessAgent": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Compute" + ] + }, + "type": { + "enum": [ + "VMAccessAgent" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "username": { + "type": "string" + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "password": { + "type": "string" + } + } + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "dscExtension": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Powershell" + ] + }, + "type": { + "enum": [ + "DSC" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "modulesUrl": { + "type": "string" + }, + "configurationFunction": { + "type": "string" + }, + "properties": { + "type": "string" + }, + "wmfVersion": { + "type": "string" + }, + "privacy": { + "type": "object", + "properties": { + "dataCollection": { + "type": "string" + } + } + } + }, + "required": [ + "modulesUrl", + "configurationFunction" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "dataBlobUri": { + "type": "string" + } + } + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "acronisBackupLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Acronis.Backup" + ] + }, + "type": { + "enum": [ + "AcronisBackupLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "absURL": { + "type": "string" + } + }, + "required": [ + "absURL" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "userLogin": { + "type": "string" + }, + "userPassword": { + "type": "string" + } + }, + "required": [ + "userLogin", + "userPassword" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "acronisBackup": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Acronis.Backup" + ] + }, + "type": { + "enum": [ + "AcronisBackup" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "absURL": { + "type": "string" + } + }, + "required": [ + "absURL" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "userLogin": { + "type": "string" + }, + "userPassword": { + "type": "string" + } + }, + "required": [ + "userLogin", + "userPassword" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "linuxChefClient": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Chef.Bootstrap.WindowsAzure" + ] + }, + "type": { + "enum": [ + "LinuxChefClient" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "bootstrap_version": { + "type": "string" + }, + "bootstrap_options": { + "type": "object", + "properties": { + "chef_node_name": { + "type": "string" + }, + "chef_server_url": { + "type": "string" + }, + "validation_client_name": { + "type": "string" + }, + "node_ssl_verify_mode": { + "type": "string" + }, + "environment": { + "type": "string" + } + }, + "required": [ + "chef_node_name", + "chef_server_url", + "validation_client_name", + "node_ssl_verify_mode", + "environment" + ] + }, + "runlist": { + "type": "string" + }, + "client_rb": { + "type": "string" + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "validation_key": { + "type": "string" + }, + "chef_server_crt": { + "type": "string" + }, + "secret": { + "type": "string" + } + }, + "required": [ + "validation_key", + "chef_server_crt", + "secret" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "chefClient": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Chef.Bootstrap.WindowsAzure" + ] + }, + "type": { + "enum": [ + "ChefClient" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "bootstrap_options": { + "type": "object", + "properties": { + "chef_node_name": { + "type": "string" + }, + "chef_server_url": { + "type": "string" + }, + "validation_client_name": { + "type": "string" + }, + "node_ssl_verify_mode": { + "type": "string" + }, + "environment": { + "type": "string" + } + }, + "required": [ + "chef_node_name", + "chef_server_url", + "validation_client_name", + "node_ssl_verify_mode", + "environment" + ] + }, + "runlist": { + "type": "string" + }, + "client_rb": { + "type": "string" + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "validation_key": { + "type": "string" + }, + "chef_server_crt": { + "type": "string" + }, + "secret": { + "type": "string" + } + }, + "required": [ + "validation_key", + "chef_server_crt", + "secret" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "datadogLinuxAgent": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Datadog.Agent" + ] + }, + "type": { + "enum": [ + "DatadogLinuxAgent" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "api_key": { + "type": "string" + } + }, + "required": [ + "api_key" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "datadogWindowsAgent": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Datadog.Agent" + ] + }, + "type": { + "enum": [ + "DatadogWindowsAgent" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "api_key": { + "type": "string" + } + }, + "required": [ + "api_key" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "dockerExtension": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.Extensions" + ] + }, + "type": { + "enum": [ + "DockerExtension" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "docker": { + "type": "object", + "properties": { + "port": { + "type": "string" + } + }, + "required": [ + "port" + ] + } + }, + "required": [ + "docker" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "certs": { + "type": "object", + "properties": { + "ca": { + "type": "string" + }, + "cert": { + "type": "string" + }, + "key": { + "type": "string" + } + }, + "required": [ + "ca", + "cert", + "key" + ] + } + }, + "required": [ + "certs" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "dynatraceLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "dynatrace.ruxit" + ] + }, + "type": { + "enum": [ + "ruxitAgentLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "tenantId": { + "type": "string" + }, + "token": { + "type": "string" + } + }, + "required": [ + "tenantId", + "token" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "dynatraceWindows": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "dynatrace.ruxit" + ] + }, + "type": { + "enum": [ + "ruxitAgentWindows" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "tenantId": { + "type": "string" + }, + "token": { + "type": "string" + } + }, + "required": [ + "tenantId", + "token" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "eset": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "ESET" + ] + }, + "type": { + "enum": [ + "FileSecurity" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "LicenseKey": { + "type": "string" + }, + "Install-RealtimeProtection": { + "type": "boolean" + }, + "Install-ProtocolFiltering": { + "type": "boolean" + }, + "Install-DeviceControl": { + "type": "boolean" + }, + "Enable-Cloud": { + "type": "boolean" + }, + "Enable-PUA": { + "type": "boolean" + }, + "ERAAgentCfgUrl": { + "type": "string" + } + }, + "required": [ + "LicenseKey", + "Install-RealtimeProtection", + "Install-ProtocolFiltering", + "Install-DeviceControl", + "Enable-Cloud", + "Enable-PUA", + "ERAAgentCfgUrl" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "hpeSecurityApplicationDefender": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "HPE.Security.ApplicationDefender" + ] + }, + "type": { + "enum": [ + "DotnetAgent" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "protectedSettings": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "serverURL": { + "type": "string" + } + }, + "required": [ + "key", + "serverURL" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "protectedSettings" + ] + }, + "puppetAgent": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Puppet" + ] + }, + "type": { + "enum": [ + "PuppetAgent" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "protectedSettings": { + "type": "object", + "properties": { + "PUPPET_MASTER_SERVER": { + "type": "string" + } + }, + "required": [ + "PUPPET_MASTER_SERVER" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "protectedSettings" + ] + }, + "site24x7LinuxServerExtn": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Site24x7" + ] + }, + "type": { + "enum": [ + "Site24x7LinuxServerExtn" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "site24x7AgentType": { + "enum": [ + "azurevmextnlinuxserver" + ] + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "site24x7LicenseKey": { + "type": "string" + } + }, + "required": [ + "site24x7LicenseKey" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "site24x7WindowsServerExtn": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Site24x7" + ] + }, + "type": { + "enum": [ + "Site24x7WindowsServerExtn" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "site24x7AgentType": { + "enum": [ + "azurevmextnwindowsserver" + ] + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "site24x7LicenseKey": { + "type": "string" + } + }, + "required": [ + "site24x7LicenseKey" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "site24x7ApmInsightExtn": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Site24x7" + ] + }, + "type": { + "enum": [ + "Site24x7ApmInsightExtn" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "site24x7AgentType": { + "enum": [ + "azurevmextnapminsightclassic" + ] + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "site24x7LicenseKey": { + "type": "string" + } + }, + "required": [ + "site24x7LicenseKey" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "trendMicroDSALinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "TrendMicro.DeepSecurity" + ] + }, + "type": { + "enum": [ + "TrendMicroDSALinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "DSMname": { + "type": "string" + }, + "DSMport": { + "type": "string" + }, + "policyNameorID": { + "type": "string" + } + }, + "required": [ + "DSMname", + "DSMport" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "tenantID": { + "type": "string" + }, + "tenantPassword": { + "type": "string" + } + }, + "required": [ + "tenantID", + "tenantPassword" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "trendMicroDSA": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "TrendMicro.DeepSecurity" + ] + }, + "type": { + "enum": [ + "TrendMicroDSA" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "DSMname": { + "type": "string" + }, + "DSMport": { + "type": "string" + }, + "policyNameorID": { + "type": "string" + } + }, + "required": [ + "DSMname", + "DSMport" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "tenantID": { + "type": "string" + }, + "tenantPassword": { + "type": "string" + } + }, + "required": [ + "tenantID", + "tenantPassword" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "bmcCtmAgentLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "ctm.bmc.com" + ] + }, + "type": { + "enum": [ + "BmcCtmAgentLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "Control-M Server Name": { + "type": "string" + }, + "Agent Port": { + "type": "string" + }, + "Host Group": { + "type": "string" + }, + "User Account": { + "type": "string" + } + }, + "required": [ + "Control-M Server Name", + "Agent Port", + "Host Group", + "User Account" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "bmcCtmAgentWindows": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "bmc.ctm" + ] + }, + "type": { + "enum": [ + "AgentWinExt" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "Control-M Server Name": { + "type": "string" + }, + "Agent Port": { + "type": "string" + }, + "Host Group": { + "type": "string" + } + }, + "required": [ + "Control-M Server Name", + "Agent Port", + "Host Group" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "OSPatchingForLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.OSTCExtensions" + ] + }, + "type": { + "enum": [ + "OSPatchingForLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "disabled": { + "type": "boolean" + }, + "stop": { + "type": "boolean" + }, + "installDuration": { + "type": "string" + }, + "intervalOfWeeks": { + "type": "number" + }, + "dayOfWeek": { + "type": "string" + }, + "startTime": { + "type": "string" + }, + "rebootAfterPatch": { + "type": "string" + }, + "category": { + "type": "string" + }, + "oneoff": { + "type": "boolean" + }, + "local": { + "type": "boolean" + }, + "idleTestScript": { + "type": "string" + }, + "healthyTestScript": { + "type": "string" + }, + "distUpgradeList": { + "type": "string" + }, + "distUpgradeAll": { + "type": "boolean" + }, + "vmStatusTest": { + "type": "object" + } + }, + "required": [ + "disabled", + "stop" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + } + } + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "VMSnapshot": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.RecoveryServices" + ] + }, + "type": { + "enum": [ + "VMSnapshot" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "locale": { + "type": "string" + }, + "taskId": { + "type": "string" + }, + "commandToExecute": { + "type": "string" + }, + "objectStr": { + "type": "string" + }, + "logsBlobUri": { + "type": "string" + }, + "statusBlobUri": { + "type": "string" + }, + "commandStartTimeUTCTicks": { + "type": "string" + }, + "vmType": { + "type": "string" + } + }, + "required": [ + "locale", + "taskId", + "commandToExecute", + "objectStr", + "logsBlobUri", + "statusBlobUri", + "commandStartTimeUTCTicks", + "vmType" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "VMSnapshotLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.RecoveryServices" + ] + }, + "type": { + "enum": [ + "VMSnapshotLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "locale": { + "type": "string" + }, + "taskId": { + "type": "string" + }, + "commandToExecute": { + "type": "string" + }, + "objectStr": { + "type": "string" + }, + "logsBlobUri": { + "type": "string" + }, + "statusBlobUri": { + "type": "string" + }, + "commandStartTimeUTCTicks": { + "type": "string" + }, + "vmType": { + "type": "string" + } + }, + "required": [ + "locale", + "taskId", + "commandToExecute", + "objectStr", + "logsBlobUri", + "statusBlobUri", + "commandStartTimeUTCTicks", + "vmType" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "customScript": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.Extensions" + ] + }, + "type": { + "enum": [ + "CustomScript" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "fileUris": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "fileUris" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + }, + "commandToExecute": { + "type": "string" + } + }, + "required": [ + "storageAccountName", + "storageAccountKey", + "commandToExecute" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "networkWatcherAgentWindows": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.NetworkWatcher" + ] + }, + "type": { + "enum": [ + "NetworkWatcherAgentWindows" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion" + ] + }, + "networkWatcherAgentLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.NetworkWatcher" + ] + }, + "type": { + "enum": [ + "NetworkWatcherAgentLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion" + ] + } + } +} \ No newline at end of file diff --git a/schemas/2023-07-01/Microsoft.Compute.json b/schemas/2023-07-01/Microsoft.Compute.json new file mode 100644 index 0000000000..50eee25c2d --- /dev/null +++ b/schemas/2023-07-01/Microsoft.Compute.json @@ -0,0 +1,7912 @@ +{ + "id": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Compute", + "description": "Microsoft Compute Resource Types", + "resourceDefinitions": { + "availabilitySets": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-07-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the availability set." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AvailabilitySetProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The instance view of a resource." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/availabilitySets" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/availabilitySets" + }, + "capacityReservationGroups": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-07-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the capacity reservation group." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CapacityReservationGroupProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "capacity reservation group Properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/capacityReservationGroups_capacityReservations_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/capacityReservationGroups" + ] + }, + "zones": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/capacityReservationGroups" + }, + "capacityReservationGroups_capacityReservations": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-07-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the capacity reservation." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CapacityReservationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the Capacity reservation." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/capacityReservationGroups/capacityReservations" + ] + }, + "zones": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "sku", + "type" + ], + "description": "Microsoft.Compute/capacityReservationGroups/capacityReservations" + }, + "hostGroups": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-07-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the dedicated host group." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DedicatedHostGroupProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Dedicated Host Group Properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/hostGroups_hosts_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/hostGroups" + ] + }, + "zones": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/hostGroups" + }, + "hostGroups_hosts": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-07-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the dedicated host ." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DedicatedHostProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the dedicated host." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/hostGroups/hosts" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "sku", + "type" + ], + "description": "Microsoft.Compute/hostGroups/hosts" + }, + "images": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-07-01" + ] + }, + "extendedLocation": { + "oneOf": [ + { + "$ref": "#/definitions/ExtendedLocation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The complex type of the extended location." + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the image." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ImageProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of an Image." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/images" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/images" + }, + "proximityPlacementGroups": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-07-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the proximity placement group." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ProximityPlacementGroupProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a Proximity Placement Group." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/proximityPlacementGroups" + ] + }, + "zones": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the Availability Zone where virtual machine, virtual machine scale set or availability set associated with the proximity placement group can be created." + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/proximityPlacementGroups" + }, + "restorePointCollections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-07-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the restore point collection." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/RestorePointCollectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The restore point collection properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/restorePointCollections_restorePoints_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/restorePointCollections" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/restorePointCollections" + }, + "restorePointCollections_restorePoints": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-07-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the restore point." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/RestorePointProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The restore point properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/restorePointCollections/restorePoints" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/restorePointCollections/restorePoints" + }, + "sshPublicKeys": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-07-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the SSH public key." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SshPublicKeyResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the SSH public key." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/sshPublicKeys" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/sshPublicKeys" + }, + "virtualMachines": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-07-01" + ] + }, + "extendedLocation": { + "oneOf": [ + { + "$ref": "#/definitions/ExtendedLocation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The complex type of the extended location." + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the virtual machine." + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the virtual machine." + }, + "plan": { + "oneOf": [ + { + "$ref": "#/definitions/Plan" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a Virtual Machine." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/virtualMachines_extensions_childResource" + }, + { + "$ref": "#/definitions/virtualMachines_runCommands_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/virtualMachines" + ] + }, + "zones": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The virtual machine zones." + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachines" + }, + "virtualMachineScaleSets": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-07-01" + ] + }, + "extendedLocation": { + "oneOf": [ + { + "$ref": "#/definitions/ExtendedLocation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The complex type of the extended location." + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the virtual machine scale set." + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the VM scale set to create or update." + }, + "plan": { + "oneOf": [ + { + "$ref": "#/definitions/Plan" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a Virtual Machine Scale Set." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/virtualMachineScaleSets_extensions_childResource" + }, + { + "$ref": "#/definitions/virtualMachineScaleSets_virtualMachines_childResource" + } + ] + } + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/virtualMachineScaleSets" + ] + }, + "zones": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The virtual machine scale set zones. NOTE: Availability zones can only be set when you create the scale set" + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachineScaleSets" + }, + "virtualMachineScaleSets_virtualMachines": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-07-01" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the virtual machine." + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The instance ID of the virtual machine." + }, + "plan": { + "oneOf": [ + { + "$ref": "#/definitions/Plan" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetVMProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a virtual machine scale set virtual machine." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/virtualMachineScaleSets_virtualMachines_extensions_childResource" + }, + { + "$ref": "#/definitions/virtualMachineScaleSets_virtualMachines_runCommands_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/virtualMachineScaleSets/virtualMachines" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines" + }, + "virtualMachineScaleSets_virtualMachines_extensions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-07-01" + ] + }, + "location": { + "type": "string", + "description": "The location of the extension." + }, + "name": { + "type": "string", + "description": "The name of the virtual machine extension." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineExtensionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a Virtual Machine Extension." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions" + }, + "virtualMachineScaleSets_virtualMachines_runCommands": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-07-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the virtual machine run command." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineRunCommandProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a Virtual Machine run command." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/runCommands" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/runCommands" + }, + "virtualMachines_runCommands": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-07-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the virtual machine run command." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineRunCommandProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a Virtual Machine run command." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/virtualMachines/runCommands" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachines/runCommands" + } + }, + "definitions": { + "AdditionalCapabilities": { + "type": "object", + "properties": { + "hibernationEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The flag that enables or disables hibernation capability on the VM." + }, + "ultraSSDEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "description": "Enables or disables a capability on the virtual machine or virtual machine scale set." + }, + "AdditionalUnattendContent": { + "type": "object", + "properties": { + "componentName": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Microsoft-Windows-Shell-Setup" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup." + }, + "content": { + "type": "string", + "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." + }, + "passName": { + "oneOf": [ + { + "type": "string", + "enum": [ + "OobeSystem" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The pass name. Currently, the only allowable value is OobeSystem." + }, + "settingName": { + "oneOf": [ + { + "type": "string", + "enum": [ + "AutoLogon", + "FirstLogonCommands" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon." + } + }, + "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." + }, + "ApiEntityReference": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/..." + } + }, + "description": "The API entity reference." + }, + "ApplicationProfile": { + "type": "object", + "properties": { + "galleryApplications": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VMGalleryApplication" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the gallery applications that should be made available to the VM/VMSS" + } + }, + "description": "Contains the list of gallery applications that should be made available to the VM/VMSS" + }, + "AutomaticOSUpgradePolicy": { + "type": "object", + "properties": { + "disableAutomaticRollback": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether OS image rollback feature should be disabled. Default value is false." + }, + "enableAutomaticOSUpgrade": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "useRollingUpgradePolicy": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "description": "The configuration parameters used for performing automatic OS upgrade." + }, + "AutomaticRepairsPolicy": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false." + }, + "gracePeriod": { + "type": "string", + "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)." + }, + "repairAction": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Replace", + "Restart", + "Reimage" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "description": "Specifies the configuration parameters for automatic repairs on the virtual machine scale set." + }, + "AvailabilitySetProperties": { + "type": "object", + "properties": { + "platformFaultDomainCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Fault Domain count." + }, + "platformUpdateDomainCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Update Domain count." + }, + "proximityPlacementGroup": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "virtualMachines": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A list of references to all virtual machines in the availability set." + } + }, + "description": "The instance view of a resource." + }, + "BillingProfile": { + "type": "object", + "properties": { + "maxPrice": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "description": "Specifies the billing related details of a Azure Spot VM or VMSS. Minimum api-version: 2019-03-01." + }, + "BootDiagnostics": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether boot diagnostics should be enabled on the Virtual Machine." + }, + "storageUri": { + "type": "string", + "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." + } + }, + "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." + }, + "CapacityReservationGroupProperties": { + "type": "object", + "properties": {}, + "description": "capacity reservation group Properties." + }, + "capacityReservationGroups_capacityReservations_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-07-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the capacity reservation." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CapacityReservationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the Capacity reservation." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "capacityReservations" + ] + }, + "zones": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "sku", + "type" + ], + "description": "Microsoft.Compute/capacityReservationGroups/capacityReservations" + }, + "CapacityReservationProfile": { + "type": "object", + "properties": { + "capacityReservationGroup": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "The parameters of a capacity reservation Profile." + }, + "CapacityReservationProperties": { + "type": "object", + "properties": {}, + "description": "Properties of the Capacity reservation." + }, + "DataDisk": { + "type": "object", + "properties": { + "caching": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "ReadOnly", + "ReadWrite" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The defaulting behavior is: **None for Standard storage. ReadOnly for Premium storage.**." + }, + "createOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "FromImage", + "Empty", + "Attach" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "deleteOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Delete", + "Detach" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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**." + }, + "detachOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "ForceDetach" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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'." + }, + "diskSizeGB": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "image": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualHardDisk" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the uri of a disk." + }, + "lun": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "managedDisk": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedDiskParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters of a managed disk." + }, + "name": { + "type": "string", + "description": "The disk name." + }, + "toBeDetached": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the data disk is in process of detachment from the VirtualMachine/VirtualMachineScaleset" + }, + "vhd": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualHardDisk" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the uri of a disk." + }, + "writeAcceleratorEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk." + } + }, + "required": [ + "createOption", + "lun" + ], + "description": "Describes a data disk." + }, + "DedicatedHostGroupProperties": { + "type": "object", + "properties": { + "additionalCapabilities": { + "oneOf": [ + { + "$ref": "#/definitions/DedicatedHostGroupPropertiesAdditionalCapabilities" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enables or disables a capability on the dedicated host group. Minimum api-version: 2022-03-01." + }, + "platformFaultDomainCount": { + "oneOf": [ + { + "type": "integer", + "minimum": 1 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Number of fault domains that the host group can span." + }, + "supportAutomaticPlacement": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "required": [ + "platformFaultDomainCount" + ], + "description": "Dedicated Host Group Properties." + }, + "DedicatedHostGroupPropertiesAdditionalCapabilities": { + "type": "object", + "properties": { + "ultraSSDEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "description": "Enables or disables a capability on the dedicated host group. Minimum api-version: 2022-03-01." + }, + "DedicatedHostProperties": { + "type": "object", + "properties": { + "autoReplaceOnFailure": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the dedicated host should be replaced automatically in case of a failure. The value is defaulted to 'true' when not provided." + }, + "licenseType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "Windows_Server_Hybrid", + "Windows_Server_Perpetual" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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.**." + }, + "platformFaultDomain": { + "oneOf": [ + { + "type": "integer", + "minimum": 0 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Fault domain of the dedicated host within a dedicated host group." + } + }, + "description": "Properties of the dedicated host." + }, + "DiagnosticsProfile": { + "type": "object", + "properties": { + "bootDiagnostics": { + "oneOf": [ + { + "$ref": "#/definitions/BootDiagnostics" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "description": "Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15." + }, + "DiffDiskSettings": { + "type": "object", + "properties": { + "option": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Local" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the ephemeral disk settings for operating system disk." + }, + "placement": { + "oneOf": [ + { + "type": "string", + "enum": [ + "CacheDisk", + "ResourceDisk" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "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." + }, + "DiskEncryptionSetParameters": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Resource Id" + } + }, + "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." + }, + "DiskEncryptionSettings": { + "type": "object", + "properties": { + "diskEncryptionKey": { + "oneOf": [ + { + "$ref": "#/definitions/KeyVaultSecretReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a reference to Key Vault Secret" + }, + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether disk encryption should be enabled on the virtual machine." + }, + "keyEncryptionKey": { + "oneOf": [ + { + "$ref": "#/definitions/KeyVaultKeyReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a reference to Key Vault Key" + } + }, + "description": "Describes a Encryption Settings for a Disk" + }, + "DiskRestorePointAttributes": { + "type": "object", + "properties": { + "encryption": { + "oneOf": [ + { + "$ref": "#/definitions/RestorePointEncryption" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "sourceDiskRestorePoint": { + "oneOf": [ + { + "$ref": "#/definitions/ApiEntityReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The API entity reference." + } + }, + "description": "Disk Restore Point details." + }, + "ExtendedLocation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the extended location." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "EdgeZone" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of the extended location." + } + }, + "description": "The complex type of the extended location." + }, + "HardwareProfile": { + "type": "object", + "properties": { + "vmSize": { + "oneOf": [ + { + "type": "string", + "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" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "vmSizeProperties": { + "oneOf": [ + { + "$ref": "#/definitions/VMSizeProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies VM Size Property settings on the virtual machine." + } + }, + "description": "Specifies the hardware settings for the virtual machine." + }, + "hostGroups_hosts_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-07-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the dedicated host ." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DedicatedHostProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the dedicated host." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "hosts" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "sku", + "type" + ], + "description": "Microsoft.Compute/hostGroups/hosts" + }, + "ImageDataDisk": { + "type": "object", + "properties": { + "blobUri": { + "type": "string", + "description": "The Virtual Hard Disk." + }, + "caching": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "ReadOnly", + "ReadWrite" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The default values are: **None for Standard storage. ReadOnly for Premium storage.**." + }, + "diskEncryptionSet": { + "oneOf": [ + { + "$ref": "#/definitions/DiskEncryptionSetParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "diskSizeGB": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "lun": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "managedDisk": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "snapshot": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "storageAccountType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "Premium_LRS", + "StandardSSD_LRS", + "UltraSSD_LRS", + "Premium_ZRS", + "StandardSSD_ZRS", + "PremiumV2_LRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "required": [ + "lun" + ], + "description": "Describes a data disk." + }, + "ImageOSDisk": { + "type": "object", + "properties": { + "blobUri": { + "type": "string", + "description": "The Virtual Hard Disk." + }, + "caching": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "ReadOnly", + "ReadWrite" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The default values are: **None for Standard storage. ReadOnly for Premium storage.**." + }, + "diskEncryptionSet": { + "oneOf": [ + { + "$ref": "#/definitions/DiskEncryptionSetParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "diskSizeGB": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "managedDisk": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "osState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Generalized", + "Specialized" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The OS State. For managed images, use Generalized." + }, + "osType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Windows", + "Linux" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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.**." + }, + "snapshot": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "storageAccountType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "Premium_LRS", + "StandardSSD_LRS", + "UltraSSD_LRS", + "Premium_ZRS", + "StandardSSD_ZRS", + "PremiumV2_LRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "required": [ + "osState", + "osType" + ], + "description": "Describes an Operating System disk." + }, + "ImageProperties": { + "type": "object", + "properties": { + "hyperVGeneration": { + "oneOf": [ + { + "type": "string", + "enum": [ + "V1", + "V2" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "sourceVirtualMachine": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "storageProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ImageStorageProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a storage profile." + } + }, + "description": "Describes the properties of an Image." + }, + "ImageReference": { + "type": "object", + "properties": { + "communityGalleryImageId": { + "type": "string", + "description": "Specified the community gallery image unique id for vm deployment. This can be fetched from community gallery image GET call." + }, + "id": { + "type": "string", + "description": "Resource Id" + }, + "offer": { + "type": "string", + "description": "Specifies the offer of the platform image or marketplace image used to create the virtual machine." + }, + "publisher": { + "type": "string", + "description": "The image publisher." + }, + "sharedGalleryImageId": { + "type": "string", + "description": "Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call." + }, + "sku": { + "type": "string", + "description": "The image SKU." + }, + "version": { + "type": "string", + "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." + } + }, + "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." + }, + "ImageStorageProfile": { + "type": "object", + "properties": { + "dataDisks": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ImageDataDisk" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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)." + }, + "osDisk": { + "oneOf": [ + { + "$ref": "#/definitions/ImageOSDisk" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes an Operating System disk." + }, + "zoneResilient": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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)." + } + }, + "description": "Describes a storage profile." + }, + "InstanceViewStatus": { + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "The status code." + }, + "displayStatus": { + "type": "string", + "description": "The short localizable label for the status." + }, + "level": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Info", + "Warning", + "Error" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The level code." + }, + "message": { + "type": "string", + "description": "The detailed status message, including for alerts and error messages." + }, + "time": { + "type": "string", + "format": "date-time", + "description": "The time of the status." + } + }, + "description": "Instance view status." + }, + "KeyVaultKeyReference": { + "type": "object", + "properties": { + "keyUrl": { + "type": "string", + "description": "The URL referencing a key encryption key in Key Vault." + }, + "sourceVault": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "keyUrl", + "sourceVault" + ], + "description": "Describes a reference to Key Vault Key" + }, + "KeyVaultSecretReference": { + "type": "object", + "properties": { + "secretUrl": { + "type": "string", + "description": "The URL referencing a secret in a Key Vault." + }, + "sourceVault": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "secretUrl", + "sourceVault" + ], + "description": "Describes a reference to Key Vault Secret" + }, + "LinuxConfiguration": { + "type": "object", + "properties": { + "disablePasswordAuthentication": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether password authentication should be disabled." + }, + "enableVMAgentPlatformUpdates": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether VMAgent Platform Updates is enabled for the Linux virtual machine. Default value is false." + }, + "patchSettings": { + "oneOf": [ + { + "$ref": "#/definitions/LinuxPatchSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies settings related to VM Guest Patching on Linux." + }, + "provisionVMAgent": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "ssh": { + "oneOf": [ + { + "$ref": "#/definitions/SshConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SSH configuration for Linux based VMs running on Azure" + } + }, + "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)." + }, + "LinuxPatchSettings": { + "type": "object", + "properties": { + "assessmentMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "ImageDefault", + "AutomaticByPlatform" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "automaticByPlatformSettings": { + "oneOf": [ + { + "$ref": "#/definitions/LinuxVMGuestPatchAutomaticByPlatformSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies additional settings to be applied when patch mode AutomaticByPlatform is selected in Linux patch settings." + }, + "patchMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "ImageDefault", + "AutomaticByPlatform" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "description": "Specifies settings related to VM Guest Patching on Linux." + }, + "LinuxVMGuestPatchAutomaticByPlatformSettings": { + "type": "object", + "properties": { + "bypassPlatformSafetyChecksOnUserSchedule": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enables customer to schedule patching without accidental upgrades" + }, + "rebootSetting": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Unknown", + "IfRequired", + "Never", + "Always" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the reboot setting for all AutomaticByPlatform patch installation operations." + } + }, + "description": "Specifies additional settings to be applied when patch mode AutomaticByPlatform is selected in Linux patch settings." + }, + "ManagedDiskParameters": { + "type": "object", + "properties": { + "diskEncryptionSet": { + "oneOf": [ + { + "$ref": "#/definitions/DiskEncryptionSetParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "id": { + "type": "string", + "description": "Resource Id" + }, + "securityProfile": { + "oneOf": [ + { + "$ref": "#/definitions/VMDiskSecurityProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the security profile settings for the managed disk. **Note:** It can only be set for Confidential VMs." + }, + "storageAccountType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "Premium_LRS", + "StandardSSD_LRS", + "UltraSSD_LRS", + "Premium_ZRS", + "StandardSSD_ZRS", + "PremiumV2_LRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "description": "The parameters of a managed disk." + }, + "NetworkInterfaceReference": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Resource Id" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/NetworkInterfaceReferenceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a network interface reference properties." + } + }, + "description": "Describes a network interface reference." + }, + "NetworkInterfaceReferenceProperties": { + "type": "object", + "properties": { + "deleteOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Delete", + "Detach" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specify what happens to the network interface when the VM is deleted." + }, + "primary": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface." + } + }, + "description": "Describes a network interface reference properties." + }, + "NetworkProfile": { + "type": "object", + "properties": { + "networkApiVersion": { + "oneOf": [ + { + "type": "string", + "enum": [ + "2020-11-01" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations." + }, + "networkInterfaceConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineNetworkInterfaceConfiguration" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the networking configurations that will be used to create the virtual machine networking resources." + }, + "networkInterfaces": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkInterfaceReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the list of resource Ids for the network interfaces associated with the virtual machine." + } + }, + "description": "Specifies the network interfaces or the networking configuration of the virtual machine." + }, + "OSDisk": { + "type": "object", + "properties": { + "caching": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "ReadOnly", + "ReadWrite" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The defaulting behavior is: **None for Standard storage. ReadOnly for Premium storage.**." + }, + "createOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "FromImage", + "Empty", + "Attach" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "deleteOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Delete", + "Detach" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "diffDiskSettings": { + "oneOf": [ + { + "$ref": "#/definitions/DiffDiskSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "diskSizeGB": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "encryptionSettings": { + "oneOf": [ + { + "$ref": "#/definitions/DiskEncryptionSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a Encryption Settings for a Disk" + }, + "image": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualHardDisk" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the uri of a disk." + }, + "managedDisk": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedDiskParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters of a managed disk." + }, + "name": { + "type": "string", + "description": "The disk name." + }, + "osType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Windows", + "Linux" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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.**." + }, + "vhd": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualHardDisk" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the uri of a disk." + }, + "writeAcceleratorEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk." + } + }, + "required": [ + "createOption" + ], + "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)." + }, + "OSImageNotificationProfile": { + "type": "object", + "properties": { + "enable": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the OS Image Scheduled event is enabled or disabled." + }, + "notBeforeTimeout": { + "type": "string", + "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)" + } + } + }, + "OSProfile": { + "type": "object", + "properties": { + "adminPassword": { + "type": "string", + "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)" + }, + "adminUsername": { + "type": "string", + "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." + }, + "allowExtensionOperations": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "computerName": { + "type": "string", + "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)." + }, + "customData": { + "type": "string", + "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)." + }, + "linuxConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/LinuxConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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)." + }, + "requireGuestProvisionSignal": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional property which must either be set to True or omitted." + }, + "secrets": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VaultSecretGroup" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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)." + }, + "windowsConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/WindowsConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies Windows operating system settings on the virtual machine." + } + }, + "description": "Specifies the operating system settings for the virtual machine. Some of the settings cannot be changed once VM is provisioned." + }, + "PatchSettings": { + "type": "object", + "properties": { + "assessmentMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "ImageDefault", + "AutomaticByPlatform" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "automaticByPlatformSettings": { + "oneOf": [ + { + "$ref": "#/definitions/WindowsVMGuestPatchAutomaticByPlatformSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies additional settings to be applied when patch mode AutomaticByPlatform is selected in Windows patch settings." + }, + "enableHotpatching": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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'." + }, + "patchMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Manual", + "AutomaticByOS", + "AutomaticByPlatform" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "description": "Specifies settings related to VM Guest Patching on Windows." + }, + "Plan": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The plan ID." + }, + "product": { + "type": "string", + "description": "Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element." + }, + "promotionCode": { + "type": "string", + "description": "The promotion code." + }, + "publisher": { + "type": "string", + "description": "The publisher ID." + } + }, + "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**." + }, + "PriorityMixPolicy": { + "type": "object", + "properties": { + "baseRegularPriorityCount": { + "oneOf": [ + { + "type": "integer", + "minimum": 0 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The base number of regular priority VMs that will be created in this scale set as it scales out." + }, + "regularPriorityPercentageAboveBase": { + "oneOf": [ + { + "type": "integer", + "minimum": 0, + "maximum": 100 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The percentage of VM instances, after the base regular priority count has been reached, that are expected to use regular priority." + } + }, + "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." + }, + "ProximityPlacementGroupProperties": { + "type": "object", + "properties": { + "colocationStatus": { + "oneOf": [ + { + "$ref": "#/definitions/InstanceViewStatus" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Instance view status." + }, + "intent": { + "oneOf": [ + { + "$ref": "#/definitions/ProximityPlacementGroupPropertiesIntent" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the user intent of the proximity placement group." + }, + "proximityPlacementGroupType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard", + "Ultra" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "description": "Describes the properties of a Proximity Placement Group." + }, + "ProximityPlacementGroupPropertiesIntent": { + "type": "object", + "properties": { + "vmSizes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies possible sizes of virtual machines that can be created in the proximity placement group." + } + }, + "description": "Specifies the user intent of the proximity placement group." + }, + "PublicIPAddressSku": { + "type": "object", + "properties": { + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Basic", + "Standard" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specify public IP sku name." + }, + "tier": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Regional", + "Global" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specify public IP sku tier." + } + }, + "description": "Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible." + }, + "RestorePointCollectionProperties": { + "type": "object", + "properties": { + "source": { + "oneOf": [ + { + "$ref": "#/definitions/RestorePointCollectionSourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the source resource that this restore point collection is created from." + } + }, + "description": "The restore point collection properties." + }, + "RestorePointCollectionSourceProperties": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Resource Id of the source resource used to create this restore point collection" + } + }, + "description": "The properties of the source resource that this restore point collection is created from." + }, + "restorePointCollections_restorePoints_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-07-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the restore point." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/RestorePointProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The restore point properties." + }, + "type": { + "type": "string", + "enum": [ + "restorePoints" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/restorePointCollections/restorePoints" + }, + "RestorePointEncryption": { + "type": "object", + "properties": { + "diskEncryptionSet": { + "oneOf": [ + { + "$ref": "#/definitions/DiskEncryptionSetParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "EncryptionAtRestWithPlatformKey", + "EncryptionAtRestWithCustomerKey", + "EncryptionAtRestWithPlatformAndCustomerKeys" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "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." + }, + "RestorePointProperties": { + "type": "object", + "properties": { + "consistencyMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "CrashConsistent", + "FileSystemConsistent", + "ApplicationConsistent" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "excludeDisks": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ApiEntityReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "sourceMetadata": { + "oneOf": [ + { + "$ref": "#/definitions/RestorePointSourceMetadata" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "sourceRestorePoint": { + "oneOf": [ + { + "$ref": "#/definitions/ApiEntityReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The API entity reference." + }, + "timeCreated": { + "type": "string", + "format": "date-time", + "description": "Gets the creation time of the restore point." + } + }, + "description": "The restore point properties." + }, + "RestorePointSourceMetadata": { + "type": "object", + "properties": { + "storageProfile": { + "oneOf": [ + { + "$ref": "#/definitions/RestorePointSourceVMStorageProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the storage profile." + } + }, + "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." + }, + "RestorePointSourceVMDataDisk": { + "type": "object", + "properties": { + "diskRestorePoint": { + "oneOf": [ + { + "$ref": "#/definitions/DiskRestorePointAttributes" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Disk Restore Point details." + }, + "managedDisk": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedDiskParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters of a managed disk." + } + }, + "description": "Describes a data disk." + }, + "RestorePointSourceVMOSDisk": { + "type": "object", + "properties": { + "diskRestorePoint": { + "oneOf": [ + { + "$ref": "#/definitions/DiskRestorePointAttributes" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Disk Restore Point details." + }, + "managedDisk": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedDiskParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters of a managed disk." + } + }, + "description": "Describes an Operating System disk." + }, + "RestorePointSourceVMStorageProfile": { + "type": "object", + "properties": { + "dataDisks": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/RestorePointSourceVMDataDisk" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets the data disks of the VM captured at the time of the restore point creation." + }, + "osDisk": { + "oneOf": [ + { + "$ref": "#/definitions/RestorePointSourceVMOSDisk" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes an Operating System disk." + } + }, + "description": "Describes the storage profile." + }, + "RollingUpgradePolicy": { + "type": "object", + "properties": { + "enableCrossZoneUpgrade": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size." + }, + "maxBatchInstancePercent": { + "oneOf": [ + { + "type": "integer", + "minimum": 5, + "maximum": 100 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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%." + }, + "maxSurge": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "maxUnhealthyInstancePercent": { + "oneOf": [ + { + "type": "integer", + "minimum": 5, + "maximum": 100 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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%." + }, + "maxUnhealthyUpgradedInstancePercent": { + "oneOf": [ + { + "type": "integer", + "minimum": 0, + "maximum": 100 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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%." + }, + "pauseTimeBetweenBatches": { + "type": "string", + "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)." + }, + "prioritizeUnhealthyInstances": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Upgrade all unhealthy instances in a scale set before any healthy instances." + }, + "rollbackFailedInstancesOnPolicyBreach": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Rollback failed instances to previous model if the Rolling Upgrade policy is violated." + } + }, + "description": "The configuration parameters used while performing a rolling upgrade." + }, + "RunCommandInputParameter": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The run command parameter name." + }, + "value": { + "type": "string", + "description": "The run command parameter value." + } + }, + "required": [ + "name", + "value" + ], + "description": "Describes the properties of a run command parameter." + }, + "RunCommandManagedIdentity": { + "type": "object", + "properties": { + "clientId": { + "type": "string", + "description": "Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided." + }, + "objectId": { + "type": "string", + "description": "Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided." + } + }, + "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." + }, + "ScaleInPolicy": { + "type": "object", + "properties": { + "forceDeletion": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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)" + }, + "rules": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "Default", + "OldestVM", + "NewestVM" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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.

" + } + }, + "description": "Describes a scale-in policy for a virtual machine scale set." + }, + "ScheduledEventsProfile": { + "type": "object", + "properties": { + "osImageNotificationProfile": { + "oneOf": [ + { + "$ref": "#/definitions/OSImageNotificationProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "terminateNotificationProfile": { + "oneOf": [ + { + "$ref": "#/definitions/TerminateNotificationProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + } + }, + "SecurityPostureReference": { + "type": "object", + "properties": { + "excludeExtensions": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineExtension" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of virtual machine extensions to exclude when applying the Security Posture." + }, + "id": { + "type": "string", + "description": "The security posture reference id in the form of /CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest" + } + }, + "description": "Specifies the security posture to be used for all virtual machines in the scale set. Minimum api-version: 2023-03-01" + }, + "SecurityProfile": { + "type": "object", + "properties": { + "encryptionAtHost": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "securityType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "TrustedLaunch", + "ConfidentialVM" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "uefiSettings": { + "oneOf": [ + { + "$ref": "#/definitions/UefiSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum api-version: 2020-12-01." + } + }, + "description": "Specifies the Security profile settings for the virtual machine or virtual machine scale set." + }, + "ServiceArtifactReference": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}" + } + }, + "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" + }, + "Sku": { + "type": "object", + "properties": { + "capacity": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the number of virtual machines in the scale set." + }, + "name": { + "type": "string", + "description": "The sku name." + }, + "tier": { + "type": "string", + "description": "Specifies the tier of virtual machines in a scale set.

Possible Values:

**Standard**

**Basic**" + } + }, + "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." + }, + "SpotRestorePolicy": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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" + }, + "restoreTimeout": { + "type": "string", + "description": "Timeout value expressed as an ISO 8601 time duration after which the platform will not try to restore the VMSS SPOT instances" + } + }, + "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." + }, + "SshConfiguration": { + "type": "object", + "properties": { + "publicKeys": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SshPublicKey" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of SSH public keys used to authenticate with linux based VMs." + } + }, + "description": "SSH configuration for Linux based VMs running on Azure" + }, + "SshPublicKey": { + "type": "object", + "properties": { + "keyData": { + "type": "string", + "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)." + }, + "path": { + "type": "string", + "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" + } + }, + "description": "Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed." + }, + "SshPublicKeyResourceProperties": { + "type": "object", + "properties": { + "publicKey": { + "type": "string", + "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." + } + }, + "description": "Properties of the SSH public key." + }, + "StorageProfile": { + "type": "object", + "properties": { + "dataDisks": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/DataDisk" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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)." + }, + "diskControllerType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SCSI", + "NVMe" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "imageReference": { + "oneOf": [ + { + "$ref": "#/definitions/ImageReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "osDisk": { + "oneOf": [ + { + "$ref": "#/definitions/OSDisk" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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)." + } + }, + "description": "Specifies the storage settings for the virtual machine disks." + }, + "SubResource": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Resource Id" + } + } + }, + "TerminateNotificationProfile": { + "type": "object", + "properties": { + "enable": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the Terminate Scheduled event is enabled or disabled." + }, + "notBeforeTimeout": { + "type": "string", + "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)" + } + } + }, + "UefiSettings": { + "type": "object", + "properties": { + "secureBootEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether secure boot should be enabled on the virtual machine. Minimum api-version: 2020-12-01." + }, + "vTpmEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether vTPM should be enabled on the virtual machine. Minimum api-version: 2020-12-01." + } + }, + "description": "Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum api-version: 2020-12-01." + }, + "UpgradePolicy": { + "type": "object", + "properties": { + "automaticOSUpgradePolicy": { + "oneOf": [ + { + "$ref": "#/definitions/AutomaticOSUpgradePolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration parameters used for performing automatic OS upgrade." + }, + "mode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Automatic", + "Manual", + "Rolling" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "rollingUpgradePolicy": { + "oneOf": [ + { + "$ref": "#/definitions/RollingUpgradePolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration parameters used while performing a rolling upgrade." + } + }, + "description": "Describes an upgrade policy - automatic, manual, or rolling." + }, + "UserAssignedIdentitiesValue": { + "type": "object", + "properties": {} + }, + "VaultCertificate": { + "type": "object", + "properties": { + "certificateStore": { + "type": "string", + "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." + }, + "certificateUrl": { + "type": "string", + "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)." + } + }, + "description": "Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM." + }, + "VaultSecretGroup": { + "type": "object", + "properties": { + "sourceVault": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "vaultCertificates": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VaultCertificate" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of key vault references in SourceVault which contain certificates." + } + }, + "description": "Describes a set of certificates which are all in the same Key Vault." + }, + "VirtualHardDisk": { + "type": "object", + "properties": { + "uri": { + "type": "string", + "description": "Specifies the virtual hard disk's uri." + } + }, + "description": "Describes the uri of a disk." + }, + "VirtualMachineExtension": { + "type": "object", + "properties": { + "location": { + "type": "string", + "description": "Resource location" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineExtensionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a Virtual Machine Extension." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + } + }, + "description": "Describes a Virtual Machine Extension." + }, + "VirtualMachineExtensionInstanceView": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The virtual machine extension name." + }, + "statuses": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/InstanceViewStatus" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource status information." + }, + "substatuses": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/InstanceViewStatus" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource status information." + }, + "type": { + "type": "string", + "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." + }, + "typeHandlerVersion": { + "type": "string", + "description": "Specifies the version of the script handler." + } + }, + "description": "The instance view of a virtual machine extension." + }, + "VirtualMachineExtensionProperties": { + "type": "object", + "properties": { + "autoUpgradeMinorVersion": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "enableAutomaticUpgrade": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available." + }, + "forceUpdateTag": { + "type": "string", + "description": "How the extension handler should be forced to update even if the extension configuration has not changed." + }, + "instanceView": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineExtensionInstanceView" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The instance view of a virtual machine extension." + }, + "protectedSettings": { + "type": "object", + "properties": {}, + "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all." + }, + "protectedSettingsFromKeyVault": { + "oneOf": [ + { + "$ref": "#/definitions/KeyVaultSecretReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a reference to Key Vault Secret" + }, + "provisionAfterExtensions": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Collection of extension names after which this extension needs to be provisioned." + }, + "publisher": { + "type": "string", + "description": "The name of the extension handler publisher." + }, + "settings": { + "type": "object", + "properties": {}, + "description": "Json formatted public settings for the extension." + }, + "suppressFailures": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "type": { + "type": "string", + "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." + }, + "typeHandlerVersion": { + "type": "string", + "description": "Specifies the version of the script handler." + } + }, + "description": "Describes the properties of a Virtual Machine Extension." + }, + "VirtualMachineIdentity": { + "type": "object", + "properties": { + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned", + "None" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserAssignedIdentitiesValue" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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}'." + } + }, + "description": "Identity for the virtual machine." + }, + "VirtualMachineIpTag": { + "type": "object", + "properties": { + "ipTagType": { + "type": "string", + "description": "IP tag type. Example: FirstPartyUsage." + }, + "tag": { + "type": "string", + "description": "IP tag associated with the public IP. Example: SQL, Storage etc." + } + }, + "description": "Contains the IP tag associated with the public IP address." + }, + "VirtualMachineNetworkInterfaceConfiguration": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The network interface configuration name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineNetworkInterfaceConfigurationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine network profile's IP configuration." + } + }, + "required": [ + "name" + ], + "description": "Describes a virtual machine network interface configurations." + }, + "VirtualMachineNetworkInterfaceConfigurationProperties": { + "type": "object", + "properties": { + "auxiliaryMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "AcceleratedConnections", + "Floating" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the Auxiliary mode is enabled for the Network Interface resource." + }, + "auxiliarySku": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "A1", + "A2", + "A4", + "A8" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the Auxiliary sku is enabled for the Network Interface resource." + }, + "deleteOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Delete", + "Detach" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specify what happens to the network interface when the VM is deleted." + }, + "disableTcpStateTracking": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the network interface is disabled for tcp state tracking." + }, + "dnsSettings": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineNetworkInterfaceDnsSettingsConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machines network configuration's DNS settings." + }, + "dscpConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "enableAcceleratedNetworking": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the network interface is accelerated networking-enabled." + }, + "enableFpga": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the network interface is FPGA networking-enabled." + }, + "enableIPForwarding": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether IP forwarding enabled on this NIC." + }, + "ipConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineNetworkInterfaceIPConfiguration" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the IP configurations of the network interface." + }, + "networkSecurityGroup": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "primary": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface." + } + }, + "required": [ + "ipConfigurations" + ], + "description": "Describes a virtual machine network profile's IP configuration." + }, + "VirtualMachineNetworkInterfaceDnsSettingsConfiguration": { + "type": "object", + "properties": { + "dnsServers": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of DNS servers IP addresses" + } + }, + "description": "Describes a virtual machines network configuration's DNS settings." + }, + "VirtualMachineNetworkInterfaceIPConfiguration": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The IP configuration name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineNetworkInterfaceIPConfigurationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine network interface IP configuration properties." + } + }, + "required": [ + "name" + ], + "description": "Describes a virtual machine network profile's IP configuration." + }, + "VirtualMachineNetworkInterfaceIPConfigurationProperties": { + "type": "object", + "properties": { + "applicationGatewayBackendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "applicationSecurityGroups": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies an array of references to application security group." + }, + "loadBalancerBackendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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]." + }, + "primary": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface." + }, + "privateIPAddressVersion": { + "oneOf": [ + { + "type": "string", + "enum": [ + "IPv4", + "IPv6" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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'." + }, + "publicIPAddressConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachinePublicIPAddressConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration" + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Describes a virtual machine network interface IP configuration properties." + }, + "VirtualMachineProperties": { + "type": "object", + "properties": { + "additionalCapabilities": { + "oneOf": [ + { + "$ref": "#/definitions/AdditionalCapabilities" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enables or disables a capability on the virtual machine or virtual machine scale set." + }, + "applicationProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ApplicationProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Contains the list of gallery applications that should be made available to the VM/VMSS" + }, + "availabilitySet": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "billingProfile": { + "oneOf": [ + { + "$ref": "#/definitions/BillingProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the billing related details of a Azure Spot VM or VMSS. Minimum api-version: 2019-03-01." + }, + "capacityReservation": { + "oneOf": [ + { + "$ref": "#/definitions/CapacityReservationProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters of a capacity reservation Profile." + }, + "diagnosticsProfile": { + "oneOf": [ + { + "$ref": "#/definitions/DiagnosticsProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15." + }, + "evictionPolicy": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Deallocate", + "Delete" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "extensionsTimeBudget": { + "type": "string", + "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." + }, + "hardwareProfile": { + "oneOf": [ + { + "$ref": "#/definitions/HardwareProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the hardware settings for the virtual machine." + }, + "host": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "hostGroup": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "licenseType": { + "type": "string", + "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" + }, + "networkProfile": { + "oneOf": [ + { + "$ref": "#/definitions/NetworkProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the network interfaces or the networking configuration of the virtual machine." + }, + "osProfile": { + "oneOf": [ + { + "$ref": "#/definitions/OSProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the operating system settings for the virtual machine. Some of the settings cannot be changed once VM is provisioned." + }, + "platformFaultDomain": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "priority": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Regular", + "Low", + "Spot" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the priority for the virtual machine. Minimum api-version: 2019-03-01." + }, + "proximityPlacementGroup": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "scheduledEventsProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ScheduledEventsProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "securityProfile": { + "oneOf": [ + { + "$ref": "#/definitions/SecurityProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the Security profile settings for the virtual machine or virtual machine scale set." + }, + "storageProfile": { + "oneOf": [ + { + "$ref": "#/definitions/StorageProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the storage settings for the virtual machine disks." + }, + "userData": { + "type": "string", + "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." + }, + "virtualMachineScaleSet": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Describes the properties of a Virtual Machine." + }, + "VirtualMachinePublicIPAddressConfiguration": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The publicIP address configuration name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachinePublicIPAddressConfigurationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration" + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/PublicIPAddressSku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible." + } + }, + "required": [ + "name" + ], + "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration" + }, + "VirtualMachinePublicIPAddressConfigurationProperties": { + "type": "object", + "properties": { + "deleteOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Delete", + "Detach" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specify what happens to the public IP address when the VM is deleted." + }, + "dnsSettings": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachinePublicIPAddressDnsSettingsConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machines network configuration's DNS settings." + }, + "idleTimeoutInMinutes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The idle timeout of the public IP address." + }, + "ipTags": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineIpTag" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of IP tags associated with the public IP address." + }, + "publicIPAddressVersion": { + "oneOf": [ + { + "type": "string", + "enum": [ + "IPv4", + "IPv6" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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'." + }, + "publicIPAllocationMethod": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Dynamic", + "Static" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specify the public IP allocation type." + }, + "publicIPPrefix": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration" + }, + "VirtualMachinePublicIPAddressDnsSettingsConfiguration": { + "type": "object", + "properties": { + "domainNameLabel": { + "type": "string", + "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." + }, + "domainNameLabelScope": { + "oneOf": [ + { + "type": "string", + "enum": [ + "TenantReuse", + "SubscriptionReuse", + "ResourceGroupReuse", + "NoReuse" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "required": [ + "domainNameLabel" + ], + "description": "Describes a virtual machines network configuration's DNS settings." + }, + "VirtualMachineRunCommandProperties": { + "type": "object", + "properties": { + "asyncExecution": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional. If set to true, provisioning will complete as soon as the script starts and will not wait for script to complete." + }, + "errorBlobManagedIdentity": { + "oneOf": [ + { + "$ref": "#/definitions/RunCommandManagedIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "errorBlobUri": { + "type": "string", + "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." + }, + "outputBlobManagedIdentity": { + "oneOf": [ + { + "$ref": "#/definitions/RunCommandManagedIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "outputBlobUri": { + "type": "string", + "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. " + }, + "parameters": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/RunCommandInputParameter" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters used by the script." + }, + "protectedParameters": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/RunCommandInputParameter" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters used by the script." + }, + "runAsPassword": { + "type": "string", + "description": "Specifies the user account password on the VM when executing the run command." + }, + "runAsUser": { + "type": "string", + "description": "Specifies the user account on the VM when executing the run command." + }, + "source": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineRunCommandScriptSource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the script sources for run command. Use only one of script, scriptUri, commandId." + }, + "timeoutInSeconds": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The timeout in seconds to execute the run command." + }, + "treatFailureAsDeploymentFailure": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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 " + } + }, + "description": "Describes the properties of a Virtual Machine run command." + }, + "VirtualMachineRunCommandScriptSource": { + "type": "object", + "properties": { + "commandId": { + "type": "string", + "description": "Specifies a commandId of predefined built-in script." + }, + "script": { + "type": "string", + "description": "Specifies the script content to be executed on the VM." + }, + "scriptUri": { + "type": "string", + "description": "Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI." + }, + "scriptUriManagedIdentity": { + "oneOf": [ + { + "$ref": "#/definitions/RunCommandManagedIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "description": "Describes the script sources for run command. Use only one of script, scriptUri, commandId." + }, + "VirtualMachineScaleSetDataDisk": { + "type": "object", + "properties": { + "caching": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "ReadOnly", + "ReadWrite" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The default values are: **None for Standard storage. ReadOnly for Premium storage.**." + }, + "createOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "FromImage", + "Empty", + "Attach" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The create option." + }, + "deleteOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Delete", + "Detach" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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**." + }, + "diskIOPSReadWrite": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "diskMBpsReadWrite": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "diskSizeGB": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "lun": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "managedDisk": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the parameters of a ScaleSet managed disk." + }, + "name": { + "type": "string", + "description": "The disk name." + }, + "writeAcceleratorEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk." + } + }, + "required": [ + "createOption", + "lun" + ], + "description": "Describes a virtual machine scale set data disk." + }, + "VirtualMachineScaleSetExtension": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the extension." + }, + "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" + } + ] + } + }, + "description": "Describes a Virtual Machine Scale Set Extension." + }, + "VirtualMachineScaleSetExtensionProfile": { + "type": "object", + "properties": { + "extensions": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineScaleSetExtension" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The virtual machine scale set child extension resources." + }, + "extensionsTimeBudget": { + "type": "string", + "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." + } + }, + "description": "Describes a virtual machine scale set extension profile." + }, + "VirtualMachineScaleSetExtensionProperties": { + "type": "object", + "properties": { + "autoUpgradeMinorVersion": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "enableAutomaticUpgrade": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available." + }, + "forceUpdateTag": { + "type": "string", + "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." + }, + "protectedSettings": { + "type": "object", + "properties": {}, + "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all." + }, + "protectedSettingsFromKeyVault": { + "oneOf": [ + { + "$ref": "#/definitions/KeyVaultSecretReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a reference to Key Vault Secret" + }, + "provisionAfterExtensions": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Collection of extension names after which this extension needs to be provisioned." + }, + "publisher": { + "type": "string", + "description": "The name of the extension handler publisher." + }, + "settings": { + "type": "object", + "properties": {}, + "description": "Json formatted public settings for the extension." + }, + "suppressFailures": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "type": { + "type": "string", + "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." + }, + "typeHandlerVersion": { + "type": "string", + "description": "Specifies the version of the script handler." + } + }, + "description": "Describes the properties of a Virtual Machine Scale Set Extension." + }, + "VirtualMachineScaleSetHardwareProfile": { + "type": "object", + "properties": { + "vmSizeProperties": { + "oneOf": [ + { + "$ref": "#/definitions/VMSizeProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies VM Size Property settings on the virtual machine." + } + }, + "description": "Specifies the hardware settings for the virtual machine scale set." + }, + "VirtualMachineScaleSetIdentity": { + "type": "object", + "properties": { + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned", + "None" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserAssignedIdentitiesValue" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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}'." + } + }, + "description": "Identity for the virtual machine scale set." + }, + "VirtualMachineScaleSetIPConfiguration": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The IP configuration name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetIPConfigurationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine scale set network profile's IP configuration properties." + } + }, + "required": [ + "name" + ], + "description": "Describes a virtual machine scale set network profile's IP configuration." + }, + "VirtualMachineScaleSetIPConfigurationProperties": { + "type": "object", + "properties": { + "applicationGatewayBackendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "applicationSecurityGroups": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies an array of references to application security group." + }, + "loadBalancerBackendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "loadBalancerInboundNatPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "primary": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface." + }, + "privateIPAddressVersion": { + "oneOf": [ + { + "type": "string", + "enum": [ + "IPv4", + "IPv6" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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'." + }, + "publicIPAddressConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration" + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/ApiEntityReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The API entity reference." + } + }, + "description": "Describes a virtual machine scale set network profile's IP configuration properties." + }, + "VirtualMachineScaleSetIpTag": { + "type": "object", + "properties": { + "ipTagType": { + "type": "string", + "description": "IP tag type. Example: FirstPartyUsage." + }, + "tag": { + "type": "string", + "description": "IP tag associated with the public IP. Example: SQL, Storage etc." + } + }, + "description": "Contains the IP tag associated with the public IP address." + }, + "VirtualMachineScaleSetManagedDiskParameters": { + "type": "object", + "properties": { + "diskEncryptionSet": { + "oneOf": [ + { + "$ref": "#/definitions/DiskEncryptionSetParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "securityProfile": { + "oneOf": [ + { + "$ref": "#/definitions/VMDiskSecurityProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the security profile settings for the managed disk. **Note:** It can only be set for Confidential VMs." + }, + "storageAccountType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "Premium_LRS", + "StandardSSD_LRS", + "UltraSSD_LRS", + "Premium_ZRS", + "StandardSSD_ZRS", + "PremiumV2_LRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "description": "Describes the parameters of a ScaleSet managed disk." + }, + "VirtualMachineScaleSetNetworkConfiguration": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The network configuration name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine scale set network profile's IP configuration." + } + }, + "required": [ + "name" + ], + "description": "Describes a virtual machine scale set network profile's network configurations." + }, + "VirtualMachineScaleSetNetworkConfigurationDnsSettings": { + "type": "object", + "properties": { + "dnsServers": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of DNS servers IP addresses" + } + }, + "description": "Describes a virtual machines scale sets network configuration's DNS settings." + }, + "VirtualMachineScaleSetNetworkConfigurationProperties": { + "type": "object", + "properties": { + "auxiliaryMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "AcceleratedConnections", + "Floating" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the Auxiliary mode is enabled for the Network Interface resource." + }, + "auxiliarySku": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "A1", + "A2", + "A4", + "A8" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the Auxiliary sku is enabled for the Network Interface resource." + }, + "deleteOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Delete", + "Detach" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specify what happens to the network interface when the VM is deleted." + }, + "disableTcpStateTracking": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the network interface is disabled for tcp state tracking." + }, + "dnsSettings": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationDnsSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machines scale sets network configuration's DNS settings." + }, + "enableAcceleratedNetworking": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the network interface is accelerated networking-enabled." + }, + "enableFpga": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the network interface is FPGA networking-enabled." + }, + "enableIPForwarding": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether IP forwarding enabled on this NIC." + }, + "ipConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineScaleSetIPConfiguration" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the IP configurations of the network interface." + }, + "networkSecurityGroup": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "primary": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface." + } + }, + "required": [ + "ipConfigurations" + ], + "description": "Describes a virtual machine scale set network profile's IP configuration." + }, + "VirtualMachineScaleSetNetworkProfile": { + "type": "object", + "properties": { + "healthProbe": { + "oneOf": [ + { + "$ref": "#/definitions/ApiEntityReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The API entity reference." + }, + "networkApiVersion": { + "oneOf": [ + { + "type": "string", + "enum": [ + "2020-11-01" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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'." + }, + "networkInterfaceConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfiguration" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of network configurations." + } + }, + "description": "Describes a virtual machine scale set network profile." + }, + "VirtualMachineScaleSetOSDisk": { + "type": "object", + "properties": { + "caching": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "ReadOnly", + "ReadWrite" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The default values are: **None for Standard storage. ReadOnly for Premium storage.**." + }, + "createOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "FromImage", + "Empty", + "Attach" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "deleteOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Delete", + "Detach" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "diffDiskSettings": { + "oneOf": [ + { + "$ref": "#/definitions/DiffDiskSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "diskSizeGB": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "image": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualHardDisk" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the uri of a disk." + }, + "managedDisk": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the parameters of a ScaleSet managed disk." + }, + "name": { + "type": "string", + "description": "The disk name." + }, + "osType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Windows", + "Linux" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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.**." + }, + "vhdContainers": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the container urls that are used to store operating system disks for the scale set." + }, + "writeAcceleratorEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk." + } + }, + "required": [ + "createOption" + ], + "description": "Describes a virtual machine scale set operating system disk." + }, + "VirtualMachineScaleSetOSProfile": { + "type": "object", + "properties": { + "adminPassword": { + "type": "string", + "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)" + }, + "adminUsername": { + "type": "string", + "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" + }, + "allowExtensionOperations": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "computerNamePrefix": { + "type": "string", + "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." + }, + "customData": { + "type": "string", + "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)" + }, + "linuxConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/LinuxConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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)." + }, + "requireGuestProvisionSignal": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional property which must either be set to True or omitted." + }, + "secrets": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VaultSecretGroup" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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)." + }, + "windowsConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/WindowsConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies Windows operating system settings on the virtual machine." + } + }, + "description": "Describes a virtual machine scale set OS profile." + }, + "VirtualMachineScaleSetProperties": { + "type": "object", + "properties": { + "additionalCapabilities": { + "oneOf": [ + { + "$ref": "#/definitions/AdditionalCapabilities" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enables or disables a capability on the virtual machine or virtual machine scale set." + }, + "automaticRepairsPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/AutomaticRepairsPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the configuration parameters for automatic repairs on the virtual machine scale set." + }, + "constrainedMaximumCapacity": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional property which must either be set to True or omitted." + }, + "doNotRunExtensionsOnOverprovisionedVMs": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "hostGroup": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "orchestrationMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Uniform", + "Flexible" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the orchestration mode for the virtual machine scale set." + }, + "overprovision": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the Virtual Machine Scale Set should be overprovisioned." + }, + "platformFaultDomainCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Fault Domain count for each placement group." + }, + "priorityMixPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/PriorityMixPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "proximityPlacementGroup": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "scaleInPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/ScaleInPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a scale-in policy for a virtual machine scale set." + }, + "singlePlacementGroup": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "spotRestorePolicy": { + "oneOf": [ + { + "$ref": "#/definitions/SpotRestorePolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "upgradePolicy": { + "oneOf": [ + { + "$ref": "#/definitions/UpgradePolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes an upgrade policy - automatic, manual, or rolling." + }, + "virtualMachineProfile": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetVMProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine scale set virtual machine profile." + }, + "zoneBalance": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "description": "Describes the properties of a Virtual Machine Scale Set." + }, + "VirtualMachineScaleSetPublicIPAddressConfiguration": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The publicIP address configuration name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration" + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/PublicIPAddressSku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible." + } + }, + "required": [ + "name" + ], + "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration" + }, + "VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings": { + "type": "object", + "properties": { + "domainNameLabel": { + "type": "string", + "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" + }, + "domainNameLabelScope": { + "oneOf": [ + { + "type": "string", + "enum": [ + "TenantReuse", + "SubscriptionReuse", + "ResourceGroupReuse", + "NoReuse" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "required": [ + "domainNameLabel" + ], + "description": "Describes a virtual machines scale sets network configuration's DNS settings." + }, + "VirtualMachineScaleSetPublicIPAddressConfigurationProperties": { + "type": "object", + "properties": { + "deleteOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Delete", + "Detach" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specify what happens to the public IP when the VM is deleted." + }, + "dnsSettings": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machines scale sets network configuration's DNS settings." + }, + "idleTimeoutInMinutes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The idle timeout of the public IP address." + }, + "ipTags": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineScaleSetIpTag" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of IP tags associated with the public IP address." + }, + "publicIPAddressVersion": { + "oneOf": [ + { + "type": "string", + "enum": [ + "IPv4", + "IPv6" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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'." + }, + "publicIPPrefix": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration" + }, + "VirtualMachineScaleSetStorageProfile": { + "type": "object", + "properties": { + "dataDisks": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineScaleSetDataDisk" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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)." + }, + "diskControllerType": { + "type": "string" + }, + "imageReference": { + "oneOf": [ + { + "$ref": "#/definitions/ImageReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "osDisk": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetOSDisk" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine scale set operating system disk." + } + }, + "description": "Describes a virtual machine scale set storage profile." + }, + "virtualMachineScaleSets_extensions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-07-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the VM scale set extension." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetExtensionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a Virtual Machine Scale Set Extension." + }, + "type": { + "type": "string", + "enum": [ + "extensions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachineScaleSets/extensions" + }, + "virtualMachineScaleSets_virtualMachines_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-07-01" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the virtual machine." + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The instance ID of the virtual machine." + }, + "plan": { + "oneOf": [ + { + "$ref": "#/definitions/Plan" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetVMProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a virtual machine scale set virtual machine." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "virtualMachines" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines" + }, + "virtualMachineScaleSets_virtualMachines_extensions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-07-01" + ] + }, + "location": { + "type": "string", + "description": "The location of the extension." + }, + "name": { + "type": "string", + "description": "The name of the virtual machine extension." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineExtensionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a Virtual Machine Extension." + }, + "type": { + "type": "string", + "enum": [ + "extensions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions" + }, + "virtualMachineScaleSets_virtualMachines_runCommands_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-07-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the virtual machine run command." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineRunCommandProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a Virtual Machine run command." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "runCommands" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/runCommands" + }, + "VirtualMachineScaleSetVMNetworkProfileConfiguration": { + "type": "object", + "properties": { + "networkInterfaceConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfiguration" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of network configurations." + } + }, + "description": "Describes a virtual machine scale set VM network profile." + }, + "VirtualMachineScaleSetVMProfile": { + "type": "object", + "properties": { + "applicationProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ApplicationProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Contains the list of gallery applications that should be made available to the VM/VMSS" + }, + "billingProfile": { + "oneOf": [ + { + "$ref": "#/definitions/BillingProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the billing related details of a Azure Spot VM or VMSS. Minimum api-version: 2019-03-01." + }, + "capacityReservation": { + "oneOf": [ + { + "$ref": "#/definitions/CapacityReservationProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters of a capacity reservation Profile." + }, + "diagnosticsProfile": { + "oneOf": [ + { + "$ref": "#/definitions/DiagnosticsProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15." + }, + "evictionPolicy": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Deallocate", + "Delete" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "extensionProfile": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetExtensionProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine scale set extension profile." + }, + "hardwareProfile": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetHardwareProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the hardware settings for the virtual machine scale set." + }, + "licenseType": { + "type": "string", + "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" + }, + "networkProfile": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetNetworkProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine scale set network profile." + }, + "osProfile": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetOSProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine scale set OS profile." + }, + "priority": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Regular", + "Low", + "Spot" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the priority for the virtual machines in the scale set. Minimum api-version: 2017-10-30-preview." + }, + "scheduledEventsProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ScheduledEventsProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "securityPostureReference": { + "oneOf": [ + { + "$ref": "#/definitions/SecurityPostureReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the security posture to be used for all virtual machines in the scale set. Minimum api-version: 2023-03-01" + }, + "securityProfile": { + "oneOf": [ + { + "$ref": "#/definitions/SecurityProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the Security profile settings for the virtual machine or virtual machine scale set." + }, + "serviceArtifactReference": { + "oneOf": [ + { + "$ref": "#/definitions/ServiceArtifactReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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" + }, + "storageProfile": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetStorageProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine scale set storage profile." + }, + "userData": { + "type": "string", + "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." + } + }, + "description": "Describes a virtual machine scale set virtual machine profile." + }, + "VirtualMachineScaleSetVMProperties": { + "type": "object", + "properties": { + "additionalCapabilities": { + "oneOf": [ + { + "$ref": "#/definitions/AdditionalCapabilities" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enables or disables a capability on the virtual machine or virtual machine scale set." + }, + "availabilitySet": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "diagnosticsProfile": { + "oneOf": [ + { + "$ref": "#/definitions/DiagnosticsProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15." + }, + "hardwareProfile": { + "oneOf": [ + { + "$ref": "#/definitions/HardwareProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the hardware settings for the virtual machine." + }, + "licenseType": { + "type": "string", + "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" + }, + "networkProfile": { + "oneOf": [ + { + "$ref": "#/definitions/NetworkProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the network interfaces or the networking configuration of the virtual machine." + }, + "networkProfileConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetVMNetworkProfileConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine scale set VM network profile." + }, + "osProfile": { + "oneOf": [ + { + "$ref": "#/definitions/OSProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the operating system settings for the virtual machine. Some of the settings cannot be changed once VM is provisioned." + }, + "protectionPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetVMProtectionPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The protection policy of a virtual machine scale set VM." + }, + "securityProfile": { + "oneOf": [ + { + "$ref": "#/definitions/SecurityProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the Security profile settings for the virtual machine or virtual machine scale set." + }, + "storageProfile": { + "oneOf": [ + { + "$ref": "#/definitions/StorageProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the storage settings for the virtual machine disks." + }, + "userData": { + "type": "string", + "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" + } + }, + "description": "Describes the properties of a virtual machine scale set virtual machine." + }, + "VirtualMachineScaleSetVMProtectionPolicy": { + "type": "object", + "properties": { + "protectFromScaleIn": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates that the virtual machine scale set VM shouldn't be considered for deletion during a scale-in operation." + }, + "protectFromScaleSetActions": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "description": "The protection policy of a virtual machine scale set VM." + }, + "virtualMachines_extensions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-07-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the virtual machine extension." + }, + "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": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "extensions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachines/extensions" + }, + "virtualMachines_runCommands_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-07-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the virtual machine run command." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineRunCommandProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a Virtual Machine run command." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "runCommands" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachines/runCommands" + }, + "VMDiskSecurityProfile": { + "type": "object", + "properties": { + "diskEncryptionSet": { + "oneOf": [ + { + "$ref": "#/definitions/DiskEncryptionSetParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "securityEncryptionType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "VMGuestStateOnly", + "DiskWithVMGuestState" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "description": "Specifies the security profile settings for the managed disk. **Note:** It can only be set for Confidential VMs." + }, + "VMGalleryApplication": { + "type": "object", + "properties": { + "configurationReference": { + "type": "string", + "description": "Optional, Specifies the uri to an azure blob that will replace the default configuration for the package if provided" + }, + "enableAutomaticUpgrade": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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" + }, + "order": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional, Specifies the order in which the packages have to be installed" + }, + "packageReferenceId": { + "type": "string", + "description": "Specifies the GalleryApplicationVersion resource id on the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version}" + }, + "tags": { + "type": "string", + "description": "Optional, Specifies a passthrough value for more generic context." + }, + "treatFailureAsDeploymentFailure": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional, If true, any failure for any operation in the VmApplication will fail the deployment" + } + }, + "required": [ + "packageReferenceId" + ], + "description": "Specifies the required information to reference a compute gallery application version" + }, + "VMSizeProperties": { + "type": "object", + "properties": { + "vCPUsAvailable": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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)." + }, + "vCPUsPerCore": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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.**" + } + }, + "description": "Specifies VM Size Property settings on the virtual machine." + }, + "WindowsConfiguration": { + "type": "object", + "properties": { + "additionalUnattendContent": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AdditionalUnattendContent" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup." + }, + "enableAutomaticUpdates": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "enableVMAgentPlatformUpdates": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether VMAgent Platform Updates is enabled for the Windows virtual machine. Default value is false." + }, + "patchSettings": { + "oneOf": [ + { + "$ref": "#/definitions/PatchSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies settings related to VM Guest Patching on Windows." + }, + "provisionVMAgent": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "timeZone": { + "type": "string", + "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)." + }, + "winRM": { + "oneOf": [ + { + "$ref": "#/definitions/WinRMConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes Windows Remote Management configuration of the VM" + } + }, + "description": "Specifies Windows operating system settings on the virtual machine." + }, + "WindowsVMGuestPatchAutomaticByPlatformSettings": { + "type": "object", + "properties": { + "bypassPlatformSafetyChecksOnUserSchedule": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enables customer to schedule patching without accidental upgrades" + }, + "rebootSetting": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Unknown", + "IfRequired", + "Never", + "Always" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the reboot setting for all AutomaticByPlatform patch installation operations." + } + }, + "description": "Specifies additional settings to be applied when patch mode AutomaticByPlatform is selected in Windows patch settings." + }, + "WinRMConfiguration": { + "type": "object", + "properties": { + "listeners": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/WinRMListener" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of Windows Remote Management listeners" + } + }, + "description": "Describes Windows Remote Management configuration of the VM" + }, + "WinRMListener": { + "type": "object", + "properties": { + "certificateUrl": { + "type": "string", + "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)." + }, + "protocol": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Http", + "Https" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the protocol of WinRM listener. Possible values are: **http,** **https.**." + } + }, + "description": "Describes Protocol and thumbprint of Windows Remote Management listener" + } + } +} \ No newline at end of file diff --git a/schemas/2023-07-03/Microsoft.Compute.Extensions.json b/schemas/2023-07-03/Microsoft.Compute.Extensions.json new file mode 100644 index 0000000000..af5ed29f84 --- /dev/null +++ b/schemas/2023-07-03/Microsoft.Compute.Extensions.json @@ -0,0 +1,2026 @@ +{ + "id": "https://schema.management.azure.com/schemas/2023-07-03/Microsoft.Compute.Extensions.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Compute.Extensions", + "description": "Microsoft Compute Extensions Resource Types", + "resourceDefinitions": {}, + "definitions": { + "genericExtension": { + "type": "object", + "properties": { + "publisher": { + "type": "string", + "minLength": 1, + "description": "Microsoft.Compute/extensions - Publisher" + }, + "type": { + "type": "string", + "minLength": 1, + "description": "Microsoft.Compute/extensions - Type" + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1, + "description": "Microsoft.Compute/extensions - Type handler version" + }, + "settings": { + "oneOf": [ + { + "type": "object" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Microsoft.Compute/extensions - Settings" + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "settings" + ] + }, + "iaaSDiagnostics": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.Diagnostics" + ] + }, + "type": { + "enum": [ + "IaaSDiagnostics" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "xmlCfg": { + "type": "string" + }, + "StorageAccount": { + "type": "string" + } + }, + "required": [ + "xmlCfg", + "StorageAccount" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + }, + "storageAccountEndPoint": { + "type": "string" + } + }, + "required": [ + "storageAccountName", + "storageAccountKey", + "storageAccountEndPoint" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "iaaSAntimalware": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.Security" + ] + }, + "type": { + "enum": [ + "IaaSAntimalware" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "AntimalwareEnabled": { + "type": "boolean" + }, + "Exclusions": { + "type": "object", + "properties": { + "Paths": { + "type": "string" + }, + "Extensions": { + "type": "string" + }, + "Processes": { + "type": "string" + } + }, + "required": [ + "Paths", + "Extensions", + "Processes" + ] + }, + "RealtimeProtectionEnabled": { + "enum": [ + "true", + "false" + ] + }, + "ScheduledScanSettings": { + "type": "object", + "properties": { + "isEnabled": { + "enum": [ + "true", + "false" + ] + }, + "scanType": { + "type": "string" + }, + "day": { + "type": "string" + }, + "time": { + "type": "string" + } + }, + "required": [ + "isEnabled", + "scanType", + "day", + "time" + ] + } + }, + "required": [ + "AntimalwareEnabled", + "Exclusions", + "RealtimeProtectionEnabled", + "ScheduledScanSettings" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "customScriptExtension": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Compute" + ] + }, + "type": { + "enum": [ + "CustomScriptExtension" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "fileUris": { + "type": "array", + "items": { + "type": "string" + } + }, + "commandToExecute": { + "type": "string" + } + }, + "required": [ + "commandToExecute" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + } + } + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "customScriptForLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.OSTCExtensions" + ] + }, + "type": { + "enum": [ + "CustomScriptForLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "fileUris": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "commandToExecute": { + "type": "string" + }, + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + } + }, + "required": [ + "commandToExecute" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "linuxDiagnostic": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.OSTCExtensions" + ] + }, + "type": { + "enum": [ + "LinuxDiagnostic" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "enableSyslog": { + "type": "string" + }, + "mdsdHttpProxy": { + "type": "string" + }, + "perCfg": { + "type": "array" + }, + "fileCfg": { + "type": "array" + }, + "xmlCfg": { + "type": "string" + }, + "ladCfg": { + "type": "object" + }, + "syslogCfg": { + "type": "string" + }, + "eventVolume": { + "type": "string" + }, + "mdsdCfg": { + "type": "string" + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "mdsdHttpProxy": { + "type": "string" + }, + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + }, + "storageAccountEndPoint": { + "type": "string" + } + }, + "required": [ + "storageAccountName", + "storageAccountKey" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "vmAccessForLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.OSTCExtensions" + ] + }, + "type": { + "enum": [ + "VMAccessForLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "check_disk": { + "type": "boolean" + }, + "repair_disk": { + "type": "boolean" + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "password": { + "type": "string" + }, + "ssh_key": { + "type": "string" + }, + "reset_ssh": { + "type": "string" + }, + "remove_user": { + "type": "string" + }, + "expiration": { + "type": "string" + } + }, + "required": [ + "username", + "password", + "ssh_key", + "reset_ssh", + "remove_user", + "expiration" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "bgInfo": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Compute" + ] + }, + "type": { + "enum": [ + "bginfo" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion" + ] + }, + "vmAccessAgent": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Compute" + ] + }, + "type": { + "enum": [ + "VMAccessAgent" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "username": { + "type": "string" + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "password": { + "type": "string" + } + } + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "dscExtension": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Powershell" + ] + }, + "type": { + "enum": [ + "DSC" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "modulesUrl": { + "type": "string" + }, + "configurationFunction": { + "type": "string" + }, + "properties": { + "type": "string" + }, + "wmfVersion": { + "type": "string" + }, + "privacy": { + "type": "object", + "properties": { + "dataCollection": { + "type": "string" + } + } + } + }, + "required": [ + "modulesUrl", + "configurationFunction" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "dataBlobUri": { + "type": "string" + } + } + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "acronisBackupLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Acronis.Backup" + ] + }, + "type": { + "enum": [ + "AcronisBackupLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "absURL": { + "type": "string" + } + }, + "required": [ + "absURL" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "userLogin": { + "type": "string" + }, + "userPassword": { + "type": "string" + } + }, + "required": [ + "userLogin", + "userPassword" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "acronisBackup": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Acronis.Backup" + ] + }, + "type": { + "enum": [ + "AcronisBackup" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "absURL": { + "type": "string" + } + }, + "required": [ + "absURL" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "userLogin": { + "type": "string" + }, + "userPassword": { + "type": "string" + } + }, + "required": [ + "userLogin", + "userPassword" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "linuxChefClient": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Chef.Bootstrap.WindowsAzure" + ] + }, + "type": { + "enum": [ + "LinuxChefClient" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "bootstrap_version": { + "type": "string" + }, + "bootstrap_options": { + "type": "object", + "properties": { + "chef_node_name": { + "type": "string" + }, + "chef_server_url": { + "type": "string" + }, + "validation_client_name": { + "type": "string" + }, + "node_ssl_verify_mode": { + "type": "string" + }, + "environment": { + "type": "string" + } + }, + "required": [ + "chef_node_name", + "chef_server_url", + "validation_client_name", + "node_ssl_verify_mode", + "environment" + ] + }, + "runlist": { + "type": "string" + }, + "client_rb": { + "type": "string" + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "validation_key": { + "type": "string" + }, + "chef_server_crt": { + "type": "string" + }, + "secret": { + "type": "string" + } + }, + "required": [ + "validation_key", + "chef_server_crt", + "secret" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "chefClient": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Chef.Bootstrap.WindowsAzure" + ] + }, + "type": { + "enum": [ + "ChefClient" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "bootstrap_options": { + "type": "object", + "properties": { + "chef_node_name": { + "type": "string" + }, + "chef_server_url": { + "type": "string" + }, + "validation_client_name": { + "type": "string" + }, + "node_ssl_verify_mode": { + "type": "string" + }, + "environment": { + "type": "string" + } + }, + "required": [ + "chef_node_name", + "chef_server_url", + "validation_client_name", + "node_ssl_verify_mode", + "environment" + ] + }, + "runlist": { + "type": "string" + }, + "client_rb": { + "type": "string" + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "validation_key": { + "type": "string" + }, + "chef_server_crt": { + "type": "string" + }, + "secret": { + "type": "string" + } + }, + "required": [ + "validation_key", + "chef_server_crt", + "secret" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "datadogLinuxAgent": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Datadog.Agent" + ] + }, + "type": { + "enum": [ + "DatadogLinuxAgent" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "api_key": { + "type": "string" + } + }, + "required": [ + "api_key" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "datadogWindowsAgent": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Datadog.Agent" + ] + }, + "type": { + "enum": [ + "DatadogWindowsAgent" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "api_key": { + "type": "string" + } + }, + "required": [ + "api_key" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "dockerExtension": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.Extensions" + ] + }, + "type": { + "enum": [ + "DockerExtension" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "docker": { + "type": "object", + "properties": { + "port": { + "type": "string" + } + }, + "required": [ + "port" + ] + } + }, + "required": [ + "docker" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "certs": { + "type": "object", + "properties": { + "ca": { + "type": "string" + }, + "cert": { + "type": "string" + }, + "key": { + "type": "string" + } + }, + "required": [ + "ca", + "cert", + "key" + ] + } + }, + "required": [ + "certs" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "dynatraceLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "dynatrace.ruxit" + ] + }, + "type": { + "enum": [ + "ruxitAgentLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "tenantId": { + "type": "string" + }, + "token": { + "type": "string" + } + }, + "required": [ + "tenantId", + "token" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "dynatraceWindows": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "dynatrace.ruxit" + ] + }, + "type": { + "enum": [ + "ruxitAgentWindows" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "tenantId": { + "type": "string" + }, + "token": { + "type": "string" + } + }, + "required": [ + "tenantId", + "token" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "eset": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "ESET" + ] + }, + "type": { + "enum": [ + "FileSecurity" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "LicenseKey": { + "type": "string" + }, + "Install-RealtimeProtection": { + "type": "boolean" + }, + "Install-ProtocolFiltering": { + "type": "boolean" + }, + "Install-DeviceControl": { + "type": "boolean" + }, + "Enable-Cloud": { + "type": "boolean" + }, + "Enable-PUA": { + "type": "boolean" + }, + "ERAAgentCfgUrl": { + "type": "string" + } + }, + "required": [ + "LicenseKey", + "Install-RealtimeProtection", + "Install-ProtocolFiltering", + "Install-DeviceControl", + "Enable-Cloud", + "Enable-PUA", + "ERAAgentCfgUrl" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "hpeSecurityApplicationDefender": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "HPE.Security.ApplicationDefender" + ] + }, + "type": { + "enum": [ + "DotnetAgent" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "protectedSettings": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "serverURL": { + "type": "string" + } + }, + "required": [ + "key", + "serverURL" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "protectedSettings" + ] + }, + "puppetAgent": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Puppet" + ] + }, + "type": { + "enum": [ + "PuppetAgent" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "protectedSettings": { + "type": "object", + "properties": { + "PUPPET_MASTER_SERVER": { + "type": "string" + } + }, + "required": [ + "PUPPET_MASTER_SERVER" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "protectedSettings" + ] + }, + "site24x7LinuxServerExtn": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Site24x7" + ] + }, + "type": { + "enum": [ + "Site24x7LinuxServerExtn" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "site24x7AgentType": { + "enum": [ + "azurevmextnlinuxserver" + ] + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "site24x7LicenseKey": { + "type": "string" + } + }, + "required": [ + "site24x7LicenseKey" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "site24x7WindowsServerExtn": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Site24x7" + ] + }, + "type": { + "enum": [ + "Site24x7WindowsServerExtn" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "site24x7AgentType": { + "enum": [ + "azurevmextnwindowsserver" + ] + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "site24x7LicenseKey": { + "type": "string" + } + }, + "required": [ + "site24x7LicenseKey" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "site24x7ApmInsightExtn": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Site24x7" + ] + }, + "type": { + "enum": [ + "Site24x7ApmInsightExtn" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "site24x7AgentType": { + "enum": [ + "azurevmextnapminsightclassic" + ] + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "site24x7LicenseKey": { + "type": "string" + } + }, + "required": [ + "site24x7LicenseKey" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "trendMicroDSALinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "TrendMicro.DeepSecurity" + ] + }, + "type": { + "enum": [ + "TrendMicroDSALinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "DSMname": { + "type": "string" + }, + "DSMport": { + "type": "string" + }, + "policyNameorID": { + "type": "string" + } + }, + "required": [ + "DSMname", + "DSMport" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "tenantID": { + "type": "string" + }, + "tenantPassword": { + "type": "string" + } + }, + "required": [ + "tenantID", + "tenantPassword" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "trendMicroDSA": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "TrendMicro.DeepSecurity" + ] + }, + "type": { + "enum": [ + "TrendMicroDSA" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "DSMname": { + "type": "string" + }, + "DSMport": { + "type": "string" + }, + "policyNameorID": { + "type": "string" + } + }, + "required": [ + "DSMname", + "DSMport" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "tenantID": { + "type": "string" + }, + "tenantPassword": { + "type": "string" + } + }, + "required": [ + "tenantID", + "tenantPassword" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "bmcCtmAgentLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "ctm.bmc.com" + ] + }, + "type": { + "enum": [ + "BmcCtmAgentLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "Control-M Server Name": { + "type": "string" + }, + "Agent Port": { + "type": "string" + }, + "Host Group": { + "type": "string" + }, + "User Account": { + "type": "string" + } + }, + "required": [ + "Control-M Server Name", + "Agent Port", + "Host Group", + "User Account" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "bmcCtmAgentWindows": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "bmc.ctm" + ] + }, + "type": { + "enum": [ + "AgentWinExt" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "Control-M Server Name": { + "type": "string" + }, + "Agent Port": { + "type": "string" + }, + "Host Group": { + "type": "string" + } + }, + "required": [ + "Control-M Server Name", + "Agent Port", + "Host Group" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "OSPatchingForLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.OSTCExtensions" + ] + }, + "type": { + "enum": [ + "OSPatchingForLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "disabled": { + "type": "boolean" + }, + "stop": { + "type": "boolean" + }, + "installDuration": { + "type": "string" + }, + "intervalOfWeeks": { + "type": "number" + }, + "dayOfWeek": { + "type": "string" + }, + "startTime": { + "type": "string" + }, + "rebootAfterPatch": { + "type": "string" + }, + "category": { + "type": "string" + }, + "oneoff": { + "type": "boolean" + }, + "local": { + "type": "boolean" + }, + "idleTestScript": { + "type": "string" + }, + "healthyTestScript": { + "type": "string" + }, + "distUpgradeList": { + "type": "string" + }, + "distUpgradeAll": { + "type": "boolean" + }, + "vmStatusTest": { + "type": "object" + } + }, + "required": [ + "disabled", + "stop" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + } + } + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "VMSnapshot": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.RecoveryServices" + ] + }, + "type": { + "enum": [ + "VMSnapshot" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "locale": { + "type": "string" + }, + "taskId": { + "type": "string" + }, + "commandToExecute": { + "type": "string" + }, + "objectStr": { + "type": "string" + }, + "logsBlobUri": { + "type": "string" + }, + "statusBlobUri": { + "type": "string" + }, + "commandStartTimeUTCTicks": { + "type": "string" + }, + "vmType": { + "type": "string" + } + }, + "required": [ + "locale", + "taskId", + "commandToExecute", + "objectStr", + "logsBlobUri", + "statusBlobUri", + "commandStartTimeUTCTicks", + "vmType" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "VMSnapshotLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.RecoveryServices" + ] + }, + "type": { + "enum": [ + "VMSnapshotLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "locale": { + "type": "string" + }, + "taskId": { + "type": "string" + }, + "commandToExecute": { + "type": "string" + }, + "objectStr": { + "type": "string" + }, + "logsBlobUri": { + "type": "string" + }, + "statusBlobUri": { + "type": "string" + }, + "commandStartTimeUTCTicks": { + "type": "string" + }, + "vmType": { + "type": "string" + } + }, + "required": [ + "locale", + "taskId", + "commandToExecute", + "objectStr", + "logsBlobUri", + "statusBlobUri", + "commandStartTimeUTCTicks", + "vmType" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "customScript": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.Extensions" + ] + }, + "type": { + "enum": [ + "CustomScript" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "fileUris": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "fileUris" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + }, + "commandToExecute": { + "type": "string" + } + }, + "required": [ + "storageAccountName", + "storageAccountKey", + "commandToExecute" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "networkWatcherAgentWindows": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.NetworkWatcher" + ] + }, + "type": { + "enum": [ + "NetworkWatcherAgentWindows" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion" + ] + }, + "networkWatcherAgentLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.NetworkWatcher" + ] + }, + "type": { + "enum": [ + "NetworkWatcherAgentLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion" + ] + } + } +} \ No newline at end of file diff --git a/schemas/2023-07-03/Microsoft.Compute.json b/schemas/2023-07-03/Microsoft.Compute.json new file mode 100644 index 0000000000..c03ee6d886 --- /dev/null +++ b/schemas/2023-07-03/Microsoft.Compute.json @@ -0,0 +1,2094 @@ +{ + "id": "https://schema.management.azure.com/schemas/2023-07-03/Microsoft.Compute.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Compute", + "description": "Microsoft Compute Resource Types", + "resourceDefinitions": { + "galleries": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-07-03" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "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." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a Shared Image Gallery." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/galleries_images_childResource" + }, + { + "$ref": "#/definitions/galleries_applications_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/galleries" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/galleries" + }, + "galleries_applications": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-07-03" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "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." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryApplicationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a gallery Application Definition." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/galleries_applications_versions_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/galleries/applications" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/galleries/applications" + }, + "galleries_applications_versions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-07-03" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "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: .." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryApplicationVersionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a gallery image version." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/galleries/applications/versions" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/galleries/applications/versions" + }, + "galleries_images": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-07-03" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "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." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryImageProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a gallery image definition." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/galleries_images_versions_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/galleries/images" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/galleries/images" + }, + "galleries_images_versions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-07-03" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "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: .." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryImageVersionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a gallery image version." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/galleries/images/versions" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/galleries/images/versions" + } + }, + "definitions": { + "CommunityGalleryInfo": { + "type": "object", + "properties": { + "eula": { + "type": "string", + "description": "End-user license agreement for community gallery image." + }, + "publicNamePrefix": { + "type": "string", + "description": "The prefix of the gallery name that will be displayed publicly. Visible to all users." + }, + "publisherContact": { + "type": "string", + "description": "Community gallery publisher support email. The email address of the publisher. Visible to all users." + }, + "publisherUri": { + "type": "string", + "description": "The link to the publisher website. Visible to all users." + } + }, + "description": "Information of community gallery if current gallery is shared to community" + }, + "DataDiskImageEncryption": { + "type": "object", + "properties": { + "diskEncryptionSetId": { + "type": "string", + "description": "A relative URI containing the resource ID of the disk encryption set." + }, + "lun": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "required": [ + "lun" + ], + "description": "Contains encryption settings for a data disk image." + }, + "Disallowed": { + "type": "object", + "properties": { + "diskTypes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A list of disk types." + } + }, + "description": "Describes the disallowed disk types." + }, + "EncryptionImages": { + "type": "object", + "properties": { + "dataDiskImages": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/DataDiskImageEncryption" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A list of encryption specifications for data disk images." + }, + "osDiskImage": { + "oneOf": [ + { + "$ref": "#/definitions/OSDiskImageEncryption" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Contains encryption settings for an OS disk image." + } + }, + "description": "Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact." + }, + "galleries_applications_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-07-03" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "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." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryApplicationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a gallery Application Definition." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "applications" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/galleries/applications" + }, + "galleries_applications_versions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-07-03" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "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: .." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryApplicationVersionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a gallery image version." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "versions" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/galleries/applications/versions" + }, + "galleries_images_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-07-03" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "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." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryImageProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a gallery image definition." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "images" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/galleries/images" + }, + "galleries_images_versions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-07-03" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "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: .." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryImageVersionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a gallery image version." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "versions" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/galleries/images/versions" + }, + "GalleryApplicationCustomAction": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Description to help the users understand what this custom action does." + }, + "name": { + "type": "string", + "description": "The name of the custom action. Must be unique within the Gallery Application Version." + }, + "parameters": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/GalleryApplicationCustomActionParameter" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters that this custom action uses" + }, + "script": { + "type": "string", + "description": "The script to run when executing this custom action." + } + }, + "required": [ + "name", + "script" + ], + "description": "A custom action that can be performed with a Gallery Application Version." + }, + "GalleryApplicationCustomActionParameter": { + "type": "object", + "properties": { + "defaultValue": { + "type": "string", + "description": "The default value of the parameter. Only applies to string types" + }, + "description": { + "type": "string", + "description": "A description to help users understand what this parameter means" + }, + "name": { + "type": "string", + "description": "The name of the custom action. Must be unique within the Gallery Application Version." + }, + "required": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether this parameter must be passed when running the custom action." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "String", + "ConfigurationDataBlob", + "LogOutputBlob" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the type of the custom action parameter. Possible values are: String, ConfigurationDataBlob or LogOutputBlob." + } + }, + "required": [ + "name" + ], + "description": "The definition of a parameter that can be passed to a custom action of a Gallery Application Version." + }, + "GalleryApplicationProperties": { + "type": "object", + "properties": { + "customActions": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/GalleryApplicationCustomAction" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A list of custom actions that can be performed with all of the Gallery Application Versions within this Gallery Application." + }, + "description": { + "type": "string", + "description": "The description of this gallery Application Definition resource. This property is updatable." + }, + "endOfLifeDate": { + "type": "string", + "format": "date-time", + "description": "The end of life date of the gallery Application Definition. This property can be used for decommissioning purposes. This property is updatable." + }, + "eula": { + "type": "string", + "description": "The Eula agreement for the gallery Application Definition." + }, + "privacyStatementUri": { + "type": "string", + "description": "The privacy statement uri." + }, + "releaseNoteUri": { + "type": "string", + "description": "The release note uri." + }, + "supportedOSType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Windows", + "Linux" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This property allows you to specify the supported type of the OS that application is built for. Possible values are: **Windows,** **Linux.**." + } + }, + "required": [ + "supportedOSType" + ], + "description": "Describes the properties of a gallery Application Definition." + }, + "GalleryApplicationVersionProperties": { + "type": "object", + "properties": { + "publishingProfile": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryApplicationVersionPublishingProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The publishing profile of a gallery image version." + }, + "safetyProfile": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryApplicationVersionSafetyProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The safety profile of the Gallery Application Version." + } + }, + "required": [ + "publishingProfile" + ], + "description": "Describes the properties of a gallery image version." + }, + "GalleryApplicationVersionPublishingProfile": { + "type": "object", + "properties": { + "advancedSettings": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional. Additional settings to pass to the vm-application-manager extension. For advanced use only." + }, + "customActions": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/GalleryApplicationCustomAction" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A list of custom actions that can be performed with this Gallery Application Version." + }, + "enableHealthCheck": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional. Whether or not this application reports health." + }, + "endOfLifeDate": { + "type": "string", + "format": "date-time", + "description": "The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable." + }, + "excludeFromLatest": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version." + }, + "manageActions": { + "oneOf": [ + { + "$ref": "#/definitions/UserArtifactManage" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "replicaCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "replicationMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Full", + "Shallow" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional parameter which specifies the mode to be used for replication. This property is not updatable." + }, + "settings": { + "oneOf": [ + { + "$ref": "#/definitions/UserArtifactSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "source": { + "oneOf": [ + { + "$ref": "#/definitions/UserArtifactSource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The source image from which the Image Version is going to be created." + }, + "storageAccountType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "Standard_ZRS", + "Premium_LRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the storage account type to be used to store the image. This property is not updatable." + }, + "targetExtendedLocations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/GalleryTargetExtendedLocation" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The target extended locations where the Image Version is going to be replicated to. This property is updatable." + }, + "targetRegions": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/TargetRegion" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The target regions where the Image Version is going to be replicated to. This property is updatable." + } + }, + "required": [ + "source" + ], + "description": "The publishing profile of a gallery image version." + }, + "GalleryApplicationVersionSafetyProfile": { + "type": "object", + "properties": { + "allowDeletionOfReplicatedLocations": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether or not removing this Gallery Image Version from replicated regions is allowed." + } + }, + "description": "The safety profile of the Gallery Application Version." + }, + "GalleryArtifactVersionFullSource": { + "type": "object", + "properties": { + "communityGalleryImageId": { + "type": "string", + "description": "The resource Id of the source Community Gallery Image. Only required when using Community Gallery Image as a source." + }, + "id": { + "type": "string", + "description": "The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, user image or storage account resource." + } + }, + "description": "The source of the gallery artifact version." + }, + "GalleryDataDiskImage": { + "type": "object", + "properties": { + "hostCaching": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "ReadOnly", + "ReadWrite" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'." + }, + "lun": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "source": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryDiskImageSource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The source for the disk image." + } + }, + "required": [ + "lun" + ], + "description": "This is the data disk image." + }, + "GalleryDiskImageSource": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, user image or storage account resource." + }, + "storageAccountId": { + "type": "string", + "description": "The Storage Account Id that contains the vhd blob being used as a source for this artifact version." + }, + "uri": { + "type": "string", + "description": "The uri of the gallery artifact version source. Currently used to specify vhd/blob source." + } + }, + "description": "The source for the disk image." + }, + "GalleryExtendedLocation": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "EdgeZone", + "Unknown" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "The name of the extended location." + }, + "GalleryIdentifier": { + "type": "object", + "properties": {}, + "description": "Describes the gallery unique name." + }, + "GalleryImageFeature": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the gallery image feature." + }, + "value": { + "type": "string", + "description": "The value of the gallery image feature." + } + }, + "description": "A feature for gallery image." + }, + "GalleryImageIdentifier": { + "type": "object", + "properties": { + "offer": { + "type": "string", + "description": "The name of the gallery image definition offer." + }, + "publisher": { + "type": "string", + "description": "The name of the gallery image definition publisher." + }, + "sku": { + "type": "string", + "description": "The name of the gallery image definition SKU." + } + }, + "required": [ + "offer", + "publisher", + "sku" + ], + "description": "This is the gallery image definition identifier." + }, + "GalleryImageProperties": { + "type": "object", + "properties": { + "architecture": { + "oneOf": [ + { + "type": "string", + "enum": [ + "x64", + "Arm64" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "description": { + "type": "string", + "description": "The description of this gallery image definition resource. This property is updatable." + }, + "disallowed": { + "oneOf": [ + { + "$ref": "#/definitions/Disallowed" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the disallowed disk types." + }, + "endOfLifeDate": { + "type": "string", + "format": "date-time", + "description": "The end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable." + }, + "eula": { + "type": "string", + "description": "The Eula agreement for the gallery image definition." + }, + "features": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/GalleryImageFeature" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A list of gallery image features." + }, + "hyperVGeneration": { + "oneOf": [ + { + "type": "string", + "enum": [ + "V1", + "V2" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only." + }, + "identifier": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryImageIdentifier" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This is the gallery image definition identifier." + }, + "osState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Generalized", + "Specialized" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'." + }, + "osType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Windows", + "Linux" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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.**." + }, + "privacyStatementUri": { + "type": "string", + "description": "The privacy statement uri." + }, + "purchasePlan": { + "oneOf": [ + { + "$ref": "#/definitions/ImagePurchasePlan" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the gallery image definition purchase plan. This is used by marketplace images." + }, + "recommended": { + "oneOf": [ + { + "$ref": "#/definitions/RecommendedMachineConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties describe the recommended machine configuration for this Image Definition. These properties are updatable." + }, + "releaseNoteUri": { + "type": "string", + "description": "The release note uri." + } + }, + "required": [ + "identifier", + "osState", + "osType" + ], + "description": "Describes the properties of a gallery image definition." + }, + "GalleryImageVersionProperties": { + "type": "object", + "properties": { + "publishingProfile": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryImageVersionPublishingProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The publishing profile of a gallery image Version." + }, + "safetyProfile": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryImageVersionSafetyProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This is the safety profile of the Gallery Image Version." + }, + "securityProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ImageVersionSecurityProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The security profile of a gallery image version" + }, + "storageProfile": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryImageVersionStorageProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This is the storage profile of a Gallery Image Version." + } + }, + "required": [ + "storageProfile" + ], + "description": "Describes the properties of a gallery image version." + }, + "GalleryImageVersionPublishingProfile": { + "type": "object", + "properties": { + "endOfLifeDate": { + "type": "string", + "format": "date-time", + "description": "The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable." + }, + "excludeFromLatest": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version." + }, + "replicaCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "replicationMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Full", + "Shallow" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional parameter which specifies the mode to be used for replication. This property is not updatable." + }, + "storageAccountType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "Standard_ZRS", + "Premium_LRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the storage account type to be used to store the image. This property is not updatable." + }, + "targetExtendedLocations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/GalleryTargetExtendedLocation" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The target extended locations where the Image Version is going to be replicated to. This property is updatable." + }, + "targetRegions": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/TargetRegion" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The target regions where the Image Version is going to be replicated to. This property is updatable." + } + }, + "description": "The publishing profile of a gallery image Version." + }, + "GalleryImageVersionSafetyProfile": { + "type": "object", + "properties": { + "allowDeletionOfReplicatedLocations": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether or not removing this Gallery Image Version from replicated regions is allowed." + } + }, + "description": "This is the safety profile of the Gallery Image Version." + }, + "GalleryImageVersionStorageProfile": { + "type": "object", + "properties": { + "dataDiskImages": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/GalleryDataDiskImage" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A list of data disk images." + }, + "osDiskImage": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryOSDiskImage" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This is the OS disk image." + }, + "source": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryArtifactVersionFullSource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The source of the gallery artifact version." + } + }, + "description": "This is the storage profile of a Gallery Image Version." + }, + "GalleryImageVersionUefiSettings": { + "type": "object", + "properties": { + "additionalSignatures": { + "oneOf": [ + { + "$ref": "#/definitions/UefiKeySignatures" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Additional UEFI key signatures that will be added to the image in addition to the signature templates" + }, + "signatureTemplateNames": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "NoSignatureTemplate", + "MicrosoftUefiCertificateAuthorityTemplate", + "MicrosoftWindowsTemplate" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the template(s) that contains default UEFI key signatures that will be added to the image." + } + }, + "description": "Contains UEFI settings for the image version." + }, + "GalleryOSDiskImage": { + "type": "object", + "properties": { + "hostCaching": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "ReadOnly", + "ReadWrite" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'." + }, + "source": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryDiskImageSource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The source for the disk image." + } + }, + "description": "This is the OS disk image." + }, + "GalleryProperties": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "The description of this Shared Image Gallery resource. This property is updatable." + }, + "identifier": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryIdentifier" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the gallery unique name." + }, + "sharingProfile": { + "oneOf": [ + { + "$ref": "#/definitions/SharingProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Profile for gallery sharing to subscription or tenant" + }, + "softDeletePolicy": { + "oneOf": [ + { + "$ref": "#/definitions/SoftDeletePolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Contains information about the soft deletion policy of the gallery." + } + }, + "description": "Describes the properties of a Shared Image Gallery." + }, + "GalleryTargetExtendedLocation": { + "type": "object", + "properties": { + "encryption": { + "oneOf": [ + { + "$ref": "#/definitions/EncryptionImages" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact." + }, + "extendedLocation": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryExtendedLocation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the extended location." + }, + "extendedLocationReplicaCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of replicas of the Image Version to be created per extended location. This property is updatable." + }, + "name": { + "type": "string", + "description": "The name of the region." + }, + "storageAccountType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "Standard_ZRS", + "StandardSSD_LRS", + "Premium_LRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the storage account type to be used to store the image. This property is not updatable." + } + } + }, + "ImagePurchasePlan": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The plan ID." + }, + "product": { + "type": "string", + "description": "The product ID." + }, + "publisher": { + "type": "string", + "description": "The publisher ID." + } + }, + "description": "Describes the gallery image definition purchase plan. This is used by marketplace images." + }, + "ImageVersionSecurityProfile": { + "type": "object", + "properties": { + "uefiSettings": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryImageVersionUefiSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Contains UEFI settings for the image version." + } + }, + "description": "The security profile of a gallery image version" + }, + "OSDiskImageEncryption": { + "type": "object", + "properties": { + "diskEncryptionSetId": { + "type": "string", + "description": "A relative URI containing the resource ID of the disk encryption set." + }, + "securityProfile": { + "oneOf": [ + { + "$ref": "#/definitions/OSDiskImageSecurityProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Contains security profile for an OS disk image." + } + }, + "description": "Contains encryption settings for an OS disk image." + }, + "OSDiskImageSecurityProfile": { + "type": "object", + "properties": { + "confidentialVMEncryptionType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "EncryptedVMGuestStateOnlyWithPmk", + "EncryptedWithPmk", + "EncryptedWithCmk", + "NonPersistedTPM" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "confidential VM encryption types." + }, + "secureVMDiskEncryptionSetId": { + "type": "string", + "description": "secure VM disk encryption set id" + } + }, + "description": "Contains security profile for an OS disk image." + }, + "RecommendedMachineConfiguration": { + "type": "object", + "properties": { + "memory": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceRange" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the resource range." + }, + "vCPUs": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceRange" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the resource range." + } + }, + "description": "The properties describe the recommended machine configuration for this Image Definition. These properties are updatable." + }, + "ResourceRange": { + "type": "object", + "properties": { + "max": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum number of the resource." + }, + "min": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The minimum number of the resource." + } + }, + "description": "Describes the resource range." + }, + "SharingProfile": { + "type": "object", + "properties": { + "communityGalleryInfo": { + "oneOf": [ + { + "$ref": "#/definitions/CommunityGalleryInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Information of community gallery if current gallery is shared to community" + }, + "permissions": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Private", + "Groups", + "Community" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This property allows you to specify the permission of sharing gallery. Possible values are: **Private,** **Groups,** **Community.**." + } + }, + "description": "Profile for gallery sharing to subscription or tenant" + }, + "SoftDeletePolicy": { + "type": "object", + "properties": { + "isSoftDeleteEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enables soft-deletion for resources in this gallery, allowing them to be recovered within retention time." + } + }, + "description": "Contains information about the soft deletion policy of the gallery." + }, + "TargetRegion": { + "type": "object", + "properties": { + "encryption": { + "oneOf": [ + { + "$ref": "#/definitions/EncryptionImages" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact." + }, + "excludeFromLatest": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Contains the flag setting to hide an image when users specify version='latest'" + }, + "name": { + "type": "string", + "description": "The name of the region." + }, + "regionalReplicaCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of replicas of the Image Version to be created per region. This property is updatable." + }, + "storageAccountType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "Standard_ZRS", + "Premium_LRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the storage account type to be used to store the image. This property is not updatable." + } + }, + "required": [ + "name" + ], + "description": "Describes the target region information." + }, + "UefiKey": { + "type": "object", + "properties": { + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "sha256", + "x509" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of key signature." + }, + "value": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The value of the key signature." + } + }, + "description": "A UEFI key signature." + }, + "UefiKeySignatures": { + "type": "object", + "properties": { + "db": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/UefiKey" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The database of UEFI keys for this image version." + }, + "dbx": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/UefiKey" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The database of revoked UEFI keys for this image version." + }, + "kek": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/UefiKey" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Key Encryption Keys of this image version." + }, + "pk": { + "oneOf": [ + { + "$ref": "#/definitions/UefiKey" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A UEFI key signature." + } + }, + "description": "Additional UEFI key signatures that will be added to the image in addition to the signature templates" + }, + "UserArtifactManage": { + "type": "object", + "properties": { + "install": { + "type": "string", + "description": "Required. The path and arguments to install the gallery application. This is limited to 4096 characters." + }, + "remove": { + "type": "string", + "description": "Required. The path and arguments to remove the gallery application. This is limited to 4096 characters." + }, + "update": { + "type": "string", + "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." + } + }, + "required": [ + "install", + "remove" + ] + }, + "UserArtifactSettings": { + "type": "object", + "properties": { + "configFileName": { + "type": "string", + "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\"." + }, + "packageFileName": { + "type": "string", + "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." + } + }, + "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." + }, + "UserArtifactSource": { + "type": "object", + "properties": { + "defaultConfigurationLink": { + "type": "string", + "description": "Optional. The defaultConfigurationLink of the artifact, must be a readable storage page blob." + }, + "mediaLink": { + "type": "string", + "description": "Required. The mediaLink of the artifact, must be a readable storage page blob." + } + }, + "required": [ + "mediaLink" + ], + "description": "The source image from which the Image Version is going to be created." + } + } +} \ No newline at end of file diff --git a/schemas/2023-09-01/Microsoft.Compute.Extensions.json b/schemas/2023-09-01/Microsoft.Compute.Extensions.json new file mode 100644 index 0000000000..ce390d8843 --- /dev/null +++ b/schemas/2023-09-01/Microsoft.Compute.Extensions.json @@ -0,0 +1,2320 @@ +{ + "id": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.Extensions.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Compute.Extensions", + "description": "Microsoft Compute Extensions Resource Types", + "resourceDefinitions": { + "virtualMachines_extensions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-09-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the virtual machine extension." + }, + "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" + } + ] + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/virtualMachines/extensions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachines/extensions" + }, + "virtualMachineScaleSets_extensions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-09-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the VM scale set extension." + }, + "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": { + "type": "string", + "enum": [ + "Microsoft.Compute/virtualMachineScaleSets/extensions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachineScaleSets/extensions" + } + }, + "definitions": { + "genericExtension": { + "type": "object", + "properties": { + "publisher": { + "type": "string", + "minLength": 1, + "description": "Microsoft.Compute/extensions - Publisher" + }, + "type": { + "type": "string", + "minLength": 1, + "description": "Microsoft.Compute/extensions - Type" + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1, + "description": "Microsoft.Compute/extensions - Type handler version" + }, + "settings": { + "oneOf": [ + { + "type": "object" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Microsoft.Compute/extensions - Settings" + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "settings" + ] + }, + "iaaSDiagnostics": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.Diagnostics" + ] + }, + "type": { + "enum": [ + "IaaSDiagnostics" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "xmlCfg": { + "type": "string" + }, + "StorageAccount": { + "type": "string" + } + }, + "required": [ + "xmlCfg", + "StorageAccount" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + }, + "storageAccountEndPoint": { + "type": "string" + } + }, + "required": [ + "storageAccountName", + "storageAccountKey", + "storageAccountEndPoint" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "iaaSAntimalware": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.Security" + ] + }, + "type": { + "enum": [ + "IaaSAntimalware" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "AntimalwareEnabled": { + "type": "boolean" + }, + "Exclusions": { + "type": "object", + "properties": { + "Paths": { + "type": "string" + }, + "Extensions": { + "type": "string" + }, + "Processes": { + "type": "string" + } + }, + "required": [ + "Paths", + "Extensions", + "Processes" + ] + }, + "RealtimeProtectionEnabled": { + "enum": [ + "true", + "false" + ] + }, + "ScheduledScanSettings": { + "type": "object", + "properties": { + "isEnabled": { + "enum": [ + "true", + "false" + ] + }, + "scanType": { + "type": "string" + }, + "day": { + "type": "string" + }, + "time": { + "type": "string" + } + }, + "required": [ + "isEnabled", + "scanType", + "day", + "time" + ] + } + }, + "required": [ + "AntimalwareEnabled", + "Exclusions", + "RealtimeProtectionEnabled", + "ScheduledScanSettings" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "customScriptExtension": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Compute" + ] + }, + "type": { + "enum": [ + "CustomScriptExtension" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "fileUris": { + "type": "array", + "items": { + "type": "string" + } + }, + "commandToExecute": { + "type": "string" + } + }, + "required": [ + "commandToExecute" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + } + } + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "customScriptForLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.OSTCExtensions" + ] + }, + "type": { + "enum": [ + "CustomScriptForLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "fileUris": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "commandToExecute": { + "type": "string" + }, + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + } + }, + "required": [ + "commandToExecute" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "linuxDiagnostic": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.OSTCExtensions" + ] + }, + "type": { + "enum": [ + "LinuxDiagnostic" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "enableSyslog": { + "type": "string" + }, + "mdsdHttpProxy": { + "type": "string" + }, + "perCfg": { + "type": "array" + }, + "fileCfg": { + "type": "array" + }, + "xmlCfg": { + "type": "string" + }, + "ladCfg": { + "type": "object" + }, + "syslogCfg": { + "type": "string" + }, + "eventVolume": { + "type": "string" + }, + "mdsdCfg": { + "type": "string" + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "mdsdHttpProxy": { + "type": "string" + }, + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + }, + "storageAccountEndPoint": { + "type": "string" + } + }, + "required": [ + "storageAccountName", + "storageAccountKey" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "vmAccessForLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.OSTCExtensions" + ] + }, + "type": { + "enum": [ + "VMAccessForLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "check_disk": { + "type": "boolean" + }, + "repair_disk": { + "type": "boolean" + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "password": { + "type": "string" + }, + "ssh_key": { + "type": "string" + }, + "reset_ssh": { + "type": "string" + }, + "remove_user": { + "type": "string" + }, + "expiration": { + "type": "string" + } + }, + "required": [ + "username", + "password", + "ssh_key", + "reset_ssh", + "remove_user", + "expiration" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "bgInfo": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Compute" + ] + }, + "type": { + "enum": [ + "bginfo" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion" + ] + }, + "vmAccessAgent": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Compute" + ] + }, + "type": { + "enum": [ + "VMAccessAgent" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "username": { + "type": "string" + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "password": { + "type": "string" + } + } + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "dscExtension": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Powershell" + ] + }, + "type": { + "enum": [ + "DSC" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "modulesUrl": { + "type": "string" + }, + "configurationFunction": { + "type": "string" + }, + "properties": { + "type": "string" + }, + "wmfVersion": { + "type": "string" + }, + "privacy": { + "type": "object", + "properties": { + "dataCollection": { + "type": "string" + } + } + } + }, + "required": [ + "modulesUrl", + "configurationFunction" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "dataBlobUri": { + "type": "string" + } + } + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "acronisBackupLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Acronis.Backup" + ] + }, + "type": { + "enum": [ + "AcronisBackupLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "absURL": { + "type": "string" + } + }, + "required": [ + "absURL" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "userLogin": { + "type": "string" + }, + "userPassword": { + "type": "string" + } + }, + "required": [ + "userLogin", + "userPassword" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "acronisBackup": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Acronis.Backup" + ] + }, + "type": { + "enum": [ + "AcronisBackup" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "absURL": { + "type": "string" + } + }, + "required": [ + "absURL" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "userLogin": { + "type": "string" + }, + "userPassword": { + "type": "string" + } + }, + "required": [ + "userLogin", + "userPassword" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "linuxChefClient": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Chef.Bootstrap.WindowsAzure" + ] + }, + "type": { + "enum": [ + "LinuxChefClient" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "bootstrap_version": { + "type": "string" + }, + "bootstrap_options": { + "type": "object", + "properties": { + "chef_node_name": { + "type": "string" + }, + "chef_server_url": { + "type": "string" + }, + "validation_client_name": { + "type": "string" + }, + "node_ssl_verify_mode": { + "type": "string" + }, + "environment": { + "type": "string" + } + }, + "required": [ + "chef_node_name", + "chef_server_url", + "validation_client_name", + "node_ssl_verify_mode", + "environment" + ] + }, + "runlist": { + "type": "string" + }, + "client_rb": { + "type": "string" + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "validation_key": { + "type": "string" + }, + "chef_server_crt": { + "type": "string" + }, + "secret": { + "type": "string" + } + }, + "required": [ + "validation_key", + "chef_server_crt", + "secret" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "chefClient": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Chef.Bootstrap.WindowsAzure" + ] + }, + "type": { + "enum": [ + "ChefClient" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "bootstrap_options": { + "type": "object", + "properties": { + "chef_node_name": { + "type": "string" + }, + "chef_server_url": { + "type": "string" + }, + "validation_client_name": { + "type": "string" + }, + "node_ssl_verify_mode": { + "type": "string" + }, + "environment": { + "type": "string" + } + }, + "required": [ + "chef_node_name", + "chef_server_url", + "validation_client_name", + "node_ssl_verify_mode", + "environment" + ] + }, + "runlist": { + "type": "string" + }, + "client_rb": { + "type": "string" + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "validation_key": { + "type": "string" + }, + "chef_server_crt": { + "type": "string" + }, + "secret": { + "type": "string" + } + }, + "required": [ + "validation_key", + "chef_server_crt", + "secret" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "datadogLinuxAgent": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Datadog.Agent" + ] + }, + "type": { + "enum": [ + "DatadogLinuxAgent" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "api_key": { + "type": "string" + } + }, + "required": [ + "api_key" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "datadogWindowsAgent": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Datadog.Agent" + ] + }, + "type": { + "enum": [ + "DatadogWindowsAgent" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "api_key": { + "type": "string" + } + }, + "required": [ + "api_key" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "dockerExtension": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.Extensions" + ] + }, + "type": { + "enum": [ + "DockerExtension" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "docker": { + "type": "object", + "properties": { + "port": { + "type": "string" + } + }, + "required": [ + "port" + ] + } + }, + "required": [ + "docker" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "certs": { + "type": "object", + "properties": { + "ca": { + "type": "string" + }, + "cert": { + "type": "string" + }, + "key": { + "type": "string" + } + }, + "required": [ + "ca", + "cert", + "key" + ] + } + }, + "required": [ + "certs" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "dynatraceLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "dynatrace.ruxit" + ] + }, + "type": { + "enum": [ + "ruxitAgentLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "tenantId": { + "type": "string" + }, + "token": { + "type": "string" + } + }, + "required": [ + "tenantId", + "token" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "dynatraceWindows": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "dynatrace.ruxit" + ] + }, + "type": { + "enum": [ + "ruxitAgentWindows" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "tenantId": { + "type": "string" + }, + "token": { + "type": "string" + } + }, + "required": [ + "tenantId", + "token" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "eset": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "ESET" + ] + }, + "type": { + "enum": [ + "FileSecurity" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "LicenseKey": { + "type": "string" + }, + "Install-RealtimeProtection": { + "type": "boolean" + }, + "Install-ProtocolFiltering": { + "type": "boolean" + }, + "Install-DeviceControl": { + "type": "boolean" + }, + "Enable-Cloud": { + "type": "boolean" + }, + "Enable-PUA": { + "type": "boolean" + }, + "ERAAgentCfgUrl": { + "type": "string" + } + }, + "required": [ + "LicenseKey", + "Install-RealtimeProtection", + "Install-ProtocolFiltering", + "Install-DeviceControl", + "Enable-Cloud", + "Enable-PUA", + "ERAAgentCfgUrl" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "hpeSecurityApplicationDefender": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "HPE.Security.ApplicationDefender" + ] + }, + "type": { + "enum": [ + "DotnetAgent" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "protectedSettings": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "serverURL": { + "type": "string" + } + }, + "required": [ + "key", + "serverURL" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "protectedSettings" + ] + }, + "puppetAgent": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Puppet" + ] + }, + "type": { + "enum": [ + "PuppetAgent" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "protectedSettings": { + "type": "object", + "properties": { + "PUPPET_MASTER_SERVER": { + "type": "string" + } + }, + "required": [ + "PUPPET_MASTER_SERVER" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "protectedSettings" + ] + }, + "site24x7LinuxServerExtn": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Site24x7" + ] + }, + "type": { + "enum": [ + "Site24x7LinuxServerExtn" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "site24x7AgentType": { + "enum": [ + "azurevmextnlinuxserver" + ] + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "site24x7LicenseKey": { + "type": "string" + } + }, + "required": [ + "site24x7LicenseKey" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "site24x7WindowsServerExtn": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Site24x7" + ] + }, + "type": { + "enum": [ + "Site24x7WindowsServerExtn" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "site24x7AgentType": { + "enum": [ + "azurevmextnwindowsserver" + ] + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "site24x7LicenseKey": { + "type": "string" + } + }, + "required": [ + "site24x7LicenseKey" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "site24x7ApmInsightExtn": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Site24x7" + ] + }, + "type": { + "enum": [ + "Site24x7ApmInsightExtn" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "site24x7AgentType": { + "enum": [ + "azurevmextnapminsightclassic" + ] + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "site24x7LicenseKey": { + "type": "string" + } + }, + "required": [ + "site24x7LicenseKey" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "trendMicroDSALinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "TrendMicro.DeepSecurity" + ] + }, + "type": { + "enum": [ + "TrendMicroDSALinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "DSMname": { + "type": "string" + }, + "DSMport": { + "type": "string" + }, + "policyNameorID": { + "type": "string" + } + }, + "required": [ + "DSMname", + "DSMport" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "tenantID": { + "type": "string" + }, + "tenantPassword": { + "type": "string" + } + }, + "required": [ + "tenantID", + "tenantPassword" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "trendMicroDSA": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "TrendMicro.DeepSecurity" + ] + }, + "type": { + "enum": [ + "TrendMicroDSA" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "DSMname": { + "type": "string" + }, + "DSMport": { + "type": "string" + }, + "policyNameorID": { + "type": "string" + } + }, + "required": [ + "DSMname", + "DSMport" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "tenantID": { + "type": "string" + }, + "tenantPassword": { + "type": "string" + } + }, + "required": [ + "tenantID", + "tenantPassword" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "bmcCtmAgentLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "ctm.bmc.com" + ] + }, + "type": { + "enum": [ + "BmcCtmAgentLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "Control-M Server Name": { + "type": "string" + }, + "Agent Port": { + "type": "string" + }, + "Host Group": { + "type": "string" + }, + "User Account": { + "type": "string" + } + }, + "required": [ + "Control-M Server Name", + "Agent Port", + "Host Group", + "User Account" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "bmcCtmAgentWindows": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "bmc.ctm" + ] + }, + "type": { + "enum": [ + "AgentWinExt" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "Control-M Server Name": { + "type": "string" + }, + "Agent Port": { + "type": "string" + }, + "Host Group": { + "type": "string" + } + }, + "required": [ + "Control-M Server Name", + "Agent Port", + "Host Group" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "OSPatchingForLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.OSTCExtensions" + ] + }, + "type": { + "enum": [ + "OSPatchingForLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "disabled": { + "type": "boolean" + }, + "stop": { + "type": "boolean" + }, + "installDuration": { + "type": "string" + }, + "intervalOfWeeks": { + "type": "number" + }, + "dayOfWeek": { + "type": "string" + }, + "startTime": { + "type": "string" + }, + "rebootAfterPatch": { + "type": "string" + }, + "category": { + "type": "string" + }, + "oneoff": { + "type": "boolean" + }, + "local": { + "type": "boolean" + }, + "idleTestScript": { + "type": "string" + }, + "healthyTestScript": { + "type": "string" + }, + "distUpgradeList": { + "type": "string" + }, + "distUpgradeAll": { + "type": "boolean" + }, + "vmStatusTest": { + "type": "object" + } + }, + "required": [ + "disabled", + "stop" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + } + } + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "VMSnapshot": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.RecoveryServices" + ] + }, + "type": { + "enum": [ + "VMSnapshot" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "locale": { + "type": "string" + }, + "taskId": { + "type": "string" + }, + "commandToExecute": { + "type": "string" + }, + "objectStr": { + "type": "string" + }, + "logsBlobUri": { + "type": "string" + }, + "statusBlobUri": { + "type": "string" + }, + "commandStartTimeUTCTicks": { + "type": "string" + }, + "vmType": { + "type": "string" + } + }, + "required": [ + "locale", + "taskId", + "commandToExecute", + "objectStr", + "logsBlobUri", + "statusBlobUri", + "commandStartTimeUTCTicks", + "vmType" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "VMSnapshotLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.RecoveryServices" + ] + }, + "type": { + "enum": [ + "VMSnapshotLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "locale": { + "type": "string" + }, + "taskId": { + "type": "string" + }, + "commandToExecute": { + "type": "string" + }, + "objectStr": { + "type": "string" + }, + "logsBlobUri": { + "type": "string" + }, + "statusBlobUri": { + "type": "string" + }, + "commandStartTimeUTCTicks": { + "type": "string" + }, + "vmType": { + "type": "string" + } + }, + "required": [ + "locale", + "taskId", + "commandToExecute", + "objectStr", + "logsBlobUri", + "statusBlobUri", + "commandStartTimeUTCTicks", + "vmType" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "customScript": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.Extensions" + ] + }, + "type": { + "enum": [ + "CustomScript" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "fileUris": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "fileUris" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + }, + "commandToExecute": { + "type": "string" + } + }, + "required": [ + "storageAccountName", + "storageAccountKey", + "commandToExecute" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "networkWatcherAgentWindows": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.NetworkWatcher" + ] + }, + "type": { + "enum": [ + "NetworkWatcherAgentWindows" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion" + ] + }, + "networkWatcherAgentLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.NetworkWatcher" + ] + }, + "type": { + "enum": [ + "NetworkWatcherAgentLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion" + ] + } + } +} \ No newline at end of file diff --git a/schemas/2023-09-01/Microsoft.Compute.json b/schemas/2023-09-01/Microsoft.Compute.json new file mode 100644 index 0000000000..0372e69df7 --- /dev/null +++ b/schemas/2023-09-01/Microsoft.Compute.json @@ -0,0 +1,8102 @@ +{ + "id": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Compute", + "description": "Microsoft Compute Resource Types", + "resourceDefinitions": { + "availabilitySets": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-09-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the availability set." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AvailabilitySetProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The instance view of a resource." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/availabilitySets" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/availabilitySets" + }, + "capacityReservationGroups": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-09-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the capacity reservation group." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CapacityReservationGroupProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "capacity reservation group Properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/capacityReservationGroups_capacityReservations_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/capacityReservationGroups" + ] + }, + "zones": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/capacityReservationGroups" + }, + "capacityReservationGroups_capacityReservations": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-09-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the capacity reservation." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CapacityReservationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the Capacity reservation." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/capacityReservationGroups/capacityReservations" + ] + }, + "zones": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "sku", + "type" + ], + "description": "Microsoft.Compute/capacityReservationGroups/capacityReservations" + }, + "hostGroups": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-09-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the dedicated host group." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DedicatedHostGroupProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Dedicated Host Group Properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/hostGroups_hosts_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/hostGroups" + ] + }, + "zones": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/hostGroups" + }, + "hostGroups_hosts": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-09-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the dedicated host ." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DedicatedHostProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the dedicated host." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/hostGroups/hosts" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "sku", + "type" + ], + "description": "Microsoft.Compute/hostGroups/hosts" + }, + "images": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-09-01" + ] + }, + "extendedLocation": { + "oneOf": [ + { + "$ref": "#/definitions/ExtendedLocation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The complex type of the extended location." + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the image." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ImageProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of an Image." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/images" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/images" + }, + "proximityPlacementGroups": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-09-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the proximity placement group." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ProximityPlacementGroupProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a Proximity Placement Group." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/proximityPlacementGroups" + ] + }, + "zones": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the Availability Zone where virtual machine, virtual machine scale set or availability set associated with the proximity placement group can be created." + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/proximityPlacementGroups" + }, + "restorePointCollections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-09-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the restore point collection." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/RestorePointCollectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The restore point collection properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/restorePointCollections_restorePoints_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/restorePointCollections" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/restorePointCollections" + }, + "restorePointCollections_restorePoints": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-09-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the restore point." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/RestorePointProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The restore point properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/restorePointCollections/restorePoints" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/restorePointCollections/restorePoints" + }, + "sshPublicKeys": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-09-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the SSH public key." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SshPublicKeyResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the SSH public key." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/sshPublicKeys" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/sshPublicKeys" + }, + "virtualMachines": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-09-01" + ] + }, + "extendedLocation": { + "oneOf": [ + { + "$ref": "#/definitions/ExtendedLocation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The complex type of the extended location." + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the virtual machine." + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the virtual machine." + }, + "plan": { + "oneOf": [ + { + "$ref": "#/definitions/Plan" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a Virtual Machine." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/virtualMachines_extensions_childResource" + }, + { + "$ref": "#/definitions/virtualMachines_runCommands_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/virtualMachines" + ] + }, + "zones": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The virtual machine zones." + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachines" + }, + "virtualMachineScaleSets": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-09-01" + ] + }, + "extendedLocation": { + "oneOf": [ + { + "$ref": "#/definitions/ExtendedLocation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The complex type of the extended location." + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the virtual machine scale set." + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the VM scale set to create or update." + }, + "plan": { + "oneOf": [ + { + "$ref": "#/definitions/Plan" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a Virtual Machine Scale Set." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/virtualMachineScaleSets_extensions_childResource" + }, + { + "$ref": "#/definitions/virtualMachineScaleSets_virtualMachines_childResource" + } + ] + } + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/virtualMachineScaleSets" + ] + }, + "zones": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The virtual machine scale set zones. NOTE: Availability zones can only be set when you create the scale set" + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachineScaleSets" + }, + "virtualMachineScaleSets_virtualMachines": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-09-01" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the virtual machine." + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The instance ID of the virtual machine." + }, + "plan": { + "oneOf": [ + { + "$ref": "#/definitions/Plan" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetVMProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a virtual machine scale set virtual machine." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/virtualMachineScaleSets_virtualMachines_extensions_childResource" + }, + { + "$ref": "#/definitions/virtualMachineScaleSets_virtualMachines_runCommands_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/virtualMachineScaleSets/virtualMachines" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines" + }, + "virtualMachineScaleSets_virtualMachines_extensions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-09-01" + ] + }, + "location": { + "type": "string", + "description": "The location of the extension." + }, + "name": { + "type": "string", + "description": "The name of the virtual machine extension." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineExtensionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a Virtual Machine Extension." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions" + }, + "virtualMachineScaleSets_virtualMachines_runCommands": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-09-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the virtual machine run command." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineRunCommandProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a Virtual Machine run command." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/runCommands" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/runCommands" + }, + "virtualMachines_runCommands": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-09-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the virtual machine run command." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineRunCommandProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a Virtual Machine run command." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/virtualMachines/runCommands" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachines/runCommands" + } + }, + "definitions": { + "AdditionalCapabilities": { + "type": "object", + "properties": { + "hibernationEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The flag that enables or disables hibernation capability on the VM." + }, + "ultraSSDEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "description": "Enables or disables a capability on the virtual machine or virtual machine scale set." + }, + "AdditionalUnattendContent": { + "type": "object", + "properties": { + "componentName": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Microsoft-Windows-Shell-Setup" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup." + }, + "content": { + "type": "string", + "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." + }, + "passName": { + "oneOf": [ + { + "type": "string", + "enum": [ + "OobeSystem" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The pass name. Currently, the only allowable value is OobeSystem." + }, + "settingName": { + "oneOf": [ + { + "type": "string", + "enum": [ + "AutoLogon", + "FirstLogonCommands" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon." + } + }, + "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." + }, + "ApiEntityReference": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/..." + } + }, + "description": "The API entity reference." + }, + "ApplicationProfile": { + "type": "object", + "properties": { + "galleryApplications": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VMGalleryApplication" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the gallery applications that should be made available to the VM/VMSS" + } + }, + "description": "Contains the list of gallery applications that should be made available to the VM/VMSS" + }, + "AutomaticOSUpgradePolicy": { + "type": "object", + "properties": { + "disableAutomaticRollback": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether OS image rollback feature should be disabled. Default value is false." + }, + "enableAutomaticOSUpgrade": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "osRollingUpgradeDeferral": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "useRollingUpgradePolicy": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "description": "The configuration parameters used for performing automatic OS upgrade." + }, + "AutomaticRepairsPolicy": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false." + }, + "gracePeriod": { + "type": "string", + "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)." + }, + "repairAction": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Replace", + "Restart", + "Reimage" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "description": "Specifies the configuration parameters for automatic repairs on the virtual machine scale set." + }, + "AvailabilitySetProperties": { + "type": "object", + "properties": { + "platformFaultDomainCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Fault Domain count." + }, + "platformUpdateDomainCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Update Domain count." + }, + "proximityPlacementGroup": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "virtualMachines": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A list of references to all virtual machines in the availability set." + } + }, + "description": "The instance view of a resource." + }, + "BillingProfile": { + "type": "object", + "properties": { + "maxPrice": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "description": "Specifies the billing related details of a Azure Spot VM or VMSS. Minimum api-version: 2019-03-01." + }, + "BootDiagnostics": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether boot diagnostics should be enabled on the Virtual Machine." + }, + "storageUri": { + "type": "string", + "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." + } + }, + "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." + }, + "CapacityReservationGroupProperties": { + "type": "object", + "properties": { + "sharingProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceSharingProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "capacity reservation group Properties." + }, + "capacityReservationGroups_capacityReservations_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-09-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the capacity reservation." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CapacityReservationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the Capacity reservation." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "capacityReservations" + ] + }, + "zones": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "sku", + "type" + ], + "description": "Microsoft.Compute/capacityReservationGroups/capacityReservations" + }, + "CapacityReservationProfile": { + "type": "object", + "properties": { + "capacityReservationGroup": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "The parameters of a capacity reservation Profile." + }, + "CapacityReservationProperties": { + "type": "object", + "properties": {}, + "description": "Properties of the Capacity reservation." + }, + "DataDisk": { + "type": "object", + "properties": { + "caching": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "ReadOnly", + "ReadWrite" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The defaulting behavior is: **None for Standard storage. ReadOnly for Premium storage.**." + }, + "createOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "FromImage", + "Empty", + "Attach" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "deleteOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Delete", + "Detach" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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**." + }, + "detachOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "ForceDetach" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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'." + }, + "diskSizeGB": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "image": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualHardDisk" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the uri of a disk." + }, + "lun": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "managedDisk": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedDiskParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters of a managed disk." + }, + "name": { + "type": "string", + "description": "The disk name." + }, + "toBeDetached": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the data disk is in process of detachment from the VirtualMachine/VirtualMachineScaleset" + }, + "vhd": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualHardDisk" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the uri of a disk." + }, + "writeAcceleratorEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk." + } + }, + "required": [ + "createOption", + "lun" + ], + "description": "Describes a data disk." + }, + "DedicatedHostGroupProperties": { + "type": "object", + "properties": { + "additionalCapabilities": { + "oneOf": [ + { + "$ref": "#/definitions/DedicatedHostGroupPropertiesAdditionalCapabilities" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enables or disables a capability on the dedicated host group. Minimum api-version: 2022-03-01." + }, + "platformFaultDomainCount": { + "oneOf": [ + { + "type": "integer", + "minimum": 1 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Number of fault domains that the host group can span." + }, + "supportAutomaticPlacement": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "required": [ + "platformFaultDomainCount" + ], + "description": "Dedicated Host Group Properties." + }, + "DedicatedHostGroupPropertiesAdditionalCapabilities": { + "type": "object", + "properties": { + "ultraSSDEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "description": "Enables or disables a capability on the dedicated host group. Minimum api-version: 2022-03-01." + }, + "DedicatedHostProperties": { + "type": "object", + "properties": { + "autoReplaceOnFailure": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the dedicated host should be replaced automatically in case of a failure. The value is defaulted to 'true' when not provided." + }, + "licenseType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "Windows_Server_Hybrid", + "Windows_Server_Perpetual" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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.**." + }, + "platformFaultDomain": { + "oneOf": [ + { + "type": "integer", + "minimum": 0 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Fault domain of the dedicated host within a dedicated host group." + } + }, + "description": "Properties of the dedicated host." + }, + "DiagnosticsProfile": { + "type": "object", + "properties": { + "bootDiagnostics": { + "oneOf": [ + { + "$ref": "#/definitions/BootDiagnostics" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "description": "Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15." + }, + "DiffDiskSettings": { + "type": "object", + "properties": { + "option": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Local" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the ephemeral disk settings for operating system disk." + }, + "placement": { + "oneOf": [ + { + "type": "string", + "enum": [ + "CacheDisk", + "ResourceDisk" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "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." + }, + "DiskEncryptionSetParameters": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Resource Id" + } + }, + "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." + }, + "DiskEncryptionSettings": { + "type": "object", + "properties": { + "diskEncryptionKey": { + "oneOf": [ + { + "$ref": "#/definitions/KeyVaultSecretReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a reference to Key Vault Secret" + }, + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether disk encryption should be enabled on the virtual machine." + }, + "keyEncryptionKey": { + "oneOf": [ + { + "$ref": "#/definitions/KeyVaultKeyReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a reference to Key Vault Key" + } + }, + "description": "Describes a Encryption Settings for a Disk" + }, + "DiskRestorePointAttributes": { + "type": "object", + "properties": { + "encryption": { + "oneOf": [ + { + "$ref": "#/definitions/RestorePointEncryption" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "sourceDiskRestorePoint": { + "oneOf": [ + { + "$ref": "#/definitions/ApiEntityReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The API entity reference." + } + }, + "description": "Disk Restore Point details." + }, + "EncryptionIdentity": { + "type": "object", + "properties": { + "userAssignedIdentityResourceId": { + "type": "string", + "description": "Specifies ARM Resource ID of one of the user identities associated with the VM." + } + }, + "description": "Specifies the Managed Identity used by ADE to get access token for keyvault operations." + }, + "ExtendedLocation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the extended location." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "EdgeZone" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of the extended location." + } + }, + "description": "The complex type of the extended location." + }, + "HardwareProfile": { + "type": "object", + "properties": { + "vmSize": { + "oneOf": [ + { + "type": "string", + "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" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "vmSizeProperties": { + "oneOf": [ + { + "$ref": "#/definitions/VMSizeProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies VM Size Property settings on the virtual machine." + } + }, + "description": "Specifies the hardware settings for the virtual machine." + }, + "hostGroups_hosts_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-09-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the dedicated host ." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DedicatedHostProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the dedicated host." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "hosts" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "sku", + "type" + ], + "description": "Microsoft.Compute/hostGroups/hosts" + }, + "ImageDataDisk": { + "type": "object", + "properties": { + "blobUri": { + "type": "string", + "description": "The Virtual Hard Disk." + }, + "caching": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "ReadOnly", + "ReadWrite" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The default values are: **None for Standard storage. ReadOnly for Premium storage.**." + }, + "diskEncryptionSet": { + "oneOf": [ + { + "$ref": "#/definitions/DiskEncryptionSetParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "diskSizeGB": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "lun": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "managedDisk": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "snapshot": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "storageAccountType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "Premium_LRS", + "StandardSSD_LRS", + "UltraSSD_LRS", + "Premium_ZRS", + "StandardSSD_ZRS", + "PremiumV2_LRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "required": [ + "lun" + ], + "description": "Describes a data disk." + }, + "ImageOSDisk": { + "type": "object", + "properties": { + "blobUri": { + "type": "string", + "description": "The Virtual Hard Disk." + }, + "caching": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "ReadOnly", + "ReadWrite" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The default values are: **None for Standard storage. ReadOnly for Premium storage.**." + }, + "diskEncryptionSet": { + "oneOf": [ + { + "$ref": "#/definitions/DiskEncryptionSetParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "diskSizeGB": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "managedDisk": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "osState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Generalized", + "Specialized" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The OS State. For managed images, use Generalized." + }, + "osType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Windows", + "Linux" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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.**." + }, + "snapshot": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "storageAccountType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "Premium_LRS", + "StandardSSD_LRS", + "UltraSSD_LRS", + "Premium_ZRS", + "StandardSSD_ZRS", + "PremiumV2_LRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "required": [ + "osState", + "osType" + ], + "description": "Describes an Operating System disk." + }, + "ImageProperties": { + "type": "object", + "properties": { + "hyperVGeneration": { + "oneOf": [ + { + "type": "string", + "enum": [ + "V1", + "V2" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "sourceVirtualMachine": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "storageProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ImageStorageProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a storage profile." + } + }, + "description": "Describes the properties of an Image." + }, + "ImageReference": { + "type": "object", + "properties": { + "communityGalleryImageId": { + "type": "string", + "description": "Specified the community gallery image unique id for vm deployment. This can be fetched from community gallery image GET call." + }, + "id": { + "type": "string", + "description": "Resource Id" + }, + "offer": { + "type": "string", + "description": "Specifies the offer of the platform image or marketplace image used to create the virtual machine." + }, + "publisher": { + "type": "string", + "description": "The image publisher." + }, + "sharedGalleryImageId": { + "type": "string", + "description": "Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call." + }, + "sku": { + "type": "string", + "description": "The image SKU." + }, + "version": { + "type": "string", + "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." + } + }, + "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." + }, + "ImageStorageProfile": { + "type": "object", + "properties": { + "dataDisks": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ImageDataDisk" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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)." + }, + "osDisk": { + "oneOf": [ + { + "$ref": "#/definitions/ImageOSDisk" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes an Operating System disk." + }, + "zoneResilient": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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)." + } + }, + "description": "Describes a storage profile." + }, + "InstanceViewStatus": { + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "The status code." + }, + "displayStatus": { + "type": "string", + "description": "The short localizable label for the status." + }, + "level": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Info", + "Warning", + "Error" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The level code." + }, + "message": { + "type": "string", + "description": "The detailed status message, including for alerts and error messages." + }, + "time": { + "type": "string", + "format": "date-time", + "description": "The time of the status." + } + }, + "description": "Instance view status." + }, + "KeyVaultKeyReference": { + "type": "object", + "properties": { + "keyUrl": { + "type": "string", + "description": "The URL referencing a key encryption key in Key Vault." + }, + "sourceVault": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "keyUrl", + "sourceVault" + ], + "description": "Describes a reference to Key Vault Key" + }, + "KeyVaultSecretReference": { + "type": "object", + "properties": { + "secretUrl": { + "type": "string", + "description": "The URL referencing a secret in a Key Vault." + }, + "sourceVault": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "secretUrl", + "sourceVault" + ], + "description": "Describes a reference to Key Vault Secret" + }, + "LinuxConfiguration": { + "type": "object", + "properties": { + "disablePasswordAuthentication": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether password authentication should be disabled." + }, + "enableVMAgentPlatformUpdates": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether VMAgent Platform Updates is enabled for the Linux virtual machine. Default value is false." + }, + "patchSettings": { + "oneOf": [ + { + "$ref": "#/definitions/LinuxPatchSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies settings related to VM Guest Patching on Linux." + }, + "provisionVMAgent": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "ssh": { + "oneOf": [ + { + "$ref": "#/definitions/SshConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SSH configuration for Linux based VMs running on Azure" + } + }, + "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)." + }, + "LinuxPatchSettings": { + "type": "object", + "properties": { + "assessmentMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "ImageDefault", + "AutomaticByPlatform" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "automaticByPlatformSettings": { + "oneOf": [ + { + "$ref": "#/definitions/LinuxVMGuestPatchAutomaticByPlatformSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies additional settings to be applied when patch mode AutomaticByPlatform is selected in Linux patch settings." + }, + "patchMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "ImageDefault", + "AutomaticByPlatform" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "description": "Specifies settings related to VM Guest Patching on Linux." + }, + "LinuxVMGuestPatchAutomaticByPlatformSettings": { + "type": "object", + "properties": { + "bypassPlatformSafetyChecksOnUserSchedule": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enables customer to schedule patching without accidental upgrades" + }, + "rebootSetting": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Unknown", + "IfRequired", + "Never", + "Always" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the reboot setting for all AutomaticByPlatform patch installation operations." + } + }, + "description": "Specifies additional settings to be applied when patch mode AutomaticByPlatform is selected in Linux patch settings." + }, + "ManagedDiskParameters": { + "type": "object", + "properties": { + "diskEncryptionSet": { + "oneOf": [ + { + "$ref": "#/definitions/DiskEncryptionSetParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "id": { + "type": "string", + "description": "Resource Id" + }, + "securityProfile": { + "oneOf": [ + { + "$ref": "#/definitions/VMDiskSecurityProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the security profile settings for the managed disk. **Note:** It can only be set for Confidential VMs." + }, + "storageAccountType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "Premium_LRS", + "StandardSSD_LRS", + "UltraSSD_LRS", + "Premium_ZRS", + "StandardSSD_ZRS", + "PremiumV2_LRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "description": "The parameters of a managed disk." + }, + "NetworkInterfaceReference": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Resource Id" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/NetworkInterfaceReferenceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a network interface reference properties." + } + }, + "description": "Describes a network interface reference." + }, + "NetworkInterfaceReferenceProperties": { + "type": "object", + "properties": { + "deleteOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Delete", + "Detach" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specify what happens to the network interface when the VM is deleted." + }, + "primary": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface." + } + }, + "description": "Describes a network interface reference properties." + }, + "NetworkProfile": { + "type": "object", + "properties": { + "networkApiVersion": { + "oneOf": [ + { + "type": "string", + "enum": [ + "2020-11-01" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations." + }, + "networkInterfaceConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineNetworkInterfaceConfiguration" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the networking configurations that will be used to create the virtual machine networking resources." + }, + "networkInterfaces": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkInterfaceReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the list of resource Ids for the network interfaces associated with the virtual machine." + } + }, + "description": "Specifies the network interfaces or the networking configuration of the virtual machine." + }, + "OSDisk": { + "type": "object", + "properties": { + "caching": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "ReadOnly", + "ReadWrite" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The defaulting behavior is: **None for Standard storage. ReadOnly for Premium storage.**." + }, + "createOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "FromImage", + "Empty", + "Attach" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "deleteOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Delete", + "Detach" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "diffDiskSettings": { + "oneOf": [ + { + "$ref": "#/definitions/DiffDiskSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "diskSizeGB": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "encryptionSettings": { + "oneOf": [ + { + "$ref": "#/definitions/DiskEncryptionSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a Encryption Settings for a Disk" + }, + "image": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualHardDisk" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the uri of a disk." + }, + "managedDisk": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedDiskParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters of a managed disk." + }, + "name": { + "type": "string", + "description": "The disk name." + }, + "osType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Windows", + "Linux" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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.**." + }, + "vhd": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualHardDisk" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the uri of a disk." + }, + "writeAcceleratorEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk." + } + }, + "required": [ + "createOption" + ], + "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)." + }, + "OSImageNotificationProfile": { + "type": "object", + "properties": { + "enable": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the OS Image Scheduled event is enabled or disabled." + }, + "notBeforeTimeout": { + "type": "string", + "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)" + } + } + }, + "OSProfile": { + "type": "object", + "properties": { + "adminPassword": { + "type": "string", + "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)" + }, + "adminUsername": { + "type": "string", + "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." + }, + "allowExtensionOperations": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "computerName": { + "type": "string", + "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)." + }, + "customData": { + "type": "string", + "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)." + }, + "linuxConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/LinuxConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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)." + }, + "requireGuestProvisionSignal": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional property which must either be set to True or omitted." + }, + "secrets": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VaultSecretGroup" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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)." + }, + "windowsConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/WindowsConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies Windows operating system settings on the virtual machine." + } + }, + "description": "Specifies the operating system settings for the virtual machine. Some of the settings cannot be changed once VM is provisioned." + }, + "PatchSettings": { + "type": "object", + "properties": { + "assessmentMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "ImageDefault", + "AutomaticByPlatform" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "automaticByPlatformSettings": { + "oneOf": [ + { + "$ref": "#/definitions/WindowsVMGuestPatchAutomaticByPlatformSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies additional settings to be applied when patch mode AutomaticByPlatform is selected in Windows patch settings." + }, + "enableHotpatching": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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'." + }, + "patchMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Manual", + "AutomaticByOS", + "AutomaticByPlatform" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "description": "Specifies settings related to VM Guest Patching on Windows." + }, + "Plan": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The plan ID." + }, + "product": { + "type": "string", + "description": "Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element." + }, + "promotionCode": { + "type": "string", + "description": "The promotion code." + }, + "publisher": { + "type": "string", + "description": "The publisher ID." + } + }, + "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**." + }, + "PriorityMixPolicy": { + "type": "object", + "properties": { + "baseRegularPriorityCount": { + "oneOf": [ + { + "type": "integer", + "minimum": 0 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The base number of regular priority VMs that will be created in this scale set as it scales out." + }, + "regularPriorityPercentageAboveBase": { + "oneOf": [ + { + "type": "integer", + "minimum": 0, + "maximum": 100 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The percentage of VM instances, after the base regular priority count has been reached, that are expected to use regular priority." + } + }, + "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." + }, + "ProximityPlacementGroupProperties": { + "type": "object", + "properties": { + "colocationStatus": { + "oneOf": [ + { + "$ref": "#/definitions/InstanceViewStatus" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Instance view status." + }, + "intent": { + "oneOf": [ + { + "$ref": "#/definitions/ProximityPlacementGroupPropertiesIntent" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the user intent of the proximity placement group." + }, + "proximityPlacementGroupType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard", + "Ultra" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "description": "Describes the properties of a Proximity Placement Group." + }, + "ProximityPlacementGroupPropertiesIntent": { + "type": "object", + "properties": { + "vmSizes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies possible sizes of virtual machines that can be created in the proximity placement group." + } + }, + "description": "Specifies the user intent of the proximity placement group." + }, + "ProxyAgentSettings": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether ProxyAgent feature should be enabled on the virtual machine or virtual machine scale set." + }, + "keyIncarnationId": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Increase the value of this property allows user to reset the key used for securing communication channel between guest and host." + }, + "mode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Audit", + "Enforce" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "description": "Specifies ProxyAgent settings while creating the virtual machine. Minimum api-version: 2023-09-01." + }, + "PublicIPAddressSku": { + "type": "object", + "properties": { + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Basic", + "Standard" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specify public IP sku name." + }, + "tier": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Regional", + "Global" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specify public IP sku tier." + } + }, + "description": "Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible." + }, + "ResiliencyPolicy": { + "type": "object", + "properties": { + "resilientVMCreationPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/ResilientVMCreationPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration parameters used while performing resilient VM creation." + }, + "resilientVMDeletionPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/ResilientVMDeletionPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration parameters used while performing resilient VM deletion." + } + }, + "description": "Describes an resiliency policy - resilientVMCreationPolicy and/or resilientVMDeletionPolicy." + }, + "ResilientVMCreationPolicy": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether resilient VM creation should be enabled on the virtual machine scale set. The default value is false." + } + }, + "description": "The configuration parameters used while performing resilient VM creation." + }, + "ResilientVMDeletionPolicy": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether resilient VM deletion should be enabled on the virtual machine scale set. The default value is false." + } + }, + "description": "The configuration parameters used while performing resilient VM deletion." + }, + "ResourceSharingProfile": { + "type": "object", + "properties": { + "subscriptionIds": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + } + }, + "RestorePointCollectionProperties": { + "type": "object", + "properties": { + "source": { + "oneOf": [ + { + "$ref": "#/definitions/RestorePointCollectionSourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the source resource that this restore point collection is created from." + } + }, + "description": "The restore point collection properties." + }, + "RestorePointCollectionSourceProperties": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Resource Id of the source resource used to create this restore point collection" + } + }, + "description": "The properties of the source resource that this restore point collection is created from." + }, + "restorePointCollections_restorePoints_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-09-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the restore point." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/RestorePointProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The restore point properties." + }, + "type": { + "type": "string", + "enum": [ + "restorePoints" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/restorePointCollections/restorePoints" + }, + "RestorePointEncryption": { + "type": "object", + "properties": { + "diskEncryptionSet": { + "oneOf": [ + { + "$ref": "#/definitions/DiskEncryptionSetParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "EncryptionAtRestWithPlatformKey", + "EncryptionAtRestWithCustomerKey", + "EncryptionAtRestWithPlatformAndCustomerKeys" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "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." + }, + "RestorePointProperties": { + "type": "object", + "properties": { + "consistencyMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "CrashConsistent", + "FileSystemConsistent", + "ApplicationConsistent" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "excludeDisks": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ApiEntityReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "sourceMetadata": { + "oneOf": [ + { + "$ref": "#/definitions/RestorePointSourceMetadata" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "sourceRestorePoint": { + "oneOf": [ + { + "$ref": "#/definitions/ApiEntityReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The API entity reference." + }, + "timeCreated": { + "type": "string", + "format": "date-time", + "description": "Gets the creation time of the restore point." + } + }, + "description": "The restore point properties." + }, + "RestorePointSourceMetadata": { + "type": "object", + "properties": { + "storageProfile": { + "oneOf": [ + { + "$ref": "#/definitions/RestorePointSourceVMStorageProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the storage profile." + } + }, + "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." + }, + "RestorePointSourceVMDataDisk": { + "type": "object", + "properties": { + "diskRestorePoint": { + "oneOf": [ + { + "$ref": "#/definitions/DiskRestorePointAttributes" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Disk Restore Point details." + }, + "managedDisk": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedDiskParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters of a managed disk." + } + }, + "description": "Describes a data disk." + }, + "RestorePointSourceVMOSDisk": { + "type": "object", + "properties": { + "diskRestorePoint": { + "oneOf": [ + { + "$ref": "#/definitions/DiskRestorePointAttributes" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Disk Restore Point details." + }, + "managedDisk": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedDiskParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters of a managed disk." + } + }, + "description": "Describes an Operating System disk." + }, + "RestorePointSourceVMStorageProfile": { + "type": "object", + "properties": { + "dataDisks": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/RestorePointSourceVMDataDisk" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets the data disks of the VM captured at the time of the restore point creation." + }, + "osDisk": { + "oneOf": [ + { + "$ref": "#/definitions/RestorePointSourceVMOSDisk" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes an Operating System disk." + } + }, + "description": "Describes the storage profile." + }, + "RollingUpgradePolicy": { + "type": "object", + "properties": { + "enableCrossZoneUpgrade": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size." + }, + "maxBatchInstancePercent": { + "oneOf": [ + { + "type": "integer", + "minimum": 5, + "maximum": 100 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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%." + }, + "maxSurge": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "maxUnhealthyInstancePercent": { + "oneOf": [ + { + "type": "integer", + "minimum": 5, + "maximum": 100 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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%." + }, + "maxUnhealthyUpgradedInstancePercent": { + "oneOf": [ + { + "type": "integer", + "minimum": 0, + "maximum": 100 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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%." + }, + "pauseTimeBetweenBatches": { + "type": "string", + "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)." + }, + "prioritizeUnhealthyInstances": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Upgrade all unhealthy instances in a scale set before any healthy instances." + }, + "rollbackFailedInstancesOnPolicyBreach": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Rollback failed instances to previous model if the Rolling Upgrade policy is violated." + } + }, + "description": "The configuration parameters used while performing a rolling upgrade." + }, + "RunCommandInputParameter": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The run command parameter name." + }, + "value": { + "type": "string", + "description": "The run command parameter value." + } + }, + "required": [ + "name", + "value" + ], + "description": "Describes the properties of a run command parameter." + }, + "RunCommandManagedIdentity": { + "type": "object", + "properties": { + "clientId": { + "type": "string", + "description": "Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided." + }, + "objectId": { + "type": "string", + "description": "Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided." + } + }, + "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." + }, + "ScaleInPolicy": { + "type": "object", + "properties": { + "forceDeletion": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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)" + }, + "rules": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "Default", + "OldestVM", + "NewestVM" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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.

" + } + }, + "description": "Describes a scale-in policy for a virtual machine scale set." + }, + "ScheduledEventsProfile": { + "type": "object", + "properties": { + "osImageNotificationProfile": { + "oneOf": [ + { + "$ref": "#/definitions/OSImageNotificationProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "terminateNotificationProfile": { + "oneOf": [ + { + "$ref": "#/definitions/TerminateNotificationProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + } + }, + "SecurityPostureReference": { + "type": "object", + "properties": { + "excludeExtensions": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineExtension" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of virtual machine extensions to exclude when applying the Security Posture." + }, + "id": { + "type": "string", + "description": "The security posture reference id in the form of /CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest" + } + }, + "description": "Specifies the security posture to be used for all virtual machines in the scale set. Minimum api-version: 2023-03-01" + }, + "SecurityProfile": { + "type": "object", + "properties": { + "encryptionAtHost": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "encryptionIdentity": { + "oneOf": [ + { + "$ref": "#/definitions/EncryptionIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the Managed Identity used by ADE to get access token for keyvault operations." + }, + "proxyAgentSettings": { + "oneOf": [ + { + "$ref": "#/definitions/ProxyAgentSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies ProxyAgent settings while creating the virtual machine. Minimum api-version: 2023-09-01." + }, + "securityType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "TrustedLaunch", + "ConfidentialVM" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "uefiSettings": { + "oneOf": [ + { + "$ref": "#/definitions/UefiSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum api-version: 2020-12-01." + } + }, + "description": "Specifies the Security profile settings for the virtual machine or virtual machine scale set." + }, + "ServiceArtifactReference": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}" + } + }, + "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" + }, + "Sku": { + "type": "object", + "properties": { + "capacity": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the number of virtual machines in the scale set." + }, + "name": { + "type": "string", + "description": "The sku name." + }, + "tier": { + "type": "string", + "description": "Specifies the tier of virtual machines in a scale set.

Possible Values:

**Standard**

**Basic**" + } + }, + "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." + }, + "SpotRestorePolicy": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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" + }, + "restoreTimeout": { + "type": "string", + "description": "Timeout value expressed as an ISO 8601 time duration after which the platform will not try to restore the VMSS SPOT instances" + } + }, + "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." + }, + "SshConfiguration": { + "type": "object", + "properties": { + "publicKeys": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SshPublicKey" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of SSH public keys used to authenticate with linux based VMs." + } + }, + "description": "SSH configuration for Linux based VMs running on Azure" + }, + "SshPublicKey": { + "type": "object", + "properties": { + "keyData": { + "type": "string", + "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)." + }, + "path": { + "type": "string", + "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" + } + }, + "description": "Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed." + }, + "SshPublicKeyResourceProperties": { + "type": "object", + "properties": { + "publicKey": { + "type": "string", + "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." + } + }, + "description": "Properties of the SSH public key." + }, + "StorageProfile": { + "type": "object", + "properties": { + "dataDisks": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/DataDisk" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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)." + }, + "diskControllerType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SCSI", + "NVMe" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "imageReference": { + "oneOf": [ + { + "$ref": "#/definitions/ImageReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "osDisk": { + "oneOf": [ + { + "$ref": "#/definitions/OSDisk" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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)." + } + }, + "description": "Specifies the storage settings for the virtual machine disks." + }, + "SubResource": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Resource Id" + } + } + }, + "TerminateNotificationProfile": { + "type": "object", + "properties": { + "enable": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the Terminate Scheduled event is enabled or disabled." + }, + "notBeforeTimeout": { + "type": "string", + "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)" + } + } + }, + "UefiSettings": { + "type": "object", + "properties": { + "secureBootEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether secure boot should be enabled on the virtual machine. Minimum api-version: 2020-12-01." + }, + "vTpmEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether vTPM should be enabled on the virtual machine. Minimum api-version: 2020-12-01." + } + }, + "description": "Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum api-version: 2020-12-01." + }, + "UpgradePolicy": { + "type": "object", + "properties": { + "automaticOSUpgradePolicy": { + "oneOf": [ + { + "$ref": "#/definitions/AutomaticOSUpgradePolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration parameters used for performing automatic OS upgrade." + }, + "mode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Automatic", + "Manual", + "Rolling" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "rollingUpgradePolicy": { + "oneOf": [ + { + "$ref": "#/definitions/RollingUpgradePolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration parameters used while performing a rolling upgrade." + } + }, + "description": "Describes an upgrade policy - automatic, manual, or rolling." + }, + "UserAssignedIdentitiesValue": { + "type": "object", + "properties": {} + }, + "VaultCertificate": { + "type": "object", + "properties": { + "certificateStore": { + "type": "string", + "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." + }, + "certificateUrl": { + "type": "string", + "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)." + } + }, + "description": "Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM." + }, + "VaultSecretGroup": { + "type": "object", + "properties": { + "sourceVault": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "vaultCertificates": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VaultCertificate" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of key vault references in SourceVault which contain certificates." + } + }, + "description": "Describes a set of certificates which are all in the same Key Vault." + }, + "VirtualHardDisk": { + "type": "object", + "properties": { + "uri": { + "type": "string", + "description": "Specifies the virtual hard disk's uri." + } + }, + "description": "Describes the uri of a disk." + }, + "VirtualMachineExtension": { + "type": "object", + "properties": { + "location": { + "type": "string", + "description": "Resource location" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineExtensionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a Virtual Machine Extension." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + } + }, + "description": "Describes a Virtual Machine Extension." + }, + "VirtualMachineExtensionInstanceView": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The virtual machine extension name." + }, + "statuses": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/InstanceViewStatus" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource status information." + }, + "substatuses": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/InstanceViewStatus" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource status information." + }, + "type": { + "type": "string", + "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." + }, + "typeHandlerVersion": { + "type": "string", + "description": "Specifies the version of the script handler." + } + }, + "description": "The instance view of a virtual machine extension." + }, + "VirtualMachineExtensionProperties": { + "type": "object", + "properties": { + "autoUpgradeMinorVersion": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "enableAutomaticUpgrade": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available." + }, + "forceUpdateTag": { + "type": "string", + "description": "How the extension handler should be forced to update even if the extension configuration has not changed." + }, + "instanceView": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineExtensionInstanceView" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The instance view of a virtual machine extension." + }, + "protectedSettings": { + "type": "object", + "properties": {}, + "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all." + }, + "protectedSettingsFromKeyVault": { + "oneOf": [ + { + "$ref": "#/definitions/KeyVaultSecretReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a reference to Key Vault Secret" + }, + "provisionAfterExtensions": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Collection of extension names after which this extension needs to be provisioned." + }, + "publisher": { + "type": "string", + "description": "The name of the extension handler publisher." + }, + "settings": { + "type": "object", + "properties": {}, + "description": "Json formatted public settings for the extension." + }, + "suppressFailures": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "type": { + "type": "string", + "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." + }, + "typeHandlerVersion": { + "type": "string", + "description": "Specifies the version of the script handler." + } + }, + "description": "Describes the properties of a Virtual Machine Extension." + }, + "VirtualMachineIdentity": { + "type": "object", + "properties": { + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned", + "None" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserAssignedIdentitiesValue" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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}'." + } + }, + "description": "Identity for the virtual machine." + }, + "VirtualMachineIpTag": { + "type": "object", + "properties": { + "ipTagType": { + "type": "string", + "description": "IP tag type. Example: FirstPartyUsage." + }, + "tag": { + "type": "string", + "description": "IP tag associated with the public IP. Example: SQL, Storage etc." + } + }, + "description": "Contains the IP tag associated with the public IP address." + }, + "VirtualMachineNetworkInterfaceConfiguration": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The network interface configuration name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineNetworkInterfaceConfigurationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine network profile's IP configuration." + } + }, + "required": [ + "name" + ], + "description": "Describes a virtual machine network interface configurations." + }, + "VirtualMachineNetworkInterfaceConfigurationProperties": { + "type": "object", + "properties": { + "auxiliaryMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "AcceleratedConnections", + "Floating" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the Auxiliary mode is enabled for the Network Interface resource." + }, + "auxiliarySku": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "A1", + "A2", + "A4", + "A8" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the Auxiliary sku is enabled for the Network Interface resource." + }, + "deleteOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Delete", + "Detach" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specify what happens to the network interface when the VM is deleted." + }, + "disableTcpStateTracking": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the network interface is disabled for tcp state tracking." + }, + "dnsSettings": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineNetworkInterfaceDnsSettingsConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machines network configuration's DNS settings." + }, + "dscpConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "enableAcceleratedNetworking": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the network interface is accelerated networking-enabled." + }, + "enableFpga": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the network interface is FPGA networking-enabled." + }, + "enableIPForwarding": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether IP forwarding enabled on this NIC." + }, + "ipConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineNetworkInterfaceIPConfiguration" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the IP configurations of the network interface." + }, + "networkSecurityGroup": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "primary": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface." + } + }, + "required": [ + "ipConfigurations" + ], + "description": "Describes a virtual machine network profile's IP configuration." + }, + "VirtualMachineNetworkInterfaceDnsSettingsConfiguration": { + "type": "object", + "properties": { + "dnsServers": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of DNS servers IP addresses" + } + }, + "description": "Describes a virtual machines network configuration's DNS settings." + }, + "VirtualMachineNetworkInterfaceIPConfiguration": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The IP configuration name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineNetworkInterfaceIPConfigurationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine network interface IP configuration properties." + } + }, + "required": [ + "name" + ], + "description": "Describes a virtual machine network profile's IP configuration." + }, + "VirtualMachineNetworkInterfaceIPConfigurationProperties": { + "type": "object", + "properties": { + "applicationGatewayBackendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "applicationSecurityGroups": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies an array of references to application security group." + }, + "loadBalancerBackendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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]." + }, + "primary": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface." + }, + "privateIPAddressVersion": { + "oneOf": [ + { + "type": "string", + "enum": [ + "IPv4", + "IPv6" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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'." + }, + "publicIPAddressConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachinePublicIPAddressConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration" + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Describes a virtual machine network interface IP configuration properties." + }, + "VirtualMachineProperties": { + "type": "object", + "properties": { + "additionalCapabilities": { + "oneOf": [ + { + "$ref": "#/definitions/AdditionalCapabilities" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enables or disables a capability on the virtual machine or virtual machine scale set." + }, + "applicationProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ApplicationProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Contains the list of gallery applications that should be made available to the VM/VMSS" + }, + "availabilitySet": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "billingProfile": { + "oneOf": [ + { + "$ref": "#/definitions/BillingProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the billing related details of a Azure Spot VM or VMSS. Minimum api-version: 2019-03-01." + }, + "capacityReservation": { + "oneOf": [ + { + "$ref": "#/definitions/CapacityReservationProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters of a capacity reservation Profile." + }, + "diagnosticsProfile": { + "oneOf": [ + { + "$ref": "#/definitions/DiagnosticsProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15." + }, + "evictionPolicy": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Deallocate", + "Delete" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "extensionsTimeBudget": { + "type": "string", + "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." + }, + "hardwareProfile": { + "oneOf": [ + { + "$ref": "#/definitions/HardwareProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the hardware settings for the virtual machine." + }, + "host": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "hostGroup": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "licenseType": { + "type": "string", + "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" + }, + "networkProfile": { + "oneOf": [ + { + "$ref": "#/definitions/NetworkProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the network interfaces or the networking configuration of the virtual machine." + }, + "osProfile": { + "oneOf": [ + { + "$ref": "#/definitions/OSProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the operating system settings for the virtual machine. Some of the settings cannot be changed once VM is provisioned." + }, + "platformFaultDomain": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "priority": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Regular", + "Low", + "Spot" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the priority for the virtual machine. Minimum api-version: 2019-03-01." + }, + "proximityPlacementGroup": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "scheduledEventsProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ScheduledEventsProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "securityProfile": { + "oneOf": [ + { + "$ref": "#/definitions/SecurityProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the Security profile settings for the virtual machine or virtual machine scale set." + }, + "storageProfile": { + "oneOf": [ + { + "$ref": "#/definitions/StorageProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the storage settings for the virtual machine disks." + }, + "userData": { + "type": "string", + "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." + }, + "virtualMachineScaleSet": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Describes the properties of a Virtual Machine." + }, + "VirtualMachinePublicIPAddressConfiguration": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The publicIP address configuration name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachinePublicIPAddressConfigurationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration" + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/PublicIPAddressSku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible." + } + }, + "required": [ + "name" + ], + "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration" + }, + "VirtualMachinePublicIPAddressConfigurationProperties": { + "type": "object", + "properties": { + "deleteOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Delete", + "Detach" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specify what happens to the public IP address when the VM is deleted." + }, + "dnsSettings": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachinePublicIPAddressDnsSettingsConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machines network configuration's DNS settings." + }, + "idleTimeoutInMinutes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The idle timeout of the public IP address." + }, + "ipTags": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineIpTag" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of IP tags associated with the public IP address." + }, + "publicIPAddressVersion": { + "oneOf": [ + { + "type": "string", + "enum": [ + "IPv4", + "IPv6" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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'." + }, + "publicIPAllocationMethod": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Dynamic", + "Static" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specify the public IP allocation type." + }, + "publicIPPrefix": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration" + }, + "VirtualMachinePublicIPAddressDnsSettingsConfiguration": { + "type": "object", + "properties": { + "domainNameLabel": { + "type": "string", + "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." + }, + "domainNameLabelScope": { + "oneOf": [ + { + "type": "string", + "enum": [ + "TenantReuse", + "SubscriptionReuse", + "ResourceGroupReuse", + "NoReuse" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "required": [ + "domainNameLabel" + ], + "description": "Describes a virtual machines network configuration's DNS settings." + }, + "VirtualMachineRunCommandProperties": { + "type": "object", + "properties": { + "asyncExecution": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional. If set to true, provisioning will complete as soon as the script starts and will not wait for script to complete." + }, + "errorBlobManagedIdentity": { + "oneOf": [ + { + "$ref": "#/definitions/RunCommandManagedIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "errorBlobUri": { + "type": "string", + "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." + }, + "outputBlobManagedIdentity": { + "oneOf": [ + { + "$ref": "#/definitions/RunCommandManagedIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "outputBlobUri": { + "type": "string", + "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. " + }, + "parameters": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/RunCommandInputParameter" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters used by the script." + }, + "protectedParameters": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/RunCommandInputParameter" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters used by the script." + }, + "runAsPassword": { + "type": "string", + "description": "Specifies the user account password on the VM when executing the run command." + }, + "runAsUser": { + "type": "string", + "description": "Specifies the user account on the VM when executing the run command." + }, + "source": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineRunCommandScriptSource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the script sources for run command. Use only one of script, scriptUri, commandId." + }, + "timeoutInSeconds": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The timeout in seconds to execute the run command." + }, + "treatFailureAsDeploymentFailure": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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 " + } + }, + "description": "Describes the properties of a Virtual Machine run command." + }, + "VirtualMachineRunCommandScriptSource": { + "type": "object", + "properties": { + "commandId": { + "type": "string", + "description": "Specifies a commandId of predefined built-in script." + }, + "script": { + "type": "string", + "description": "Specifies the script content to be executed on the VM." + }, + "scriptUri": { + "type": "string", + "description": "Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI." + }, + "scriptUriManagedIdentity": { + "oneOf": [ + { + "$ref": "#/definitions/RunCommandManagedIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "description": "Describes the script sources for run command. Use only one of script, scriptUri, commandId." + }, + "VirtualMachineScaleSetDataDisk": { + "type": "object", + "properties": { + "caching": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "ReadOnly", + "ReadWrite" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The default values are: **None for Standard storage. ReadOnly for Premium storage.**." + }, + "createOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "FromImage", + "Empty", + "Attach" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The create option." + }, + "deleteOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Delete", + "Detach" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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**." + }, + "diskIOPSReadWrite": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "diskMBpsReadWrite": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "diskSizeGB": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "lun": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "managedDisk": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the parameters of a ScaleSet managed disk." + }, + "name": { + "type": "string", + "description": "The disk name." + }, + "writeAcceleratorEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk." + } + }, + "required": [ + "createOption", + "lun" + ], + "description": "Describes a virtual machine scale set data disk." + }, + "VirtualMachineScaleSetExtension": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the extension." + }, + "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" + } + ] + } + }, + "description": "Describes a Virtual Machine Scale Set Extension." + }, + "VirtualMachineScaleSetExtensionProfile": { + "type": "object", + "properties": { + "extensions": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineScaleSetExtension" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The virtual machine scale set child extension resources." + }, + "extensionsTimeBudget": { + "type": "string", + "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." + } + }, + "description": "Describes a virtual machine scale set extension profile." + }, + "VirtualMachineScaleSetExtensionProperties": { + "type": "object", + "properties": { + "autoUpgradeMinorVersion": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "enableAutomaticUpgrade": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available." + }, + "forceUpdateTag": { + "type": "string", + "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." + }, + "protectedSettings": { + "type": "object", + "properties": {}, + "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all." + }, + "protectedSettingsFromKeyVault": { + "oneOf": [ + { + "$ref": "#/definitions/KeyVaultSecretReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a reference to Key Vault Secret" + }, + "provisionAfterExtensions": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Collection of extension names after which this extension needs to be provisioned." + }, + "publisher": { + "type": "string", + "description": "The name of the extension handler publisher." + }, + "settings": { + "type": "object", + "properties": {}, + "description": "Json formatted public settings for the extension." + }, + "suppressFailures": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "type": { + "type": "string", + "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." + }, + "typeHandlerVersion": { + "type": "string", + "description": "Specifies the version of the script handler." + } + }, + "description": "Describes the properties of a Virtual Machine Scale Set Extension." + }, + "VirtualMachineScaleSetHardwareProfile": { + "type": "object", + "properties": { + "vmSizeProperties": { + "oneOf": [ + { + "$ref": "#/definitions/VMSizeProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies VM Size Property settings on the virtual machine." + } + }, + "description": "Specifies the hardware settings for the virtual machine scale set." + }, + "VirtualMachineScaleSetIdentity": { + "type": "object", + "properties": { + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned", + "None" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserAssignedIdentitiesValue" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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}'." + } + }, + "description": "Identity for the virtual machine scale set." + }, + "VirtualMachineScaleSetIPConfiguration": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The IP configuration name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetIPConfigurationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine scale set network profile's IP configuration properties." + } + }, + "required": [ + "name" + ], + "description": "Describes a virtual machine scale set network profile's IP configuration." + }, + "VirtualMachineScaleSetIPConfigurationProperties": { + "type": "object", + "properties": { + "applicationGatewayBackendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "applicationSecurityGroups": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies an array of references to application security group." + }, + "loadBalancerBackendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "loadBalancerInboundNatPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "primary": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface." + }, + "privateIPAddressVersion": { + "oneOf": [ + { + "type": "string", + "enum": [ + "IPv4", + "IPv6" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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'." + }, + "publicIPAddressConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration" + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/ApiEntityReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The API entity reference." + } + }, + "description": "Describes a virtual machine scale set network profile's IP configuration properties." + }, + "VirtualMachineScaleSetIpTag": { + "type": "object", + "properties": { + "ipTagType": { + "type": "string", + "description": "IP tag type. Example: FirstPartyUsage." + }, + "tag": { + "type": "string", + "description": "IP tag associated with the public IP. Example: SQL, Storage etc." + } + }, + "description": "Contains the IP tag associated with the public IP address." + }, + "VirtualMachineScaleSetManagedDiskParameters": { + "type": "object", + "properties": { + "diskEncryptionSet": { + "oneOf": [ + { + "$ref": "#/definitions/DiskEncryptionSetParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "securityProfile": { + "oneOf": [ + { + "$ref": "#/definitions/VMDiskSecurityProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the security profile settings for the managed disk. **Note:** It can only be set for Confidential VMs." + }, + "storageAccountType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "Premium_LRS", + "StandardSSD_LRS", + "UltraSSD_LRS", + "Premium_ZRS", + "StandardSSD_ZRS", + "PremiumV2_LRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "description": "Describes the parameters of a ScaleSet managed disk." + }, + "VirtualMachineScaleSetNetworkConfiguration": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The network configuration name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine scale set network profile's IP configuration." + } + }, + "required": [ + "name" + ], + "description": "Describes a virtual machine scale set network profile's network configurations." + }, + "VirtualMachineScaleSetNetworkConfigurationDnsSettings": { + "type": "object", + "properties": { + "dnsServers": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of DNS servers IP addresses" + } + }, + "description": "Describes a virtual machines scale sets network configuration's DNS settings." + }, + "VirtualMachineScaleSetNetworkConfigurationProperties": { + "type": "object", + "properties": { + "auxiliaryMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "AcceleratedConnections", + "Floating" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the Auxiliary mode is enabled for the Network Interface resource." + }, + "auxiliarySku": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "A1", + "A2", + "A4", + "A8" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the Auxiliary sku is enabled for the Network Interface resource." + }, + "deleteOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Delete", + "Detach" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specify what happens to the network interface when the VM is deleted." + }, + "disableTcpStateTracking": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the network interface is disabled for tcp state tracking." + }, + "dnsSettings": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationDnsSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machines scale sets network configuration's DNS settings." + }, + "enableAcceleratedNetworking": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the network interface is accelerated networking-enabled." + }, + "enableFpga": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the network interface is FPGA networking-enabled." + }, + "enableIPForwarding": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether IP forwarding enabled on this NIC." + }, + "ipConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineScaleSetIPConfiguration" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the IP configurations of the network interface." + }, + "networkSecurityGroup": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "primary": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface." + } + }, + "required": [ + "ipConfigurations" + ], + "description": "Describes a virtual machine scale set network profile's IP configuration." + }, + "VirtualMachineScaleSetNetworkProfile": { + "type": "object", + "properties": { + "healthProbe": { + "oneOf": [ + { + "$ref": "#/definitions/ApiEntityReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The API entity reference." + }, + "networkApiVersion": { + "oneOf": [ + { + "type": "string", + "enum": [ + "2020-11-01" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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'." + }, + "networkInterfaceConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfiguration" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of network configurations." + } + }, + "description": "Describes a virtual machine scale set network profile." + }, + "VirtualMachineScaleSetOSDisk": { + "type": "object", + "properties": { + "caching": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "ReadOnly", + "ReadWrite" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The default values are: **None for Standard storage. ReadOnly for Premium storage.**." + }, + "createOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "FromImage", + "Empty", + "Attach" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "deleteOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Delete", + "Detach" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "diffDiskSettings": { + "oneOf": [ + { + "$ref": "#/definitions/DiffDiskSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "diskSizeGB": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "image": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualHardDisk" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the uri of a disk." + }, + "managedDisk": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the parameters of a ScaleSet managed disk." + }, + "name": { + "type": "string", + "description": "The disk name." + }, + "osType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Windows", + "Linux" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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.**." + }, + "vhdContainers": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the container urls that are used to store operating system disks for the scale set." + }, + "writeAcceleratorEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk." + } + }, + "required": [ + "createOption" + ], + "description": "Describes a virtual machine scale set operating system disk." + }, + "VirtualMachineScaleSetOSProfile": { + "type": "object", + "properties": { + "adminPassword": { + "type": "string", + "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)" + }, + "adminUsername": { + "type": "string", + "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" + }, + "allowExtensionOperations": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "computerNamePrefix": { + "type": "string", + "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." + }, + "customData": { + "type": "string", + "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)" + }, + "linuxConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/LinuxConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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)." + }, + "requireGuestProvisionSignal": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional property which must either be set to True or omitted." + }, + "secrets": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VaultSecretGroup" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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)." + }, + "windowsConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/WindowsConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies Windows operating system settings on the virtual machine." + } + }, + "description": "Describes a virtual machine scale set OS profile." + }, + "VirtualMachineScaleSetProperties": { + "type": "object", + "properties": { + "additionalCapabilities": { + "oneOf": [ + { + "$ref": "#/definitions/AdditionalCapabilities" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enables or disables a capability on the virtual machine or virtual machine scale set." + }, + "automaticRepairsPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/AutomaticRepairsPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the configuration parameters for automatic repairs on the virtual machine scale set." + }, + "constrainedMaximumCapacity": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional property which must either be set to True or omitted." + }, + "doNotRunExtensionsOnOverprovisionedVMs": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "hostGroup": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "orchestrationMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Uniform", + "Flexible" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the orchestration mode for the virtual machine scale set." + }, + "overprovision": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the Virtual Machine Scale Set should be overprovisioned." + }, + "platformFaultDomainCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Fault Domain count for each placement group." + }, + "priorityMixPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/PriorityMixPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "proximityPlacementGroup": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "resiliencyPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/ResiliencyPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes an resiliency policy - resilientVMCreationPolicy and/or resilientVMDeletionPolicy." + }, + "scaleInPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/ScaleInPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a scale-in policy for a virtual machine scale set." + }, + "singlePlacementGroup": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "spotRestorePolicy": { + "oneOf": [ + { + "$ref": "#/definitions/SpotRestorePolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "upgradePolicy": { + "oneOf": [ + { + "$ref": "#/definitions/UpgradePolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes an upgrade policy - automatic, manual, or rolling." + }, + "virtualMachineProfile": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetVMProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine scale set virtual machine profile." + }, + "zoneBalance": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "description": "Describes the properties of a Virtual Machine Scale Set." + }, + "VirtualMachineScaleSetPublicIPAddressConfiguration": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The publicIP address configuration name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration" + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/PublicIPAddressSku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible." + } + }, + "required": [ + "name" + ], + "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration" + }, + "VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings": { + "type": "object", + "properties": { + "domainNameLabel": { + "type": "string", + "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" + }, + "domainNameLabelScope": { + "oneOf": [ + { + "type": "string", + "enum": [ + "TenantReuse", + "SubscriptionReuse", + "ResourceGroupReuse", + "NoReuse" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "required": [ + "domainNameLabel" + ], + "description": "Describes a virtual machines scale sets network configuration's DNS settings." + }, + "VirtualMachineScaleSetPublicIPAddressConfigurationProperties": { + "type": "object", + "properties": { + "deleteOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Delete", + "Detach" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specify what happens to the public IP when the VM is deleted." + }, + "dnsSettings": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machines scale sets network configuration's DNS settings." + }, + "idleTimeoutInMinutes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The idle timeout of the public IP address." + }, + "ipTags": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineScaleSetIpTag" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of IP tags associated with the public IP address." + }, + "publicIPAddressVersion": { + "oneOf": [ + { + "type": "string", + "enum": [ + "IPv4", + "IPv6" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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'." + }, + "publicIPPrefix": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration" + }, + "VirtualMachineScaleSetStorageProfile": { + "type": "object", + "properties": { + "dataDisks": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineScaleSetDataDisk" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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)." + }, + "diskControllerType": { + "type": "string" + }, + "imageReference": { + "oneOf": [ + { + "$ref": "#/definitions/ImageReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "osDisk": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetOSDisk" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine scale set operating system disk." + } + }, + "description": "Describes a virtual machine scale set storage profile." + }, + "virtualMachineScaleSets_extensions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-09-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the VM scale set extension." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetExtensionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a Virtual Machine Scale Set Extension." + }, + "type": { + "type": "string", + "enum": [ + "extensions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachineScaleSets/extensions" + }, + "virtualMachineScaleSets_virtualMachines_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-09-01" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the virtual machine." + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The instance ID of the virtual machine." + }, + "plan": { + "oneOf": [ + { + "$ref": "#/definitions/Plan" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetVMProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a virtual machine scale set virtual machine." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "virtualMachines" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines" + }, + "virtualMachineScaleSets_virtualMachines_extensions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-09-01" + ] + }, + "location": { + "type": "string", + "description": "The location of the extension." + }, + "name": { + "type": "string", + "description": "The name of the virtual machine extension." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineExtensionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a Virtual Machine Extension." + }, + "type": { + "type": "string", + "enum": [ + "extensions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions" + }, + "virtualMachineScaleSets_virtualMachines_runCommands_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-09-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the virtual machine run command." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineRunCommandProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a Virtual Machine run command." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "runCommands" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/runCommands" + }, + "VirtualMachineScaleSetVMNetworkProfileConfiguration": { + "type": "object", + "properties": { + "networkInterfaceConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfiguration" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of network configurations." + } + }, + "description": "Describes a virtual machine scale set VM network profile." + }, + "VirtualMachineScaleSetVMProfile": { + "type": "object", + "properties": { + "applicationProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ApplicationProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Contains the list of gallery applications that should be made available to the VM/VMSS" + }, + "billingProfile": { + "oneOf": [ + { + "$ref": "#/definitions/BillingProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the billing related details of a Azure Spot VM or VMSS. Minimum api-version: 2019-03-01." + }, + "capacityReservation": { + "oneOf": [ + { + "$ref": "#/definitions/CapacityReservationProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters of a capacity reservation Profile." + }, + "diagnosticsProfile": { + "oneOf": [ + { + "$ref": "#/definitions/DiagnosticsProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15." + }, + "evictionPolicy": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Deallocate", + "Delete" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "extensionProfile": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetExtensionProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine scale set extension profile." + }, + "hardwareProfile": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetHardwareProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the hardware settings for the virtual machine scale set." + }, + "licenseType": { + "type": "string", + "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" + }, + "networkProfile": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetNetworkProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine scale set network profile." + }, + "osProfile": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetOSProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine scale set OS profile." + }, + "priority": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Regular", + "Low", + "Spot" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the priority for the virtual machines in the scale set. Minimum api-version: 2017-10-30-preview." + }, + "scheduledEventsProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ScheduledEventsProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "securityPostureReference": { + "oneOf": [ + { + "$ref": "#/definitions/SecurityPostureReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the security posture to be used for all virtual machines in the scale set. Minimum api-version: 2023-03-01" + }, + "securityProfile": { + "oneOf": [ + { + "$ref": "#/definitions/SecurityProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the Security profile settings for the virtual machine or virtual machine scale set." + }, + "serviceArtifactReference": { + "oneOf": [ + { + "$ref": "#/definitions/ServiceArtifactReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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" + }, + "storageProfile": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetStorageProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine scale set storage profile." + }, + "userData": { + "type": "string", + "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." + } + }, + "description": "Describes a virtual machine scale set virtual machine profile." + }, + "VirtualMachineScaleSetVMProperties": { + "type": "object", + "properties": { + "additionalCapabilities": { + "oneOf": [ + { + "$ref": "#/definitions/AdditionalCapabilities" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enables or disables a capability on the virtual machine or virtual machine scale set." + }, + "availabilitySet": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "diagnosticsProfile": { + "oneOf": [ + { + "$ref": "#/definitions/DiagnosticsProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15." + }, + "hardwareProfile": { + "oneOf": [ + { + "$ref": "#/definitions/HardwareProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the hardware settings for the virtual machine." + }, + "licenseType": { + "type": "string", + "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" + }, + "networkProfile": { + "oneOf": [ + { + "$ref": "#/definitions/NetworkProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the network interfaces or the networking configuration of the virtual machine." + }, + "networkProfileConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetVMNetworkProfileConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine scale set VM network profile." + }, + "osProfile": { + "oneOf": [ + { + "$ref": "#/definitions/OSProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the operating system settings for the virtual machine. Some of the settings cannot be changed once VM is provisioned." + }, + "protectionPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetVMProtectionPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The protection policy of a virtual machine scale set VM." + }, + "securityProfile": { + "oneOf": [ + { + "$ref": "#/definitions/SecurityProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the Security profile settings for the virtual machine or virtual machine scale set." + }, + "storageProfile": { + "oneOf": [ + { + "$ref": "#/definitions/StorageProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the storage settings for the virtual machine disks." + }, + "userData": { + "type": "string", + "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" + } + }, + "description": "Describes the properties of a virtual machine scale set virtual machine." + }, + "VirtualMachineScaleSetVMProtectionPolicy": { + "type": "object", + "properties": { + "protectFromScaleIn": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates that the virtual machine scale set VM shouldn't be considered for deletion during a scale-in operation." + }, + "protectFromScaleSetActions": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "description": "The protection policy of a virtual machine scale set VM." + }, + "virtualMachines_extensions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-09-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the virtual machine extension." + }, + "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" + } + ] + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "extensions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachines/extensions" + }, + "virtualMachines_runCommands_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-09-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the virtual machine run command." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineRunCommandProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a Virtual Machine run command." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "runCommands" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachines/runCommands" + }, + "VMDiskSecurityProfile": { + "type": "object", + "properties": { + "diskEncryptionSet": { + "oneOf": [ + { + "$ref": "#/definitions/DiskEncryptionSetParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "securityEncryptionType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "VMGuestStateOnly", + "DiskWithVMGuestState", + "NonPersistedTPM" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + } + }, + "description": "Specifies the security profile settings for the managed disk. **Note:** It can only be set for Confidential VMs." + }, + "VMGalleryApplication": { + "type": "object", + "properties": { + "configurationReference": { + "type": "string", + "description": "Optional, Specifies the uri to an azure blob that will replace the default configuration for the package if provided" + }, + "enableAutomaticUpgrade": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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" + }, + "order": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional, Specifies the order in which the packages have to be installed" + }, + "packageReferenceId": { + "type": "string", + "description": "Specifies the GalleryApplicationVersion resource id on the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version}" + }, + "tags": { + "type": "string", + "description": "Optional, Specifies a passthrough value for more generic context." + }, + "treatFailureAsDeploymentFailure": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional, If true, any failure for any operation in the VmApplication will fail the deployment" + } + }, + "required": [ + "packageReferenceId" + ], + "description": "Specifies the required information to reference a compute gallery application version" + }, + "VMSizeProperties": { + "type": "object", + "properties": { + "vCPUsAvailable": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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)." + }, + "vCPUsPerCore": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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.**" + } + }, + "description": "Specifies VM Size Property settings on the virtual machine." + }, + "WindowsConfiguration": { + "type": "object", + "properties": { + "additionalUnattendContent": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AdditionalUnattendContent" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup." + }, + "enableAutomaticUpdates": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "enableVMAgentPlatformUpdates": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether VMAgent Platform Updates is enabled for the Windows virtual machine. Default value is false." + }, + "patchSettings": { + "oneOf": [ + { + "$ref": "#/definitions/PatchSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies settings related to VM Guest Patching on Windows." + }, + "provisionVMAgent": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "timeZone": { + "type": "string", + "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)." + }, + "winRM": { + "oneOf": [ + { + "$ref": "#/definitions/WinRMConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes Windows Remote Management configuration of the VM" + } + }, + "description": "Specifies Windows operating system settings on the virtual machine." + }, + "WindowsVMGuestPatchAutomaticByPlatformSettings": { + "type": "object", + "properties": { + "bypassPlatformSafetyChecksOnUserSchedule": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enables customer to schedule patching without accidental upgrades" + }, + "rebootSetting": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Unknown", + "IfRequired", + "Never", + "Always" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the reboot setting for all AutomaticByPlatform patch installation operations." + } + }, + "description": "Specifies additional settings to be applied when patch mode AutomaticByPlatform is selected in Windows patch settings." + }, + "WinRMConfiguration": { + "type": "object", + "properties": { + "listeners": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/WinRMListener" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of Windows Remote Management listeners" + } + }, + "description": "Describes Windows Remote Management configuration of the VM" + }, + "WinRMListener": { + "type": "object", + "properties": { + "certificateUrl": { + "type": "string", + "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)." + }, + "protocol": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Http", + "Https" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the protocol of WinRM listener. Possible values are: **http,** **https.**." + } + }, + "description": "Describes Protocol and thumbprint of Windows Remote Management listener" + } + } +} \ No newline at end of file diff --git a/schemas/2023-10-02/Microsoft.Compute.Extensions.json b/schemas/2023-10-02/Microsoft.Compute.Extensions.json new file mode 100644 index 0000000000..9183e199bc --- /dev/null +++ b/schemas/2023-10-02/Microsoft.Compute.Extensions.json @@ -0,0 +1,2026 @@ +{ + "id": "https://schema.management.azure.com/schemas/2023-10-02/Microsoft.Compute.Extensions.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Compute.Extensions", + "description": "Microsoft Compute Extensions Resource Types", + "resourceDefinitions": {}, + "definitions": { + "genericExtension": { + "type": "object", + "properties": { + "publisher": { + "type": "string", + "minLength": 1, + "description": "Microsoft.Compute/extensions - Publisher" + }, + "type": { + "type": "string", + "minLength": 1, + "description": "Microsoft.Compute/extensions - Type" + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1, + "description": "Microsoft.Compute/extensions - Type handler version" + }, + "settings": { + "oneOf": [ + { + "type": "object" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Microsoft.Compute/extensions - Settings" + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "settings" + ] + }, + "iaaSDiagnostics": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.Diagnostics" + ] + }, + "type": { + "enum": [ + "IaaSDiagnostics" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "xmlCfg": { + "type": "string" + }, + "StorageAccount": { + "type": "string" + } + }, + "required": [ + "xmlCfg", + "StorageAccount" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + }, + "storageAccountEndPoint": { + "type": "string" + } + }, + "required": [ + "storageAccountName", + "storageAccountKey", + "storageAccountEndPoint" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "iaaSAntimalware": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.Security" + ] + }, + "type": { + "enum": [ + "IaaSAntimalware" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "AntimalwareEnabled": { + "type": "boolean" + }, + "Exclusions": { + "type": "object", + "properties": { + "Paths": { + "type": "string" + }, + "Extensions": { + "type": "string" + }, + "Processes": { + "type": "string" + } + }, + "required": [ + "Paths", + "Extensions", + "Processes" + ] + }, + "RealtimeProtectionEnabled": { + "enum": [ + "true", + "false" + ] + }, + "ScheduledScanSettings": { + "type": "object", + "properties": { + "isEnabled": { + "enum": [ + "true", + "false" + ] + }, + "scanType": { + "type": "string" + }, + "day": { + "type": "string" + }, + "time": { + "type": "string" + } + }, + "required": [ + "isEnabled", + "scanType", + "day", + "time" + ] + } + }, + "required": [ + "AntimalwareEnabled", + "Exclusions", + "RealtimeProtectionEnabled", + "ScheduledScanSettings" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "customScriptExtension": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Compute" + ] + }, + "type": { + "enum": [ + "CustomScriptExtension" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "fileUris": { + "type": "array", + "items": { + "type": "string" + } + }, + "commandToExecute": { + "type": "string" + } + }, + "required": [ + "commandToExecute" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + } + } + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "customScriptForLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.OSTCExtensions" + ] + }, + "type": { + "enum": [ + "CustomScriptForLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "fileUris": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "commandToExecute": { + "type": "string" + }, + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + } + }, + "required": [ + "commandToExecute" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "linuxDiagnostic": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.OSTCExtensions" + ] + }, + "type": { + "enum": [ + "LinuxDiagnostic" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "enableSyslog": { + "type": "string" + }, + "mdsdHttpProxy": { + "type": "string" + }, + "perCfg": { + "type": "array" + }, + "fileCfg": { + "type": "array" + }, + "xmlCfg": { + "type": "string" + }, + "ladCfg": { + "type": "object" + }, + "syslogCfg": { + "type": "string" + }, + "eventVolume": { + "type": "string" + }, + "mdsdCfg": { + "type": "string" + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "mdsdHttpProxy": { + "type": "string" + }, + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + }, + "storageAccountEndPoint": { + "type": "string" + } + }, + "required": [ + "storageAccountName", + "storageAccountKey" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "vmAccessForLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.OSTCExtensions" + ] + }, + "type": { + "enum": [ + "VMAccessForLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "check_disk": { + "type": "boolean" + }, + "repair_disk": { + "type": "boolean" + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "password": { + "type": "string" + }, + "ssh_key": { + "type": "string" + }, + "reset_ssh": { + "type": "string" + }, + "remove_user": { + "type": "string" + }, + "expiration": { + "type": "string" + } + }, + "required": [ + "username", + "password", + "ssh_key", + "reset_ssh", + "remove_user", + "expiration" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "bgInfo": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Compute" + ] + }, + "type": { + "enum": [ + "bginfo" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion" + ] + }, + "vmAccessAgent": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Compute" + ] + }, + "type": { + "enum": [ + "VMAccessAgent" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "username": { + "type": "string" + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "password": { + "type": "string" + } + } + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "dscExtension": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Powershell" + ] + }, + "type": { + "enum": [ + "DSC" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "modulesUrl": { + "type": "string" + }, + "configurationFunction": { + "type": "string" + }, + "properties": { + "type": "string" + }, + "wmfVersion": { + "type": "string" + }, + "privacy": { + "type": "object", + "properties": { + "dataCollection": { + "type": "string" + } + } + } + }, + "required": [ + "modulesUrl", + "configurationFunction" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "dataBlobUri": { + "type": "string" + } + } + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "acronisBackupLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Acronis.Backup" + ] + }, + "type": { + "enum": [ + "AcronisBackupLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "absURL": { + "type": "string" + } + }, + "required": [ + "absURL" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "userLogin": { + "type": "string" + }, + "userPassword": { + "type": "string" + } + }, + "required": [ + "userLogin", + "userPassword" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "acronisBackup": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Acronis.Backup" + ] + }, + "type": { + "enum": [ + "AcronisBackup" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "absURL": { + "type": "string" + } + }, + "required": [ + "absURL" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "userLogin": { + "type": "string" + }, + "userPassword": { + "type": "string" + } + }, + "required": [ + "userLogin", + "userPassword" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "linuxChefClient": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Chef.Bootstrap.WindowsAzure" + ] + }, + "type": { + "enum": [ + "LinuxChefClient" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "bootstrap_version": { + "type": "string" + }, + "bootstrap_options": { + "type": "object", + "properties": { + "chef_node_name": { + "type": "string" + }, + "chef_server_url": { + "type": "string" + }, + "validation_client_name": { + "type": "string" + }, + "node_ssl_verify_mode": { + "type": "string" + }, + "environment": { + "type": "string" + } + }, + "required": [ + "chef_node_name", + "chef_server_url", + "validation_client_name", + "node_ssl_verify_mode", + "environment" + ] + }, + "runlist": { + "type": "string" + }, + "client_rb": { + "type": "string" + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "validation_key": { + "type": "string" + }, + "chef_server_crt": { + "type": "string" + }, + "secret": { + "type": "string" + } + }, + "required": [ + "validation_key", + "chef_server_crt", + "secret" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "chefClient": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Chef.Bootstrap.WindowsAzure" + ] + }, + "type": { + "enum": [ + "ChefClient" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "bootstrap_options": { + "type": "object", + "properties": { + "chef_node_name": { + "type": "string" + }, + "chef_server_url": { + "type": "string" + }, + "validation_client_name": { + "type": "string" + }, + "node_ssl_verify_mode": { + "type": "string" + }, + "environment": { + "type": "string" + } + }, + "required": [ + "chef_node_name", + "chef_server_url", + "validation_client_name", + "node_ssl_verify_mode", + "environment" + ] + }, + "runlist": { + "type": "string" + }, + "client_rb": { + "type": "string" + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "validation_key": { + "type": "string" + }, + "chef_server_crt": { + "type": "string" + }, + "secret": { + "type": "string" + } + }, + "required": [ + "validation_key", + "chef_server_crt", + "secret" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "datadogLinuxAgent": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Datadog.Agent" + ] + }, + "type": { + "enum": [ + "DatadogLinuxAgent" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "api_key": { + "type": "string" + } + }, + "required": [ + "api_key" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "datadogWindowsAgent": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Datadog.Agent" + ] + }, + "type": { + "enum": [ + "DatadogWindowsAgent" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "api_key": { + "type": "string" + } + }, + "required": [ + "api_key" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "dockerExtension": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.Extensions" + ] + }, + "type": { + "enum": [ + "DockerExtension" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "docker": { + "type": "object", + "properties": { + "port": { + "type": "string" + } + }, + "required": [ + "port" + ] + } + }, + "required": [ + "docker" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "certs": { + "type": "object", + "properties": { + "ca": { + "type": "string" + }, + "cert": { + "type": "string" + }, + "key": { + "type": "string" + } + }, + "required": [ + "ca", + "cert", + "key" + ] + } + }, + "required": [ + "certs" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "dynatraceLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "dynatrace.ruxit" + ] + }, + "type": { + "enum": [ + "ruxitAgentLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "tenantId": { + "type": "string" + }, + "token": { + "type": "string" + } + }, + "required": [ + "tenantId", + "token" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "dynatraceWindows": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "dynatrace.ruxit" + ] + }, + "type": { + "enum": [ + "ruxitAgentWindows" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "tenantId": { + "type": "string" + }, + "token": { + "type": "string" + } + }, + "required": [ + "tenantId", + "token" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "eset": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "ESET" + ] + }, + "type": { + "enum": [ + "FileSecurity" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "LicenseKey": { + "type": "string" + }, + "Install-RealtimeProtection": { + "type": "boolean" + }, + "Install-ProtocolFiltering": { + "type": "boolean" + }, + "Install-DeviceControl": { + "type": "boolean" + }, + "Enable-Cloud": { + "type": "boolean" + }, + "Enable-PUA": { + "type": "boolean" + }, + "ERAAgentCfgUrl": { + "type": "string" + } + }, + "required": [ + "LicenseKey", + "Install-RealtimeProtection", + "Install-ProtocolFiltering", + "Install-DeviceControl", + "Enable-Cloud", + "Enable-PUA", + "ERAAgentCfgUrl" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "hpeSecurityApplicationDefender": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "HPE.Security.ApplicationDefender" + ] + }, + "type": { + "enum": [ + "DotnetAgent" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "protectedSettings": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "serverURL": { + "type": "string" + } + }, + "required": [ + "key", + "serverURL" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "protectedSettings" + ] + }, + "puppetAgent": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Puppet" + ] + }, + "type": { + "enum": [ + "PuppetAgent" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "protectedSettings": { + "type": "object", + "properties": { + "PUPPET_MASTER_SERVER": { + "type": "string" + } + }, + "required": [ + "PUPPET_MASTER_SERVER" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "protectedSettings" + ] + }, + "site24x7LinuxServerExtn": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Site24x7" + ] + }, + "type": { + "enum": [ + "Site24x7LinuxServerExtn" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "site24x7AgentType": { + "enum": [ + "azurevmextnlinuxserver" + ] + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "site24x7LicenseKey": { + "type": "string" + } + }, + "required": [ + "site24x7LicenseKey" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "site24x7WindowsServerExtn": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Site24x7" + ] + }, + "type": { + "enum": [ + "Site24x7WindowsServerExtn" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "site24x7AgentType": { + "enum": [ + "azurevmextnwindowsserver" + ] + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "site24x7LicenseKey": { + "type": "string" + } + }, + "required": [ + "site24x7LicenseKey" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "site24x7ApmInsightExtn": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Site24x7" + ] + }, + "type": { + "enum": [ + "Site24x7ApmInsightExtn" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "site24x7AgentType": { + "enum": [ + "azurevmextnapminsightclassic" + ] + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "site24x7LicenseKey": { + "type": "string" + } + }, + "required": [ + "site24x7LicenseKey" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "trendMicroDSALinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "TrendMicro.DeepSecurity" + ] + }, + "type": { + "enum": [ + "TrendMicroDSALinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "DSMname": { + "type": "string" + }, + "DSMport": { + "type": "string" + }, + "policyNameorID": { + "type": "string" + } + }, + "required": [ + "DSMname", + "DSMport" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "tenantID": { + "type": "string" + }, + "tenantPassword": { + "type": "string" + } + }, + "required": [ + "tenantID", + "tenantPassword" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "trendMicroDSA": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "TrendMicro.DeepSecurity" + ] + }, + "type": { + "enum": [ + "TrendMicroDSA" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "DSMname": { + "type": "string" + }, + "DSMport": { + "type": "string" + }, + "policyNameorID": { + "type": "string" + } + }, + "required": [ + "DSMname", + "DSMport" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "tenantID": { + "type": "string" + }, + "tenantPassword": { + "type": "string" + } + }, + "required": [ + "tenantID", + "tenantPassword" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "bmcCtmAgentLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "ctm.bmc.com" + ] + }, + "type": { + "enum": [ + "BmcCtmAgentLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "Control-M Server Name": { + "type": "string" + }, + "Agent Port": { + "type": "string" + }, + "Host Group": { + "type": "string" + }, + "User Account": { + "type": "string" + } + }, + "required": [ + "Control-M Server Name", + "Agent Port", + "Host Group", + "User Account" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "bmcCtmAgentWindows": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "bmc.ctm" + ] + }, + "type": { + "enum": [ + "AgentWinExt" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "Control-M Server Name": { + "type": "string" + }, + "Agent Port": { + "type": "string" + }, + "Host Group": { + "type": "string" + } + }, + "required": [ + "Control-M Server Name", + "Agent Port", + "Host Group" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "OSPatchingForLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.OSTCExtensions" + ] + }, + "type": { + "enum": [ + "OSPatchingForLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "disabled": { + "type": "boolean" + }, + "stop": { + "type": "boolean" + }, + "installDuration": { + "type": "string" + }, + "intervalOfWeeks": { + "type": "number" + }, + "dayOfWeek": { + "type": "string" + }, + "startTime": { + "type": "string" + }, + "rebootAfterPatch": { + "type": "string" + }, + "category": { + "type": "string" + }, + "oneoff": { + "type": "boolean" + }, + "local": { + "type": "boolean" + }, + "idleTestScript": { + "type": "string" + }, + "healthyTestScript": { + "type": "string" + }, + "distUpgradeList": { + "type": "string" + }, + "distUpgradeAll": { + "type": "boolean" + }, + "vmStatusTest": { + "type": "object" + } + }, + "required": [ + "disabled", + "stop" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + } + } + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "VMSnapshot": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.RecoveryServices" + ] + }, + "type": { + "enum": [ + "VMSnapshot" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "locale": { + "type": "string" + }, + "taskId": { + "type": "string" + }, + "commandToExecute": { + "type": "string" + }, + "objectStr": { + "type": "string" + }, + "logsBlobUri": { + "type": "string" + }, + "statusBlobUri": { + "type": "string" + }, + "commandStartTimeUTCTicks": { + "type": "string" + }, + "vmType": { + "type": "string" + } + }, + "required": [ + "locale", + "taskId", + "commandToExecute", + "objectStr", + "logsBlobUri", + "statusBlobUri", + "commandStartTimeUTCTicks", + "vmType" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "VMSnapshotLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.RecoveryServices" + ] + }, + "type": { + "enum": [ + "VMSnapshotLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "locale": { + "type": "string" + }, + "taskId": { + "type": "string" + }, + "commandToExecute": { + "type": "string" + }, + "objectStr": { + "type": "string" + }, + "logsBlobUri": { + "type": "string" + }, + "statusBlobUri": { + "type": "string" + }, + "commandStartTimeUTCTicks": { + "type": "string" + }, + "vmType": { + "type": "string" + } + }, + "required": [ + "locale", + "taskId", + "commandToExecute", + "objectStr", + "logsBlobUri", + "statusBlobUri", + "commandStartTimeUTCTicks", + "vmType" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "customScript": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.Extensions" + ] + }, + "type": { + "enum": [ + "CustomScript" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "fileUris": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "fileUris" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + }, + "commandToExecute": { + "type": "string" + } + }, + "required": [ + "storageAccountName", + "storageAccountKey", + "commandToExecute" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "networkWatcherAgentWindows": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.NetworkWatcher" + ] + }, + "type": { + "enum": [ + "NetworkWatcherAgentWindows" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion" + ] + }, + "networkWatcherAgentLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.NetworkWatcher" + ] + }, + "type": { + "enum": [ + "NetworkWatcherAgentLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion" + ] + } + } +} \ No newline at end of file diff --git a/schemas/2023-10-02/Microsoft.Compute.json b/schemas/2023-10-02/Microsoft.Compute.json new file mode 100644 index 0000000000..41b46768a9 --- /dev/null +++ b/schemas/2023-10-02/Microsoft.Compute.json @@ -0,0 +1,1603 @@ +{ + "id": "https://schema.management.azure.com/schemas/2023-10-02/Microsoft.Compute.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Compute", + "description": "Microsoft Compute Resource Types", + "resourceDefinitions": { + "diskAccesses": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-10-02" + ] + }, + "extendedLocation": { + "oneOf": [ + { + "$ref": "#/definitions/ExtendedLocation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The complex type of the extended location." + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "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." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DiskAccessProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/diskAccesses_privateEndpointConnections_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/diskAccesses" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/diskAccesses" + }, + "diskAccesses_privateEndpointConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-10-02" + ] + }, + "name": { + "type": "string", + "description": "The name of the private endpoint connection." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the PrivateEndpointConnectProperties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/diskAccesses/privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/diskAccesses/privateEndpointConnections" + }, + "diskEncryptionSets": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-10-02" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/EncryptionSetIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "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." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/EncryptionSetProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/diskEncryptionSets" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/diskEncryptionSets" + }, + "disks": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-10-02" + ] + }, + "extendedLocation": { + "oneOf": [ + { + "$ref": "#/definitions/ExtendedLocation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The complex type of the extended location." + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "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." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DiskProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Disk resource properties." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/DiskSku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, StandardSSD_ZRS, or PremiumV2_LRS." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/disks" + ] + }, + "zones": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Logical zone list for Disk." + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/disks" + }, + "snapshots": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-10-02" + ] + }, + "extendedLocation": { + "oneOf": [ + { + "$ref": "#/definitions/ExtendedLocation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The complex type of the extended location." + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "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." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SnapshotProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Snapshot resource properties." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/SnapshotSku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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" + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/snapshots" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/snapshots" + } + }, + "definitions": { + "CopyCompletionError": { + "type": "object", + "properties": { + "errorCode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "CopySourceNotFound" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates the error code if the background copy of a resource created via the CopyStart operation fails." + }, + "errorMessage": { + "type": "string", + "description": "Indicates the error message if the background copy of a resource created via the CopyStart operation fails." + } + }, + "required": [ + "errorCode", + "errorMessage" + ], + "description": "Indicates the error details if the background copy of a resource created via the CopyStart operation fails." + }, + "CreationData": { + "type": "object", + "properties": { + "createOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Empty", + "Attach", + "FromImage", + "Import", + "Copy", + "Restore", + "Upload", + "CopyStart", + "ImportSecure", + "UploadPreparedSecure", + "CopyFromSanSnapshot" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This enumerates the possible sources of a disk's creation." + }, + "elasticSanResourceId": { + "type": "string", + "description": "Required if createOption is CopyFromSanSnapshot. This is the ARM id of the source elastic san volume snapshot." + }, + "galleryImageReference": { + "oneOf": [ + { + "$ref": "#/definitions/ImageDiskReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The source image used for creating the disk." + }, + "imageReference": { + "oneOf": [ + { + "$ref": "#/definitions/ImageDiskReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The source image used for creating the disk." + }, + "logicalSectorSize": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default." + }, + "performancePlus": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "provisionedBandwidthCopySpeed": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "Enhanced" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "If this field is set on a snapshot and createOption is CopyStart, the snapshot will be copied at a quicker speed." + }, + "securityDataUri": { + "type": "string", + "description": "If createOption is ImportSecure, this is the URI of a blob to be imported into VM guest state." + }, + "sourceResourceId": { + "type": "string", + "description": "If createOption is Copy, this is the ARM id of the source snapshot or disk." + }, + "sourceUri": { + "type": "string", + "description": "If createOption is Import, this is the URI of a blob to be imported into a managed disk." + }, + "storageAccountId": { + "type": "string", + "description": "Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk." + }, + "uploadSizeBytes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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)." + } + }, + "required": [ + "createOption" + ], + "description": "Data used when creating a disk." + }, + "diskAccesses_privateEndpointConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-10-02" + ] + }, + "name": { + "type": "string", + "description": "The name of the private endpoint connection." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the PrivateEndpointConnectProperties." + }, + "type": { + "type": "string", + "enum": [ + "privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/diskAccesses/privateEndpointConnections" + }, + "DiskAccessProperties": { + "type": "object", + "properties": {} + }, + "DiskProperties": { + "type": "object", + "properties": { + "burstingEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "completionPercent": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Percentage complete for the background copy when a resource is created via the CopyStart operation." + }, + "creationData": { + "oneOf": [ + { + "$ref": "#/definitions/CreationData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Data used when creating a disk." + }, + "dataAccessAuthMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "AzureActiveDirectory", + "None" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "diskAccessId": { + "type": "string", + "description": "ARM id of the DiskAccess resource for using private endpoints on disks." + }, + "diskIOPSReadOnly": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "diskIOPSReadWrite": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes." + }, + "diskMBpsReadOnly": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "diskMBpsReadWrite": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "diskSizeGB": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "diskState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Unattached", + "Attached", + "Reserved", + "Frozen", + "ActiveSAS", + "ActiveSASFrozen", + "ReadyToUpload", + "ActiveUpload" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The state of the disk." + }, + "encryption": { + "oneOf": [ + { + "$ref": "#/definitions/Encryption" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Encryption at rest settings for disk or snapshot" + }, + "encryptionSettingsCollection": { + "oneOf": [ + { + "$ref": "#/definitions/EncryptionSettingsCollection" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Encryption settings for disk or snapshot" + }, + "hyperVGeneration": { + "oneOf": [ + { + "type": "string", + "enum": [ + "V1", + "V2" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only." + }, + "maxShares": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "networkAccessPolicy": { + "oneOf": [ + { + "type": "string", + "enum": [ + "AllowAll", + "AllowPrivate", + "DenyAll" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "optimizedForFrequentAttach": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "osType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Windows", + "Linux" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Operating System type." + }, + "publicNetworkAccess": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "purchasePlan": { + "oneOf": [ + { + "$ref": "#/definitions/PurchasePlan" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Used for establishing the purchase context of any 3rd Party artifact through MarketPlace." + }, + "securityProfile": { + "oneOf": [ + { + "$ref": "#/definitions/DiskSecurityProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Contains the security related information for the resource." + }, + "supportedCapabilities": { + "oneOf": [ + { + "$ref": "#/definitions/SupportedCapabilities" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of supported capabilities persisted on the disk resource for VM use." + }, + "supportsHibernation": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates the OS on a disk supports hibernation." + }, + "tier": { + "type": "string", + "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." + } + }, + "required": [ + "creationData" + ], + "description": "Disk resource properties." + }, + "DiskSecurityProfile": { + "type": "object", + "properties": { + "secureVMDiskEncryptionSetId": { + "type": "string", + "description": "ResourceId of the disk encryption set associated to Confidential VM supported disk encrypted with customer managed key" + }, + "securityType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "TrustedLaunch", + "ConfidentialVM_VMGuestStateOnlyEncryptedWithPlatformKey", + "ConfidentialVM_DiskEncryptedWithPlatformKey", + "ConfidentialVM_DiskEncryptedWithCustomerKey", + "ConfidentialVM_NonPersistedTPM" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Contains the security related information for the resource." + }, + "DiskSku": { + "type": "object", + "properties": { + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "Premium_LRS", + "StandardSSD_LRS", + "UltraSSD_LRS", + "Premium_ZRS", + "StandardSSD_ZRS", + "PremiumV2_LRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The sku name." + } + }, + "description": "The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, StandardSSD_ZRS, or PremiumV2_LRS." + }, + "Encryption": { + "type": "object", + "properties": { + "diskEncryptionSetId": { + "type": "string", + "description": "ResourceId of the disk encryption set to use for enabling encryption at rest." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "EncryptionAtRestWithPlatformKey", + "EncryptionAtRestWithCustomerKey", + "EncryptionAtRestWithPlatformAndCustomerKeys" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Encryption at rest settings for disk or snapshot" + }, + "EncryptionSetIdentity": { + "type": "object", + "properties": { + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned", + "None" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserAssignedIdentitiesValue" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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}'." + } + }, + "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." + }, + "EncryptionSetProperties": { + "type": "object", + "properties": { + "activeKey": { + "oneOf": [ + { + "$ref": "#/definitions/KeyForDiskEncryptionSet" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Key Vault Key Url to be used for server side encryption of Managed Disks and Snapshots" + }, + "encryptionType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "EncryptionAtRestWithCustomerKey", + "EncryptionAtRestWithPlatformAndCustomerKeys", + "ConfidentialVmEncryptedWithCustomerKey" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "federatedClientId": { + "type": "string", + "description": "Multi-tenant application client id to access key vault in a different tenant. Setting the value to 'None' will clear the property." + }, + "rotationToLatestKeyVersionEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Set this flag to true to enable auto-updating of this disk encryption set to the latest key version." + } + } + }, + "EncryptionSettingsCollection": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "encryptionSettings": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/EncryptionSettingsElement" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A collection of encryption settings, one for each disk volume." + }, + "encryptionSettingsVersion": { + "type": "string", + "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." + } + }, + "required": [ + "enabled" + ], + "description": "Encryption settings for disk or snapshot" + }, + "EncryptionSettingsElement": { + "type": "object", + "properties": { + "diskEncryptionKey": { + "oneOf": [ + { + "$ref": "#/definitions/KeyVaultAndSecretReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Key Vault Secret Url and vault id of the encryption key " + }, + "keyEncryptionKey": { + "oneOf": [ + { + "$ref": "#/definitions/KeyVaultAndKeyReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Key Vault Key Url and vault id of KeK, KeK is optional and when provided is used to unwrap the encryptionKey" + } + }, + "description": "Encryption settings for one disk volume." + }, + "ExtendedLocation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the extended location." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "EdgeZone" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of the extended location." + } + }, + "description": "The complex type of the extended location." + }, + "ImageDiskReference": { + "type": "object", + "properties": { + "communityGalleryImageId": { + "type": "string", + "description": "A relative uri containing a community Azure Compute Gallery image reference." + }, + "id": { + "type": "string", + "description": "A relative uri containing either a Platform Image Repository, user image, or Azure Compute Gallery image reference." + }, + "lun": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "sharedGalleryImageId": { + "type": "string", + "description": "A relative uri containing a direct shared Azure Compute Gallery image reference." + } + }, + "description": "The source image used for creating the disk." + }, + "KeyForDiskEncryptionSet": { + "type": "object", + "properties": { + "keyUrl": { + "type": "string", + "description": "Fully versioned Key Url pointing to a key in KeyVault. Version segment of the Url is required regardless of rotationToLatestKeyVersionEnabled value." + }, + "sourceVault": { + "oneOf": [ + { + "$ref": "#/definitions/SourceVault" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The vault id is an Azure Resource Manager Resource id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" + } + }, + "required": [ + "keyUrl" + ], + "description": "Key Vault Key Url to be used for server side encryption of Managed Disks and Snapshots" + }, + "KeyVaultAndKeyReference": { + "type": "object", + "properties": { + "keyUrl": { + "type": "string", + "description": "Url pointing to a key or secret in KeyVault" + }, + "sourceVault": { + "oneOf": [ + { + "$ref": "#/definitions/SourceVault" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The vault id is an Azure Resource Manager Resource id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" + } + }, + "required": [ + "keyUrl", + "sourceVault" + ], + "description": "Key Vault Key Url and vault id of KeK, KeK is optional and when provided is used to unwrap the encryptionKey" + }, + "KeyVaultAndSecretReference": { + "type": "object", + "properties": { + "secretUrl": { + "type": "string", + "description": "Url pointing to a key or secret in KeyVault" + }, + "sourceVault": { + "oneOf": [ + { + "$ref": "#/definitions/SourceVault" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The vault id is an Azure Resource Manager Resource id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" + } + }, + "required": [ + "secretUrl", + "sourceVault" + ], + "description": "Key Vault Secret Url and vault id of the encryption key " + }, + "PrivateEndpointConnectionProperties": { + "type": "object", + "properties": { + "privateLinkServiceConnectionState": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateLinkServiceConnectionState" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A collection of information about the state of the connection between service consumer and provider." + }, + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Creating", + "Deleting", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The provisioning state of the private endpoint connection resource." + } + }, + "required": [ + "privateLinkServiceConnectionState" + ], + "description": "Properties of the PrivateEndpointConnectProperties." + }, + "PrivateLinkServiceConnectionState": { + "type": "object", + "properties": { + "actionsRequired": { + "type": "string", + "description": "A message indicating if changes on the service provider require any updates on the consumer." + }, + "description": { + "type": "string", + "description": "The reason for approval/rejection of the connection." + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Pending", + "Approved", + "Rejected" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." + } + }, + "description": "A collection of information about the state of the connection between service consumer and provider." + }, + "PurchasePlan": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The plan ID." + }, + "product": { + "type": "string", + "description": "Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element." + }, + "promotionCode": { + "type": "string", + "description": "The Offer Promotion Code." + }, + "publisher": { + "type": "string", + "description": "The publisher ID." + } + }, + "required": [ + "name", + "product", + "publisher" + ], + "description": "Used for establishing the purchase context of any 3rd Party artifact through MarketPlace." + }, + "SnapshotProperties": { + "type": "object", + "properties": { + "completionPercent": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Percentage complete for the background copy when a resource is created via the CopyStart operation." + }, + "copyCompletionError": { + "oneOf": [ + { + "$ref": "#/definitions/CopyCompletionError" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates the error details if the background copy of a resource created via the CopyStart operation fails." + }, + "creationData": { + "oneOf": [ + { + "$ref": "#/definitions/CreationData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Data used when creating a disk." + }, + "dataAccessAuthMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "AzureActiveDirectory", + "None" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "diskAccessId": { + "type": "string", + "description": "ARM id of the DiskAccess resource for using private endpoints on disks." + }, + "diskSizeGB": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "diskState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Unattached", + "Attached", + "Reserved", + "Frozen", + "ActiveSAS", + "ActiveSASFrozen", + "ReadyToUpload", + "ActiveUpload" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The state of the snapshot." + }, + "encryption": { + "oneOf": [ + { + "$ref": "#/definitions/Encryption" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Encryption at rest settings for disk or snapshot" + }, + "encryptionSettingsCollection": { + "oneOf": [ + { + "$ref": "#/definitions/EncryptionSettingsCollection" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Encryption settings for disk or snapshot" + }, + "hyperVGeneration": { + "oneOf": [ + { + "type": "string", + "enum": [ + "V1", + "V2" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only." + }, + "incremental": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full snapshots and can be diffed." + }, + "networkAccessPolicy": { + "oneOf": [ + { + "type": "string", + "enum": [ + "AllowAll", + "AllowPrivate", + "DenyAll" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "osType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Windows", + "Linux" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Operating System type." + }, + "publicNetworkAccess": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "purchasePlan": { + "oneOf": [ + { + "$ref": "#/definitions/PurchasePlan" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Used for establishing the purchase context of any 3rd Party artifact through MarketPlace." + }, + "securityProfile": { + "oneOf": [ + { + "$ref": "#/definitions/DiskSecurityProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Contains the security related information for the resource." + }, + "supportedCapabilities": { + "oneOf": [ + { + "$ref": "#/definitions/SupportedCapabilities" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of supported capabilities persisted on the disk resource for VM use." + }, + "supportsHibernation": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates the OS on a snapshot supports hibernation." + } + }, + "required": [ + "creationData" + ], + "description": "Snapshot resource properties." + }, + "SnapshotSku": { + "type": "object", + "properties": { + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "Premium_LRS", + "Standard_ZRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The sku name." + } + }, + "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" + }, + "SourceVault": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Resource Id" + } + }, + "description": "The vault id is an Azure Resource Manager Resource id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" + }, + "SupportedCapabilities": { + "type": "object", + "properties": { + "acceleratedNetwork": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "True if the image from which the OS disk is created supports accelerated networking." + }, + "architecture": { + "oneOf": [ + { + "type": "string", + "enum": [ + "x64", + "Arm64" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "CPU architecture supported by an OS disk." + }, + "diskControllerTypes": { + "type": "string", + "description": "The disk controllers that an OS disk supports. If set it can be SCSI or SCSI, NVME or NVME, SCSI." + } + }, + "description": "List of supported capabilities persisted on the disk resource for VM use." + }, + "UserAssignedIdentitiesValue": { + "type": "object", + "properties": {} + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 5096f2c971..31a629ffb3 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -7237,6 +7237,18 @@ { "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/resourceDefinitions/virtualMachineScaleSets_extensions" }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/resourceDefinitions/virtualMachines_extensions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.Extensions.json#/resourceDefinitions/virtualMachineScaleSets_extensions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.Extensions.json#/resourceDefinitions/virtualMachines_extensions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.Extensions.json#/resourceDefinitions/virtualMachineScaleSets_extensions" + }, { "$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.json#/resourceDefinitions/availabilitySets" }, @@ -8104,6 +8116,21 @@ { "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Compute.json#/resourceDefinitions/virtualMachineScaleSets_virtualMachines_runCommands" }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-08-03/Microsoft.Compute.json#/resourceDefinitions/galleries" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-08-03/Microsoft.Compute.json#/resourceDefinitions/galleries_applications" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-08-03/Microsoft.Compute.json#/resourceDefinitions/galleries_applications_versions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-08-03/Microsoft.Compute.json#/resourceDefinitions/galleries_images" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-08-03/Microsoft.Compute.json#/resourceDefinitions/galleries_images_versions" + }, { "$ref": "https://schema.management.azure.com/schemas/2022-09-04/Microsoft.Compute.json#/resourceDefinitions/cloudServices" }, @@ -8218,6 +8245,147 @@ { "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.json#/resourceDefinitions/virtualMachineScaleSets_virtualMachines_runCommands" }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-04-02/Microsoft.Compute.json#/resourceDefinitions/diskAccesses" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-04-02/Microsoft.Compute.json#/resourceDefinitions/diskAccesses_privateEndpointConnections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-04-02/Microsoft.Compute.json#/resourceDefinitions/diskEncryptionSets" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-04-02/Microsoft.Compute.json#/resourceDefinitions/disks" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-04-02/Microsoft.Compute.json#/resourceDefinitions/snapshots" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.json#/resourceDefinitions/availabilitySets" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.json#/resourceDefinitions/capacityReservationGroups" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.json#/resourceDefinitions/capacityReservationGroups_capacityReservations" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.json#/resourceDefinitions/hostGroups" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.json#/resourceDefinitions/hostGroups_hosts" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.json#/resourceDefinitions/images" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.json#/resourceDefinitions/proximityPlacementGroups" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.json#/resourceDefinitions/restorePointCollections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.json#/resourceDefinitions/restorePointCollections_restorePoints" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.json#/resourceDefinitions/sshPublicKeys" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.json#/resourceDefinitions/virtualMachines" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.json#/resourceDefinitions/virtualMachines_runCommands" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.json#/resourceDefinitions/virtualMachineScaleSets" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.json#/resourceDefinitions/virtualMachineScaleSets_virtualMachines" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.json#/resourceDefinitions/virtualMachineScaleSets_virtualMachines_extensions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Compute.json#/resourceDefinitions/virtualMachineScaleSets_virtualMachines_runCommands" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-07-03/Microsoft.Compute.json#/resourceDefinitions/galleries" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-07-03/Microsoft.Compute.json#/resourceDefinitions/galleries_applications" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-07-03/Microsoft.Compute.json#/resourceDefinitions/galleries_applications_versions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-07-03/Microsoft.Compute.json#/resourceDefinitions/galleries_images" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-07-03/Microsoft.Compute.json#/resourceDefinitions/galleries_images_versions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.json#/resourceDefinitions/availabilitySets" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.json#/resourceDefinitions/capacityReservationGroups" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.json#/resourceDefinitions/capacityReservationGroups_capacityReservations" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.json#/resourceDefinitions/hostGroups" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.json#/resourceDefinitions/hostGroups_hosts" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.json#/resourceDefinitions/images" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.json#/resourceDefinitions/proximityPlacementGroups" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.json#/resourceDefinitions/restorePointCollections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.json#/resourceDefinitions/restorePointCollections_restorePoints" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.json#/resourceDefinitions/sshPublicKeys" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.json#/resourceDefinitions/virtualMachines" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.json#/resourceDefinitions/virtualMachines_runCommands" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.json#/resourceDefinitions/virtualMachineScaleSets" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.json#/resourceDefinitions/virtualMachineScaleSets_virtualMachines" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.json#/resourceDefinitions/virtualMachineScaleSets_virtualMachines_extensions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-09-01/Microsoft.Compute.json#/resourceDefinitions/virtualMachineScaleSets_virtualMachines_runCommands" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-10-02/Microsoft.Compute.json#/resourceDefinitions/diskAccesses" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-10-02/Microsoft.Compute.json#/resourceDefinitions/diskAccesses_privateEndpointConnections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-10-02/Microsoft.Compute.json#/resourceDefinitions/diskEncryptionSets" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-10-02/Microsoft.Compute.json#/resourceDefinitions/disks" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-10-02/Microsoft.Compute.json#/resourceDefinitions/snapshots" + }, { "$ref": "https://schema.management.azure.com/schemas/2020-12-01-preview/Microsoft.ConfidentialLedger.json#/resourceDefinitions/ledgers" },