Skip to main content

updates_parents

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

Overview

Nameupdates_parents
TypeResource
Idazure.maintenance.updates_parents

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, resourceParentType, resourceParentName, 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
resourceParentNamestringResource parent identifier
resourceParentTypestringResource parent type
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_parents
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND providerName = '{{ providerName }}' -- required
AND resourceParentType = '{{ resourceParentType }}' -- required
AND resourceParentName = '{{ resourceParentName }}' -- required
AND resourceType = '{{ resourceType }}' -- required
AND resourceName = '{{ resourceName }}' -- required
;