Skip to main content

gateway_traces

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

Overview

Namegateway_traces
TypeResource
Idazure.api_management.gateway_traces

Fields

The following fields are returned by SELECT queries:

The response body contains trace collected by gateway.

NameDatatypeDescription

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionId, resourceGroupName, serviceName, gatewayIdFetches trace collected by gateway.

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
gatewayIdstringGateway entity identifier. Must be unique in the current API Management service instance. Must not have value 'managed'
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
serviceNamestringThe name of the API Management service.
subscriptionIdstringThe ID of the target subscription.

SELECT examples

Fetches trace collected by gateway.

SELECT
*
FROM azure.api_management.gateway_traces
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND serviceName = '{{ serviceName }}' -- required
AND gatewayId = '{{ gatewayId }}' -- required
;