Skip to main content

updates

Creates, updates, deletes, gets or lists a updates resource.

Overview

Nameupdates
TypeResource
Idazure.maintenance.updates

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
impactDurationInSecinteger (int32)Duration of impact in seconds
impactTypestringThe impact type
maintenanceScopestringThe impact area
notBeforestring (date-time)Time when Azure will start force updates if not self-updated by customer before this time
propertiesobjectProperties of the apply update
statusstringThe status

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionId, resourceGroupName, providerName, resourceType, resourceNameGet updates to resources.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
providerNamestringResource provider name
resourceGroupNamestringResource group name
resourceNamestringResource identifier
resourceTypestringResource type
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

Get updates to resources.

SELECT
impactDurationInSec,
impactType,
maintenanceScope,
notBefore,
properties,
status
FROM azure.maintenance.updates
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND providerName = '{{ providerName }}' -- required
AND resourceType = '{{ resourceType }}' -- required
AND resourceName = '{{ resourceName }}' -- required
;