Skip to main content

updates

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

Overview

Nameupdates
TypeResource
Idazure_stack.update_admin.updates

Fields

NameDatatypeDescription
idtextURI of the resource.
nametextName of the resource.
descriptiontextfield from the properties object
additional_propertiestextfield from the properties object
availability_typetextfield from the properties object
display_nametextfield from the properties object
installed_datetextfield from the properties object
kb_linktextfield from the properties object
locationtextRegion location of resource.
min_oem_version_requiredtextfield from the properties object
min_version_requiredtextfield from the properties object
oem_versiontextfield from the properties object
package_pathtextfield from the properties object
package_size_in_mbtextfield from the properties object
package_typetextfield from the properties object
publishertextfield 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
tagstextList of key-value pairs.
typetextType of resource.
updateLocationtextfield from the properties object
updateNametextfield from the properties object
update_prerequisitestextfield from the properties object
update_state_propertiestextfield from the properties object
versiontextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, subscriptionId, updateLocation, updateNameGet a specific update at an update location.
listSELECTresourceGroupName, subscriptionId, updateLocationGet the list of updates at an update locations
applyEXECresourceGroupName, subscriptionId, updateLocation, updateNameApply a specific update at an update location.
health_checkEXECresourceGroupName, subscriptionId, updateLocation, updateNameRun health check for a specified update at an update location.
prepareEXECresourceGroupName, subscriptionId, updateLocation, updateNamePrepare a specified update at an update location.

SELECT examples

Get the list of updates at an update locations

SELECT
id,
name,
description,
additional_properties,
availability_type,
display_name,
installed_date,
kb_link,
location,
min_oem_version_required,
min_version_required,
oem_version,
package_path,
package_size_in_mb,
package_type,
publisher,
release_link,
resourceGroupName,
state,
subscriptionId,
tags,
type,
updateLocation,
updateName,
update_prerequisites,
update_state_properties,
version
FROM azure_stack.update_admin.vw_updates
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND updateLocation = '{{ updateLocation }}';