updates
Creates, updates, deletes, gets or lists a updates
resource.
Overview
Name | updates |
Type | Resource |
Id | azure_stack.azure_stack_hci.updates |
Fields
- vw_updates
- updates
Name | Datatype | Description |
---|---|---|
description | text | field from the properties object |
additional_properties | text | field from the properties object |
availability_type | text | field from the properties object |
clusterName | text | field from the properties object |
component_versions | text | field from the properties object |
display_name | text | field from the properties object |
health_check_date | text | field from the properties object |
health_check_result | text | field from the properties object |
health_state | text | field from the properties object |
installed_date | text | field from the properties object |
location | text | The geo-location where the resource lives |
package_path | text | field from the properties object |
package_size_in_mb | text | field from the properties object |
package_type | text | field from the properties object |
prerequisites | text | field from the properties object |
provisioning_state | text | field from the properties object |
publisher | text | field from the properties object |
reboot_required | text | field from the properties object |
release_link | 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 |
updateName | text | field from the properties object |
update_state_properties | text | field from the properties object |
version | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | Details of a singular Update in HCI Cluster |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | clusterName, resourceGroupName, subscriptionId, updateName | Get specified Update |
list | SELECT | clusterName, resourceGroupName, subscriptionId | List all Updates |
delete | DELETE | clusterName, resourceGroupName, subscriptionId, updateName | Delete specified Update |
put | REPLACE | clusterName, resourceGroupName, subscriptionId, updateName | Put specified Update |
post | EXEC | clusterName, resourceGroupName, subscriptionId, updateName | Apply Update |
SELECT
examples
List all Updates
- vw_updates
- updates
SELECT
description,
additional_properties,
availability_type,
clusterName,
component_versions,
display_name,
health_check_date,
health_check_result,
health_state,
installed_date,
location,
package_path,
package_size_in_mb,
package_type,
prerequisites,
provisioning_state,
publisher,
reboot_required,
release_link,
resourceGroupName,
state,
subscriptionId,
updateName,
update_state_properties,
version
FROM azure_stack.azure_stack_hci.vw_updates
WHERE clusterName = '{{ clusterName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
location,
properties
FROM azure_stack.azure_stack_hci.updates
WHERE clusterName = '{{ clusterName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
REPLACE
example
Replaces all fields in the specified updates
resource.
/*+ update */
REPLACE azure_stack.azure_stack_hci.updates
SET
location = '{{ location }}',
properties = '{{ properties }}'
WHERE
clusterName = '{{ clusterName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND updateName = '{{ updateName }}';
DELETE
example
Deletes the specified updates
resource.
/*+ delete */
DELETE FROM azure_stack.azure_stack_hci.updates
WHERE clusterName = '{{ clusterName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND updateName = '{{ updateName }}';