Skip to main content

operations

Creates, updates, deletes, gets or lists an operations resource.

Overview

Nameoperations
TypeResource
Idazure.api_management.operations

Fields

The following fields are returned by SELECT queries:

Lists a collection of TagResource entities.

NameDatatypeDescription
apiobjectAPI associated with the tag.
operationobjectOperation associated with the tag.
productobjectProduct associated with the tag.
tagobjectTag associated with the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_by_tagsselectresourceGroupName, serviceName, apiId, subscriptionId$filter, $top, $skip, includeNotTaggedOperationsLists a collection of operations associated with tags.
listselectLists all of the available REST API operations of the Microsoft.ApiManagement provider.
perform_connectivity_check_asyncexecresourceGroupName, serviceName, subscriptionId, source, destinationPerforms a connectivity check between the API Management service and a given destination, and returns metrics for the connection, as well as errors encountered while trying to establish it.

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
apiIdstringAPI revision identifier. Must be unique in the current API Management service instance. Non-current revision has ;rev=n as a suffix where n is the revision number.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
serviceNamestringThe name of the API Management service.
subscriptionIdstringThe ID of the target subscription.
$filterstring| Field | Usage | Supported operators | Supported functions |</br>|-------------|-------------|-------------|-------------|</br>| name | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |</br>| displayName | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |</br>| apiName | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |</br>| description | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |</br>| method | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |</br>| urlTemplate | 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.
includeNotTaggedOperationsbooleanInclude not tagged Operations.

SELECT examples

Lists a collection of operations associated with tags.

SELECT
api,
operation,
product,
tag
FROM azure.api_management.operations
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND serviceName = '{{ serviceName }}' -- required
AND apiId = '{{ apiId }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND $filter = '{{ $filter }}'
AND $top = '{{ $top }}'
AND $skip = '{{ $skip }}'
AND includeNotTaggedOperations = '{{ includeNotTaggedOperations }}'
;

Lifecycle Methods

Performs a connectivity check between the API Management service and a given destination, and returns metrics for the connection, as well as errors encountered while trying to establish it.

EXEC azure.api_management.operations.perform_connectivity_check_async 
@resourceGroupName='{{ resourceGroupName }}' --required,
@serviceName='{{ serviceName }}' --required,
@subscriptionId='{{ subscriptionId }}' --required
@@json=
'{
"source": "{{ source }}",
"destination": "{{ destination }}",
"preferredIPVersion": "{{ preferredIPVersion }}",
"protocol": "{{ protocol }}",
"protocolConfiguration": "{{ protocolConfiguration }}"
}'
;