Updates - List
Get updates to resources.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/updates?api-version=2023-09-01-preview
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
provider
|
path | True |
string |
Resource provider name |
resource
|
path | True |
string |
Resource group name |
resource
|
path | True |
string |
Resource identifier |
resource
|
path | True |
string |
Resource type |
subscription
|
path | True |
string |
Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
api-version
|
query | True |
string |
Version of the API to be used with the client request. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
OK |
|
Other Status Codes |
BadRequest |
Examples
Updates_List
Sample request
Sample response
{
"value": [
{
"maintenanceScope": "Resource",
"status": "Pending",
"impactType": "Reboot",
"impactDurationInSec": 1440,
"notBefore": "2018-10-09T06:17:44.235Z",
"properties": {
"resourceId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1"
}
}
]
}
Definitions
Name | Description |
---|---|
Error |
An error response details received from the Azure Maintenance service. |
Impact |
The impact type |
List |
Response for Updates list |
Maintenance |
An error response received from the Azure Maintenance service. |
Maintenance |
Gets or sets maintenanceScope of the configuration |
Update |
Maintenance update on a resource |
Update |
The status |
ErrorDetails
An error response details received from the Azure Maintenance service.
Name | Type | Description |
---|---|---|
code |
string |
Service-defined error code. This code serves as a sub-status for the HTTP error code specified in the response. |
message |
string |
Human-readable representation of the error. |
ImpactType
The impact type
Value | Description |
---|---|
None |
Pending updates has no impact on resource. |
Freeze |
Pending updates can freeze network or disk io operation on resource. |
Restart |
Pending updates can cause resource to restart. |
Redeploy |
Pending updates can redeploy resource. |
ListUpdatesResult
Response for Updates list
Name | Type | Description |
---|---|---|
value |
Update[] |
The pending updates |
MaintenanceError
An error response received from the Azure Maintenance service.
Name | Type | Description |
---|---|---|
error |
Details of the error |
MaintenanceScope
Gets or sets maintenanceScope of the configuration
Value | Description |
---|---|
Host |
This maintenance scope controls installation of azure platform updates i.e. services on physical nodes hosting customer VMs. |
Resource |
This maintenance scope controls the default update maintenance of the Azure Resource |
OSImage |
This maintenance scope controls os image installation on VM/VMSS |
Extension |
This maintenance scope controls extension installation on VM/VMSS |
InGuestPatch |
This maintenance scope controls installation of windows and linux packages on VM/VMSS |
SQLDB |
This maintenance scope controls installation of SQL server platform updates. |
SQLManagedInstance |
This maintenance scope controls installation of SQL managed instance platform update. |
Update
Maintenance update on a resource
Name | Type | Description |
---|---|---|
impactDurationInSec |
integer (int32) |
Duration of impact in seconds |
impactType |
The impact type |
|
maintenanceScope |
The impact area |
|
notBefore |
string (date-time) |
Time when Azure will start force updates if not self-updated by customer before this time |
properties.resourceId |
string |
The resourceId |
status |
The status |
UpdateStatus
The status
Value | Description |
---|---|
Pending |
There are pending updates to be installed. |
InProgress |
Updates installation are in progress. |
Completed |
All updates are successfully applied. |
RetryNow |
Updates installation failed but are ready to retry again. |
RetryLater |
Updates installation failed and should be retried later. |
NoUpdatesPending |
No updates are pending. |
Cancel |
Cancel the schedule and stop creating PMR for resources part of it. Applicable to Maintenance Configuration resource type only. |
Cancelled |
Send the Cancelled response to the user if request came to cancel the schedule. Applicable to Maintenance Configuration resource type only. |