{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-virtual-machines/json-schema/microsoft-azure-virtual-machines-virtual-machine-update-schema.json",
  "title": "VirtualMachineUpdate",
  "description": "Describes a Virtual Machine Update.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-virtual-machines-virtual-machines-api-openapi.yml#/components/schemas/VirtualMachineUpdate",
  "type": "object",
  "properties": {
    "plan": {
      "$ref": "#/$defs/Plan",
      "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use.  In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**."
    },
    "properties": {
      "$ref": "#/$defs/VirtualMachineProperties",
      "description": "Describes the properties of a Virtual Machine.",
      "x-ms-client-flatten": true
    },
    "identity": {
      "$ref": "#/$defs/VirtualMachineIdentity",
      "description": "The identity of the virtual machine, if configured."
    },
    "zones": {
      "type": "array",
      "description": "The virtual machine zones.",
      "items": {
        "type": "string"
      }
    }
  },
  "allOf": [
    {
      "$ref": "#/$defs/UpdateResource"
    }
  ],
  "$defs": {
    "AdditionalCapabilities": {
      "type": "object",
      "description": "Enables or disables a capability on the virtual machine or virtual machine scale set.",
      "properties": {
        "ultraSSDEnabled": {
          "type": "boolean",
          "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."
        },
        "hibernationEnabled": {
          "type": "boolean",
          "description": "The flag that enables or disables hibernation capability on the VM."
        },
        "enableFips1403Encryption": {
          "type": "boolean",
          "description": "The flag enables the usage of FIPS 140-3 compliant cryptography on the protectedSettings of an extension. Learn more at: https://aka.ms/linuxagentfipssupport."
        }
      }
    },
    "AdditionalDiskProperties": {
      "type": "object",
      "description": "Specifies additional properties for a managed disk that can be set at the time of implicit creation of the disk.",
      "properties": {
        "managedDiskProperties": {
          "$ref": "#/$defs/ManagedDiskProperties",
          "description": "Specifies the managed disk properties that can be set at the time of implicit creation of the disk."
        }
      }
    },
    "AdditionalUnattendContent": {
      "type": "object",
      "description": "Specifies additional XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is applied.",
      "properties": {
        "passName": {
          "$ref": "#/$defs/PassNames",
          "description": "The pass name. Currently, the only allowable value is OobeSystem."
        },
        "componentName": {
          "$ref": "#/$defs/ComponentNames",
          "description": "The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup."
        },
        "settingName": {
          "$ref": "#/$defs/SettingNames",
          "description": "Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon."
        },
        "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."
        }
      }
    },
    "AllInstancesDown": {
      "type": "object",
      "description": "Specifies if Scheduled Events should be auto-approved when all instances are down.",
      "properties": {
        "automaticallyApprove": {
          "type": "boolean",
          "description": "Specifies if Scheduled Events should be auto-approved when all instances are down.\nits default value is true"
        }
      }
    },
    "ApiEntityReference": {
      "type": "object",
      "description": "The API entity reference.",
      "properties": {
        "id": {
          "type": "string",
          "description": "The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/..."
        }
      }
    },
    "ApiError": {
      "type": "object",
      "properties": {
        "details": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ApiErrorBase"
          },
          "x-ms-identifiers": [
            "message",
            "target"
          ],
          "description": "The Api error details"
        },
        "innererror": {
          "$ref": "#/$defs/InnerError",
          "description": "The Api inner error"
        },
        "code": {
          "type": "string",
          "description": "The error code."
        },
        "target": {
          "type": "string",
          "description": "The target of the particular error."
        },
        "message": {
          "type": "string",
          "description": "The error message."
        }
      },
      "description": "Api error."
    },
    "ApiErrorBase": {
      "type": "object",
      "description": "Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.",
      "x-ae-placeholder": true
    },
    "ApplicationProfile": {
      "type": "object",
      "description": "Contains the list of gallery applications that should be made available to the VM/VMSS",
      "properties": {
        "galleryApplications": {
          "type": "array",
          "description": "Specifies the gallery applications that should be made available to the VM/VMSS",
          "items": {
            "$ref": "#/$defs/VMGalleryApplication"
          },
          "x-ms-identifiers": [
            "packageReferenceId"
          ]
        }
      }
    },
    "AvailabilityPolicyDiskDelay": {
      "type": "string",
      "description": "Determines how to handle disks with slow I/O.",
      "enum": [
        "None",
        "AutomaticReattach"
      ],
      "x-ms-enum": {
        "name": "AvailabilityPolicyDiskDelay",
        "modelAsString": true,
        "values": [
          {
            "name": "None",
            "value": "None",
            "description": "Defaults to behavior without availability policy specified, which is VM restart upon slow disk I/O."
          },
          {
            "name": "AutomaticReattach",
            "value": "AutomaticReattach",
            "description": "Upon a disk I/O failure or slow response, try detaching then reattaching the disk."
          }
        ]
      }
    },
    "AvailablePatchSummary": {
      "type": "object",
      "description": "Describes the properties of an virtual machine instance view for available patch summary.",
      "properties": {
        "status": {
          "$ref": "#/$defs/PatchOperationStatus",
          "description": "The overall success or failure status of the operation. It remains \"InProgress\" until the operation completes. At that point it will become \"Unknown\", \"Failed\", \"Succeeded\", or \"CompletedWithWarnings.\"",
          "readOnly": true
        },
        "assessmentActivityId": {
          "type": "string",
          "description": "The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs.",
          "readOnly": true
        },
        "rebootPending": {
          "type": "boolean",
          "description": "The overall reboot status of the VM. It will be true when partially installed patches require a reboot to complete installation but the reboot has not yet occurred.",
          "readOnly": true
        },
        "criticalAndSecurityPatchCount": {
          "type": "integer",
          "format": "int32",
          "description": "The number of critical or security patches that have been detected as available and not yet installed.",
          "readOnly": true
        },
        "otherPatchCount": {
          "type": "integer",
          "format": "int32",
          "description": "The number of all available patches excluding critical and security.",
          "readOnly": true
        },
        "startTime": {
          "type": "string",
          "format": "date-time",
          "description": "The UTC timestamp when the operation began.",
          "readOnly": true
        },
        "lastModifiedTime": {
          "type": "string",
          "format": "date-time",
          "description": "The UTC timestamp when the operation began.",
          "readOnly": true
        },
        "error": {
          "$ref": "#/$defs/ApiError",
          "description": "The errors that were encountered during execution of the operation. The details array contains the list of them.",
          "readOnly": true
        }
      }
    },
    "BillingProfile": {
      "type": "object",
      "description": "Specifies the billing related details of a Azure Spot VM or VMSS. Minimum api-version: 2019-03-01.",
      "properties": {
        "maxPrice": {
          "type": "number",
          "format": "double",
          "description": "Specifies the maximum price you are willing to pay for a Azure Spot VM/VMSS. This price is in US Dollars. <br><br> 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. <br><br> 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. <br><br> Possible values are: <br><br> - Any decimal value greater than zero. Example: 0.01538 <br><br> -1 – indicates default price to be up-to on-demand. <br><br> 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. <br><br>Minimum api-version: 2019-03-01."
        }
      }
    },
    "BootDiagnostics": {
      "type": "object",
      "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. You can easily view the output of your console log. Azure also enables you to see a screenshot of the VM from the hypervisor.",
      "properties": {
        "enabled": {
          "type": "boolean",
          "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."
        }
      }
    },
    "BootDiagnosticsInstanceView": {
      "type": "object",
      "description": "The instance view of a virtual machine boot diagnostics.",
      "properties": {
        "consoleScreenshotBlobUri": {
          "type": "string",
          "description": "The console screenshot blob URI. **Note:** This will **not** be set if boot diagnostics is currently enabled with managed storage.",
          "readOnly": true
        },
        "serialConsoleLogBlobUri": {
          "type": "string",
          "description": "The serial console log blob Uri. **Note:** This will **not** be set if boot diagnostics is currently enabled with managed storage.",
          "readOnly": true
        },
        "status": {
          "$ref": "#/$defs/InstanceViewStatus",
          "description": "The boot diagnostics status information for the VM. **Note:** It will be set only if there are errors encountered in enabling boot diagnostics.",
          "readOnly": true
        }
      }
    },
    "CachingTypes": {
      "type": "string",
      "description": "Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The default values are: **None for Standard storage. ReadOnly for Premium storage**",
      "enum": [
        "None",
        "ReadOnly",
        "ReadWrite"
      ],
      "x-ms-enum": {
        "name": "CachingTypes",
        "modelAsString": false
      }
    },
    "CapacityReservationProfile": {
      "type": "object",
      "description": "The parameters of a capacity reservation Profile.",
      "properties": {
        "capacityReservationGroup": {
          "$ref": "#/$defs/SubResource",
          "description": "Specifies the capacity reservation group resource id that should be used for allocating the virtual machine or scaleset vm instances provided enough capacity has been reserved. Please refer to https://aka.ms/CapacityReservation for more details."
        },
        "disableCapacityReservationAssignment": {
          "type": "boolean",
          "description": "Specifies whether the virtual machine is explicitly opted out from being associated with any capacity reservation. When set to true, the virtual machine will not be allowed to implicitly or explicitly associate with any type of capacity reservation and will consume capacity from the publicly available capacity. Minimum api-version: 2026-04-01."
        }
      }
    },
    "CapacityReservationType": {
      "type": "string",
      "description": "Specifies which type of capacity reservation the virtual machine will consume capacity from if eligible or whether it is explicitly opted out from being associated and consuming capacity from any reserved capacity available in the subscription. Minimum api-version: 2026-04-01.",
      "enum": [
        "NotEligible",
        "Targeted",
        "Open",
        "Disabled",
        "Block"
      ],
      "x-ms-enum": {
        "name": "CapacityReservationType",
        "modelAsString": true,
        "values": [
          {
            "name": "NotEligible",
            "value": "NotEligible",
            "description": "The virtual machine is not eligible to be implicitly associated with an open capacity reservation and is not explicitly associated with any capacity reservation group, so it will consume capacity from the publicly available capacity."
          },
          {
            "name": "Targeted",
            "value": "Targeted",
            "description": "The virtual machine will consume capacity from a specific matching capacity reservation when associated with a capacity reservation group resource of type targeted, but can fall back to consume capacity from the publicly available capacity if there is no capacity available in the targeted reservation."
          },
          {
            "name": "Open",
            "value": "Open",
            "description": "The virtual machine if eligible will implicitly associate and consume any available capacity from a matching open capacity reservation created or shared in the subscription. **Note:** The VM should not be explicitly associated with the open capacity reservation group resource containing the matching reservation."
          },
          {
            "name": "Disabled",
            "value": "Disabled",
            "description": "The virtual machine has capacity reservation assignment disabled and will not be allowed to implicitly or explicitly associate with any type of capacity reservation."
          },
          {
            "name": "Block",
            "value": "Block",
            "description": "The virtual machine consumes capacity from a specific matching capacity reservation when associated with a capacity reservation group resource of type block, and will hit capacity failures if there is no available capacity in the block reservation."
          }
        ]
      }
    },
    "Common.OperatingSystemTypes": {
      "type": "string",
      "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.**",
      "enum": [
        "Windows",
        "Linux"
      ],
      "x-ms-enum": {
        "name": "OperatingSystemTypes",
        "modelAsString": false
      }
    },
    "Common.ResourceIdentityType": {
      "type": "string",
      "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.",
      "enum": [
        "SystemAssigned",
        "UserAssigned",
        "SystemAssigned, UserAssigned",
        "None"
      ],
      "x-ms-enum": {
        "name": "ResourceIdentityType",
        "modelAsString": false
      }
    },
    "Common.UserAssignedIdentitiesValue": {
      "type": "object",
      "properties": {
        "principalId": {
          "type": "string",
          "description": "The principal id of user assigned identity.",
          "readOnly": true
        },
        "clientId": {
          "type": "string",
          "description": "The client id of user assigned identity.",
          "readOnly": true
        }
      }
    },
    "ComponentNames": {
      "type": "string",
      "enum": [
        "Microsoft-Windows-Shell-Setup"
      ],
      "x-ms-enum": {
        "modelAsString": false
      }
    },
    "DataDisk": {
      "type": "object",
      "description": "Describes a data disk.",
      "properties": {
        "lun": {
          "type": "integer",
          "format": "int32",
          "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."
        },
        "name": {
          "type": "string",
          "description": "The disk name."
        },
        "vhd": {
          "$ref": "#/$defs/VirtualHardDisk",
          "description": "The virtual hard disk."
        },
        "image": {
          "$ref": "#/$defs/VirtualHardDisk",
          "description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist."
        },
        "caching": {
          "$ref": "#/$defs/CachingTypes",
          "description": "Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The defaulting behavior is: **None for Standard storage. ReadOnly for Premium storage.**"
        },
        "writeAcceleratorEnabled": {
          "type": "boolean",
          "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk."
        },
        "createOption": {
          "$ref": "#/$defs/DiskCreateOptionTypes",
          "description": "Specifies how the virtual machine disk 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 data disk. 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. **Empty:** This value is used when creating an empty data disk. **Copy:** This value is used to create a data disk from a snapshot or another disk. **Restore:** This value is used to create a data disk from a disk restore point."
        },
        "diskSizeGB": {
          "type": "integer",
          "format": "int32",
          "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."
        },
        "storageFaultDomainAlignment": {
          "$ref": "#/$defs/StorageFaultDomainAlignmentType",
          "description": "Specifies the storage fault domain alignment type for the disk."
        },
        "managedDisk": {
          "$ref": "#/$defs/ManagedDiskParameters",
          "description": "The managed disk parameters."
        },
        "sourceResource": {
          "$ref": "#/$defs/ApiEntityReference",
          "description": "The source resource identifier. It can be a snapshot, or disk restore point from which to create a disk."
        },
        "toBeDetached": {
          "type": "boolean",
          "description": "Specifies whether the data disk is in process of detachment from the VirtualMachine/VirtualMachineScaleset"
        },
        "diskIOPSReadWrite": {
          "type": "integer",
          "format": "int64",
          "description": "Specifies the Read-Write IOPS for the managed disk when StorageAccountType is UltraSSD_LRS."
        },
        "diskMBpsReadWrite": {
          "type": "integer",
          "format": "int64",
          "description": "Specifies the bandwidth in MB per second for the managed disk when StorageAccountType is UltraSSD_LRS."
        },
        "detachOption": {
          "$ref": "#/$defs/DiskDetachOptionTypes",
          "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**. To force-detach a data disk update toBeDetached to 'true' along with setting detachOption: 'ForceDetach'."
        },
        "deleteOption": {
          "$ref": "#/$defs/DiskDeleteOptionTypes",
          "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**."
        }
      },
      "required": [
        "lun",
        "createOption"
      ]
    },
    "DeleteOptions": {
      "type": "string",
      "description": "Specify what happens to the network interface when the VM is deleted",
      "enum": [
        "Delete",
        "Detach"
      ],
      "x-ms-enum": {
        "name": "DeleteOptions",
        "modelAsString": true,
        "values": [
          {
            "name": "Delete",
            "value": "Delete"
          },
          {
            "name": "Detach",
            "value": "Detach"
          }
        ]
      }
    },
    "DiagnosticsProfile": {
      "type": "object",
      "description": "Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15.",
      "properties": {
        "bootDiagnostics": {
          "$ref": "#/$defs/BootDiagnostics",
          "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. **NOTE**: If storageUri is being specified then ensure that the storage account is in the same region and subscription as the VM. You can easily view the output of your console log. Azure also enables you to see a screenshot of the VM from the hypervisor."
        }
      }
    },
    "DiffDiskOptions": {
      "type": "string",
      "description": "Specifies the ephemeral disk option for operating system disk.",
      "enum": [
        "Local"
      ],
      "x-ms-enum": {
        "name": "DiffDiskOptions",
        "modelAsString": true,
        "values": [
          {
            "name": "Local",
            "value": "Local"
          }
        ]
      }
    },
    "DiffDiskPlacement": {
      "type": "string",
      "description": "Specifies the ephemeral disk placement for operating system disk. This property can be used by user in the request to choose the location i.e, cache disk, resource disk or nvme disk space for Ephemeral OS disk provisioning. For more information on Ephemeral OS disk size requirements, please refer Ephemeral OS disk size requirements for Windows VM at https://docs.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VM at https://docs.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements. Minimum api-version for NvmeDisk: 2024-03-01.",
      "enum": [
        "CacheDisk",
        "ResourceDisk",
        "NvmeDisk"
      ],
      "x-ms-enum": {
        "name": "DiffDiskPlacement",
        "modelAsString": true,
        "values": [
          {
            "name": "CacheDisk",
            "value": "CacheDisk"
          },
          {
            "name": "ResourceDisk",
            "value": "ResourceDisk"
          },
          {
            "name": "NvmeDisk",
            "value": "NvmeDisk"
          }
        ]
      }
    },
    "DiffDiskSettings": {
      "type": "object",
      "description": "Describes the parameters of ephemeral disk settings that can be specified for operating system disk. **Note:** The ephemeral disk settings can only be specified for managed disk.",
      "properties": {
        "option": {
          "$ref": "#/$defs/DiffDiskOptions",
          "description": "Specifies the ephemeral disk settings for operating system disk."
        },
        "placement": {
          "$ref": "#/$defs/DiffDiskPlacement",
          "description": "Specifies the ephemeral disk placement for operating system disk. Possible values are: **CacheDisk,** **ResourceDisk,** **NvmeDisk.** The defaulting behavior is: **CacheDisk** if one is configured for the VM size otherwise **ResourceDisk** or **NvmeDisk** 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. Minimum api-version for NvmeDisk: 2024-03-01."
        },
        "enableFullCaching": {
          "type": "boolean",
          "description": "Specifies whether or not to enable full caching for this VM which will cache the OS disk locally on the host and make this VM more resilient to storage outages"
        }
      }
    },
    "DiskApiVersion": {
      "type": "string",
      "description": "Specifies the Disk API version used when applying additionalDiskProperties to managed disks. The value must be in the format YYYY-MM-DD.",
      "enum": [
        "2025-01-02",
        "2026-03-02"
      ],
      "x-ms-enum": {
        "name": "DiskApiVersion",
        "modelAsString": true,
        "values": [
          {
            "name": "2025-01-02",
            "value": "2025-01-02",
            "description": "The 2025-01-02 Disk RP API version."
          },
          {
            "name": "2026-03-02",
            "value": "2026-03-02",
            "description": "The 2026-03-02 Disk RP API version."
          }
        ]
      }
    },
    "DiskAvailabilityPolicy": {
      "type": "object",
      "description": "In the case of an availability or connectivity issue with the disk, specify the behavior of your VM.",
      "properties": {
        "actionOnDiskDelay": {
          "$ref": "#/$defs/AvailabilityPolicyDiskDelay",
          "description": "Determines how to handle disks with slow I/O."
        }
      }
    },
    "DiskControllerTypes": {
      "type": "string",
      "description": "Specifies the disk controller type configured for the VM and VirtualMachineScaleSet. This property is only supported for virtual machines whose operating system disk and VM sku supports Generation 2 (https://docs.microsoft.com/en-us/azure/virtual-machines/generation-2), please check the HyperVGenerations capability returned as part of VM sku capabilities in the response of Microsoft.Compute SKUs api for the region contains V2 (https://docs.microsoft.com/rest/api/compute/resourceskus/list). For more information about Disk Controller Types supported please refer to https://aka.ms/azure-diskcontrollertypes.",
      "enum": [
        "SCSI",
        "NVMe"
      ],
      "x-ms-enum": {
        "name": "DiskControllerTypes",
        "modelAsString": true,
        "values": [
          {
            "name": "SCSI",
            "value": "SCSI"
          },
          {
            "name": "NVMe",
            "value": "NVMe"
          }
        ]
      }
    },
    "DiskCreateOptionTypes": {
      "type": "string",
      "description": "Specifies how the virtual machine disk 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. **Empty:** This value is used when creating an empty data disk. **Copy:** This value is used to create a data disk from a snapshot or another disk. **Restore:** This value is used to create a data disk from a disk restore point.",
      "enum": [
        "FromImage",
        "Empty",
        "Attach",
        "Copy",
        "Restore"
      ],
      "x-ms-enum": {
        "name": "DiskCreateOptionTypes",
        "modelAsString": true,
        "values": [
          {
            "name": "FromImage",
            "value": "FromImage"
          },
          {
            "name": "Empty",
            "value": "Empty"
          },
          {
            "name": "Attach",
            "value": "Attach"
          },
          {
            "name": "Copy",
            "value": "Copy"
          },
          {
            "name": "Restore",
            "value": "Restore"
          }
        ]
      }
    },
    "DiskDeleteOptionTypes": {
      "type": "string",
      "description": "Specifies the behavior of the managed disk when the VM gets deleted, for example whether the managed disk is deleted or detached. Supported values are: **Delete.** If this value is used, the managed disk is deleted when VM gets deleted. **Detach.** If this value is used, the managed disk is retained after VM gets deleted. Minimum api-version: 2021-03-01.",
      "enum": [
        "Delete",
        "Detach"
      ],
      "x-ms-enum": {
        "name": "DiskDeleteOptionTypes",
        "modelAsString": true,
        "values": [
          {
            "name": "Delete",
            "value": "Delete"
          },
          {
            "name": "Detach",
            "value": "Detach"
          }
        ]
      }
    },
    "DiskDetachOptionTypes": {
      "type": "string",
      "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 are: **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**. To force-detach a data disk update toBeDetached to 'true' along with setting detachOption: 'ForceDetach'.",
      "enum": [
        "ForceDetach"
      ],
      "x-ms-enum": {
        "name": "DiskDetachOptionTypes",
        "modelAsString": true,
        "values": [
          {
            "name": "ForceDetach",
            "value": "ForceDetach"
          }
        ]
      }
    },
    "DiskEncryptionSetParameters": {
      "type": "object",
      "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.",
      "allOf": [
        {
          "$ref": "#/$defs/SubResource"
        }
      ]
    },
    "DiskEncryptionSettings": {
      "type": "object",
      "description": "Describes a Encryption Settings for a Disk",
      "properties": {
        "diskEncryptionKey": {
          "$ref": "#/$defs/KeyVaultSecretReference",
          "description": "Specifies the location of the disk encryption key, which is a Key Vault Secret."
        },
        "keyEncryptionKey": {
          "$ref": "#/$defs/KeyVaultKeyReference",
          "description": "Specifies the location of the key encryption key in Key Vault."
        },
        "enabled": {
          "type": "boolean",
          "description": "Specifies whether disk encryption should be enabled on the virtual machine."
        }
      }
    },
    "DiskInstanceView": {
      "type": "object",
      "description": "The instance view of the disk.",
      "properties": {
        "name": {
          "type": "string",
          "description": "The disk name."
        },
        "encryptionSettings": {
          "type": "array",
          "description": "Specifies the encryption settings for the OS Disk. <br><br> Minimum api-version: 2015-06-15",
          "items": {
            "$ref": "#/$defs/DiskEncryptionSettings"
          },
          "x-ms-identifiers": [
            "diskEncryptionKey/sourceVault/id"
          ]
        },
        "statuses": {
          "type": "array",
          "description": "The resource status information.",
          "items": {
            "$ref": "#/$defs/InstanceViewStatus"
          },
          "x-ms-identifiers": []
        },
        "storageAlignmentStatus": {
          "$ref": "#/$defs/StorageAlignmentStatus",
          "description": "Specifies the storage alignment status for the disk."
        }
      }
    },
    "DomainNameLabelScopeTypes": {
      "type": "string",
      "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",
      "enum": [
        "TenantReuse",
        "SubscriptionReuse",
        "ResourceGroupReuse",
        "NoReuse"
      ],
      "x-ms-enum": {
        "name": "DomainNameLabelScopeTypes",
        "modelAsString": true,
        "values": [
          {
            "name": "TenantReuse",
            "value": "TenantReuse"
          },
          {
            "name": "SubscriptionReuse",
            "value": "SubscriptionReuse"
          },
          {
            "name": "ResourceGroupReuse",
            "value": "ResourceGroupReuse"
          },
          {
            "name": "NoReuse",
            "value": "NoReuse"
          }
        ]
      }
    },
    "EncryptionIdentity": {
      "type": "object",
      "description": "Specifies the Managed Identity used by ADE to get access token for keyvault operations.",
      "properties": {
        "userAssignedIdentityResourceId": {
          "type": "string",
          "description": "Specifies ARM Resource ID of one of the user identities associated with the VM."
        }
      }
    },
    "EventGridAndResourceGraph": {
      "type": "object",
      "description": "Specifies eventGridAndResourceGraph related Scheduled Event related configurations.",
      "properties": {
        "enable": {
          "type": "boolean",
          "description": "Specifies if event grid and resource graph is enabled for Scheduled event related configurations."
        },
        "scheduledEventsApiVersion": {
          "type": "string",
          "description": "Specifies the api-version to determine which Scheduled Events configuration schema version will be delivered."
        }
      }
    },
    "FlexProfile": {
      "type": "object",
      "description": "Specifies the FlexProfile for a virtual machine. When set, Azure may deploy a compatible alternative VM size based on capacity and placement considerations, and the deployed size is returned in hardwareProfile.vmSize. See the properties.flexProfile description for the full usage rules, including how it interacts with hardwareProfile.vmSize.",
      "properties": {
        "preferredVMSize": {
          "type": "string",
          "description": "Specifies the preferred VM size, for example Standard_D4s_v5. Azure may deploy a compatible alternative size based on capacity and placement considerations. Supported VM families for FlexProfile may vary by region. The recommended way to get the list of available sizes is using these APIs: [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)."
        }
      },
      "required": [
        "preferredVMSize"
      ]
    },
    "HardwareProfile": {
      "type": "object",
      "description": "Specifies the hardware settings for the virtual machine.",
      "properties": {
        "vmSize": {
          "$ref": "#/$defs/VirtualMachineSizeTypes",
          "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": {
          "$ref": "#/$defs/VMSizeProperties",
          "description": "Specifies the properties for customizing the size of the virtual machine. Minimum api-version: 2021-07-01. This feature is still in preview mode and is not supported for VirtualMachineScaleSet. Please follow the instructions in [VM Customization](https://aka.ms/vmcustomization) for more details."
        },
        "processorMode": {
          "$ref": "#/$defs/ProcessorMode",
          "description": "Specifies the processor mode for the virtual machine or virtual machine scale set. Optional; if omitted, the platform default applies (currently Deterministic). This property can be updated on a running VM or VMSS without deallocation or reboot. Minimum api-version: 2026-04-01."
        }
      }
    },
    "HostEndpointSettings": {
      "type": "object",
      "description": "Specifies particular host endpoint settings.",
      "properties": {
        "mode": {
          "$ref": "#/$defs/Modes",
          "description": "Specifies the execution mode. In Audit mode, the system acts as if it is enforcing the access control policy, including emitting access denial entries in the logs but it does not actually deny any requests to host endpoints. In Enforce mode, the system will enforce the access control and it is the recommended mode of operation."
        },
        "inVMAccessControlProfileReferenceId": {
          "type": "string",
          "description": "Specifies the InVMAccessControlProfileVersion resource id in the format of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/inVMAccessControlProfiles/{profile}/versions/{version}"
        },
        "useLocalFileRules": {
          "type": "boolean",
          "description": "When set to true, instructs the GuestProxyAgent inside the VM to load additional access control rules defined in a local file on the VM."
        }
      }
    },
    "HyperVGenerationType": {
      "type": "string",
      "description": "Specifies the HyperVGeneration Type associated with a resource",
      "enum": [
        "V1",
        "V2"
      ],
      "x-ms-enum": {
        "name": "HyperVGenerationType",
        "modelAsString": true,
        "values": [
          {
            "name": "V1",
            "value": "V1"
          },
          {
            "name": "V2",
            "value": "V2"
          }
        ]
      }
    },
    "IPVersions": {
      "type": "string",
      "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'.",
      "enum": [
        "IPv4",
        "IPv6"
      ],
      "x-ms-enum": {
        "name": "IPVersions",
        "modelAsString": true,
        "values": [
          {
            "name": "IPv4",
            "value": "IPv4"
          },
          {
            "name": "IPv6",
            "value": "IPv6"
          }
        ]
      }
    },
    "ImageReference": {
      "type": "object",
      "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. NOTE: Image reference publisher and offer can only be set when you create the scale set.",
      "properties": {
        "publisher": {
          "type": "string",
          "description": "The image publisher."
        },
        "offer": {
          "type": "string",
          "description": "Specifies the offer of the platform image or marketplace image used to create the virtual machine."
        },
        "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."
        },
        "exactVersion": {
          "type": "string",
          "description": "Specifies in decimal numbers, the version of platform image or marketplace image used to create the virtual machine. This readonly field differs from 'version', only if the value specified in 'version' field is 'latest'.",
          "readOnly": true
        },
        "sharedGalleryImageId": {
          "type": "string",
          "description": "Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call."
        },
        "communityGalleryImageId": {
          "type": "string",
          "description": "Specified the community gallery image unique id for vm deployment. This can be fetched from community gallery image GET call."
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/SubResource"
        }
      ]
    },
    "InnerError": {
      "type": "object",
      "description": "Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.",
      "x-ae-placeholder": true
    },
    "InstanceViewStatus": {
      "type": "object",
      "description": "Instance view status.",
      "properties": {
        "code": {
          "type": "string",
          "description": "The status code."
        },
        "level": {
          "$ref": "#/$defs/StatusLevelTypes",
          "description": "The level code."
        },
        "displayStatus": {
          "type": "string",
          "description": "The short localizable label for the status."
        },
        "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."
        }
      }
    },
    "InterconnectBlockProfile": {
      "type": "object",
      "description": "The parameters of an Interconnect Block Profile.",
      "properties": {
        "interconnectBlock": {
          "$ref": "#/$defs/ApiEntityReference",
          "description": "Specifies the Interconnect Block resource ID that should be used for allocating the Virtual Machine or Scale Set VM instances provided enough capacity has been reserved."
        }
      }
    },
    "InterconnectGroupProfile": {
      "type": "object",
      "description": "Specifies the interconnect group profile for a virtual machine, used to associate the VM with an interconnect group and subgroups.",
      "properties": {
        "interconnectGroup": {
          "$ref": "#/$defs/SubResource",
          "description": "Reference to the interconnect group resource."
        },
        "subgroups": {
          "type": "array",
          "description": "The list of subgroup references within the interconnect group.",
          "items": {
            "$ref": "#/$defs/SubResource"
          }
        }
      }
    },
    "InterconnectInstanceView": {
      "type": "object",
      "description": "The Interconnect Block instance view details for a Virtual Machine or Scale Set VM instance.",
      "properties": {
        "interconnectSubgroupId": {
          "type": "string",
          "description": "The ID (GUID) of the Interconnect subgroup in which the Virtual Machine was placed.",
          "readOnly": true
        }
      }
    },
    "KeyVaultKeyReference": {
      "type": "object",
      "description": "Describes a reference to Key Vault Key",
      "properties": {
        "keyUrl": {
          "type": "string",
          "description": "The URL referencing a key encryption key in Key Vault."
        },
        "sourceVault": {
          "$ref": "#/$defs/SubResource",
          "description": "The relative URL of the Key Vault containing the key."
        }
      },
      "required": [
        "keyUrl",
        "sourceVault"
      ]
    },
    "KeyVaultSecretReference": {
      "type": "object",
      "description": "Describes a reference to Key Vault Secret",
      "properties": {
        "secretUrl": {
          "type": "string",
          "description": "The URL referencing a secret in a Key Vault."
        },
        "sourceVault": {
          "$ref": "#/$defs/SubResource",
          "description": "The relative URL of the Key Vault containing the secret."
        }
      },
      "required": [
        "secretUrl",
        "sourceVault"
      ]
    },
    "LastPatchInstallationSummary": {
      "type": "object",
      "description": "Describes the properties of the last installed patch summary.",
      "properties": {
        "status": {
          "$ref": "#/$defs/PatchOperationStatus",
          "description": "The overall success or failure status of the operation. It remains \"InProgress\" until the operation completes. At that point it will become \"Unknown\", \"Failed\", \"Succeeded\", or \"CompletedWithWarnings.\"",
          "readOnly": true
        },
        "installationActivityId": {
          "type": "string",
          "description": "The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs.",
          "readOnly": true
        },
        "maintenanceWindowExceeded": {
          "type": "boolean",
          "description": "Describes whether the operation ran out of time before it completed all its intended actions",
          "readOnly": true
        },
        "notSelectedPatchCount": {
          "type": "integer",
          "format": "int32",
          "description": "The number of all available patches but not going to be installed because it didn't match a classification or inclusion list entry.",
          "readOnly": true
        },
        "excludedPatchCount": {
          "type": "integer",
          "format": "int32",
          "description": "The number of all available patches but excluded explicitly by a customer-specified exclusion list match.",
          "readOnly": true
        },
        "pendingPatchCount": {
          "type": "integer",
          "format": "int32",
          "description": "The number of all available patches expected to be installed over the course of the patch installation operation.",
          "readOnly": true
        },
        "installedPatchCount": {
          "type": "integer",
          "format": "int32",
          "description": "The count of patches that successfully installed.",
          "readOnly": true
        },
        "failedPatchCount": {
          "type": "integer",
          "format": "int32",
          "description": "The count of patches that failed installation.",
          "readOnly": true
        },
        "startTime": {
          "type": "string",
          "format": "date-time",
          "description": "The UTC timestamp when the operation began.",
          "readOnly": true
        },
        "lastModifiedTime": {
          "type": "string",
          "format": "date-time",
          "description": "The UTC timestamp when the operation began.",
          "readOnly": true
        },
        "error": {
          "$ref": "#/$defs/ApiError",
          "description": "The errors that were encountered during execution of the operation. The details array contains the list of them.",
          "readOnly": true
        }
      }
    },
    "LinuxConfiguration": {
      "type": "object",
      "description": "Specifies the Linux operating system settings on the virtual machine. For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros).",
      "properties": {
        "disablePasswordAuthentication": {
          "type": "boolean",
          "description": "Specifies whether password authentication should be disabled."
        },
        "ssh": {
          "$ref": "#/$defs/SshConfiguration",
          "description": "Specifies the ssh key configuration for a Linux OS."
        },
        "provisionVMAgent": {
          "type": "boolean",
          "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."
        },
        "patchSettings": {
          "$ref": "#/$defs/LinuxPatchSettings",
          "description": "[Preview Feature] Specifies settings related to VM Guest Patching on Linux."
        },
        "enableVMAgentPlatformUpdates": {
          "type": "boolean",
          "description": "Indicates whether VMAgent Platform Updates is enabled for the Linux virtual machine. Default value is false."
        }
      }
    },
    "LinuxPatchAssessmentMode": {
      "type": "string",
      "description": "Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine.<br /><br /> Possible values are:<br /><br /> **ImageDefault** - You control the timing of patch assessments on a virtual machine. <br /><br /> **AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true.",
      "enum": [
        "ImageDefault",
        "AutomaticByPlatform"
      ],
      "x-ms-enum": {
        "name": "LinuxPatchAssessmentMode",
        "modelAsString": true,
        "values": [
          {
            "name": "ImageDefault",
            "value": "ImageDefault"
          },
          {
            "name": "AutomaticByPlatform",
            "value": "AutomaticByPlatform"
          }
        ]
      }
    },
    "LinuxPatchSettings": {
      "type": "object",
      "description": "Specifies settings related to VM Guest Patching on Linux.",
      "properties": {
        "patchMode": {
          "$ref": "#/$defs/LinuxVMGuestPatchMode",
          "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.<br /><br /> Possible values are:<br /><br /> **ImageDefault** - The virtual machine's default patching configuration is used. <br /><br /> **AutomaticByPlatform** - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true"
        },
        "assessmentMode": {
          "$ref": "#/$defs/LinuxPatchAssessmentMode",
          "description": "Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine.<br /><br /> Possible values are:<br /><br /> **ImageDefault** - You control the timing of patch assessments on a virtual machine. <br /><br /> **AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true."
        },
        "automaticByPlatformSettings": {
          "$ref": "#/$defs/LinuxVMGuestPatchAutomaticByPlatformSettings",
          "description": "Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Linux."
        }
      }
    },
    "LinuxVMGuestPatchAutomaticByPlatformRebootSetting": {
      "type": "string",
      "description": "Specifies the reboot setting for all AutomaticByPlatform patch installation operations.",
      "enum": [
        "Unknown",
        "IfRequired",
        "Never",
        "Always"
      ],
      "x-ms-enum": {
        "name": "LinuxVMGuestPatchAutomaticByPlatformRebootSetting",
        "modelAsString": true,
        "values": [
          {
            "name": "Unknown",
            "value": "Unknown"
          },
          {
            "name": "IfRequired",
            "value": "IfRequired"
          },
          {
            "name": "Never",
            "value": "Never"
          },
          {
            "name": "Always",
            "value": "Always"
          }
        ]
      }
    },
    "LinuxVMGuestPatchAutomaticByPlatformSettings": {
      "type": "object",
      "description": "Specifies additional settings to be applied when patch mode AutomaticByPlatform is selected in Linux patch settings.",
      "properties": {
        "rebootSetting": {
          "$ref": "#/$defs/LinuxVMGuestPatchAutomaticByPlatformRebootSetting",
          "description": "Specifies the reboot setting for all AutomaticByPlatform patch installation operations."
        },
        "bypassPlatformSafetyChecksOnUserSchedule": {
          "type": "boolean",
          "description": "Enables customer to schedule patching without accidental upgrades"
        }
      }
    },
    "LinuxVMGuestPatchMode": {
      "type": "string",
      "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.<br /><br /> Possible values are:<br /><br /> **ImageDefault** - The virtual machine's default patching configuration is used. <br /><br /> **AutomaticByPlatform** - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true",
      "enum": [
        "ImageDefault",
        "AutomaticByPlatform"
      ],
      "x-ms-enum": {
        "name": "LinuxVMGuestPatchMode",
        "modelAsString": true,
        "values": [
          {
            "name": "ImageDefault",
            "value": "ImageDefault"
          },
          {
            "name": "AutomaticByPlatform",
            "value": "AutomaticByPlatform"
          }
        ]
      }
    },
    "MaintenanceOperationResultCodeTypes": {
      "type": "string",
      "description": "The Last Maintenance Operation Result Code.",
      "enum": [
        "None",
        "RetryLater",
        "MaintenanceAborted",
        "MaintenanceCompleted"
      ],
      "x-ms-enum": {
        "name": "MaintenanceOperationResultCodeTypes",
        "modelAsString": false
      }
    },
    "MaintenanceRedeployStatus": {
      "type": "object",
      "description": "Maintenance Operation Status.",
      "properties": {
        "isCustomerInitiatedMaintenanceAllowed": {
          "type": "boolean",
          "description": "True, if customer is allowed to perform Maintenance."
        },
        "preMaintenanceWindowStartTime": {
          "type": "string",
          "format": "date-time",
          "description": "Start Time for the Pre Maintenance Window."
        },
        "preMaintenanceWindowEndTime": {
          "type": "string",
          "format": "date-time",
          "description": "End Time for the Pre Maintenance Window."
        },
        "maintenanceWindowStartTime": {
          "type": "string",
          "format": "date-time",
          "description": "Start Time for the Maintenance Window."
        },
        "maintenanceWindowEndTime": {
          "type": "string",
          "format": "date-time",
          "description": "End Time for the Maintenance Window."
        },
        "lastOperationResultCode": {
          "$ref": "#/$defs/MaintenanceOperationResultCodeTypes",
          "description": "The Last Maintenance Operation Result Code."
        },
        "lastOperationMessage": {
          "type": "string",
          "description": "Message returned for the last Maintenance Operation."
        }
      }
    },
    "ManagedDiskParameters": {
      "type": "object",
      "description": "The parameters of a managed disk.",
      "properties": {
        "storageAccountType": {
          "$ref": "#/$defs/StorageAccountTypes",
          "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."
        },
        "diskEncryptionSet": {
          "$ref": "#/$defs/DiskEncryptionSetParameters",
          "description": "Specifies the customer managed disk encryption set resource id for the managed disk."
        },
        "securityProfile": {
          "$ref": "#/$defs/VMDiskSecurityProfile",
          "description": "Specifies the security profile for the managed disk."
        },
        "additionalDiskProperties": {
          "$ref": "#/$defs/AdditionalDiskProperties",
          "description": "Specifies additional properties for the managed disk that can be set at the time of implicit creation of the disk. This property is not captured for Restore Points."
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/SubResource"
        }
      ]
    },
    "ManagedDiskProperties": {
      "type": "object",
      "description": "Specifies the properties of a managed disk that can be set at the time of implicit creation of the disk.",
      "properties": {
        "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."
        },
        "burstingEnabled": {
          "type": "boolean",
          "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."
        },
        "performancePlus": {
          "type": "boolean",
          "description": "Set this flag to true to get a boost on the performance target of the disk deployed. This flag can only be set on disk creation time and cannot be disabled after enabled."
        },
        "optimizedForFrequentAttach": {
          "type": "boolean",
          "description": "Setting this property to true improves reliability and performance of data disks that are frequently (more than 5 times a day) 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."
        },
        "availabilityPolicy": {
          "$ref": "#/$defs/DiskAvailabilityPolicy",
          "description": "In the case of an availability or connectivity issue with the disk, specify the behavior of your VM."
        },
        "maxShares": {
          "type": "integer",
          "format": "int32",
          "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. Applies to data disks only.",
          "minimum": 1
        },
        "networkAccessPolicy": {
          "$ref": "#/$defs/NetworkAccessPolicy",
          "description": "Policy for accessing the disk via network."
        },
        "diskAccessId": {
          "type": "string",
          "description": "Azure resource Id of the DiskAccess resource for using private endpoints on disks."
        },
        "diskIOPSReadOnly": {
          "type": "integer",
          "format": "int64",
          "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."
        },
        "diskMBpsReadOnly": {
          "type": "integer",
          "format": "int64",
          "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."
        },
        "logicalSectorSize": {
          "type": "integer",
          "format": "int32",
          "description": "Logical sector size in bytes for Ultra Disks. Supported values are 512 and 4096. 4096 is the default."
        }
      }
    },
    "Mode": {
      "type": "string",
      "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.",
      "enum": [
        "Audit",
        "Enforce"
      ],
      "x-ms-enum": {
        "name": "Mode",
        "modelAsString": true,
        "values": [
          {
            "name": "Audit",
            "value": "Audit"
          },
          {
            "name": "Enforce",
            "value": "Enforce"
          }
        ]
      }
    },
    "Modes": {
      "type": "string",
      "description": "Specifies the execution mode. In Audit mode, the system acts as if it is enforcing the access control policy, including emitting access denial entries in the logs but it does not actually deny any requests to host endpoints. In Enforce mode, the system will enforce the access control and it is the recommended mode of operation.",
      "enum": [
        "Audit",
        "Enforce",
        "Disabled"
      ],
      "x-ms-enum": {
        "name": "Modes",
        "modelAsString": true,
        "values": [
          {
            "name": "Audit",
            "value": "Audit"
          },
          {
            "name": "Enforce",
            "value": "Enforce"
          },
          {
            "name": "Disabled",
            "value": "Disabled"
          }
        ]
      }
    },
    "NetworkAccessPolicy": {
      "type": "string",
      "description": "Policy for accessing the disk via network.",
      "enum": [
        "AllowAll",
        "AllowPrivate",
        "DenyAll"
      ],
      "x-ms-enum": {
        "name": "NetworkAccessPolicy",
        "modelAsString": true,
        "values": [
          {
            "name": "AllowAll",
            "value": "AllowAll",
            "description": "The disk can be exported or uploaded from any network."
          },
          {
            "name": "AllowPrivate",
            "value": "AllowPrivate",
            "description": "The disk can be exported or uploaded using a DiskAccess resource's private endpoints."
          },
          {
            "name": "DenyAll",
            "value": "DenyAll",
            "description": "The disk cannot be exported."
          }
        ]
      }
    },
    "NetworkApiVersion": {
      "type": "string",
      "description": "specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations",
      "enum": [
        "2020-11-01",
        "2022-11-01"
      ],
      "x-ms-enum": {
        "name": "NetworkApiVersion",
        "modelAsString": true,
        "values": [
          {
            "name": "2020-11-01",
            "value": "2020-11-01"
          },
          {
            "name": "2022-11-01",
            "value": "2022-11-01"
          }
        ]
      }
    },
    "NetworkInterfaceAuxiliaryMode": {
      "type": "string",
      "description": "Specifies whether the Auxiliary mode is enabled for the Network Interface resource.",
      "enum": [
        "None",
        "AcceleratedConnections",
        "Floating"
      ],
      "x-ms-enum": {
        "name": "NetworkInterfaceAuxiliaryMode",
        "modelAsString": true,
        "values": [
          {
            "name": "None",
            "value": "None"
          },
          {
            "name": "AcceleratedConnections",
            "value": "AcceleratedConnections"
          },
          {
            "name": "Floating",
            "value": "Floating"
          }
        ]
      }
    },
    "NetworkInterfaceAuxiliarySku": {
      "type": "string",
      "description": "Specifies whether the Auxiliary sku is enabled for the Network Interface resource.",
      "enum": [
        "None",
        "A1",
        "A2",
        "A4",
        "A8"
      ],
      "x-ms-enum": {
        "name": "NetworkInterfaceAuxiliarySku",
        "modelAsString": true,
        "values": [
          {
            "name": "None",
            "value": "None"
          },
          {
            "name": "A1",
            "value": "A1"
          },
          {
            "name": "A2",
            "value": "A2"
          },
          {
            "name": "A4",
            "value": "A4"
          },
          {
            "name": "A8",
            "value": "A8"
          }
        ]
      }
    },
    "NetworkInterfaceReference": {
      "type": "object",
      "description": "Describes a network interface reference.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/NetworkInterfaceReferenceProperties",
          "description": "Describes a network interface reference properties.",
          "x-ms-client-flatten": true
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/SubResource"
        }
      ]
    },
    "NetworkInterfaceReferenceProperties": {
      "type": "object",
      "description": "Describes a network interface reference properties.",
      "properties": {
        "primary": {
          "type": "boolean",
          "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface."
        },
        "deleteOption": {
          "$ref": "#/$defs/DeleteOptions",
          "description": "Specify what happens to the network interface when the VM is deleted"
        }
      }
    },
    "NetworkProfile": {
      "type": "object",
      "description": "Specifies the network interfaces or the networking configuration of the virtual machine.",
      "properties": {
        "networkInterfaces": {
          "type": "array",
          "description": "Specifies the list of resource Ids for the network interfaces associated with the virtual machine.",
          "items": {
            "$ref": "#/$defs/NetworkInterfaceReference"
          }
        },
        "networkApiVersion": {
          "$ref": "#/$defs/NetworkApiVersion",
          "description": "specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations"
        },
        "networkInterfaceConfigurations": {
          "type": "array",
          "description": "Specifies the networking configurations that will be used to create the virtual machine networking resources.",
          "items": {
            "$ref": "#/$defs/VirtualMachineNetworkInterfaceConfiguration"
          },
          "x-ms-identifiers": [
            "name"
          ]
        },
        "interconnectGroupProfile": {
          "$ref": "#/$defs/InterconnectGroupProfile",
          "description": "Specifies the interconnect group profile to associate with the virtual machine. Minimum api-version: 2026-03-01."
        }
      }
    },
    "OSDisk": {
      "type": "object",
      "description": "Specifies information about the operating system disk used by the virtual machine. For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
      "properties": {
        "osType": {
          "$ref": "#/$defs/Common.OperatingSystemTypes",
          "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.**"
        },
        "encryptionSettings": {
          "$ref": "#/$defs/DiskEncryptionSettings",
          "description": "Specifies the encryption settings for the OS Disk. Minimum api-version: 2015-06-15."
        },
        "name": {
          "type": "string",
          "description": "The disk name."
        },
        "vhd": {
          "$ref": "#/$defs/VirtualHardDisk",
          "description": "The virtual hard disk."
        },
        "image": {
          "$ref": "#/$defs/VirtualHardDisk",
          "description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist."
        },
        "caching": {
          "$ref": "#/$defs/CachingTypes",
          "description": "Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The defaulting behavior is: **None for Standard storage. ReadOnly for Premium storage.**"
        },
        "writeAcceleratorEnabled": {
          "type": "boolean",
          "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk."
        },
        "diffDiskSettings": {
          "$ref": "#/$defs/DiffDiskSettings",
          "description": "Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine."
        },
        "createOption": {
          "$ref": "#/$defs/DiskCreateOptionTypes",
          "description": "Specifies how the virtual machine disk 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."
        },
        "diskSizeGB": {
          "type": "integer",
          "format": "int32",
          "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."
        },
        "storageFaultDomainAlignment": {
          "$ref": "#/$defs/StorageFaultDomainAlignmentType",
          "description": "Specifies the storage fault domain alignment type for the disk."
        },
        "managedDisk": {
          "$ref": "#/$defs/ManagedDiskParameters",
          "description": "The managed disk parameters."
        },
        "deleteOption": {
          "$ref": "#/$defs/DiskDeleteOptionTypes",
          "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."
        }
      },
      "required": [
        "createOption"
      ]
    },
    "OSImageNotificationProfile": {
      "type": "object",
      "properties": {
        "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)"
        },
        "enable": {
          "type": "boolean",
          "description": "Specifies whether the OS Image Scheduled event is enabled or disabled."
        }
      }
    },
    "OSProfile": {
      "type": "object",
      "description": "Specifies the operating system settings for the virtual machine. Some of the settings cannot be changed once VM is provisioned.",
      "properties": {
        "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)."
        },
        "adminUsername": {
          "type": "string",
          "description": "Specifies the name of the administrator account. <br><br> This property cannot be updated after the VM is created. <br><br> **Windows-only restriction:** Cannot end in \".\" <br><br> **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\". <br><br> **Minimum-length (Linux):** 1  character <br><br> **Max-length (Linux):** 64 characters <br><br> **Max-length (Windows):** 20 characters."
        },
        "adminPassword": {
          "type": "string",
          "format": "password",
          "description": "Specifies the password of the administrator account. <br><br> **Minimum-length (Windows):** 8 characters <br><br> **Minimum-length (Linux):** 6 characters <br><br> **Max-length (Windows):** 123 characters <br><br> **Max-length (Linux):** 72 characters <br><br> **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled <br> Has lower characters <br>Has upper characters <br> Has a digit <br> Has a special character (Regex match [\\W_]) <br><br> **Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\" <br><br> 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) <br><br> 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)",
          "x-ms-secret": true
        },
        "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)."
        },
        "windowsConfiguration": {
          "$ref": "#/$defs/WindowsConfiguration",
          "description": "Specifies Windows operating system settings on the virtual machine."
        },
        "linuxConfiguration": {
          "$ref": "#/$defs/LinuxConfiguration",
          "description": "Specifies the Linux operating system settings on the virtual machine. For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros)."
        },
        "secrets": {
          "type": "array",
          "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).",
          "items": {
            "$ref": "#/$defs/VaultSecretGroup"
          },
          "x-ms-identifiers": [
            "sourceVault/id"
          ]
        },
        "allowExtensionOperations": {
          "type": "boolean",
          "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."
        },
        "requireGuestProvisionSignal": {
          "type": "boolean",
          "description": "Optional property which must either be set to True or omitted."
        }
      }
    },
    "PassNames": {
      "type": "string",
      "enum": [
        "OobeSystem"
      ],
      "x-ms-enum": {
        "modelAsString": false
      }
    },
    "PatchOperationStatus": {
      "type": "string",
      "description": "The overall success or failure status of the operation. It remains \"InProgress\" until the operation completes. At that point it will become \"Unknown\", \"Failed\", \"Succeeded\", or \"CompletedWithWarnings.\"",
      "enum": [
        "Unknown",
        "InProgress",
        "Failed",
        "Succeeded",
        "CompletedWithWarnings"
      ],
      "x-ms-enum": {
        "name": "PatchOperationStatus",
        "modelAsString": true,
        "values": [
          {
            "name": "Unknown",
            "value": "Unknown"
          },
          {
            "name": "InProgress",
            "value": "InProgress"
          },
          {
            "name": "Failed",
            "value": "Failed"
          },
          {
            "name": "Succeeded",
            "value": "Succeeded"
          },
          {
            "name": "CompletedWithWarnings",
            "value": "CompletedWithWarnings"
          }
        ]
      }
    },
    "PatchSettings": {
      "type": "object",
      "description": "Specifies settings related to VM Guest Patching on Windows.",
      "properties": {
        "patchMode": {
          "$ref": "#/$defs/WindowsVMGuestPatchMode",
          "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.<br /><br /> Possible values are:<br /><br /> **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<br /><br /> **AutomaticByOS** - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true. <br /><br /> **AutomaticByPlatform** - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true"
        },
        "enableHotpatching": {
          "type": "boolean",
          "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'."
        },
        "assessmentMode": {
          "$ref": "#/$defs/WindowsPatchAssessmentMode",
          "description": "Specifies the mode of VM Guest patch assessment for the IaaS virtual machine.<br /><br /> Possible values are:<br /><br /> **ImageDefault** - You control the timing of patch assessments on a virtual machine.<br /><br /> **AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true."
        },
        "automaticByPlatformSettings": {
          "$ref": "#/$defs/WindowsVMGuestPatchAutomaticByPlatformSettings",
          "description": "Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Windows."
        }
      }
    },
    "Plan": {
      "type": "object",
      "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use.  In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
      "properties": {
        "name": {
          "type": "string",
          "description": "The plan ID."
        },
        "publisher": {
          "type": "string",
          "description": "The publisher 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."
        }
      }
    },
    "ProcessorMode": {
      "type": "string",
      "description": "Specifies the processor frequency behavior for the virtual machine. See each member for the behavior it controls.",
      "enum": [
        "Deterministic",
        "Opportunistic"
      ],
      "x-ms-enum": {
        "name": "ProcessorMode",
        "modelAsString": true,
        "values": [
          {
            "name": "Deterministic",
            "value": "Deterministic",
            "description": "Ensures predictable and consistent processor frequency at the base/nominal level. Turbo/Boost is disabled."
          },
          {
            "name": "Opportunistic",
            "value": "Opportunistic",
            "description": "Allows higher frequency bursts when thermal and power headroom permits."
          }
        ]
      }
    },
    "ProtocolTypes": {
      "type": "string",
      "description": "Specifies the protocol of WinRM listener. Possible values are: **http,** **https.**",
      "enum": [
        "Http",
        "Https"
      ],
      "x-ms-enum": {
        "name": "ProtocolTypes",
        "modelAsString": false
      }
    },
    "ProxyAgentSettings": {
      "type": "object",
      "description": "Specifies ProxyAgent settings for the virtual machine or virtual machine scale set. Minimum api-version: 2023-09-01.",
      "properties": {
        "enabled": {
          "type": "boolean",
          "description": "Specifies whether ProxyAgent feature should be enabled on the virtual machine or virtual machine scale set."
        },
        "mode": {
          "$ref": "#/$defs/Mode",
          "description": "Specifies the mode that ProxyAgent will execute on. Warning: this property has been deprecated, please specify 'mode' under particular hostendpoint setting."
        },
        "keyIncarnationId": {
          "type": "integer",
          "format": "int32",
          "description": "Increase the value of this property allows users to reset the key used for securing communication channel between guest and host."
        },
        "wireServer": {
          "$ref": "#/$defs/HostEndpointSettings",
          "description": "Specifies the Wire Server endpoint settings while creating the virtual machine or virtual machine scale set. Minimum api-version: 2024-03-01."
        },
        "imds": {
          "$ref": "#/$defs/HostEndpointSettings",
          "description": "Specifies the IMDS endpoint settings while creating the virtual machine or virtual machine scale set. Minimum api-version: 2024-03-01."
        },
        "addProxyAgentExtension": {
          "type": "boolean",
          "description": "Specify whether to implicitly install the ProxyAgent Extension. This option is currently applicable only for Linux Os."
        }
      }
    },
    "PublicIPAddressSku": {
      "type": "object",
      "description": "Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible.",
      "properties": {
        "name": {
          "$ref": "#/$defs/PublicIPAddressSkuName",
          "description": "Specify public IP sku name"
        },
        "tier": {
          "$ref": "#/$defs/PublicIPAddressSkuTier",
          "description": "Specify public IP sku tier"
        }
      }
    },
    "PublicIPAddressSkuName": {
      "type": "string",
      "description": "Specify public IP sku name",
      "enum": [
        "Basic",
        "Standard"
      ],
      "x-ms-enum": {
        "name": "PublicIPAddressSkuName",
        "modelAsString": true,
        "values": [
          {
            "name": "Basic",
            "value": "Basic"
          },
          {
            "name": "Standard",
            "value": "Standard"
          }
        ]
      }
    },
    "PublicIPAddressSkuTier": {
      "type": "string",
      "description": "Specify public IP sku tier",
      "enum": [
        "Regional",
        "Global"
      ],
      "x-ms-enum": {
        "name": "PublicIPAddressSkuTier",
        "modelAsString": true,
        "values": [
          {
            "name": "Regional",
            "value": "Regional"
          },
          {
            "name": "Global",
            "value": "Global"
          }
        ]
      }
    },
    "PublicIPAllocationMethod": {
      "type": "string",
      "description": "Specify the public IP allocation type",
      "enum": [
        "Dynamic",
        "Static"
      ],
      "x-ms-enum": {
        "name": "PublicIPAllocationMethod",
        "modelAsString": true,
        "values": [
          {
            "name": "Dynamic",
            "value": "Dynamic"
          },
          {
            "name": "Static",
            "value": "Static"
          }
        ]
      }
    },
    "ResiliencyProfile": {
      "type": "object",
      "description": "Gets resiliency solutions enabled on the VM. This includes backup or disaster recovery solutions.",
      "properties": {
        "zoneMovement": {
          "$ref": "#/$defs/ZoneMovement",
          "description": "Zone movement configuration."
        }
      }
    },
    "ScheduledEventsAdditionalPublishingTargets": {
      "type": "object",
      "properties": {
        "eventGridAndResourceGraph": {
          "$ref": "#/$defs/EventGridAndResourceGraph",
          "description": "The configuration parameters used while creating eventGridAndResourceGraph Scheduled Event setting."
        }
      }
    },
    "ScheduledEventsPolicy": {
      "type": "object",
      "description": "Specifies Redeploy, Reboot and ScheduledEventsAdditionalPublishingTargets Scheduled Event related configurations.",
      "properties": {
        "userInitiatedRedeploy": {
          "$ref": "#/$defs/UserInitiatedRedeploy",
          "description": "The configuration parameters used while creating userInitiatedRedeploy scheduled event setting creation."
        },
        "userInitiatedReboot": {
          "$ref": "#/$defs/UserInitiatedReboot",
          "description": "The configuration parameters used while creating userInitiatedReboot scheduled event setting creation."
        },
        "scheduledEventsAdditionalPublishingTargets": {
          "$ref": "#/$defs/ScheduledEventsAdditionalPublishingTargets",
          "description": "The configuration parameters used while publishing scheduledEventsAdditionalPublishingTargets."
        },
        "allInstancesDown": {
          "$ref": "#/$defs/AllInstancesDown",
          "description": "The configuration parameters used while creating AllInstancesDown scheduled event setting creation."
        }
      }
    },
    "ScheduledEventsProfile": {
      "type": "object",
      "properties": {
        "terminateNotificationProfile": {
          "$ref": "#/$defs/TerminateNotificationProfile",
          "description": "Specifies Terminate Scheduled Event related configurations."
        },
        "osImageNotificationProfile": {
          "$ref": "#/$defs/OSImageNotificationProfile",
          "description": "Specifies OS Image Scheduled Event related configurations."
        }
      }
    },
    "SecurityEncryptionTypes": {
      "type": "string",
      "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.",
      "enum": [
        "VMGuestStateOnly",
        "DiskWithVMGuestState",
        "NonPersistedTPM"
      ],
      "x-ms-enum": {
        "name": "SecurityEncryptionTypes",
        "modelAsString": true,
        "values": [
          {
            "name": "VMGuestStateOnly",
            "value": "VMGuestStateOnly"
          },
          {
            "name": "DiskWithVMGuestState",
            "value": "DiskWithVMGuestState"
          },
          {
            "name": "NonPersistedTPM",
            "value": "NonPersistedTPM"
          }
        ]
      }
    },
    "SecurityProfile": {
      "type": "object",
      "description": "Specifies the Security profile settings for the virtual machine or virtual machine scale set.",
      "properties": {
        "uefiSettings": {
          "$ref": "#/$defs/UefiSettings",
          "description": "Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum api-version: 2020-12-01."
        },
        "encryptionAtHost": {
          "type": "boolean",
          "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": {
          "$ref": "#/$defs/SecurityTypes",
          "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 and is not Standard. If not specified, Standard will be returned starting api version 2025-11-01."
        },
        "encryptionIdentity": {
          "$ref": "#/$defs/EncryptionIdentity",
          "description": "Specifies the Managed Identity used by ADE to get access token for keyvault operations."
        },
        "proxyAgentSettings": {
          "$ref": "#/$defs/ProxyAgentSettings",
          "description": "Specifies ProxyAgent settings while creating the virtual machine. Minimum api-version: 2023-09-01."
        }
      }
    },
    "SecurityTypes": {
      "type": "string",
      "description": "Specifies the VM securityType; UefiSettings are enabled only when set to TrustedLaunch or ConfidentialVM, and returns a Standard value starting API version 2025-11-01.",
      "enum": [
        "Standard",
        "TrustedLaunch",
        "ConfidentialVM"
      ],
      "x-ms-enum": {
        "name": "SecurityTypes",
        "modelAsString": true,
        "values": [
          {
            "name": "Standard",
            "value": "Standard",
            "description": "Indicates a VM without UEFI features such as SecureBoot or vTPM; returned as the default value when securityType is not specified."
          },
          {
            "name": "TrustedLaunch",
            "value": "TrustedLaunch"
          },
          {
            "name": "ConfidentialVM",
            "value": "ConfidentialVM"
          }
        ]
      }
    },
    "SettingNames": {
      "type": "string",
      "description": "Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon.",
      "enum": [
        "AutoLogon",
        "FirstLogonCommands"
      ],
      "x-ms-enum": {
        "name": "SettingNames",
        "modelAsString": false
      }
    },
    "SshConfiguration": {
      "type": "object",
      "description": "SSH configuration for Linux based VMs running on Azure",
      "properties": {
        "publicKeys": {
          "type": "array",
          "description": "The list of SSH public keys used to authenticate with linux based VMs.",
          "items": {
            "$ref": "#/$defs/SshPublicKey"
          },
          "x-ms-identifiers": [
            "path"
          ]
        }
      }
    },
    "SshPublicKey": {
      "type": "object",
      "description": "Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed.",
      "properties": {
        "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"
        },
        "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)."
        }
      }
    },
    "StatusLevelTypes": {
      "type": "string",
      "description": "The level code.",
      "enum": [
        "Info",
        "Warning",
        "Error"
      ],
      "x-ms-enum": {
        "name": "StatusLevelTypes",
        "modelAsString": false
      }
    },
    "StorageAccountTypes": {
      "type": "string",
      "description": "Specifies the storage account type for the managed disk. Managed OS disk storage account type can only be set when you create the scale set. NOTE: UltraSSD_LRS can only be used with data disks. It cannot be used with OS Disk. Standard_LRS uses Standard HDD. StandardSSD_LRS uses Standard SSD. Premium_LRS uses Premium SSD. UltraSSD_LRS uses Ultra disk. Premium_ZRS uses Premium SSD zone redundant storage. StandardSSD_ZRS uses Standard SSD zone redundant storage. For more information regarding disks supported for Windows Virtual Machines, refer to https://docs.microsoft.com/azure/virtual-machines/windows/disks-types and, for Linux Virtual Machines, refer to https://docs.microsoft.com/azure/virtual-machines/linux/disks-types",
      "enum": [
        "Standard_LRS",
        "Premium_LRS",
        "StandardSSD_LRS",
        "UltraSSD_LRS",
        "Premium_ZRS",
        "StandardSSD_ZRS",
        "PremiumV2_LRS"
      ],
      "x-ms-enum": {
        "name": "StorageAccountTypes",
        "modelAsString": true,
        "values": [
          {
            "name": "Standard_LRS",
            "value": "Standard_LRS"
          },
          {
            "name": "Premium_LRS",
            "value": "Premium_LRS"
          },
          {
            "name": "StandardSSD_LRS",
            "value": "StandardSSD_LRS"
          },
          {
            "name": "UltraSSD_LRS",
            "value": "UltraSSD_LRS"
          },
          {
            "name": "Premium_ZRS",
            "value": "Premium_ZRS"
          },
          {
            "name": "StandardSSD_ZRS",
            "value": "StandardSSD_ZRS"
          },
          {
            "name": "PremiumV2_LRS",
            "value": "PremiumV2_LRS"
          }
        ]
      }
    },
    "StorageAlignmentStatus": {
      "type": "string",
      "description": "Specifies the storage alignment status for the disk.",
      "enum": [
        "Unaligned",
        "Aligned"
      ],
      "x-ms-enum": {
        "name": "StorageAlignmentStatus",
        "modelAsString": true,
        "values": [
          {
            "name": "Unaligned",
            "value": "Unaligned",
            "description": "Disk does not have Storage Fault Domain to Compute Fault Domain mapping. A single Storage Fault Domain failure may impact all VMs that reference this disk profile."
          },
          {
            "name": "Aligned",
            "value": "Aligned",
            "description": "Disk has Storage Fault Domain to Compute Fault Domain mapping. Storage Fault Domain failure is contained to VMs in a single Compute Fault Domain."
          }
        ]
      }
    },
    "StorageFaultDomainAlignmentType": {
      "type": "string",
      "description": "Specifies the storage fault domain alignment type for the disk.",
      "enum": [
        "Aligned",
        "BestEffortAligned"
      ],
      "x-ms-enum": {
        "name": "StorageFaultDomainAlignmentType",
        "modelAsString": true,
        "values": [
          {
            "name": "Aligned",
            "value": "Aligned",
            "description": "Disk Storage Fault Domains are mapped to Compute Fault Domains. Deployment fails if disk does not support enough Fault Domains."
          },
          {
            "name": "BestEffortAligned",
            "value": "BestEffortAligned",
            "description": "Attempt to map Storage Fault Domains to Compute Fault Domains. Disks are unaligned if disk does not support enough Fault Domains."
          }
        ]
      }
    },
    "StorageProfile": {
      "type": "object",
      "description": "Specifies the storage settings for the virtual machine disks.",
      "properties": {
        "imageReference": {
          "$ref": "#/$defs/ImageReference",
          "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations."
        },
        "osDisk": {
          "$ref": "#/$defs/OSDisk",
          "description": "Specifies information about the operating system disk used by the virtual machine. For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview)."
        },
        "dataDisks": {
          "type": "array",
          "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).",
          "items": {
            "$ref": "#/$defs/DataDisk"
          },
          "x-ms-identifiers": [
            "lun"
          ]
        },
        "diskControllerType": {
          "$ref": "#/$defs/DiskControllerTypes",
          "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."
        },
        "alignRegionalDisksToVMZone": {
          "type": "boolean",
          "description": "Specifies whether the regional disks should be aligned/moved to the VM zone. This is applicable **only** for VMs with placement.zonePlacementPolicy set to **Any**. Please note that this change is irreversible. Minimum api-version: 2024-11-01."
        },
        "diskApiVersion": {
          "$ref": "#/$defs/DiskApiVersion",
          "description": "Specifies the Disk API version used when applying additionalDiskProperties to managed disks. The value must be in the format YYYY-MM-DD (e.g., \"2026-03-02\")."
        }
      }
    },
    "SubResource": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Resource Id"
        }
      }
    },
    "TerminateNotificationProfile": {
      "type": "object",
      "properties": {
        "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)"
        },
        "enable": {
          "type": "boolean",
          "description": "Specifies whether the Terminate Scheduled event is enabled or disabled."
        }
      }
    },
    "UefiSettings": {
      "type": "object",
      "description": "Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum api-version: 2020-12-01.",
      "properties": {
        "secureBootEnabled": {
          "type": "boolean",
          "description": "Specifies whether secure boot should be enabled on the virtual machine. Minimum api-version: 2020-12-01."
        },
        "vTpmEnabled": {
          "type": "boolean",
          "description": "Specifies whether vTPM should be enabled on the virtual machine. Minimum api-version: 2020-12-01."
        }
      }
    },
    "UpdateResource": {
      "type": "object",
      "description": "The Update Resource model definition.",
      "properties": {
        "tags": {
          "type": "object",
          "description": "Resource tags",
          "additionalProperties": {
            "type": "string"
          }
        }
      }
    },
    "UserInitiatedReboot": {
      "type": "object",
      "description": "Specifies Reboot related Scheduled Event related configurations.",
      "properties": {
        "automaticallyApprove": {
          "type": "boolean",
          "description": "Specifies Reboot Scheduled Event related configurations."
        }
      }
    },
    "UserInitiatedRedeploy": {
      "type": "object",
      "description": "Specifies Redeploy related Scheduled Event related configurations.",
      "properties": {
        "automaticallyApprove": {
          "type": "boolean",
          "description": "Specifies Redeploy Scheduled Event related configurations."
        }
      }
    },
    "VMDiskSecurityProfile": {
      "type": "object",
      "description": "Specifies the security profile settings for the managed disk. **Note:** It can only be set for Confidential VMs.",
      "properties": {
        "securityEncryptionType": {
          "$ref": "#/$defs/SecurityEncryptionTypes",
          "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."
        },
        "diskEncryptionSet": {
          "$ref": "#/$defs/DiskEncryptionSetParameters",
          "description": "Specifies the customer managed disk encryption set resource id for the managed disk that is used for Customer Managed Key encrypted ConfidentialVM OS Disk and VMGuest blob."
        }
      }
    },
    "VMGalleryApplication": {
      "type": "object",
      "description": "Specifies the required information to reference a compute gallery application version",
      "properties": {
        "tags": {
          "type": "string",
          "description": "Optional, Specifies a passthrough value for more generic context."
        },
        "order": {
          "type": "integer",
          "format": "int32",
          "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}"
        },
        "configurationReference": {
          "type": "string",
          "description": "Optional, Specifies the uri to an azure blob that will replace the default configuration for the package if provided"
        },
        "treatFailureAsDeploymentFailure": {
          "type": "boolean",
          "description": "Optional, If true, any failure for any operation in the VmApplication will fail the deployment"
        },
        "enableAutomaticUpgrade": {
          "type": "boolean",
          "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"
        }
      },
      "required": [
        "packageReferenceId"
      ]
    },
    "VMSizeProperties": {
      "type": "object",
      "description": "Specifies VM Size Property settings on the virtual machine.",
      "properties": {
        "vCPUsAvailable": {
          "type": "integer",
          "format": "int32",
          "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": {
          "type": "integer",
          "format": "int32",
          "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.**"
        }
      }
    },
    "VaultCertificate": {
      "type": "object",
      "description": "Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM.",
      "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: <br><br> {<br>  \"data\":\"<Base64-encoded-certificate>\",<br>  \"dataType\":\"pfx\",<br>  \"password\":\"<pfx-file-password>\"<br>} <br> 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)."
        },
        "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 &lt;UppercaseThumbprint&gt;.crt for the X509 certificate file and &lt;UppercaseThumbprint&gt;.prv for private key. Both of these files are .pem formatted."
        }
      }
    },
    "VaultSecretGroup": {
      "type": "object",
      "description": "Describes a set of certificates which are all in the same Key Vault.",
      "properties": {
        "sourceVault": {
          "$ref": "#/$defs/SubResource",
          "description": "The relative URL of the Key Vault containing all of the certificates in VaultCertificates."
        },
        "vaultCertificates": {
          "type": "array",
          "description": "The list of key vault references in SourceVault which contain certificates.",
          "items": {
            "$ref": "#/$defs/VaultCertificate"
          },
          "x-ms-identifiers": [
            "certificateUrl"
          ]
        }
      }
    },
    "VirtualHardDisk": {
      "type": "object",
      "description": "Describes the uri of a disk.",
      "properties": {
        "uri": {
          "type": "string",
          "description": "Specifies the virtual hard disk's uri."
        }
      }
    },
    "VirtualMachineAgentInstanceView": {
      "type": "object",
      "description": "The instance view of the VM Agent running on the virtual machine.",
      "properties": {
        "vmAgentVersion": {
          "type": "string",
          "description": "The VM Agent full version."
        },
        "extensionHandlers": {
          "type": "array",
          "description": "The virtual machine extension handler instance view.",
          "items": {
            "$ref": "#/$defs/VirtualMachineExtensionHandlerInstanceView"
          },
          "x-ms-identifiers": []
        },
        "statuses": {
          "type": "array",
          "description": "The resource status information.",
          "items": {
            "$ref": "#/$defs/InstanceViewStatus"
          },
          "x-ms-identifiers": []
        }
      }
    },
    "VirtualMachineEvictionPolicyTypes": {
      "type": "string",
      "description": "Specifies the eviction policy for the Azure Spot VM/VMSS",
      "enum": [
        "Deallocate",
        "Delete"
      ],
      "x-ms-enum": {
        "name": "VirtualMachineEvictionPolicyTypes",
        "modelAsString": true,
        "values": [
          {
            "name": "Deallocate",
            "value": "Deallocate"
          },
          {
            "name": "Delete",
            "value": "Delete"
          }
        ]
      }
    },
    "VirtualMachineExtensionHandlerInstanceView": {
      "type": "object",
      "description": "The instance view of a virtual machine extension handler.",
      "properties": {
        "type": {
          "type": "string",
          "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"."
        },
        "typeHandlerVersion": {
          "type": "string",
          "description": "Specifies the Major.Minor.Patch.Hotfix version of the script handler. Azure platform will deliver the latest Patch.Hotfix version in the Major.Minor series."
        },
        "status": {
          "$ref": "#/$defs/InstanceViewStatus",
          "description": "The extension handler status."
        }
      }
    },
    "VirtualMachineExtensionInstanceView": {
      "type": "object",
      "description": "The instance view of a virtual machine extension.",
      "properties": {
        "name": {
          "type": "string",
          "description": "The virtual machine extension name."
        },
        "type": {
          "type": "string",
          "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"."
        },
        "typeHandlerVersion": {
          "type": "string",
          "description": "Specifies the Major.Minor.Patch.Hotfix version of the script handler. Azure platform will deliver the latest Patch.Hotfix version in the Major.Minor series."
        },
        "substatuses": {
          "type": "array",
          "description": "The resource status information.",
          "items": {
            "$ref": "#/$defs/InstanceViewStatus"
          },
          "x-ms-identifiers": []
        },
        "statuses": {
          "type": "array",
          "description": "The resource status information.",
          "items": {
            "$ref": "#/$defs/InstanceViewStatus"
          },
          "x-ms-identifiers": []
        }
      }
    },
    "VirtualMachineHealthStatus": {
      "type": "object",
      "description": "The health status of the VM.",
      "properties": {
        "status": {
          "$ref": "#/$defs/InstanceViewStatus",
          "description": "The health status information for the VM.",
          "readOnly": true
        }
      }
    },
    "VirtualMachineIdentity": {
      "type": "object",
      "description": "Identity for the virtual machine.",
      "properties": {
        "principalId": {
          "type": "string",
          "description": "The principal id of virtual machine identity. This property will only be provided for a system assigned identity.",
          "readOnly": true
        },
        "tenantId": {
          "type": "string",
          "description": "The tenant id associated with the virtual machine. This property will only be provided for a system assigned identity.",
          "readOnly": true
        },
        "type": {
          "$ref": "#/$defs/Common.ResourceIdentityType",
          "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": {
          "type": "object",
          "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}'.",
          "additionalProperties": {
            "$ref": "#/$defs/Common.UserAssignedIdentitiesValue"
          }
        }
      }
    },
    "VirtualMachineInstanceView": {
      "type": "object",
      "description": "The instance view of a virtual machine.",
      "properties": {
        "platformUpdateDomain": {
          "type": "integer",
          "format": "int32",
          "description": "Specifies the update domain of the virtual machine."
        },
        "platformFaultDomain": {
          "type": "integer",
          "format": "int32",
          "description": "Specifies the fault domain of the virtual machine."
        },
        "computerName": {
          "type": "string",
          "description": "The computer name assigned to the virtual machine."
        },
        "osName": {
          "type": "string",
          "description": "The Operating System running on the virtual machine."
        },
        "osVersion": {
          "type": "string",
          "description": "The version of Operating System running on the virtual machine."
        },
        "hyperVGeneration": {
          "$ref": "#/$defs/HyperVGenerationType",
          "description": "Specifies the HyperVGeneration Type associated with a resource"
        },
        "rdpThumbPrint": {
          "type": "string",
          "description": "The Remote desktop certificate thumbprint."
        },
        "vmAgent": {
          "$ref": "#/$defs/VirtualMachineAgentInstanceView",
          "description": "The VM Agent running on the virtual machine."
        },
        "maintenanceRedeployStatus": {
          "$ref": "#/$defs/MaintenanceRedeployStatus",
          "description": "The Maintenance Operation status on the virtual machine."
        },
        "disks": {
          "type": "array",
          "description": "The virtual machine disk information.",
          "items": {
            "$ref": "#/$defs/DiskInstanceView"
          },
          "x-ms-identifiers": [
            "name"
          ]
        },
        "extensions": {
          "type": "array",
          "description": "The extensions information.",
          "items": {
            "$ref": "#/$defs/VirtualMachineExtensionInstanceView"
          },
          "x-ms-identifiers": [
            "name",
            "type"
          ]
        },
        "vmHealth": {
          "$ref": "#/$defs/VirtualMachineHealthStatus",
          "description": "The health status for the VM.",
          "readOnly": true
        },
        "bootDiagnostics": {
          "$ref": "#/$defs/BootDiagnosticsInstanceView",
          "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."
        },
        "assignedHost": {
          "type": "string",
          "description": "Resource id of the dedicated host, on which the virtual machine is allocated through automatic placement, when the virtual machine is associated with a dedicated host group that has automatic placement enabled. Minimum api-version: 2020-06-01.",
          "readOnly": true
        },
        "statuses": {
          "type": "array",
          "description": "The resource status information.",
          "items": {
            "$ref": "#/$defs/InstanceViewStatus"
          },
          "x-ms-identifiers": []
        },
        "patchStatus": {
          "$ref": "#/$defs/VirtualMachinePatchStatus",
          "description": "[Preview Feature] The status of virtual machine patch operations."
        },
        "isVMInStandbyPool": {
          "type": "boolean",
          "description": "[Preview Feature] Specifies whether the VM is currently in or out of the Standby Pool.",
          "readOnly": true
        },
        "interconnectInstanceView": {
          "$ref": "#/$defs/InterconnectInstanceView",
          "description": "The Interconnect runtime view of the Virtual Machine. Minimum api-version: 2026-03-01.",
          "readOnly": true
        },
        "capacityReservationType": {
          "$ref": "#/$defs/CapacityReservationType",
          "description": "Specifies which type of capacity reservation the virtual machine will consume capacity from if eligible or whether it is explicitly opted out from being associated and consuming capacity from any reserved capacity available in the subscription. Minimum api-version: 2026-04-01.",
          "readOnly": true
        }
      }
    },
    "VirtualMachineIpTag": {
      "type": "object",
      "description": "Contains the IP tag associated with the public IP address.",
      "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."
        },
        "firstPartyServiceTagId": {
          "type": "string",
          "format": "arm-id",
          "description": "The first party service tag resource identifier associated with the public IP address.",
          "x-ms-arm-id-details": {
            "allowedResources": [
              {
                "type": "Microsoft.Network/firstPartyServiceTags"
              }
            ]
          }
        }
      }
    },
    "VirtualMachineNetworkInterfaceConfiguration": {
      "type": "object",
      "description": "Describes a virtual machine network interface configurations.",
      "properties": {
        "name": {
          "type": "string",
          "description": "The network interface configuration name."
        },
        "properties": {
          "$ref": "#/$defs/VirtualMachineNetworkInterfaceConfigurationProperties",
          "description": "Describes a virtual machine network profile's IP configuration.",
          "x-ms-client-flatten": true
        },
        "tags": {
          "type": "object",
          "description": "Resource tags applied to the networkInterface address created by this NetworkInterfaceConfiguration",
          "additionalProperties": {
            "type": "string"
          }
        }
      },
      "required": [
        "name"
      ]
    },
    "VirtualMachineNetworkInterfaceConfigurationProperties": {
      "type": "object",
      "description": "Describes a virtual machine network profile's IP configuration.",
      "properties": {
        "primary": {
          "type": "boolean",
          "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface."
        },
        "deleteOption": {
          "$ref": "#/$defs/DeleteOptions",
          "description": "Specify what happens to the network interface when the VM is deleted"
        },
        "enableAcceleratedNetworking": {
          "type": "boolean",
          "description": "Specifies whether the network interface is accelerated networking-enabled."
        },
        "disableTcpStateTracking": {
          "type": "boolean",
          "description": "Specifies whether the network interface is disabled for tcp state tracking."
        },
        "enableFpga": {
          "type": "boolean",
          "description": "Specifies whether the network interface is FPGA networking-enabled."
        },
        "enableIPForwarding": {
          "type": "boolean",
          "description": "Whether IP forwarding enabled on this NIC."
        },
        "networkSecurityGroup": {
          "$ref": "#/$defs/SubResource",
          "description": "The network security group."
        },
        "dnsSettings": {
          "$ref": "#/$defs/VirtualMachineNetworkInterfaceDnsSettingsConfiguration",
          "description": "The dns settings to be applied on the network interfaces."
        },
        "ipConfigurations": {
          "type": "array",
          "description": "Specifies the IP configurations of the network interface.",
          "items": {
            "$ref": "#/$defs/VirtualMachineNetworkInterfaceIPConfiguration"
          },
          "x-ms-identifiers": [
            "name"
          ]
        },
        "dscpConfiguration": {
          "$ref": "#/$defs/SubResource"
        },
        "auxiliaryMode": {
          "$ref": "#/$defs/NetworkInterfaceAuxiliaryMode",
          "description": "Specifies whether the Auxiliary mode is enabled for the Network Interface resource."
        },
        "auxiliarySku": {
          "$ref": "#/$defs/NetworkInterfaceAuxiliarySku",
          "description": "Specifies whether the Auxiliary sku is enabled for the Network Interface resource."
        }
      },
      "required": [
        "ipConfigurations"
      ]
    },
    "VirtualMachineNetworkInterfaceDnsSettingsConfiguration": {
      "type": "object",
      "description": "Describes a virtual machines network configuration's DNS settings.",
      "properties": {
        "dnsServers": {
          "type": "array",
          "description": "List of DNS servers IP addresses",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "VirtualMachineNetworkInterfaceIPConfiguration": {
      "type": "object",
      "description": "Describes a virtual machine network profile's IP configuration.",
      "properties": {
        "name": {
          "type": "string",
          "description": "The IP configuration name."
        },
        "properties": {
          "$ref": "#/$defs/VirtualMachineNetworkInterfaceIPConfigurationProperties",
          "description": "Describes a virtual machine network interface IP configuration properties.",
          "x-ms-client-flatten": true
        }
      },
      "required": [
        "name"
      ]
    },
    "VirtualMachineNetworkInterfaceIPConfigurationProperties": {
      "type": "object",
      "description": "Describes a virtual machine network interface IP configuration properties.",
      "properties": {
        "subnet": {
          "$ref": "#/$defs/SubResource",
          "description": "Specifies the identifier of the subnet."
        },
        "primary": {
          "type": "boolean",
          "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface."
        },
        "publicIPAddressConfiguration": {
          "$ref": "#/$defs/VirtualMachinePublicIPAddressConfiguration",
          "description": "The publicIPAddressConfiguration."
        },
        "privateIPAddressVersion": {
          "$ref": "#/$defs/IPVersions",
          "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'."
        },
        "privateIPAddressPrefixLength": {
          "type": "integer",
          "format": "int32",
          "description": "The private IP address prefix length. If specified and the allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address.",
          "minimum": 1,
          "maximum": 128
        },
        "applicationSecurityGroups": {
          "type": "array",
          "description": "Specifies an array of references to application security group.",
          "items": {
            "$ref": "#/$defs/SubResource"
          }
        },
        "applicationGatewayBackendAddressPools": {
          "type": "array",
          "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.",
          "items": {
            "$ref": "#/$defs/SubResource"
          }
        },
        "loadBalancerBackendAddressPools": {
          "type": "array",
          "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].",
          "items": {
            "$ref": "#/$defs/SubResource"
          }
        }
      }
    },
    "VirtualMachinePatchStatus": {
      "type": "object",
      "description": "The status of virtual machine patch operations.",
      "properties": {
        "availablePatchSummary": {
          "$ref": "#/$defs/AvailablePatchSummary",
          "description": "The available patch summary of the latest assessment operation for the virtual machine."
        },
        "lastPatchInstallationSummary": {
          "$ref": "#/$defs/LastPatchInstallationSummary",
          "description": "The installation summary of the latest installation operation for the virtual machine."
        },
        "configurationStatuses": {
          "type": "array",
          "description": "The enablement status of the specified patchMode",
          "items": {
            "$ref": "#/$defs/InstanceViewStatus"
          },
          "readOnly": true,
          "x-ms-identifiers": []
        }
      }
    },
    "VirtualMachinePriorityTypes": {
      "type": "string",
      "description": "Specifies the priority for a standalone virtual machine or the virtual machines in the scale set.",
      "enum": [
        "Regular",
        "Low",
        "Spot",
        "SpotPlus"
      ],
      "x-ms-enum": {
        "name": "VirtualMachinePriorityTypes",
        "modelAsString": true,
        "values": [
          {
            "name": "Regular",
            "value": "Regular",
            "description": "Regular Priority for a standalone virtual machine or the virtual machines in the scale set.\nThis is the default priority and it will be used to deploy regular VM/VMSS."
          },
          {
            "name": "Low",
            "value": "Low",
            "description": "Low priority for a standalone virtual machine or the virtual machines in the scale set. Will be Deprecated, use Spot instead."
          },
          {
            "name": "Spot",
            "value": "Spot",
            "description": "Spot priority for a standalone virtual machine or the virtual machines in the scale set."
          },
          {
            "name": "SpotPlus",
            "value": "SpotPlus",
            "description": "SpotPlus priority for a standalone virtual machine or the virtual machines in the scale set.\nThis is an enum value that will be used to deploy Azure Spot Plus VM/VMSS, which is the next\ngeneration of Azure Spot VM/VMSS with more reliability and longer running time."
          }
        ]
      }
    },
    "VirtualMachineProperties": {
      "type": "object",
      "description": "Describes the properties of a Virtual Machine.",
      "properties": {
        "hardwareProfile": {
          "$ref": "#/$defs/HardwareProfile",
          "description": "Specifies the hardware settings for the virtual machine."
        },
        "flexProfile": {
          "$ref": "#/$defs/FlexProfile",
          "description": "[Preview Feature] Specifies a FlexProfile for VM size. Azure may deploy a compatible alternative VM size based on capacity and placement considerations, and returns the deployed size in hardwareProfile.vmSize. A request that adds flexProfile must omit hardwareProfile.vmSize. For a virtual machine that uses FlexProfile, a hardwareProfile.vmSize equal to the deployed size is ignored, so a GET response can be sent back unchanged. A PATCH request that omits flexProfile keeps it. A PUT request that omits flexProfile and sets hardwareProfile.vmSize clears it. This property cannot exist along with a non-null properties.availabilitySet, properties.capacityReservation, properties.host, properties.hostGroup, properties.proximityPlacementGroup or properties.virtualMachineScaleSet."
        },
        "scheduledEventsPolicy": {
          "$ref": "#/$defs/ScheduledEventsPolicy",
          "description": "Specifies Redeploy, Reboot and ScheduledEventsAdditionalPublishingTargets Scheduled Event related configurations for the virtual machine."
        },
        "storageProfile": {
          "$ref": "#/$defs/StorageProfile",
          "description": "Specifies the storage settings for the virtual machine disks."
        },
        "additionalCapabilities": {
          "$ref": "#/$defs/AdditionalCapabilities",
          "description": "Specifies additional capabilities enabled or disabled on the virtual machine."
        },
        "osProfile": {
          "$ref": "#/$defs/OSProfile",
          "description": "Specifies the operating system settings used while creating the virtual machine. Some of the settings cannot be changed once VM is provisioned."
        },
        "networkProfile": {
          "$ref": "#/$defs/NetworkProfile",
          "description": "Specifies the network interfaces of the virtual machine."
        },
        "securityProfile": {
          "$ref": "#/$defs/SecurityProfile",
          "description": "Specifies the Security related profile settings for the virtual machine."
        },
        "diagnosticsProfile": {
          "$ref": "#/$defs/DiagnosticsProfile",
          "description": "Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15."
        },
        "availabilitySet": {
          "$ref": "#/$defs/SubResource",
          "description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Availability sets overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview). For more information on Azure planned maintenance, see [Maintenance and updates for Virtual Machines in Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates). Currently, a VM can only be added to availability set at creation time. The availability set to which the VM is being added should be under the same resource group as the availability set resource. An existing VM cannot be added to an availability set. This property cannot exist along with a non-null properties.virtualMachineScaleSet reference."
        },
        "virtualMachineScaleSet": {
          "$ref": "#/$defs/SubResource",
          "description": "Specifies information about the virtual machine scale set that the virtual machine should be assigned to. Virtual machines specified in the same virtual machine scale set are allocated to different nodes to maximize availability. Currently, a VM can only be added to virtual machine scale set at creation time. An existing VM cannot be added to a virtual machine scale set. This property cannot exist along with a non-null properties.availabilitySet reference. Minimum api‐version: 2019‐03‐01."
        },
        "proximityPlacementGroup": {
          "$ref": "#/$defs/SubResource",
          "description": "Specifies information about the proximity placement group that the virtual machine should be assigned to. Minimum api-version: 2018-04-01."
        },
        "priority": {
          "$ref": "#/$defs/VirtualMachinePriorityTypes",
          "description": "Specifies the priority for the virtual machine. Minimum api-version: 2019-03-01"
        },
        "evictionPolicy": {
          "$ref": "#/$defs/VirtualMachineEvictionPolicyTypes",
          "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."
        },
        "billingProfile": {
          "$ref": "#/$defs/BillingProfile",
          "description": "Specifies the billing related details of a Azure Spot virtual machine. Minimum api-version: 2019-03-01."
        },
        "host": {
          "$ref": "#/$defs/SubResource",
          "description": "Specifies information about the dedicated host that the virtual machine resides in. Minimum api-version: 2018-10-01."
        },
        "hostGroup": {
          "$ref": "#/$defs/SubResource",
          "description": "Specifies information about the dedicated host group that the virtual machine resides in. **Note:** User cannot specify both host and hostGroup properties. Minimum api-version: 2020-06-01."
        },
        "provisioningState": {
          "type": "string",
          "description": "The provisioning state, which only appears in the response.",
          "readOnly": true
        },
        "instanceView": {
          "$ref": "#/$defs/VirtualMachineInstanceView",
          "description": "The virtual machine instance view.",
          "readOnly": true
        },
        "licenseType": {
          "type": "string",
          "description": "Specifies that the image or disk that is being used was licensed on-premises. <br><br> Possible values for Windows Server operating system are: <br><br> Windows_Client <br><br> Windows_Server <br><br> Possible values for Linux Server operating system are: <br><br> RHEL_BYOS (for RHEL) <br><br> SLES_BYOS (for SUSE) <br><br> For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing) <br><br> [Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux) <br><br> Minimum api-version: 2015-06-15"
        },
        "vmId": {
          "type": "string",
          "description": "Specifies the VM unique ID which is a 128-bits identifier that is encoded and stored in all Azure IaaS VMs SMBIOS and can be read using platform BIOS commands.",
          "readOnly": true
        },
        "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."
        },
        "platformFaultDomain": {
          "type": "integer",
          "format": "int32",
          "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."
        },
        "scheduledEventsProfile": {
          "$ref": "#/$defs/ScheduledEventsProfile",
          "description": "Specifies Scheduled Event related configurations."
        },
        "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."
        },
        "capacityReservation": {
          "$ref": "#/$defs/CapacityReservationProfile",
          "description": "Specifies information about the capacity reservation that is used to allocate virtual machine. Minimum api-version: 2021-04-01."
        },
        "interconnectBlockProfile": {
          "$ref": "#/$defs/InterconnectBlockProfile",
          "description": "Specifies information about the Interconnect Block that is used to allocate the Virtual Machine. Minimum api-version: 2026-03-01."
        },
        "applicationProfile": {
          "$ref": "#/$defs/ApplicationProfile",
          "description": "Specifies the gallery applications that should be made available to the VM/VMSS."
        },
        "timeCreated": {
          "type": "string",
          "format": "date-time",
          "description": "Specifies the time at which the Virtual Machine resource was created. Minimum api-version: 2021-11-01.",
          "readOnly": true
        },
        "resiliencyProfile": {
          "$ref": "#/$defs/ResiliencyProfile",
          "description": "Resiliency profile for the virtual machine."
        }
      }
    },
    "VirtualMachinePublicIPAddressConfiguration": {
      "type": "object",
      "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration",
      "properties": {
        "name": {
          "type": "string",
          "description": "The publicIP address configuration name."
        },
        "properties": {
          "$ref": "#/$defs/VirtualMachinePublicIPAddressConfigurationProperties",
          "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration",
          "x-ms-client-flatten": true
        },
        "sku": {
          "$ref": "#/$defs/PublicIPAddressSku",
          "description": "Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible."
        },
        "tags": {
          "type": "object",
          "description": "Resource tags applied to the publicIP address created by this PublicIPAddressConfiguration",
          "additionalProperties": {
            "type": "string"
          }
        }
      },
      "required": [
        "name"
      ]
    },
    "VirtualMachinePublicIPAddressConfigurationProperties": {
      "type": "object",
      "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration",
      "properties": {
        "idleTimeoutInMinutes": {
          "type": "integer",
          "format": "int32",
          "description": "The idle timeout of the public IP address."
        },
        "deleteOption": {
          "$ref": "#/$defs/DeleteOptions",
          "description": "Specify what happens to the public IP address when the VM is deleted"
        },
        "dnsSettings": {
          "$ref": "#/$defs/VirtualMachinePublicIPAddressDnsSettingsConfiguration",
          "description": "The dns settings to be applied on the publicIP addresses ."
        },
        "ipTags": {
          "type": "array",
          "description": "The list of IP tags associated with the public IP address.",
          "items": {
            "$ref": "#/$defs/VirtualMachineIpTag"
          },
          "x-ms-identifiers": []
        },
        "publicIPPrefix": {
          "$ref": "#/$defs/SubResource",
          "description": "The PublicIPPrefix from which to allocate publicIP addresses."
        },
        "publicIPAddressVersion": {
          "$ref": "#/$defs/IPVersions",
          "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": {
          "$ref": "#/$defs/PublicIPAllocationMethod",
          "description": "Specify the public IP allocation type"
        }
      }
    },
    "VirtualMachinePublicIPAddressDnsSettingsConfiguration": {
      "type": "object",
      "description": "Describes a virtual machines network configuration's DNS settings.",
      "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": {
          "$ref": "#/$defs/DomainNameLabelScopeTypes",
          "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"
      ]
    },
    "VirtualMachineSizeTypes": {
      "type": "string",
      "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.",
      "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"
      ],
      "x-ms-enum": {
        "name": "VirtualMachineSizeTypes",
        "modelAsString": true,
        "values": [
          {
            "name": "Basic_A0",
            "value": "Basic_A0"
          },
          {
            "name": "Basic_A1",
            "value": "Basic_A1"
          },
          {
            "name": "Basic_A2",
            "value": "Basic_A2"
          },
          {
            "name": "Basic_A3",
            "value": "Basic_A3"
          },
          {
            "name": "Basic_A4",
            "value": "Basic_A4"
          },
          {
            "name": "Standard_A0",
            "value": "Standard_A0"
          },
          {
            "name": "Standard_A1",
            "value": "Standard_A1"
          },
          {
            "name": "Standard_A2",
            "value": "Standard_A2"
          },
          {
            "name": "Standard_A3",
            "value": "Standard_A3"
          },
          {
            "name": "Standard_A4",
            "value": "Standard_A4"
          },
          {
            "name": "Standard_A5",
            "value": "Standard_A5"
          },
          {
            "name": "Standard_A6",
            "value": "Standard_A6"
          },
          {
            "name": "Standard_A7",
            "value": "Standard_A7"
          },
          {
            "name": "Standard_A8",
            "value": "Standard_A8"
          },
          {
            "name": "Standard_A9",
            "value": "Standard_A9"
          },
          {
            "name": "Standard_A10",
            "value": "Standard_A10"
          },
          {
            "name": "Standard_A11",
            "value": "Standard_A11"
          },
          {
            "name": "Standard_A1_v2",
            "value": "Standard_A1_v2"
          },
          {
            "name": "Standard_A2_v2",
            "value": "Standard_A2_v2"
          },
          {
            "name": "Standard_A4_v2",
            "value": "Standard_A4_v2"
          },
          {
            "name": "Standard_A8_v2",
            "value": "Standard_A8_v2"
          },
          {
            "name": "Standard_A2m_v2",
            "value": "Standard_A2m_v2"
          },
          {
            "name": "Standard_A4m_v2",
            "value": "Standard_A4m_v2"
          },
          {
            "name": "Standard_A8m_v2",
            "value": "Standard_A8m_v2"
          },
          {
            "name": "Standard_B1s",
            "value": "Standard_B1s"
          },
          {
            "name": "Standard_B1ms",
            "value": "Standard_B1ms"
          },
          {
            "name": "Standard_B2s",
            "value": "Standard_B2s"
          },
          {
            "name": "Standard_B2ms",
            "value": "Standard_B2ms"
          },
          {
            "name": "Standard_B4ms",
            "value": "Standard_B4ms"
          },
          {
            "name": "Standard_B8ms",
            "value": "Standard_B8ms"
          },
          {
            "name": "Standard_D1",
            "value": "Standard_D1"
          },
          {
            "name": "Standard_D2",
            "value": "Standard_D2"
          },
          {
            "name": "Standard_D3",
            "value": "Standard_D3"
          },
          {
            "name": "Standard_D4",
            "value": "Standard_D4"
          },
          {
            "name": "Standard_D11",
            "value": "Standard_D11"
          },
          {
            "name": "Standard_D12",
            "value": "Standard_D12"
          },
          {
            "name": "Standard_D13",
            "value": "Standard_D13"
          },
          {
            "name": "Standard_D14",
            "value": "Standard_D14"
          },
          {
            "name": "Standard_D1_v2",
            "value": "Standard_D1_v2"
          },
          {
            "name": "Standard_D2_v2",
            "value": "Standard_D2_v2"
          },
          {
            "name": "Standard_D3_v2",
            "value": "Standard_D3_v2"
          },
          {
            "name": "Standard_D4_v2",
            "value": "Standard_D4_v2"
          },
          {
            "name": "Standard_D5_v2",
            "value": "Standard_D5_v2"
          },
          {
            "name": "Standard_D2_v3",
            "value": "Standard_D2_v3"
          },
          {
            "name": "Standard_D4_v3",
            "value": "Standard_D4_v3"
          },
          {
            "name": "Standard_D8_v3",
            "value": "Standard_D8_v3"
          },
          {
            "name": "Standard_D16_v3",
            "value": "Standard_D16_v3"
          },
          {
            "name": "Standard_D32_v3",
            "value": "Standard_D32_v3"
          },
          {
            "name": "Standard_D64_v3",
            "value": "Standard_D64_v3"
          },
          {
            "name": "Standard_D2s_v3",
            "value": "Standard_D2s_v3"
          },
          {
            "name": "Standard_D4s_v3",
            "value": "Standard_D4s_v3"
          },
          {
            "name": "Standard_D8s_v3",
            "value": "Standard_D8s_v3"
          },
          {
            "name": "Standard_D16s_v3",
            "value": "Standard_D16s_v3"
          },
          {
            "name": "Standard_D32s_v3",
            "value": "Standard_D32s_v3"
          },
          {
            "name": "Standard_D64s_v3",
            "value": "Standard_D64s_v3"
          },
          {
            "name": "Standard_D11_v2",
            "value": "Standard_D11_v2"
          },
          {
            "name": "Standard_D12_v2",
            "value": "Standard_D12_v2"
          },
          {
            "name": "Standard_D13_v2",
            "value": "Standard_D13_v2"
          },
          {
            "name": "Standard_D14_v2",
            "value": "Standard_D14_v2"
          },
          {
            "name": "Standard_D15_v2",
            "value": "Standard_D15_v2"
          },
          {
            "name": "Standard_DS1",
            "value": "Standard_DS1"
          },
          {
            "name": "Standard_DS2",
            "value": "Standard_DS2"
          },
          {
            "name": "Standard_DS3",
            "value": "Standard_DS3"
          },
          {
            "name": "Standard_DS4",
            "value": "Standard_DS4"
          },
          {
            "name": "Standard_DS11",
            "value": "Standard_DS11"
          },
          {
            "name": "Standard_DS12",
            "value": "Standard_DS12"
          },
          {
            "name": "Standard_DS13",
            "value": "Standard_DS13"
          },
          {
            "name": "Standard_DS14",
            "value": "Standard_DS14"
          },
          {
            "name": "Standard_DS1_v2",
            "value": "Standard_DS1_v2"
          },
          {
            "name": "Standard_DS2_v2",
            "value": "Standard_DS2_v2"
          },
          {
            "name": "Standard_DS3_v2",
            "value": "Standard_DS3_v2"
          },
          {
            "name": "Standard_DS4_v2",
            "value": "Standard_DS4_v2"
          },
          {
            "name": "Standard_DS5_v2",
            "value": "Standard_DS5_v2"
          },
          {
            "name": "Standard_DS11_v2",
            "value": "Standard_DS11_v2"
          },
          {
            "name": "Standard_DS12_v2",
            "value": "Standard_DS12_v2"
          },
          {
            "name": "Standard_DS13_v2",
            "value": "Standard_DS13_v2"
          },
          {
            "name": "Standard_DS14_v2",
            "value": "Standard_DS14_v2"
          },
          {
            "name": "Standard_DS15_v2",
            "value": "Standard_DS15_v2"
          },
          {
            "name": "Standard_DS13-4_v2",
            "value": "Standard_DS13-4_v2"
          },
          {
            "name": "Standard_DS13-2_v2",
            "value": "Standard_DS13-2_v2"
          },
          {
            "name": "Standard_DS14-8_v2",
            "value": "Standard_DS14-8_v2"
          },
          {
            "name": "Standard_DS14-4_v2",
            "value": "Standard_DS14-4_v2"
          },
          {
            "name": "Standard_E2_v3",
            "value": "Standard_E2_v3"
          },
          {
            "name": "Standard_E4_v3",
            "value": "Standard_E4_v3"
          },
          {
            "name": "Standard_E8_v3",
            "value": "Standard_E8_v3"
          },
          {
            "name": "Standard_E16_v3",
            "value": "Standard_E16_v3"
          },
          {
            "name": "Standard_E32_v3",
            "value": "Standard_E32_v3"
          },
          {
            "name": "Standard_E64_v3",
            "value": "Standard_E64_v3"
          },
          {
            "name": "Standard_E2s_v3",
            "value": "Standard_E2s_v3"
          },
          {
            "name": "Standard_E4s_v3",
            "value": "Standard_E4s_v3"
          },
          {
            "name": "Standard_E8s_v3",
            "value": "Standard_E8s_v3"
          },
          {
            "name": "Standard_E16s_v3",
            "value": "Standard_E16s_v3"
          },
          {
            "name": "Standard_E32s_v3",
            "value": "Standard_E32s_v3"
          },
          {
            "name": "Standard_E64s_v3",
            "value": "Standard_E64s_v3"
          },
          {
            "name": "Standard_E32-16_v3",
            "value": "Standard_E32-16_v3"
          },
          {
            "name": "Standard_E32-8s_v3",
            "value": "Standard_E32-8s_v3"
          },
          {
            "name": "Standard_E64-32s_v3",
            "value": "Standard_E64-32s_v3"
          },
          {
            "name": "Standard_E64-16s_v3",
            "value": "Standard_E64-16s_v3"
          },
          {
            "name": "Standard_F1",
            "value": "Standard_F1"
          },
          {
            "name": "Standard_F2",
            "value": "Standard_F2"
          },
          {
            "name": "Standard_F4",
            "value": "Standard_F4"
          },
          {
            "name": "Standard_F8",
            "value": "Standard_F8"
          },
          {
            "name": "Standard_F16",
            "value": "Standard_F16"
          },
          {
            "name": "Standard_F1s",
            "value": "Standard_F1s"
          },
          {
            "name": "Standard_F2s",
            "value": "Standard_F2s"
          },
          {
            "name": "Standard_F4s",
            "value": "Standard_F4s"
          },
          {
            "name": "Standard_F8s",
            "value": "Standard_F8s"
          },
          {
            "name": "Standard_F16s",
            "value": "Standard_F16s"
          },
          {
            "name": "Standard_F2s_v2",
            "value": "Standard_F2s_v2"
          },
          {
            "name": "Standard_F4s_v2",
            "value": "Standard_F4s_v2"
          },
          {
            "name": "Standard_F8s_v2",
            "value": "Standard_F8s_v2"
          },
          {
            "name": "Standard_F16s_v2",
            "value": "Standard_F16s_v2"
          },
          {
            "name": "Standard_F32s_v2",
            "value": "Standard_F32s_v2"
          },
          {
            "name": "Standard_F64s_v2",
            "value": "Standard_F64s_v2"
          },
          {
            "name": "Standard_F72s_v2",
            "value": "Standard_F72s_v2"
          },
          {
            "name": "Standard_G1",
            "value": "Standard_G1"
          },
          {
            "name": "Standard_G2",
            "value": "Standard_G2"
          },
          {
            "name": "Standard_G3",
            "value": "Standard_G3"
          },
          {
            "name": "Standard_G4",
            "value": "Standard_G4"
          },
          {
            "name": "Standard_G5",
            "value": "Standard_G5"
          },
          {
            "name": "Standard_GS1",
            "value": "Standard_GS1"
          },
          {
            "name": "Standard_GS2",
            "value": "Standard_GS2"
          },
          {
            "name": "Standard_GS3",
            "value": "Standard_GS3"
          },
          {
            "name": "Standard_GS4",
            "value": "Standard_GS4"
          },
          {
            "name": "Standard_GS5",
            "value": "Standard_GS5"
          },
          {
            "name": "Standard_GS4-8",
            "value": "Standard_GS4-8"
          },
          {
            "name": "Standard_GS4-4",
            "value": "Standard_GS4-4"
          },
          {
            "name": "Standard_GS5-16",
            "value": "Standard_GS5-16"
          },
          {
            "name": "Standard_GS5-8",
            "value": "Standard_GS5-8"
          },
          {
            "name": "Standard_H8",
            "value": "Standard_H8"
          },
          {
            "name": "Standard_H16",
            "value": "Standard_H16"
          },
          {
            "name": "Standard_H8m",
            "value": "Standard_H8m"
          },
          {
            "name": "Standard_H16m",
            "value": "Standard_H16m"
          },
          {
            "name": "Standard_H16r",
            "value": "Standard_H16r"
          },
          {
            "name": "Standard_H16mr",
            "value": "Standard_H16mr"
          },
          {
            "name": "Standard_L4s",
            "value": "Standard_L4s"
          },
          {
            "name": "Standard_L8s",
            "value": "Standard_L8s"
          },
          {
            "name": "Standard_L16s",
            "value": "Standard_L16s"
          },
          {
            "name": "Standard_L32s",
            "value": "Standard_L32s"
          },
          {
            "name": "Standard_M64s",
            "value": "Standard_M64s"
          },
          {
            "name": "Standard_M64ms",
            "value": "Standard_M64ms"
          },
          {
            "name": "Standard_M128s",
            "value": "Standard_M128s"
          },
          {
            "name": "Standard_M128ms",
            "value": "Standard_M128ms"
          },
          {
            "name": "Standard_M64-32ms",
            "value": "Standard_M64-32ms"
          },
          {
            "name": "Standard_M64-16ms",
            "value": "Standard_M64-16ms"
          },
          {
            "name": "Standard_M128-64ms",
            "value": "Standard_M128-64ms"
          },
          {
            "name": "Standard_M128-32ms",
            "value": "Standard_M128-32ms"
          },
          {
            "name": "Standard_NC6",
            "value": "Standard_NC6"
          },
          {
            "name": "Standard_NC12",
            "value": "Standard_NC12"
          },
          {
            "name": "Standard_NC24",
            "value": "Standard_NC24"
          },
          {
            "name": "Standard_NC24r",
            "value": "Standard_NC24r"
          },
          {
            "name": "Standard_NC6s_v2",
            "value": "Standard_NC6s_v2"
          },
          {
            "name": "Standard_NC12s_v2",
            "value": "Standard_NC12s_v2"
          },
          {
            "name": "Standard_NC24s_v2",
            "value": "Standard_NC24s_v2"
          },
          {
            "name": "Standard_NC24rs_v2",
            "value": "Standard_NC24rs_v2"
          },
          {
            "name": "Standard_NC6s_v3",
            "value": "Standard_NC6s_v3"
          },
          {
            "name": "Standard_NC12s_v3",
            "value": "Standard_NC12s_v3"
          },
          {
            "name": "Standard_NC24s_v3",
            "value": "Standard_NC24s_v3"
          },
          {
            "name": "Standard_NC24rs_v3",
            "value": "Standard_NC24rs_v3"
          },
          {
            "name": "Standard_ND6s",
            "value": "Standard_ND6s"
          },
          {
            "name": "Standard_ND12s",
            "value": "Standard_ND12s"
          },
          {
            "name": "Standard_ND24s",
            "value": "Standard_ND24s"
          },
          {
            "name": "Standard_ND24rs",
            "value": "Standard_ND24rs"
          },
          {
            "name": "Standard_NV6",
            "value": "Standard_NV6"
          },
          {
            "name": "Standard_NV12",
            "value": "Standard_NV12"
          },
          {
            "name": "Standard_NV24",
            "value": "Standard_NV24"
          }
        ]
      }
    },
    "WinRMConfiguration": {
      "type": "object",
      "description": "Describes Windows Remote Management configuration of the VM",
      "properties": {
        "listeners": {
          "type": "array",
          "description": "The list of Windows Remote Management listeners",
          "items": {
            "$ref": "#/$defs/WinRMListener"
          },
          "x-ms-identifiers": []
        }
      }
    },
    "WinRMListener": {
      "type": "object",
      "description": "Describes Protocol and thumbprint of Windows Remote Management listener",
      "properties": {
        "protocol": {
          "$ref": "#/$defs/ProtocolTypes",
          "description": "Specifies the protocol of WinRM listener. Possible values are: **http,** **https.**"
        },
        "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: <br><br> {<br>  \"data\":\"<Base64-encoded-certificate>\",<br>  \"dataType\":\"pfx\",<br>  \"password\":\"<pfx-file-password>\"<br>} <br> 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": {
      "type": "object",
      "description": "Specifies Windows operating system settings on the virtual machine.",
      "properties": {
        "provisionVMAgent": {
          "type": "boolean",
          "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."
        },
        "enableAutomaticUpdates": {
          "type": "boolean",
          "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."
        },
        "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)."
        },
        "additionalUnattendContent": {
          "type": "array",
          "description": "Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.",
          "items": {
            "$ref": "#/$defs/AdditionalUnattendContent"
          },
          "x-ms-identifiers": []
        },
        "patchSettings": {
          "$ref": "#/$defs/PatchSettings",
          "description": "[Preview Feature] Specifies settings related to VM Guest Patching on Windows."
        },
        "winRM": {
          "$ref": "#/$defs/WinRMConfiguration",
          "description": "Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell."
        },
        "enableVMAgentPlatformUpdates": {
          "type": "boolean",
          "description": "Indicates whether VMAgent Platform Updates are enabled for the Windows Virtual Machine.",
          "readOnly": true
        }
      }
    },
    "WindowsPatchAssessmentMode": {
      "type": "string",
      "description": "Specifies the mode of VM Guest patch assessment for the IaaS virtual machine.<br /><br /> Possible values are:<br /><br /> **ImageDefault** - You control the timing of patch assessments on a virtual machine.<br /><br /> **AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true.",
      "enum": [
        "ImageDefault",
        "AutomaticByPlatform"
      ],
      "x-ms-enum": {
        "name": "WindowsPatchAssessmentMode",
        "modelAsString": true,
        "values": [
          {
            "name": "ImageDefault",
            "value": "ImageDefault"
          },
          {
            "name": "AutomaticByPlatform",
            "value": "AutomaticByPlatform"
          }
        ]
      }
    },
    "WindowsVMGuestPatchAutomaticByPlatformRebootSetting": {
      "type": "string",
      "description": "Specifies the reboot setting for all AutomaticByPlatform patch installation operations.",
      "enum": [
        "Unknown",
        "IfRequired",
        "Never",
        "Always"
      ],
      "x-ms-enum": {
        "name": "WindowsVMGuestPatchAutomaticByPlatformRebootSetting",
        "modelAsString": true,
        "values": [
          {
            "name": "Unknown",
            "value": "Unknown"
          },
          {
            "name": "IfRequired",
            "value": "IfRequired"
          },
          {
            "name": "Never",
            "value": "Never"
          },
          {
            "name": "Always",
            "value": "Always"
          }
        ]
      }
    },
    "WindowsVMGuestPatchAutomaticByPlatformSettings": {
      "type": "object",
      "description": "Specifies additional settings to be applied when patch mode AutomaticByPlatform is selected in Windows patch settings.",
      "properties": {
        "rebootSetting": {
          "$ref": "#/$defs/WindowsVMGuestPatchAutomaticByPlatformRebootSetting",
          "description": "Specifies the reboot setting for all AutomaticByPlatform patch installation operations."
        },
        "bypassPlatformSafetyChecksOnUserSchedule": {
          "type": "boolean",
          "description": "Enables customer to schedule patching without accidental upgrades"
        }
      }
    },
    "WindowsVMGuestPatchMode": {
      "type": "string",
      "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.<br /><br /> Possible values are:<br /><br /> **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<br /><br /> **AutomaticByOS** - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true. <br /><br /> **AutomaticByPlatform** - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true",
      "enum": [
        "Manual",
        "AutomaticByOS",
        "AutomaticByPlatform"
      ],
      "x-ms-enum": {
        "name": "WindowsVMGuestPatchMode",
        "modelAsString": true,
        "values": [
          {
            "name": "Manual",
            "value": "Manual"
          },
          {
            "name": "AutomaticByOS",
            "value": "AutomaticByOS"
          },
          {
            "name": "AutomaticByPlatform",
            "value": "AutomaticByPlatform"
          }
        ]
      }
    },
    "ZoneMovement": {
      "type": "object",
      "description": "Describes zone movement configuration. This allows VM to be moved across availability zones during an outage.",
      "properties": {
        "isEnabled": {
          "type": "boolean",
          "description": "Indicates if zone movement is enabled. By default isEnabled is set to false i.e VM can't be moved from one zone to another."
        }
      }
    }
  }
}