Skip to main content

update_locations

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

Overview

Nameupdate_locations
TypeResource
Idazure_stack.update_admin.update_locations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringURI of the resource.
namestringName of the resource.
locationstringRegion location of resource.
propertiesobjectModel which holds information related to update location.
tagsobjectList of key-value pairs.
typestringType of resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, updateLocationGet an update location based on name.
listselectsubscriptionId, resourceGroupNameGet the list of update locations.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstringThe ID of the target subscription.
updateLocationstringThe name of the update location.

SELECT examples

Get an update location based on name.

SELECT
id,
name,
location,
properties,
tags,
type
FROM azure_stack.update_admin.update_locations
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND updateLocation = '{{ updateLocation }}' -- required
;