update_locations
Creates, updates, deletes, gets or lists a update_locations
resource.
Overview
Name | update_locations |
Type | Resource |
Id | azure_stack.update_admin.update_locations |
Fields
The following fields are returned by SELECT
queries:
- get
- list
Name | Datatype | Description |
---|---|---|
id | string | URI of the resource. |
name | string | Name of the resource. |
location | string | Region location of resource. |
properties | object | Model which holds information related to update location. |
tags | object | List of key-value pairs. |
type | string | Type of resource. |
Name | Datatype | Description |
---|---|---|
id | string | URI of the resource. |
name | string | Name of the resource. |
location | string | Region location of resource. |
properties | object | Model which holds information related to update location. |
tags | object | List of key-value pairs. |
type | string | Type of resource. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , resourceGroupName , updateLocation | Get an update location based on name. | |
list | select | subscriptionId , resourceGroupName | Get 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.
Name | Datatype | Description |
---|---|---|
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string | The ID of the target subscription. |
updateLocation | string | The name of the update location. |
SELECT
examples
- get
- list
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
;
Get the list of update locations.
SELECT
id,
name,
location,
properties,
tags,
type
FROM azure_stack.update_admin.update_locations
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
;