Skip to main content

operation

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

Overview​

Nameoperation
TypeResource
Idazure.api_management.operation

Fields​

The following fields are returned by SELECT queries:

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

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_by_tagsselectresource_group_name, service_name, api_id, subscription_id$filter, $top, $skip, includeNotTaggedOperationsLists a collection of operations associated with tags.

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
api_idstringAPI 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. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
service_namestringThe name of the API Management service. Required.
subscription_idstring
$filterstring| Field | Usage | Supported operators | Supported functions ||-------------|-------------|-------------|-------------|| name | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith || displayName | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith || apiName | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith || description | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith || method | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith || urlTemplate | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |. Default value is None.
$skipintegerNumber of records to skip. Default value is None.
$topintegerNumber of records to return. Default value is None.
includeNotTaggedOperationsbooleanInclude not tagged Operations. Default value is None.

SELECT examples​

Lists a collection of operations associated with tags.

SELECT
api,
operation,
product,
tag
FROM azure.api_management.operation
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND service_name = '{{ service_name }}' -- required
AND api_id = '{{ api_id }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
AND $filter = '{{ $filter }}'
AND $top = '{{ $top }}'
AND $skip = '{{ $skip }}'
AND includeNotTaggedOperations = '{{ includeNotTaggedOperations }}'
;