Skip to main content

updates

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

Overview

Nameupdates
TypeResource
Idazure_stack.azure_stack_hci.updates

Fields

NameDatatypeDescription
descriptiontextfield from the properties object
additional_propertiestextfield from the properties object
availability_typetextfield from the properties object
clusterNametextfield from the properties object
component_versionstextfield from the properties object
display_nametextfield from the properties object
health_check_datetextfield from the properties object
health_check_resulttextfield from the properties object
health_statetextfield from the properties object
installed_datetextfield from the properties object
locationtextThe geo-location where the resource lives
package_pathtextfield from the properties object
package_size_in_mbtextfield from the properties object
package_typetextfield from the properties object
prerequisitestextfield from the properties object
provisioning_statetextfield from the properties object
publishertextfield from the properties object
reboot_requiredtextfield from the properties object
release_linktextfield from the properties object
resourceGroupNametextfield from the properties object
statetextfield from the properties object
subscriptionIdtextfield from the properties object
updateNametextfield from the properties object
update_state_propertiestextfield from the properties object
versiontextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTclusterName, resourceGroupName, subscriptionId, updateNameGet specified Update
listSELECTclusterName, resourceGroupName, subscriptionIdList all Updates
deleteDELETEclusterName, resourceGroupName, subscriptionId, updateNameDelete specified Update
putREPLACEclusterName, resourceGroupName, subscriptionId, updateNamePut specified Update
postEXECclusterName, resourceGroupName, subscriptionId, updateNameApply Update

SELECT examples

List all 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 }}';

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 }}';