tags
Creates, updates, deletes, gets or lists a tags
resource.
Overview
Name | tags |
Type | Resource |
Id | azure.consumption.tags |
Fields
- vw_tags
- tags
Name | Datatype | Description |
---|---|---|
id | text | Resource Id. |
name | text | Resource name. |
e_tag | text | field from the properties object |
next_link | text | field from the properties object |
previous_link | text | field from the properties object |
scope | text | field from the properties object |
tags | text | field from the properties object |
type | text | Resource type. |
Name | Datatype | Description |
---|---|---|
id | string | Resource Id. |
name | string | Resource name. |
eTag | string | eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not. |
properties | object | The properties of the tag. |
type | string | Resource type. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | scope | Get all available tag keys for the defined scope |
SELECT
examples
Get all available tag keys for the defined scope
- vw_tags
- tags
SELECT
id,
name,
e_tag,
next_link,
previous_link,
scope,
tags,
type
FROM azure.consumption.vw_tags
WHERE scope = '{{ scope }}';
SELECT
id,
name,
eTag,
properties,
type
FROM azure.consumption.tags
WHERE scope = '{{ scope }}';