Skip to main content

tag_operation_links

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

Overview

Nametag_operation_links
TypeResource
Idazure.api_management.tag_operation_links

Fields

NameDatatypeDescription
operationLinkIdtextfield from the properties object
operation_idtextfield from the properties object
resourceGroupNametextfield from the properties object
serviceNametextfield from the properties object
subscriptionIdtextfield from the properties object
tagIdtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECToperationLinkId, resourceGroupName, serviceName, subscriptionId, tagIdGets the operation link for the tag.
list_by_productSELECTresourceGroupName, serviceName, subscriptionId, tagIdLists a collection of the operation links associated with a tag.
create_or_updateINSERToperationLinkId, resourceGroupName, serviceName, subscriptionId, tagIdAdds an operation to the specified tag via link.
deleteDELETEoperationLinkId, resourceGroupName, serviceName, subscriptionId, tagIdDeletes the specified operation from the specified tag.

SELECT examples

Lists a collection of the operation links associated with a tag.

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 }}';

INSERT example

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

/*+ create */
INSERT INTO azure.api_management.tag_operation_links (
operationLinkId,
resourceGroupName,
serviceName,
subscriptionId,
tagId,
properties
)
SELECT
'{{ operationLinkId }}',
'{{ resourceGroupName }}',
'{{ serviceName }}',
'{{ subscriptionId }}',
'{{ tagId }}',
'{{ properties }}'
;

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 }}';