tags_values
Creates, updates, deletes, gets or lists a tags_values
resource.
Overview
Name | tags_values |
Type | Resource |
Id | azure.resources.tags_values |
Fields
SELECT
not supported for this resource, use SHOW METHODS
to view available operations for the resource.
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
create_or_update | INSERT | subscriptionId, tagName, tagValue | This 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. |
delete | DELETE | subscriptionId, tagName, tagValue | This 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.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.resources.tags_values (
subscriptionId,
tagName,
tagValue
)
SELECT
'{{ subscriptionId }}',
'{{ tagName }}',
'{{ tagValue }}'
;
- name: your_resource_model_name
props: []
DELETE
example
Deletes the specified tags_values
resource.
/*+ delete */
DELETE FROM azure.resources.tags_values
WHERE subscriptionId = '{{ subscriptionId }}'
AND tagName = '{{ tagName }}'
AND tagValue = '{{ tagValue }}';