update_runs
Creates, updates, deletes, gets or lists a update_runs
resource.
Overview
Name | update_runs |
Type | Resource |
Id | azure_stack.azure_stack_hci.update_runs |
Fields
- vw_update_runs
- update_runs
Name | Datatype | Description |
---|---|---|
clusterName | text | field from the properties object |
duration | text | field from the properties object |
last_updated_time | text | field from the properties object |
location | text | The geo-location where the resource lives |
progress | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
state | text | field from the properties object |
subscriptionId | text | field from the properties object |
time_started | text | field from the properties object |
updateName | text | field from the properties object |
updateRunName | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | Details of an Update run |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | clusterName, resourceGroupName, subscriptionId, updateName, updateRunName | Get the Update run for a specified update |
list | SELECT | clusterName, resourceGroupName, subscriptionId, updateName | List all Update runs for a specified update |
delete | DELETE | clusterName, resourceGroupName, subscriptionId, updateName, updateRunName | Delete specified Update Run |
put | REPLACE | clusterName, resourceGroupName, subscriptionId, updateName, updateRunName | Put Update runs for a specified update |
SELECT
examples
List all Update runs for a specified update
- vw_update_runs
- update_runs
SELECT
clusterName,
duration,
last_updated_time,
location,
progress,
provisioning_state,
resourceGroupName,
state,
subscriptionId,
time_started,
updateName,
updateRunName
FROM azure_stack.azure_stack_hci.vw_update_runs
WHERE clusterName = '{{ clusterName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND updateName = '{{ updateName }}';
SELECT
location,
properties
FROM azure_stack.azure_stack_hci.update_runs
WHERE clusterName = '{{ clusterName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND updateName = '{{ updateName }}';
REPLACE
example
Replaces all fields in the specified update_runs
resource.
/*+ update */
REPLACE azure_stack.azure_stack_hci.update_runs
SET
location = '{{ location }}',
properties = '{{ properties }}'
WHERE
clusterName = '{{ clusterName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND updateName = '{{ updateName }}'
AND updateRunName = '{{ updateRunName }}';
DELETE
example
Deletes the specified update_runs
resource.
/*+ delete */
DELETE FROM azure_stack.azure_stack_hci.update_runs
WHERE clusterName = '{{ clusterName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND updateName = '{{ updateName }}'
AND updateRunName = '{{ updateRunName }}';