Skip to main content

update_runs

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

Overview

Nameupdate_runs
TypeResource
Idazure_stack.update_admin.update_runs

Fields

NameDatatypeDescription
idtextURI of the resource.
nametextName of the resource.
durationtextfield from the properties object
locationtextRegion location of resource.
progresstextfield from the properties object
resourceGroupNametextfield from the properties object
runNametextfield from the properties object
statetextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextList of key-value pairs.
time_startedtextfield from the properties object
typetextType of resource.
updateLocationtextfield from the properties object
updateNametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, runName, subscriptionId, updateLocation, updateNameGet an instance of update run using the ID.
listSELECTresourceGroupName, subscriptionId, updateLocation, updateNameGet the list of update runs.
rerunEXECresourceGroupName, runName, subscriptionId, updateLocation, updateNameResume a failed update.

SELECT examples

Get the list of update runs.

SELECT
id,
name,
duration,
location,
progress,
resourceGroupName,
runName,
state,
subscriptionId,
tags,
time_started,
type,
updateLocation,
updateName
FROM azure_stack.update_admin.vw_update_runs
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND updateLocation = '{{ updateLocation }}'
AND updateName = '{{ updateName }}';