update_runs
Creates, updates, deletes, gets or lists a update_runs
resource.
Overview
Name | update_runs |
Type | Resource |
Id | azure_stack.update_admin.update_runs |
Fields
- vw_update_runs
- update_runs
Name | Datatype | Description |
---|---|---|
id | text | URI of the resource. |
name | text | Name of the resource. |
duration | text | field from the properties object |
location | text | Region location of resource. |
progress | text | field from the properties object |
resourceGroupName | text | field from the properties object |
runName | text | field from the properties object |
state | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | List of key-value pairs. |
time_started | text | field from the properties object |
type | text | Type of resource. |
updateLocation | text | field from the properties object |
updateName | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
id | string | URI of the resource. |
name | string | Name of the resource. |
location | string | Region location of resource. |
properties | object | Properties of an update run. |
tags | object | List of key-value pairs. |
type | string | Type of resource. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | resourceGroupName, runName, subscriptionId, updateLocation, updateName | Get an instance of update run using the ID. |
list | SELECT | resourceGroupName, subscriptionId, updateLocation, updateName | Get the list of update runs. |
rerun | EXEC | resourceGroupName, runName, subscriptionId, updateLocation, updateName | Resume a failed update. |
SELECT
examples
Get the list of update runs.
- vw_update_runs
- 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 }}';
SELECT
id,
name,
location,
properties,
tags,
type
FROM azure_stack.update_admin.update_runs
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND updateLocation = '{{ updateLocation }}'
AND updateName = '{{ updateName }}';