tag_operation_links
Creates, updates, deletes, gets or lists a tag_operation_links
resource.
Overview
Name | tag_operation_links |
Type | Resource |
Id | azure.api_management.tag_operation_links |
Fields
- vw_tag_operation_links
- tag_operation_links
Name | Datatype | Description |
---|---|---|
operationLinkId | text | field from the properties object |
operation_id | text | field from the properties object |
resourceGroupName | text | field from the properties object |
serviceName | text | field from the properties object |
subscriptionId | text | field from the properties object |
tagId | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | Tag-operation link entity properties. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | operationLinkId, resourceGroupName, serviceName, subscriptionId, tagId | Gets the operation link for the tag. |
list_by_product | SELECT | resourceGroupName, serviceName, subscriptionId, tagId | Lists a collection of the operation links associated with a tag. |
create_or_update | INSERT | operationLinkId, resourceGroupName, serviceName, subscriptionId, tagId | Adds an operation to the specified tag via link. |
delete | DELETE | operationLinkId, resourceGroupName, serviceName, subscriptionId, tagId | Deletes the specified operation from the specified tag. |
SELECT
examples
Lists a collection of the operation links associated with a tag.
- vw_tag_operation_links
- tag_operation_links
SELECT
operationLinkId,
operation_id,
resourceGroupName,
serviceName,
subscriptionId,
tagId
FROM azure.api_management.vw_tag_operation_links
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND tagId = '{{ tagId }}';
SELECT
properties
FROM azure.api_management.tag_operation_links
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND tagId = '{{ tagId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new tag_operation_links
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.api_management.tag_operation_links (
operationLinkId,
resourceGroupName,
serviceName,
subscriptionId,
tagId,
properties
)
SELECT
'{{ operationLinkId }}',
'{{ resourceGroupName }}',
'{{ serviceName }}',
'{{ subscriptionId }}',
'{{ tagId }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: operationId
value: string
DELETE
example
Deletes the specified tag_operation_links
resource.
/*+ delete */
DELETE FROM azure.api_management.tag_operation_links
WHERE operationLinkId = '{{ operationLinkId }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND tagId = '{{ tagId }}';