PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/?api-version=2023-09-01
The operation to update a virtual machine.
Servers
- https://management.azure.com/
Path parameters
Name | Type | Required | Description |
---|---|---|---|
vmName |
String | Yes |
The name of the virtual machine. |
subscriptionId |
String | Yes |
Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
resourceGroupName |
String | Yes |
The name of the resource group. |
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
If-None-Match |
String | No |
Set to '*' to allow a new record set to be created, but to prevent updating an existing record set. Other values will result in error from server as they are not supported. |
If-Match |
String | No |
The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
properties |
Object | No |
Describes the properties of a Virtual Machine. |
properties.osProfile |
Object | No |
Specifies the operating system settings for the virtual machine. Some of the settings cannot be changed once VM is provisioned. |
properties.osProfile.windowsConfiguration |
Object | No |
Specifies Windows operating system settings on the virtual machine. |
properties.osProfile.windowsConfiguration.winRM |
Object | No |
Describes Windows Remote Management configuration of the VM |
properties.osProfile.windowsConfiguration.winRM.listeners[] |
Array | No |
The list of Windows Remote Management listeners |
properties.osProfile.windowsConfiguration.winRM.listeners[].protocol |
String | No |
Specifies the protocol of WinRM listener. Possible values are: http, https. Possible values:
|
properties.osProfile.windowsConfiguration.winRM.listeners[].certificateUrl |
String | No |
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. In this case, your certificate needs to be the Base64 encoding of the following JSON Object which is encoded in UTF-8: |
properties.osProfile.windowsConfiguration.provisionVMAgent |
Boolean | No |
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. |
properties.osProfile.windowsConfiguration.patchSettings |
Object | No |
Specifies settings related to VM Guest Patching on Windows. |
properties.osProfile.windowsConfiguration.patchSettings.assessmentMode |
String | No |
Specifies the mode of VM Guest patch assessment for the IaaS virtual machine. Possible values:
|
properties.osProfile.windowsConfiguration.patchSettings.patchMode |
String | No |
Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible. Possible values:
|
properties.osProfile.windowsConfiguration.patchSettings.enableHotpatching |
Boolean | No |
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'. |
properties.osProfile.windowsConfiguration.patchSettings.automaticByPlatformSettings |
Object | No |
Specifies additional settings to be applied when patch mode AutomaticByPlatform is selected in Windows patch settings. |
properties.osProfile.windowsConfiguration.patchSettings.automaticByPlatformSettings.bypassPlatformSafetyChecksOnUserSchedule |
Boolean | No |
Enables customer to schedule patching without accidental upgrades |
properties.osProfile.windowsConfiguration.patchSettings.automaticByPlatformSettings.rebootSetting |
String | No |
Specifies the reboot setting for all AutomaticByPlatform patch installation operations. Possible values:
|
properties.osProfile.windowsConfiguration.enableAutomaticUpdates |
Boolean | No |
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. |
properties.osProfile.windowsConfiguration.enableVMAgentPlatformUpdates |
Boolean | No |
Indicates whether VMAgent Platform Updates is enabled for the Windows virtual machine. Default value is false. |
properties.osProfile.windowsConfiguration.timeZone |
String | No |
Specifies the time zone of the virtual machine. e.g. "Pacific Standard Time". Possible values can be TimeZoneInfo.Id value from time zones returned by TimeZoneInfo.GetSystemTimeZones. |
properties.osProfile.windowsConfiguration.additionalUnattendContent[] |
Array | No |
Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. |
properties.osProfile.windowsConfiguration.additionalUnattendContent[].settingName |
String | No |
Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon. Possible values:
|
properties.osProfile.windowsConfiguration.additionalUnattendContent[].passName |
String | No |
The pass name. Currently, the only allowable value is OobeSystem. Possible values:
|
properties.osProfile.windowsConfiguration.additionalUnattendContent[].content |
String | No |
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. |
properties.osProfile.windowsConfiguration.additionalUnattendContent[].componentName |
String | No |
The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup. Possible values:
|
properties.osProfile.customData |
String | No |
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. For using cloud-init for your Linux VM, see Using cloud-init to customize a Linux VM during creation. |
properties.osProfile.linuxConfiguration |
Object | No |
Specifies the Linux operating system settings on the virtual machine. For a list of supported Linux distributions, see Linux on Azure-Endorsed Distributions. |
properties.osProfile.linuxConfiguration.provisionVMAgent |
Boolean | No |
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. |
properties.osProfile.linuxConfiguration.patchSettings |
Object | No |
Specifies settings related to VM Guest Patching on Linux. |
properties.osProfile.linuxConfiguration.patchSettings.assessmentMode |
String | No |
Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine. Possible values:
|
properties.osProfile.linuxConfiguration.patchSettings.patchMode |
String | No |
Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible. Possible values:
|
properties.osProfile.linuxConfiguration.patchSettings.automaticByPlatformSettings |
Object | No |
Specifies additional settings to be applied when patch mode AutomaticByPlatform is selected in Linux patch settings. |
properties.osProfile.linuxConfiguration.patchSettings.automaticByPlatformSettings.bypassPlatformSafetyChecksOnUserSchedule |
Boolean | No |
Enables customer to schedule patching without accidental upgrades |
properties.osProfile.linuxConfiguration.patchSettings.automaticByPlatformSettings.rebootSetting |
String | No |
Specifies the reboot setting for all AutomaticByPlatform patch installation operations. Possible values:
|
properties.osProfile.linuxConfiguration.disablePasswordAuthentication |
Boolean | No |
Specifies whether password authentication should be disabled. |
properties.osProfile.linuxConfiguration.enableVMAgentPlatformUpdates |
Boolean | No |
Indicates whether VMAgent Platform Updates is enabled for the Linux virtual machine. Default value is false. |
properties.osProfile.linuxConfiguration.ssh |
Object | No |
SSH configuration for Linux based VMs running on Azure |
properties.osProfile.linuxConfiguration.ssh.publicKeys[] |
Array | No |
The list of SSH public keys used to authenticate with linux based VMs. |
properties.osProfile.linuxConfiguration.ssh.publicKeys[].keyData |
String | No |
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). |
properties.osProfile.linuxConfiguration.ssh.publicKeys[].path |
String | No |
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 |
properties.osProfile.allowExtensionOperations |
Boolean | No |
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. |
properties.osProfile.secrets[] |
Array | No |
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 or the Azure Key Vault virtual machine extension for Windows. |
properties.osProfile.secrets[].sourceVault |
Object | No | |
properties.osProfile.secrets[].sourceVault.id |
String | No |
Resource Id |
properties.osProfile.secrets[].vaultCertificates[] |
Array | No |
The list of key vault references in SourceVault which contain certificates. |
properties.osProfile.secrets[].vaultCertificates[].certificateStore |
String | No |
For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account. For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of these files are .pem formatted. |
properties.osProfile.secrets[].vaultCertificates[].certificateUrl |
String | No |
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. In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8: |
properties.osProfile.computerName |
String | No |
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. |
properties.osProfile.adminPassword |
String | No |
Specifies the password of the administrator account. |
properties.osProfile.requireGuestProvisionSignal |
Boolean | No |
Optional property which must either be set to True or omitted. |
properties.osProfile.adminUsername |
String | No |
Specifies the name of the administrator account. |
properties.hostGroup |
Object | No | |
properties.hostGroup.id |
String | No |
Resource Id |
properties.capacityReservation |
Object | No |
The parameters of a capacity reservation Profile. |
properties.capacityReservation.capacityReservationGroup |
Object | No | |
properties.capacityReservation.capacityReservationGroup.id |
String | No |
Resource Id |
properties.instanceView |
Object | No |
The instance view of a virtual machine. |
properties.instanceView.vmAgent |
Object | No |
The instance view of the VM Agent running on the virtual machine. |
properties.instanceView.vmAgent.vmAgentVersion |
String | No |
The VM Agent full version. |
properties.instanceView.vmAgent.statuses[] |
Array | No |
The resource status information. |
properties.instanceView.vmAgent.statuses[].time |
String | No |
The time of the status. |
properties.instanceView.vmAgent.statuses[].displayStatus |
String | No |
The short localizable label for the status. |
properties.instanceView.vmAgent.statuses[].message |
String | No |
The detailed status message, including for alerts and error messages. |
properties.instanceView.vmAgent.statuses[].level |
String | No |
The level code. Possible values:
|
properties.instanceView.vmAgent.statuses[].code |
String | No |
The status code. |
properties.instanceView.vmAgent.extensionHandlers[] |
Array | No |
The virtual machine extension handler instance view. |
properties.instanceView.vmAgent.extensionHandlers[].type |
String | No |
Specifies the type of the extension; an example is "CustomScriptExtension". |
properties.instanceView.vmAgent.extensionHandlers[].status |
Object | No |
Instance view status. |
properties.instanceView.vmAgent.extensionHandlers[].status.time |
String | No |
The time of the status. |
properties.instanceView.vmAgent.extensionHandlers[].status.displayStatus |
String | No |
The short localizable label for the status. |
properties.instanceView.vmAgent.extensionHandlers[].status.message |
String | No |
The detailed status message, including for alerts and error messages. |
properties.instanceView.vmAgent.extensionHandlers[].status.level |
String | No |
The level code. Possible values:
|
properties.instanceView.vmAgent.extensionHandlers[].status.code |
String | No |
The status code. |
properties.instanceView.vmAgent.extensionHandlers[].typeHandlerVersion |
String | No |
Specifies the version of the script handler. |
properties.instanceView.maintenanceRedeployStatus |
Object | No |
Maintenance Operation Status. |
properties.instanceView.maintenanceRedeployStatus.lastOperationResultCode |
String | No |
The Last Maintenance Operation Result Code. Possible values:
|
properties.instanceView.maintenanceRedeployStatus.isCustomerInitiatedMaintenanceAllowed |
Boolean | No |
True, if customer is allowed to perform Maintenance. |
properties.instanceView.maintenanceRedeployStatus.lastOperationMessage |
String | No |
Message returned for the last Maintenance Operation. |
properties.instanceView.maintenanceRedeployStatus.preMaintenanceWindowEndTime |
String | No |
End Time for the Pre Maintenance Window. |
properties.instanceView.maintenanceRedeployStatus.maintenanceWindowEndTime |
String | No |
End Time for the Maintenance Window. |
properties.instanceView.maintenanceRedeployStatus.preMaintenanceWindowStartTime |
String | No |
Start Time for the Pre Maintenance Window. |
properties.instanceView.maintenanceRedeployStatus.maintenanceWindowStartTime |
String | No |
Start Time for the Maintenance Window. |
properties.instanceView.vmHealth |
Object | No |
The health status of the VM. |
properties.instanceView.vmHealth.status |
Object | No |
Instance view status. |
properties.instanceView.vmHealth.status.time |
String | No |
The time of the status. |
properties.instanceView.vmHealth.status.displayStatus |
String | No |
The short localizable label for the status. |
properties.instanceView.vmHealth.status.message |
String | No |
The detailed status message, including for alerts and error messages. |
properties.instanceView.vmHealth.status.level |
String | No |
The level code. Possible values:
|
properties.instanceView.vmHealth.status.code |
String | No |
The status code. |
properties.instanceView.platformFaultDomain |
Integer | No |
Specifies the fault domain of the virtual machine. |
properties.instanceView.osName |
String | No |
The Operating System running on the virtual machine. |
properties.instanceView.computerName |
String | No |
The computer name assigned to the virtual machine. |
properties.instanceView.osVersion |
String | No |
The version of Operating System running on the virtual machine. |
properties.instanceView.platformUpdateDomain |
Integer | No |
Specifies the update domain of the virtual machine. |
properties.instanceView.statuses[] |
Array | No |
The resource status information. |
properties.instanceView.statuses[].time |
String | No |
The time of the status. |
properties.instanceView.statuses[].displayStatus |
String | No |
The short localizable label for the status. |
properties.instanceView.statuses[].message |
String | No |
The detailed status message, including for alerts and error messages. |
properties.instanceView.statuses[].level |
String | No |
The level code. Possible values:
|
properties.instanceView.statuses[].code |
String | No |
The status code. |
properties.instanceView.extensions[] |
Array | No |
The extensions information. |
properties.instanceView.extensions[].name |
String | No |
The virtual machine extension name. |
properties.instanceView.extensions[].type |
String | No |
Specifies the type of the extension; an example is "CustomScriptExtension". |
properties.instanceView.extensions[].typeHandlerVersion |
String | No |
Specifies the version of the script handler. |
properties.instanceView.extensions[].substatuses[] |
Array | No |
The resource status information. |
properties.instanceView.extensions[].substatuses[].time |
String | No |
The time of the status. |
properties.instanceView.extensions[].substatuses[].displayStatus |
String | No |
The short localizable label for the status. |
properties.instanceView.extensions[].substatuses[].message |
String | No |
The detailed status message, including for alerts and error messages. |
properties.instanceView.extensions[].substatuses[].level |
String | No |
The level code. Possible values:
|
properties.instanceView.extensions[].substatuses[].code |
String | No |
The status code. |
properties.instanceView.extensions[].statuses[] |
Array | No |
The resource status information. |
properties.instanceView.extensions[].statuses[].time |
String | No |
The time of the status. |
properties.instanceView.extensions[].statuses[].displayStatus |
String | No |
The short localizable label for the status. |
properties.instanceView.extensions[].statuses[].message |
String | No |
The detailed status message, including for alerts and error messages. |
properties.instanceView.extensions[].statuses[].level |
String | No |
The level code. Possible values:
|
properties.instanceView.extensions[].statuses[].code |
String | No |
The status code. |
properties.instanceView.bootDiagnostics |
Object | No |
The instance view of a virtual machine boot diagnostics. |
properties.instanceView.bootDiagnostics.serialConsoleLogBlobUri |
String | No |
The serial console log blob Uri. Note: This will not be set if boot diagnostics is currently enabled with managed storage. |
properties.instanceView.bootDiagnostics.consoleScreenshotBlobUri |
String | No |
The console screenshot blob URI. Note: This will not be set if boot diagnostics is currently enabled with managed storage. |
properties.instanceView.bootDiagnostics.status |
Object | No |
Instance view status. |
properties.instanceView.bootDiagnostics.status.time |
String | No |
The time of the status. |
properties.instanceView.bootDiagnostics.status.displayStatus |
String | No |
The short localizable label for the status. |
properties.instanceView.bootDiagnostics.status.message |
String | No |
The detailed status message, including for alerts and error messages. |
properties.instanceView.bootDiagnostics.status.level |
String | No |
The level code. Possible values:
|
properties.instanceView.bootDiagnostics.status.code |
String | No |
The status code. |
properties.instanceView.rdpThumbPrint |
String | No |
The Remote desktop certificate thumbprint. |
properties.instanceView.assignedHost |
String | No |
Resource id of the dedicated host, on which the virtual machine is allocated through automatic placement, when the virtual machine is associated with a dedicated host group that has automatic placement enabled. Minimum api-version: 2020-06-01. |
properties.instanceView.disks[] |
Array | No |
The virtual machine disk information. |
properties.instanceView.disks[].encryptionSettings[] |
Array | No |
Specifies the encryption settings for the OS Disk. |
properties.instanceView.disks[].encryptionSettings[].keyEncryptionKey |
Object | No |
Describes a reference to Key Vault Key |
properties.instanceView.disks[].encryptionSettings[].keyEncryptionKey.sourceVault |
Object | Yes | |
properties.instanceView.disks[].encryptionSettings[].keyEncryptionKey.sourceVault.id |
String | No |
Resource Id |
properties.instanceView.disks[].encryptionSettings[].keyEncryptionKey.keyUrl |
String | Yes |
The URL referencing a key encryption key in Key Vault. |
properties.instanceView.disks[].encryptionSettings[].enabled |
Boolean | No |
Specifies whether disk encryption should be enabled on the virtual machine. |
properties.instanceView.disks[].encryptionSettings[].diskEncryptionKey |
Object | No |
Describes a reference to Key Vault Secret |
properties.instanceView.disks[].encryptionSettings[].diskEncryptionKey.sourceVault |
Object | Yes | |
properties.instanceView.disks[].encryptionSettings[].diskEncryptionKey.sourceVault.id |
String | No |
Resource Id |
properties.instanceView.disks[].encryptionSettings[].diskEncryptionKey.secretUrl |
String | Yes |
The URL referencing a secret in a Key Vault. |
properties.instanceView.disks[].name |
String | No |
The disk name. |
properties.instanceView.disks[].statuses[] |
Array | No |
The resource status information. |
properties.instanceView.disks[].statuses[].time |
String | No |
The time of the status. |
properties.instanceView.disks[].statuses[].displayStatus |
String | No |
The short localizable label for the status. |
properties.instanceView.disks[].statuses[].message |
String | No |
The detailed status message, including for alerts and error messages. |
properties.instanceView.disks[].statuses[].level |
String | No |
The level code. Possible values:
|
properties.instanceView.disks[].statuses[].code |
String | No |
The status code. |
properties.instanceView.hyperVGeneration |
String | No |
Specifies the HyperVGeneration Type associated with a resource Possible values:
|
properties.instanceView.patchStatus |
Object | No |
The status of virtual machine patch operations. |
properties.instanceView.patchStatus.availablePatchSummary |
Object | No |
Describes the properties of an virtual machine instance view for available patch summary. |
properties.instanceView.patchStatus.availablePatchSummary.startTime |
String | No |
The UTC timestamp when the operation began. |
properties.instanceView.patchStatus.availablePatchSummary.assessmentActivityId |
String | No |
The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs. |
properties.instanceView.patchStatus.availablePatchSummary.otherPatchCount |
Integer | No |
The number of all available patches excluding critical and security. |
properties.instanceView.patchStatus.availablePatchSummary.rebootPending |
Boolean | No |
The overall reboot status of the VM. It will be true when partially installed patches require a reboot to complete installation but the reboot has not yet occurred. |
properties.instanceView.patchStatus.availablePatchSummary.error |
Object | No |
Api error. |
properties.instanceView.patchStatus.availablePatchSummary.error.message |
String | No |
The error message. |
properties.instanceView.patchStatus.availablePatchSummary.error.target |
String | No |
The target of the particular error. |
properties.instanceView.patchStatus.availablePatchSummary.error.innererror |
Object | No |
Inner error details. |
properties.instanceView.patchStatus.availablePatchSummary.error.innererror.errordetail |
String | No |
The internal error message or exception dump. |
properties.instanceView.patchStatus.availablePatchSummary.error.innererror.exceptiontype |
String | No |
The exception type. |
properties.instanceView.patchStatus.availablePatchSummary.error.code |
String | No |
The error code. |
properties.instanceView.patchStatus.availablePatchSummary.error.details[] |
Array | No |
The Api error details |
properties.instanceView.patchStatus.availablePatchSummary.error.details[].message |
String | No |
The error message. |
properties.instanceView.patchStatus.availablePatchSummary.error.details[].target |
String | No |
The target of the particular error. |
properties.instanceView.patchStatus.availablePatchSummary.error.details[].code |
String | No |
The error code. |
properties.instanceView.patchStatus.availablePatchSummary.status |
String | No |
The overall success or failure status of the operation. It remains "InProgress" until the operation completes. At that point it will become "Unknown", "Failed", "Succeeded", or "CompletedWithWarnings." Possible values:
|
properties.instanceView.patchStatus.availablePatchSummary.lastModifiedTime |
String | No |
The UTC timestamp when the operation began. |
properties.instanceView.patchStatus.availablePatchSummary.criticalAndSecurityPatchCount |
Integer | No |
The number of critical or security patches that have been detected as available and not yet installed. |
properties.instanceView.patchStatus.lastPatchInstallationSummary |
Object | No |
Describes the properties of the last installed patch summary. |
properties.instanceView.patchStatus.lastPatchInstallationSummary.startTime |
String | No |
The UTC timestamp when the operation began. |
properties.instanceView.patchStatus.lastPatchInstallationSummary.failedPatchCount |
Integer | No |
The count of patches that failed installation. |
properties.instanceView.patchStatus.lastPatchInstallationSummary.installationActivityId |
String | No |
The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs. |
properties.instanceView.patchStatus.lastPatchInstallationSummary.maintenanceWindowExceeded |
Boolean | No |
Describes whether the operation ran out of time before it completed all its intended actions |
properties.instanceView.patchStatus.lastPatchInstallationSummary.excludedPatchCount |
Integer | No |
The number of all available patches but excluded explicitly by a customer-specified exclusion list match. |
properties.instanceView.patchStatus.lastPatchInstallationSummary.installedPatchCount |
Integer | No |
The count of patches that successfully installed. |
properties.instanceView.patchStatus.lastPatchInstallationSummary.error |
Object | No |
Api error. |
properties.instanceView.patchStatus.lastPatchInstallationSummary.error.message |
String | No |
The error message. |
properties.instanceView.patchStatus.lastPatchInstallationSummary.error.target |
String | No |
The target of the particular error. |
properties.instanceView.patchStatus.lastPatchInstallationSummary.error.innererror |
Object | No |
Inner error details. |
properties.instanceView.patchStatus.lastPatchInstallationSummary.error.innererror.errordetail |
String | No |
The internal error message or exception dump. |
properties.instanceView.patchStatus.lastPatchInstallationSummary.error.innererror.exceptiontype |
String | No |
The exception type. |
properties.instanceView.patchStatus.lastPatchInstallationSummary.error.code |
String | No |
The error code. |
properties.instanceView.patchStatus.lastPatchInstallationSummary.error.details[] |
Array | No |
The Api error details |
properties.instanceView.patchStatus.lastPatchInstallationSummary.error.details[].message |
String | No |
The error message. |
properties.instanceView.patchStatus.lastPatchInstallationSummary.error.details[].target |
String | No |
The target of the particular error. |
properties.instanceView.patchStatus.lastPatchInstallationSummary.error.details[].code |
String | No |
The error code. |
properties.instanceView.patchStatus.lastPatchInstallationSummary.status |
String | No |
The overall success or failure status of the operation. It remains "InProgress" until the operation completes. At that point it will become "Unknown", "Failed", "Succeeded", or "CompletedWithWarnings." Possible values:
|
properties.instanceView.patchStatus.lastPatchInstallationSummary.notSelectedPatchCount |
Integer | No |
The number of all available patches but not going to be installed because it didn't match a classification or inclusion list entry. |
properties.instanceView.patchStatus.lastPatchInstallationSummary.pendingPatchCount |
Integer | No |
The number of all available patches expected to be installed over the course of the patch installation operation. |
properties.instanceView.patchStatus.lastPatchInstallationSummary.lastModifiedTime |
String | No |
The UTC timestamp when the operation began. |
properties.instanceView.patchStatus.configurationStatuses[] |
Array | No |
The enablement status of the specified patchMode |
properties.instanceView.patchStatus.configurationStatuses[].time |
String | No |
The time of the status. |
properties.instanceView.patchStatus.configurationStatuses[].displayStatus |
String | No |
The short localizable label for the status. |
properties.instanceView.patchStatus.configurationStatuses[].message |
String | No |
The detailed status message, including for alerts and error messages. |
properties.instanceView.patchStatus.configurationStatuses[].level |
String | No |
The level code. Possible values:
|
properties.instanceView.patchStatus.configurationStatuses[].code |
String | No |
The status code. |
properties.instanceView.isVMInStandbyPool |
Boolean | No |
[Preview Feature] Specifies whether the VM is currently in or out of the Standby Pool. |
properties.evictionPolicy |
String | No |
Specifies the eviction policy for the Azure Spot VM/VMSS Possible values:
|
properties.applicationProfile |
Object | No |
Contains the list of gallery applications that should be made available to the VM/VMSS |
properties.applicationProfile.galleryApplications[] |
Array | No |
Specifies the gallery applications that should be made available to the VM/VMSS |
properties.applicationProfile.galleryApplications[].order |
Integer | No |
Optional, Specifies the order in which the packages have to be installed |
properties.applicationProfile.galleryApplications[].packageReferenceId |
String | Yes |
Specifies the GalleryApplicationVersion resource id on the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version} |
properties.applicationProfile.galleryApplications[].configurationReference |
String | No |
Optional, Specifies the uri to an azure blob that will replace the default configuration for the package if provided |
properties.applicationProfile.galleryApplications[].treatFailureAsDeploymentFailure |
Boolean | No |
Optional, If true, any failure for any operation in the VmApplication will fail the deployment |
properties.applicationProfile.galleryApplications[].tags |
String | No |
Optional, Specifies a passthrough value for more generic context. |
properties.applicationProfile.galleryApplications[].enableAutomaticUpgrade |
Boolean | No |
If set to true, when a new Gallery Application version is available in PIR/SIG, it will be automatically updated for the VM/VMSS |
properties.vmId |
String | No |
Specifies the VM unique ID which is a 128-bits identifier that is encoded and stored in all Azure IaaS VMs SMBIOS and can be read using platform BIOS commands. |
properties.priority |
String | No |
Specifies the priority for a standalone virtual machine or the virtual machines in the scale set. 'Low' enum will be deprecated in the future, please use 'Spot' as the enum to deploy Azure Spot VM/VMSS. Possible values:
|
properties.timeCreated |
String | No |
Specifies the time at which the Virtual Machine resource was created. Minimum api-version: 2021-11-01. |
properties.networkProfile |
Object | No |
Specifies the network interfaces or the networking configuration of the virtual machine. |
properties.networkProfile.networkInterfaceConfigurations[] |
Array | No |
Specifies the networking configurations that will be used to create the virtual machine networking resources. |
properties.networkProfile.networkInterfaceConfigurations[].name |
String | Yes |
The network interface configuration name. |
properties.networkProfile.networkInterfaceConfigurations[].properties |
Object | No |
Describes a virtual machine network profile's IP configuration. |
properties.networkProfile.networkInterfaceConfigurations[].properties.deleteOption |
String | No |
Specify what happens to the network interface when the VM is deleted Possible values:
|
properties.networkProfile.networkInterfaceConfigurations[].properties.disableTcpStateTracking |
Boolean | No |
Specifies whether the network interface is disabled for tcp state tracking. |
properties.networkProfile.networkInterfaceConfigurations[].properties.enableIPForwarding |
Boolean | No |
Whether IP forwarding enabled on this NIC. |
properties.networkProfile.networkInterfaceConfigurations[].properties.networkSecurityGroup |
Object | No | |
properties.networkProfile.networkInterfaceConfigurations[].properties.networkSecurityGroup.id |
String | No |
Resource Id |
properties.networkProfile.networkInterfaceConfigurations[].properties.auxiliaryMode |
String | No |
Specifies whether the Auxiliary mode is enabled for the Network Interface resource. Possible values:
|
properties.networkProfile.networkInterfaceConfigurations[].properties.dscpConfiguration |
Object | No | |
properties.networkProfile.networkInterfaceConfigurations[].properties.dscpConfiguration.id |
String | No |
Resource Id |
properties.networkProfile.networkInterfaceConfigurations[].properties.auxiliarySku |
String | No |
Specifies whether the Auxiliary sku is enabled for the Network Interface resource. Possible values:
|
properties.networkProfile.networkInterfaceConfigurations[].properties.primary |
Boolean | No |
Specifies the primary network interface in case the virtual machine has more than 1 network interface. |
properties.networkProfile.networkInterfaceConfigurations[].properties.enableAcceleratedNetworking |
Boolean | No |
Specifies whether the network interface is accelerated networking-enabled. |
properties.networkProfile.networkInterfaceConfigurations[].properties.ipConfigurations[] |
Array | Yes |
Specifies the IP configurations of the network interface. |
properties.networkProfile.networkInterfaceConfigurations[].properties.ipConfigurations[].name |
String | Yes |
The IP configuration name. |
properties.networkProfile.networkInterfaceConfigurations[].properties.ipConfigurations[].properties |
Object | No |
Describes a virtual machine network interface IP configuration properties. |
properties.networkProfile.networkInterfaceConfigurations[].properties.ipConfigurations[].properties.loadBalancerBackendAddressPools[] |
Array | No |
Specifies an array of references to backend address pools of load balancers. A virtual machine can reference backend address pools of one public and one internal load balancer. [Multiple virtual machines cannot use the same basic sku load balancer]. |
properties.networkProfile.networkInterfaceConfigurations[].properties.ipConfigurations[].properties.loadBalancerBackendAddressPools[].id |
String | No |
Resource Id |
properties.networkProfile.networkInterfaceConfigurations[].properties.ipConfigurations[].properties.privateIPAddressVersion |
String | No |
Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'. Possible values:
|
properties.networkProfile.networkInterfaceConfigurations[].properties.ipConfigurations[].properties.applicationSecurityGroups[] |
Array | No |
Specifies an array of references to application security group. |
properties.networkProfile.networkInterfaceConfigurations[].properties.ipConfigurations[].properties.applicationSecurityGroups[].id |
String | No |
Resource Id |
properties.networkProfile.networkInterfaceConfigurations[].properties.ipConfigurations[].properties.primary |
Boolean | No |
Specifies the primary network interface in case the virtual machine has more than 1 network interface. |
properties.networkProfile.networkInterfaceConfigurations[].properties.ipConfigurations[].properties.applicationGatewayBackendAddressPools[] |
Array | No |
Specifies an array of references to backend address pools of application gateways. A virtual machine can reference backend address pools of multiple application gateways. Multiple virtual machines cannot use the same application gateway. |
properties.networkProfile.networkInterfaceConfigurations[].properties.ipConfigurations[].properties.applicationGatewayBackendAddressPools[].id |
String | No |
Resource Id |
properties.networkProfile.networkInterfaceConfigurations[].properties.ipConfigurations[].properties.publicIPAddressConfiguration |
Object | No |
Describes a virtual machines IP Configuration's PublicIPAddress configuration |
properties.networkProfile.networkInterfaceConfigurations[].properties.ipConfigurations[].properties.publicIPAddressConfiguration.name |
String | Yes |
The publicIP address configuration name. |
properties.networkProfile.networkInterfaceConfigurations[].properties.ipConfigurations[].properties.publicIPAddressConfiguration.sku |
Object | No |
Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible. |
properties.networkProfile.networkInterfaceConfigurations[].properties.ipConfigurations[].properties.publicIPAddressConfiguration.sku.tier |
String | No |
Specify public IP sku tier Possible values:
|
properties.networkProfile.networkInterfaceConfigurations[].properties.ipConfigurations[].properties.publicIPAddressConfiguration.sku.name |
String | No |
Specify public IP sku name Possible values:
|
properties.networkProfile.networkInterfaceConfigurations[].properties.ipConfigurations[].properties.publicIPAddressConfiguration.properties |
Object | No |
Describes a virtual machines IP Configuration's PublicIPAddress configuration |
properties.networkProfile.networkInterfaceConfigurations[].properties.ipConfigurations[].properties.publicIPAddressConfiguration.properties.deleteOption |
String | No |
Specify what happens to the public IP address when the VM is deleted Possible values:
|
properties.networkProfile.networkInterfaceConfigurations[].properties.ipConfigurations[].properties.publicIPAddressConfiguration.properties.idleTimeoutInMinutes |
Integer | No |
The idle timeout of the public IP address. |
properties.networkProfile.networkInterfaceConfigurations[].properties.ipConfigurations[].properties.publicIPAddressConfiguration.properties.publicIPPrefix |
Object | No | |
properties.networkProfile.networkInterfaceConfigurations[].properties.ipConfigurations[].properties.publicIPAddressConfiguration.properties.publicIPPrefix.id |
String | No |
Resource Id |
properties.networkProfile.networkInterfaceConfigurations[].properties.ipConfigurations[].properties.publicIPAddressConfiguration.properties.publicIPAllocationMethod |
String | No |
Specify the public IP allocation type Possible values:
|
properties.networkProfile.networkInterfaceConfigurations[].properties.ipConfigurations[].properties.publicIPAddressConfiguration.properties.ipTags[] |
Array | No |
The list of IP tags associated with the public IP address. |
properties.networkProfile.networkInterfaceConfigurations[].properties.ipConfigurations[].properties.publicIPAddressConfiguration.properties.ipTags[].ipTagType |
String | No |
IP tag type. Example: FirstPartyUsage. |
properties.networkProfile.networkInterfaceConfigurations[].properties.ipConfigurations[].properties.publicIPAddressConfiguration.properties.ipTags[].tag |
String | No |
IP tag associated with the public IP. Example: SQL, Storage etc. |
properties.networkProfile.networkInterfaceConfigurations[].properties.ipConfigurations[].properties.publicIPAddressConfiguration.properties.dnsSettings |
Object | No |
Describes a virtual machines network configuration's DNS settings. |
properties.networkProfile.networkInterfaceConfigurations[].properties.ipConfigurations[].properties.publicIPAddressConfiguration.properties.dnsSettings.domainNameLabelScope |
String | No |
The Domain name label scope of the PublicIPAddress resources that will be created. The generated name label is the concatenation of the hashed domain name label with policy according to the domain name label scope and vm network profile unique ID. Possible values:
|
properties.networkProfile.networkInterfaceConfigurations[].properties.ipConfigurations[].properties.publicIPAddressConfiguration.properties.dnsSettings.domainNameLabel |
String | Yes |
The Domain name label prefix of the PublicIPAddress resources that will be created. The generated name label is the concatenation of the domain name label and vm network profile unique ID. |
properties.networkProfile.networkInterfaceConfigurations[].properties.ipConfigurations[].properties.publicIPAddressConfiguration.properties.publicIPAddressVersion |
String | No |
Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'. Possible values:
|
properties.networkProfile.networkInterfaceConfigurations[].properties.ipConfigurations[].properties.subnet |
Object | No | |
properties.networkProfile.networkInterfaceConfigurations[].properties.ipConfigurations[].properties.subnet.id |
String | No |
Resource Id |
properties.networkProfile.networkInterfaceConfigurations[].properties.enableFpga |
Boolean | No |
Specifies whether the network interface is FPGA networking-enabled. |
properties.networkProfile.networkInterfaceConfigurations[].properties.dnsSettings |
Object | No |
Describes a virtual machines network configuration's DNS settings. |
properties.networkProfile.networkInterfaceConfigurations[].properties.dnsSettings.dnsServers[] |
Array | No |
List of DNS servers IP addresses |
properties.networkProfile.networkApiVersion |
String | No |
specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations Possible values:
|
properties.networkProfile.networkInterfaces[] |
Array | No |
Specifies the list of resource Ids for the network interfaces associated with the virtual machine. |
properties.networkProfile.networkInterfaces[].id |
String | No |
Resource Id |
properties.networkProfile.networkInterfaces[].properties |
Object | No |
Describes a network interface reference properties. |
properties.networkProfile.networkInterfaces[].properties.deleteOption |
String | No |
Specify what happens to the network interface when the VM is deleted Possible values:
|
properties.networkProfile.networkInterfaces[].properties.primary |
Boolean | No |
Specifies the primary network interface in case the virtual machine has more than 1 network interface. |
properties.diagnosticsProfile |
Object | No |
Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15. |
properties.diagnosticsProfile.bootDiagnostics |
Object | No |
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.diagnosticsProfile.bootDiagnostics.enabled |
Boolean | No |
Whether boot diagnostics should be enabled on the Virtual Machine. |
properties.diagnosticsProfile.bootDiagnostics.storageUri |
String | No |
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. |
properties.provisioningState |
String | No |
The provisioning state, which only appears in the response. |
properties.extensionsTimeBudget |
String | No |
Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M). Minimum api-version: 2020-06-01. |
properties.availabilitySet |
Object | No | |
properties.availabilitySet.id |
String | No |
Resource Id |
properties.billingProfile |
Object | No |
Specifies the billing related details of a Azure Spot VM or VMSS. Minimum api-version: 2019-03-01. |
properties.billingProfile.maxPrice |
Number | No |
Specifies the maximum price you are willing to pay for a Azure Spot VM/VMSS. This price is in US Dollars. |
properties.licenseType |
String | No |
Specifies that the image or disk that is being used was licensed on-premises. |
properties.userData |
String | No |
UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here. Minimum api-version: 2021-03-01. |
properties.proximityPlacementGroup |
Object | No | |
properties.proximityPlacementGroup.id |
String | No |
Resource Id |
properties.securityProfile |
Object | No |
Specifies the Security profile settings for the virtual machine or virtual machine scale set. |
properties.securityProfile.encryptionAtHost |
Boolean | No |
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. |
properties.securityProfile.securityType |
String | No |
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. Possible values:
|
properties.securityProfile.proxyAgentSettings |
Object | No |
Specifies ProxyAgent settings while creating the virtual machine. Minimum api-version: 2023-09-01. |
properties.securityProfile.proxyAgentSettings.enabled |
Boolean | No |
Specifies whether ProxyAgent feature should be enabled on the virtual machine or virtual machine scale set. |
properties.securityProfile.proxyAgentSettings.mode |
String | No |
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. Possible values:
|
properties.securityProfile.proxyAgentSettings.keyIncarnationId |
Integer | No |
Increase the value of this property allows user to reset the key used for securing communication channel between guest and host. |
properties.securityProfile.uefiSettings |
Object | No |
Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum api-version: 2020-12-01. |
properties.securityProfile.uefiSettings.secureBootEnabled |
Boolean | No |
Specifies whether secure boot should be enabled on the virtual machine. Minimum api-version: 2020-12-01. |
properties.securityProfile.uefiSettings.vTpmEnabled |
Boolean | No |
Specifies whether vTPM should be enabled on the virtual machine. Minimum api-version: 2020-12-01. |
properties.securityProfile.encryptionIdentity |
Object | No |
Specifies the Managed Identity used by ADE to get access token for keyvault operations. |
properties.securityProfile.encryptionIdentity.userAssignedIdentityResourceId |
String | No |
Specifies ARM Resource ID of one of the user identities associated with the VM. |
properties.scheduledEventsProfile |
Object | No | |
properties.scheduledEventsProfile.osImageNotificationProfile |
Object | No | |
properties.scheduledEventsProfile.osImageNotificationProfile.notBeforeTimeout |
String | No |
Length of time a Virtual Machine being reimaged or having its OS upgraded will have to potentially approve the OS Image Scheduled Event before the event is auto approved (timed out). The configuration is specified in ISO 8601 format, and the value must be 15 minutes (PT15M) |
properties.scheduledEventsProfile.osImageNotificationProfile.enable |
Boolean | No |
Specifies whether the OS Image Scheduled event is enabled or disabled. |
properties.scheduledEventsProfile.terminateNotificationProfile |
Object | No | |
properties.scheduledEventsProfile.terminateNotificationProfile.notBeforeTimeout |
String | No |
Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M) |
properties.scheduledEventsProfile.terminateNotificationProfile.enable |
Boolean | No |
Specifies whether the Terminate Scheduled event is enabled or disabled. |
properties.platformFaultDomain |
Integer | No |
Specifies the scale set logical fault domain into which the Virtual Machine will be created. By default, the Virtual Machine will by automatically assigned to a fault domain that best maintains balance across available fault domains. This is applicable only if the 'virtualMachineScaleSet' property of this Virtual Machine is set. The Virtual Machine Scale Set that is referenced, must have 'platformFaultDomainCount' greater than 1. This property cannot be updated once the Virtual Machine is created. Fault domain assignment can be viewed in the Virtual Machine Instance View. Minimum api‐version: 2020‐12‐01. |
properties.virtualMachineScaleSet |
Object | No | |
properties.virtualMachineScaleSet.id |
String | No |
Resource Id |
properties.host |
Object | No | |
properties.host.id |
String | No |
Resource Id |
properties.additionalCapabilities |
Object | No |
Enables or disables a capability on the virtual machine or virtual machine scale set. |
properties.additionalCapabilities.ultraSSDEnabled |
Boolean | No |
The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled. |
properties.additionalCapabilities.hibernationEnabled |
Boolean | No |
The flag that enables or disables hibernation capability on the VM. |
properties.hardwareProfile |
Object | No |
Specifies the hardware settings for the virtual machine. |
properties.hardwareProfile.vmSizeProperties |
Object | No |
Specifies VM Size Property settings on the virtual machine. |
properties.hardwareProfile.vmSizeProperties.vCPUsPerCore |
Integer | No |
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. Setting this property to 1 also means that hyper-threading is disabled. |
properties.hardwareProfile.vmSizeProperties.vCPUsAvailable |
Integer | No |
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. |
properties.hardwareProfile.vmSize |
String | No |
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, List all available virtual machine sizes in a region, List all available virtual machine sizes for resizing. For more information about virtual machine sizes, see Sizes for virtual machines. The available VM sizes depend on region and availability set. Possible values:
|
properties.storageProfile |
Object | No |
Specifies the storage settings for the virtual machine disks. |
properties.storageProfile.diskControllerType |
String | No |
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. Possible values:
|
properties.storageProfile.dataDisks[] |
Array | No |
Specifies the parameters that are used to add a data disk to a virtual machine. For more information about disks, see About disks and VHDs for Azure virtual machines. |
properties.storageProfile.dataDisks[].vhd |
Object | No |
Describes the uri of a disk. |
properties.storageProfile.dataDisks[].vhd.uri |
String | No |
Specifies the virtual hard disk's uri. |
properties.storageProfile.dataDisks[].caching |
String | No |
Specifies the caching requirements. Possible values are: None, ReadOnly, ReadWrite. The default values are: None for Standard storage. ReadOnly for Premium storage Possible values:
|
properties.storageProfile.dataDisks[].writeAcceleratorEnabled |
Boolean | No |
Specifies whether writeAccelerator should be enabled or disabled on the disk. |
properties.storageProfile.dataDisks[].diskSizeGB |
Integer | No |
Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property 'diskSizeGB' is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023. |
properties.storageProfile.dataDisks[].image |
Object | No |
Describes the uri of a disk. |
properties.storageProfile.dataDisks[].image.uri |
String | No |
Specifies the virtual hard disk's uri. |
properties.storageProfile.dataDisks[].toBeDetached |
Boolean | No |
Specifies whether the data disk is in process of detachment from the VirtualMachine/VirtualMachineScaleset |
properties.storageProfile.dataDisks[].deleteOption |
String | No |
Specifies the behavior of the managed disk when the VM gets deleted, for example whether the managed disk is deleted or detached. Supported values are: Delete. If this value is used, the managed disk is deleted when VM gets deleted. Detach. If this value is used, the managed disk is retained after VM gets deleted. Minimum api-version: 2021-03-01. Possible values:
|
properties.storageProfile.dataDisks[].name |
String | No |
The disk name. |
properties.storageProfile.dataDisks[].diskIOPSReadWrite |
Integer | No |
Specifies the Read-Write IOPS for the managed disk when StorageAccountType is UltraSSD_LRS. Returned only for VirtualMachine ScaleSet VM disks. Can be updated only via updates to the VirtualMachine Scale Set. |
properties.storageProfile.dataDisks[].createOption |
String | Yes |
Specifies how the virtual machine should be created. Possible values are: Attach. This value is used when you are using a specialized disk to create the virtual machine. FromImage. This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described. Possible values:
|
properties.storageProfile.dataDisks[].lun |
Integer | Yes |
Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. |
properties.storageProfile.dataDisks[].managedDisk |
Object | No |
The parameters of a managed disk. |
properties.storageProfile.dataDisks[].managedDisk.id |
String | No |
Resource Id |
properties.storageProfile.dataDisks[].managedDisk.securityProfile |
Object | No |
Specifies the security profile settings for the managed disk. Note: It can only be set for Confidential VMs. |
properties.storageProfile.dataDisks[].managedDisk.securityProfile.diskEncryptionSet |
Object | No |
Describes the parameter of customer managed disk encryption set resource id that can be specified for disk. Note: The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details. |
properties.storageProfile.dataDisks[].managedDisk.securityProfile.diskEncryptionSet.id |
String | No |
Resource Id |
properties.storageProfile.dataDisks[].managedDisk.securityProfile.securityEncryptionType |
String | No |
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. Possible values:
|
properties.storageProfile.dataDisks[].managedDisk.storageAccountType |
String | No |
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 Possible values:
|
properties.storageProfile.dataDisks[].managedDisk.diskEncryptionSet |
Object | No |
Describes the parameter of customer managed disk encryption set resource id that can be specified for disk. Note: The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details. |
properties.storageProfile.dataDisks[].managedDisk.diskEncryptionSet.id |
String | No |
Resource Id |
properties.storageProfile.dataDisks[].detachOption |
String | No |
Specifies the detach behavior to be used while detaching a disk or which is already in the process of detachment from the virtual machine. Supported values are: ForceDetach. detachOption: ForceDetach is applicable only for managed data disks. If a previous detachment attempt of the data disk did not complete due to an unexpected failure from the virtual machine and the disk is still not released then use force-detach as a last resort option to detach the disk forcibly from the VM. All writes might not have been flushed when using this detach behavior. This feature is still in preview mode and is not supported for VirtualMachineScaleSet. To force-detach a data disk update toBeDetached to 'true' along with setting detachOption: 'ForceDetach'. Possible values:
|
properties.storageProfile.dataDisks[].diskMBpsReadWrite |
Integer | No |
Specifies the bandwidth in MB per second for the managed disk when StorageAccountType is UltraSSD_LRS. Returned only for VirtualMachine ScaleSet VM disks. Can be updated only via updates to the VirtualMachine Scale Set. |
properties.storageProfile.imageReference |
Object | No |
Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. NOTE: Image reference publisher and offer can only be set when you create the scale set. |
properties.storageProfile.imageReference.id |
String | No |
Resource Id |
properties.storageProfile.imageReference.sku |
String | No |
The image SKU. |
properties.storageProfile.imageReference.sharedGalleryImageId |
String | No |
Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call. |
properties.storageProfile.imageReference.publisher |
String | No |
The image publisher. |
properties.storageProfile.imageReference.exactVersion |
String | No |
Specifies in decimal numbers, the version of platform image or marketplace image used to create the virtual machine. This readonly field differs from 'version', only if the value specified in 'version' field is 'latest'. |
properties.storageProfile.imageReference.version |
String | No |
Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available. Please do not use field 'version' for gallery image deployment, gallery image should always use 'id' field for deployment, to use 'latest' version of gallery image, just set '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}' in the 'id' field without version input. |
properties.storageProfile.imageReference.offer |
String | No |
Specifies the offer of the platform image or marketplace image used to create the virtual machine. |
properties.storageProfile.imageReference.communityGalleryImageId |
String | No |
Specified the community gallery image unique id for vm deployment. This can be fetched from community gallery image GET call. |
properties.storageProfile.osDisk |
Object | No |
Specifies information about the operating system disk used by the virtual machine. For more information about disks, see About disks and VHDs for Azure virtual machines. |
properties.storageProfile.osDisk.encryptionSettings |
Object | No |
Describes a Encryption Settings for a Disk |
properties.storageProfile.osDisk.encryptionSettings.keyEncryptionKey |
Object | No |
Describes a reference to Key Vault Key |
properties.storageProfile.osDisk.encryptionSettings.keyEncryptionKey.sourceVault |
Object | Yes | |
properties.storageProfile.osDisk.encryptionSettings.keyEncryptionKey.sourceVault.id |
String | No |
Resource Id |
properties.storageProfile.osDisk.encryptionSettings.keyEncryptionKey.keyUrl |
String | Yes |
The URL referencing a key encryption key in Key Vault. |
properties.storageProfile.osDisk.encryptionSettings.enabled |
Boolean | No |
Specifies whether disk encryption should be enabled on the virtual machine. |
properties.storageProfile.osDisk.encryptionSettings.diskEncryptionKey |
Object | No |
Describes a reference to Key Vault Secret |
properties.storageProfile.osDisk.encryptionSettings.diskEncryptionKey.sourceVault |
Object | Yes | |
properties.storageProfile.osDisk.encryptionSettings.diskEncryptionKey.sourceVault.id |
String | No |
Resource Id |
properties.storageProfile.osDisk.encryptionSettings.diskEncryptionKey.secretUrl |
String | Yes |
The URL referencing a secret in a Key Vault. |
properties.storageProfile.osDisk.deleteOption |
String | No |
Specifies the behavior of the managed disk when the VM gets deleted, for example whether the managed disk is deleted or detached. Supported values are: Delete. If this value is used, the managed disk is deleted when VM gets deleted. Detach. If this value is used, the managed disk is retained after VM gets deleted. Minimum api-version: 2021-03-01. Possible values:
|
properties.storageProfile.osDisk.name |
String | No |
The disk name. |
properties.storageProfile.osDisk.diffDiskSettings |
Object | No |
Describes the parameters of ephemeral disk settings that can be specified for operating system disk. Note: The ephemeral disk settings can only be specified for managed disk. |
properties.storageProfile.osDisk.diffDiskSettings.option |
String | No |
Specifies the ephemeral disk option for operating system disk. Possible values:
|
properties.storageProfile.osDisk.diffDiskSettings.placement |
String | No |
Specifies the ephemeral disk placement for operating system disk. This property can be used by user in the request to choose the location i.e, cache disk or resource disk space for Ephemeral OS disk provisioning. For more information on Ephemeral OS disk size requirements, please refer Ephemeral OS disk size requirements for Windows VM at https://docs.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VM at https://docs.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements Possible values:
|
properties.storageProfile.osDisk.osType |
String | No |
This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. Possible values are: Windows, Linux. Possible values:
|
properties.storageProfile.osDisk.vhd |
Object | No |
Describes the uri of a disk. |
properties.storageProfile.osDisk.vhd.uri |
String | No |
Specifies the virtual hard disk's uri. |
properties.storageProfile.osDisk.caching |
String | No |
Specifies the caching requirements. Possible values are: None, ReadOnly, ReadWrite. The default values are: None for Standard storage. ReadOnly for Premium storage Possible values:
|
properties.storageProfile.osDisk.writeAcceleratorEnabled |
Boolean | No |
Specifies whether writeAccelerator should be enabled or disabled on the disk. |
properties.storageProfile.osDisk.diskSizeGB |
Integer | No |
Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property 'diskSizeGB' is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023. |
properties.storageProfile.osDisk.createOption |
String | Yes |
Specifies how the virtual machine should be created. Possible values are: Attach. This value is used when you are using a specialized disk to create the virtual machine. FromImage. This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described. Possible values:
|
properties.storageProfile.osDisk.image |
Object | No |
Describes the uri of a disk. |
properties.storageProfile.osDisk.image.uri |
String | No |
Specifies the virtual hard disk's uri. |
properties.storageProfile.osDisk.managedDisk |
Object | No |
The parameters of a managed disk. |
properties.storageProfile.osDisk.managedDisk.id |
String | No |
Resource Id |
properties.storageProfile.osDisk.managedDisk.securityProfile |
Object | No |
Specifies the security profile settings for the managed disk. Note: It can only be set for Confidential VMs. |
properties.storageProfile.osDisk.managedDisk.securityProfile.diskEncryptionSet |
Object | No |
Describes the parameter of customer managed disk encryption set resource id that can be specified for disk. Note: The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details. |
properties.storageProfile.osDisk.managedDisk.securityProfile.diskEncryptionSet.id |
String | No |
Resource Id |
properties.storageProfile.osDisk.managedDisk.securityProfile.securityEncryptionType |
String | No |
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. Possible values:
|
properties.storageProfile.osDisk.managedDisk.storageAccountType |
String | No |
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 Possible values:
|
properties.storageProfile.osDisk.managedDisk.diskEncryptionSet |
Object | No |
Describes the parameter of customer managed disk encryption set resource id that can be specified for disk. Note: The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details. |
properties.storageProfile.osDisk.managedDisk.diskEncryptionSet.id |
String | No |
Resource Id |
zones[] |
Array | No |
The virtual machine zones. |
tags |
Object | No |
Resource tags |
plan |
Object | No |
Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click Want to deploy programmatically, Get Started ->. Enter any required information and then click Save. |
plan.name |
String | No |
The plan ID. |
plan.publisher |
String | No |
The publisher ID. |
plan.product |
String | No |
Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element. |
plan.promotionCode |
String | No |
The promotion code. |
identity |
Object | No |
Identity for the virtual machine. |
identity.tenantId |
String | No |
The tenant id associated with the virtual machine. This property will only be provided for a system assigned identity. |
identity.type |
String | No |
The type of identity used for the virtual machine. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine. Possible values:
|
identity.userAssignedIdentities |
Object | No |
The list of user identities associated with the Virtual Machine. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. |
identity.principalId |
String | No |
The principal id of virtual machine identity. This property will only be provided for a system assigned identity. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.