{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-virtual-machines/json-schema/microsoft-azure-virtual-machines-restore-point-collection-update-schema.json",
  "title": "RestorePointCollectionUpdate",
  "description": "Update Restore Point collection parameters.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-virtual-machines-restorepointcollections-api-openapi.yml#/components/schemas/RestorePointCollectionUpdate",
  "type": "object",
  "properties": {
    "properties": {
      "$ref": "#/$defs/RestorePointCollectionProperties",
      "description": "The restore point collection properties.",
      "x-ms-client-flatten": true
    }
  },
  "allOf": [
    {
      "$ref": "#/$defs/UpdateResource"
    }
  ],
  "$defs": {
    "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."
        }
      }
    },
    "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}/..."
        }
      }
    },
    "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."
          }
        ]
      }
    },
    "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."
        }
      }
    },
    "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
      }
    },
    "Common.SnapshotAccessState": {
      "type": "string",
      "description": "The state of snapshot which determines the access availability of the snapshot.",
      "enum": [
        "Unknown",
        "Pending",
        "Available",
        "InstantAccess",
        "AvailableWithInstantAccess"
      ],
      "x-ms-enum": {
        "name": "SnapshotAccessState",
        "modelAsString": true,
        "values": [
          {
            "name": "Unknown",
            "value": "Unknown",
            "description": "Default value."
          },
          {
            "name": "Pending",
            "value": "Pending",
            "description": "The snapshot cannot be used for restore, copy or download to offline."
          },
          {
            "name": "Available",
            "value": "Available",
            "description": "The snapshot can be used for restore, copy to different region, and download to offline."
          },
          {
            "name": "InstantAccess",
            "value": "InstantAccess",
            "description": "The snapshot can be used for restoring disks with fast performance but cannot be copied or downloaded."
          },
          {
            "name": "AvailableWithInstantAccess",
            "value": "AvailableWithInstantAccess",
            "description": "The snapshot can be used for restoring disks with fast performance, copied and downloaded."
          }
        ]
      }
    },
    "ComponentNames": {
      "type": "string",
      "enum": [
        "Microsoft-Windows-Shell-Setup"
      ],
      "x-ms-enum": {
        "modelAsString": false
      }
    },
    "ConsistencyModeTypes": {
      "type": "string",
      "description": "ConsistencyMode of the RestorePoint. Can be specified in the input while creating a restore point. For now, only CrashConsistent is accepted as a valid input. Please refer to https://aka.ms/RestorePoints for more details.",
      "enum": [
        "CrashConsistent",
        "FileSystemConsistent",
        "ApplicationConsistent"
      ],
      "x-ms-enum": {
        "name": "ConsistencyModeTypes",
        "modelAsString": true,
        "values": [
          {
            "name": "CrashConsistent",
            "value": "CrashConsistent"
          },
          {
            "name": "FileSystemConsistent",
            "value": "FileSystemConsistent"
          },
          {
            "name": "ApplicationConsistent",
            "value": "ApplicationConsistent"
          }
        ]
      }
    },
    "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."
        }
      }
    },
    "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"
          }
        ]
      }
    },
    "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."
        }
      }
    },
    "DiskRestorePointAttributes": {
      "type": "object",
      "description": "Disk Restore Point details.",
      "properties": {
        "encryption": {
          "$ref": "#/$defs/RestorePointEncryption",
          "description": "Encryption at rest settings for disk restore point. It is an optional property that can be specified in the input while creating a restore point."
        },
        "sourceDiskRestorePoint": {
          "$ref": "#/$defs/ApiEntityReference",
          "description": "Resource Id of the source disk restore point."
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/SubResourceReadOnly"
        }
      ]
    },
    "DiskRestorePointInstanceView": {
      "type": "object",
      "description": "The instance view of a disk restore point.",
      "properties": {
        "id": {
          "type": "string",
          "description": "Disk restore point Id."
        },
        "snapshotAccessState": {
          "$ref": "#/$defs/Common.SnapshotAccessState",
          "description": "The state of snapshot which determines the access availability of the snapshot."
        },
        "replicationStatus": {
          "$ref": "#/$defs/DiskRestorePointReplicationStatus",
          "description": "The disk restore point replication status information."
        }
      }
    },
    "DiskRestorePointReplicationStatus": {
      "type": "object",
      "description": "The instance view of a disk restore point.",
      "properties": {
        "status": {
          "$ref": "#/$defs/InstanceViewStatus",
          "description": "The resource status information."
        },
        "completionPercent": {
          "type": "integer",
          "format": "int32",
          "description": "Replication completion percentage."
        }
      }
    },
    "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."
        }
      }
    },
    "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."
        }
      }
    },
    "HyperVGenerationTypes": {
      "type": "string",
      "description": "Specifies the HyperVGeneration Type",
      "enum": [
        "V1",
        "V2"
      ],
      "x-ms-enum": {
        "name": "HyperVGenerationTypes",
        "modelAsString": true,
        "values": [
          {
            "name": "V1",
            "value": "V1"
          },
          {
            "name": "V2",
            "value": "V2"
          }
        ]
      }
    },
    "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."
        }
      }
    },
    "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"
      ]
    },
    "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"
          }
        ]
      }
    },
    "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."
          }
        ]
      }
    },
    "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."
        }
      }
    },
    "OperatingSystemType": {
      "type": "string",
      "description": "Gets the Operating System type.",
      "enum": [
        "Windows",
        "Linux"
      ],
      "x-ms-enum": {
        "name": "OperatingSystemType",
        "modelAsString": true,
        "values": [
          {
            "name": "Windows",
            "value": "Windows"
          },
          {
            "name": "Linux",
            "value": "Linux"
          }
        ]
      }
    },
    "PassNames": {
      "type": "string",
      "enum": [
        "OobeSystem"
      ],
      "x-ms-enum": {
        "modelAsString": false
      }
    },
    "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."
        }
      }
    },
    "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."
        }
      }
    },
    "ProxyResource": {
      "type": "object",
      "title": "Proxy Resource",
      "description": "The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location",
      "allOf": [
        {
          "$ref": "#/$defs/Resource"
        }
      ]
    },
    "RestorePoint": {
      "type": "object",
      "description": "Restore Point details.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/RestorePointProperties",
          "description": "The restore point properties.",
          "x-ms-client-flatten": true
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/ProxyResource"
        }
      ]
    },
    "RestorePointCollectionProperties": {
      "type": "object",
      "description": "The restore point collection properties.",
      "properties": {
        "source": {
          "$ref": "#/$defs/RestorePointCollectionSourceProperties",
          "description": "The properties of the source resource that this restore point collection is created from."
        },
        "provisioningState": {
          "type": "string",
          "description": "The provisioning state of the restore point collection.",
          "readOnly": true
        },
        "restorePointCollectionId": {
          "type": "string",
          "description": "The unique id of the restore point collection.",
          "readOnly": true
        },
        "restorePoints": {
          "type": "array",
          "description": "A list containing all restore points created under this restore point collection.",
          "items": {
            "$ref": "#/$defs/RestorePoint"
          },
          "readOnly": true
        },
        "instantAccess": {
          "type": "boolean",
          "description": "This property determines whether instant access snapshot is enabled for restore points created under this restore point collection for Premium SSD v2 or Ultra disk. Instant access snapshot for Premium SSD v2 or Ultra disk is instantaneously available for restoring disk with fast restore performance."
        }
      }
    },
    "RestorePointCollectionSourceProperties": {
      "type": "object",
      "description": "The properties of the source resource that this restore point collection is created from.",
      "properties": {
        "location": {
          "type": "string",
          "description": "Location of the source resource used to create this restore point collection.",
          "readOnly": true
        },
        "id": {
          "type": "string",
          "description": "Resource Id of the source resource used to create this restore point collection"
        }
      }
    },
    "RestorePointEncryption": {
      "type": "object",
      "description": "Encryption at rest settings for disk restore point. It is an optional property that can be specified in the input while creating a restore point.",
      "properties": {
        "diskEncryptionSet": {
          "$ref": "#/$defs/DiskEncryptionSetParameters",
          "description": "Describes the parameter of customer managed disk encryption set resource id that can be specified for disk. **Note:** The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details."
        },
        "type": {
          "$ref": "#/$defs/RestorePointEncryptionType",
          "description": "The type of key used to encrypt the data of the disk restore point."
        }
      }
    },
    "RestorePointEncryptionType": {
      "type": "string",
      "description": "The type of key used to encrypt the data of the disk restore point.",
      "enum": [
        "EncryptionAtRestWithPlatformKey",
        "EncryptionAtRestWithCustomerKey",
        "EncryptionAtRestWithPlatformAndCustomerKeys"
      ],
      "x-ms-enum": {
        "name": "RestorePointEncryptionType",
        "modelAsString": true,
        "values": [
          {
            "name": "EncryptionAtRestWithPlatformKey",
            "value": "EncryptionAtRestWithPlatformKey",
            "description": "Disk Restore Point is encrypted at rest with Platform managed key."
          },
          {
            "name": "EncryptionAtRestWithCustomerKey",
            "value": "EncryptionAtRestWithCustomerKey",
            "description": "Disk Restore Point is encrypted at rest with Customer managed key that can be changed and revoked by a customer."
          },
          {
            "name": "EncryptionAtRestWithPlatformAndCustomerKeys",
            "value": "EncryptionAtRestWithPlatformAndCustomerKeys",
            "description": "Disk Restore Point is encrypted at rest with 2 layers of encryption. One of the keys is Customer managed and the other key is Platform managed."
          }
        ]
      }
    },
    "RestorePointInstanceView": {
      "type": "object",
      "description": "The instance view of a restore point.",
      "properties": {
        "diskRestorePoints": {
          "type": "array",
          "description": "The disk restore points information.",
          "items": {
            "$ref": "#/$defs/DiskRestorePointInstanceView"
          }
        },
        "statuses": {
          "type": "array",
          "description": "The aggregate status information for the restore point. The list may include separate aggregate entries for replication and, in supported API versions, Instant Access, as applicable. For more information about Instant Access, see [Use virtual machine restore points](https://learn.microsoft.com/azure/virtual-machines/virtual-machines-create-restore-points#instant-access).",
          "items": {
            "$ref": "#/$defs/InstanceViewStatus"
          },
          "x-ms-identifiers": []
        }
      }
    },
    "RestorePointProperties": {
      "type": "object",
      "description": "The restore point properties.",
      "properties": {
        "excludeDisks": {
          "type": "array",
          "description": "List of disk resource ids that the customer wishes to exclude from the restore point. If no disks are specified, all disks will be included.",
          "items": {
            "$ref": "#/$defs/ApiEntityReference"
          }
        },
        "sourceMetadata": {
          "$ref": "#/$defs/RestorePointSourceMetadata",
          "description": "Gets the details of the VM captured at the time of the restore point creation."
        },
        "provisioningState": {
          "type": "string",
          "description": "Gets the provisioning state of the restore point.",
          "readOnly": true
        },
        "consistencyMode": {
          "$ref": "#/$defs/ConsistencyModeTypes",
          "description": "ConsistencyMode of the RestorePoint. Can be specified in the input while creating a restore point. For now, only CrashConsistent is accepted as a valid input. Please refer to https://aka.ms/RestorePoints for more details."
        },
        "timeCreated": {
          "type": "string",
          "format": "date-time",
          "description": "Gets the creation time of the restore point."
        },
        "sourceRestorePoint": {
          "$ref": "#/$defs/ApiEntityReference",
          "description": "Resource Id of the source restore point from which a copy needs to be created."
        },
        "instanceView": {
          "$ref": "#/$defs/RestorePointInstanceView",
          "description": "The restore point instance view.",
          "readOnly": true
        },
        "instantAccessDurationMinutes": {
          "type": "integer",
          "format": "int32",
          "description": "This property determines the time in minutes the snapshot is retained as instant access for restoring Premium SSD v2 or Ultra disk with fast restore performance in this restore point."
        }
      }
    },
    "RestorePointSourceMetadata": {
      "type": "object",
      "description": "Describes the properties of the Virtual Machine for which the restore point was created. The properties provided are a subset and the snapshot of the overall Virtual Machine properties captured at the time of the restore point creation.",
      "properties": {
        "hardwareProfile": {
          "$ref": "#/$defs/HardwareProfile",
          "description": "Gets the hardware profile.",
          "readOnly": true
        },
        "storageProfile": {
          "$ref": "#/$defs/RestorePointSourceVMStorageProfile",
          "description": "Gets the storage profile."
        },
        "osProfile": {
          "$ref": "#/$defs/OSProfile",
          "description": "Gets the OS profile.",
          "readOnly": true
        },
        "diagnosticsProfile": {
          "$ref": "#/$defs/DiagnosticsProfile",
          "description": "Gets the diagnostics profile.",
          "readOnly": true
        },
        "licenseType": {
          "type": "string",
          "description": "Gets the license type, which is for bring your own license scenario.",
          "readOnly": true
        },
        "vmId": {
          "type": "string",
          "description": "Gets the virtual machine unique id.",
          "readOnly": true
        },
        "securityProfile": {
          "$ref": "#/$defs/SecurityProfile",
          "description": "Gets the security profile.",
          "readOnly": true
        },
        "location": {
          "type": "string",
          "description": "Location of the VM from which the restore point was created.",
          "readOnly": true
        },
        "userData": {
          "type": "string",
          "description": "UserData associated with the source VM for which restore point is captured, which is a base-64 encoded value.",
          "readOnly": true
        },
        "hyperVGeneration": {
          "$ref": "#/$defs/HyperVGenerationTypes",
          "description": "HyperVGeneration of the source VM for which restore point is captured.",
          "readOnly": true
        }
      }
    },
    "RestorePointSourceVMDataDisk": {
      "type": "object",
      "description": "Describes a data disk.",
      "properties": {
        "lun": {
          "type": "integer",
          "format": "int32",
          "description": "Gets the logical unit number.",
          "readOnly": true
        },
        "name": {
          "type": "string",
          "description": "Gets the disk name.",
          "readOnly": true
        },
        "caching": {
          "$ref": "#/$defs/CachingTypes",
          "description": "Gets the caching type.",
          "readOnly": true
        },
        "diskSizeGB": {
          "type": "integer",
          "format": "int32",
          "description": "Gets the initial disk size in GB for blank data disks, and the new desired size for existing OS and Data disks.",
          "readOnly": true
        },
        "managedDisk": {
          "$ref": "#/$defs/ManagedDiskParameters",
          "description": "Contains the managed disk details."
        },
        "diskRestorePoint": {
          "$ref": "#/$defs/DiskRestorePointAttributes",
          "description": "Contains Disk Restore Point properties."
        },
        "writeAcceleratorEnabled": {
          "type": "boolean",
          "description": "Shows true if the disk is write-accelerator enabled.",
          "readOnly": true
        }
      }
    },
    "RestorePointSourceVMOSDisk": {
      "type": "object",
      "description": "Describes an Operating System disk.",
      "properties": {
        "osType": {
          "$ref": "#/$defs/OperatingSystemType",
          "description": "Gets the Operating System type.",
          "readOnly": true
        },
        "encryptionSettings": {
          "$ref": "#/$defs/DiskEncryptionSettings",
          "description": "Gets the disk encryption settings.",
          "readOnly": true
        },
        "name": {
          "type": "string",
          "description": "Gets the disk name.",
          "readOnly": true
        },
        "caching": {
          "$ref": "#/$defs/CachingTypes",
          "description": "Gets the caching type.",
          "readOnly": true
        },
        "diskSizeGB": {
          "type": "integer",
          "format": "int32",
          "description": "Gets the disk size in GB.",
          "readOnly": true
        },
        "managedDisk": {
          "$ref": "#/$defs/ManagedDiskParameters",
          "description": "Gets the managed disk details"
        },
        "diskRestorePoint": {
          "$ref": "#/$defs/DiskRestorePointAttributes",
          "description": "Contains Disk Restore Point properties."
        },
        "writeAcceleratorEnabled": {
          "type": "boolean",
          "description": "Shows true if the disk is write-accelerator enabled.",
          "readOnly": true
        }
      }
    },
    "RestorePointSourceVMStorageProfile": {
      "type": "object",
      "description": "Describes the storage profile.",
      "properties": {
        "osDisk": {
          "$ref": "#/$defs/RestorePointSourceVMOSDisk",
          "description": "Gets the OS disk of the VM captured at the time of the restore point creation."
        },
        "dataDisks": {
          "type": "array",
          "description": "Gets the data disks of the VM captured at the time of the restore point creation.",
          "items": {
            "$ref": "#/$defs/RestorePointSourceVMDataDisk"
          },
          "x-ms-identifiers": [
            "lun"
          ]
        },
        "diskControllerType": {
          "$ref": "#/$defs/DiskControllerTypes",
          "description": "Gets the disk controller type of the VM captured at the time of the restore point creation.",
          "readOnly": true
        }
      }
    },
    "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"
          }
        ]
      }
    },
    "SubResource": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Resource Id"
        }
      }
    },
    "SubResourceReadOnly": {
      "type": "object",
      "properties": {
        "id": {
          "readOnly": true,
          "type": "string",
          "description": "Resource Id"
        }
      }
    },
    "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"
          }
        }
      }
    },
    "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."
        }
      }
    },
    "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"
          ]
        }
      }
    },
    "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"
          }
        ]
      }
    }
  }
}