Skip to main content

workspace_tag_operation_links

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

Overview

Nameworkspace_tag_operation_links
TypeResource
Idazure.api_management.workspace_tag_operation_links

Fields

The following fields are returned by SELECT queries:

The response body contains the specified operation link entity.

NameDatatypeDescription
propertiesobjectTag-API link entity contract properties.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceGroupName, serviceName, workspaceId, tagId, operationLinkId, subscriptionIdGets the operation link for the tag.
list_by_productselectresourceGroupName, serviceName, workspaceId, tagId, subscriptionId$filter, $top, $skipLists a collection of the operation links associated with a tag.
create_or_updateinsertresourceGroupName, serviceName, workspaceId, tagId, operationLinkId, subscriptionIdAdds an operation to the specified tag via link.
deletedeleteresourceGroupName, serviceName, workspaceId, tagId, operationLinkId, subscriptionIdDeletes the specified operation from the specified tag.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
operationLinkIdstringTag-operation link identifier. Must be unique in the current API Management service instance.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
serviceNamestringThe name of the API Management service.
subscriptionIdstringThe ID of the target subscription.
tagIdstringTag identifier. Must be unique in the current API Management service instance.
workspaceIdstringWorkspace identifier. Must be unique in the current API Management service instance.
$filterstring| Field | Usage | Supported operators | Supported functions |</br>|-------------|-------------|-------------|-------------|</br>| operationId | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |</br>
$skipinteger (int32)Number of records to skip.
$topinteger (int32)Number of records to return.

SELECT examples

Gets the operation link for the tag.

SELECT
properties
FROM azure.api_management.workspace_tag_operation_links
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND serviceName = '{{ serviceName }}' -- required
AND workspaceId = '{{ workspaceId }}' -- required
AND tagId = '{{ tagId }}' -- required
AND operationLinkId = '{{ operationLinkId }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;

INSERT examples

Adds an operation to the specified tag via link.

INSERT INTO azure.api_management.workspace_tag_operation_links (
data__properties,
resourceGroupName,
serviceName,
workspaceId,
tagId,
operationLinkId,
subscriptionId
)
SELECT
'{{ properties }}',
'{{ resourceGroupName }}',
'{{ serviceName }}',
'{{ workspaceId }}',
'{{ tagId }}',
'{{ operationLinkId }}',
'{{ subscriptionId }}'
RETURNING
properties
;

DELETE examples

Deletes the specified operation from the specified tag.

DELETE FROM azure.api_management.workspace_tag_operation_links
WHERE resourceGroupName = '{{ resourceGroupName }}' --required
AND serviceName = '{{ serviceName }}' --required
AND workspaceId = '{{ workspaceId }}' --required
AND tagId = '{{ tagId }}' --required
AND operationLinkId = '{{ operationLinkId }}' --required
AND subscriptionId = '{{ subscriptionId }}' --required
;