Skip to main content

updates

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

Overview

Nameupdates
TypeResource
Idazure.maintenance.updates

Fields

NameDatatypeDescription
impactDurationInSecintegerDuration of impact in seconds
impactTypestringThe impact type
maintenanceScopestringThe impact area
notBeforestringTime when Azure will start force updates if not self-updated by customer before this time
propertiesobjectProperties for update
statusstringThe status

Methods

NameAccessible byRequired ParamsDescription
listSELECTproviderName, resourceGroupName, resourceName, resourceType, subscriptionIdGet updates to resources.

SELECT examples

Get updates to resources.

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