Skip to main content

tags_values

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

Overview

Nametags_values
TypeResource
Idazure.resources.tags_values

Fields

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

NameAccessible byRequired ParamsDescription
create_or_updateINSERTsubscriptionId, tagName, tagValueThis operation allows adding a value to the list of predefined values for an existing predefined tag name. A tag value can have a maximum of 256 characters.
deleteDELETEsubscriptionId, tagName, tagValueThis operation allows deleting a value from the list of predefined values for an existing predefined tag name. The value being deleted must not be in use as a tag value for the given tag name for any resource.

INSERT example

Use the following StackQL query and manifest file to create a new tags_values resource.

/*+ create */
INSERT INTO azure.resources.tags_values (
subscriptionId,
tagName,
tagValue
)
SELECT
'{{ subscriptionId }}',
'{{ tagName }}',
'{{ tagValue }}'
;

DELETE example

Deletes the specified tags_values resource.

/*+ delete */
DELETE FROM azure.resources.tags_values
WHERE subscriptionId = '{{ subscriptionId }}'
AND tagName = '{{ tagName }}'
AND tagValue = '{{ tagValue }}';