Skip to main content

gateway_debug_credentials

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

Overview

Namegateway_debug_credentials
TypeResource
Idazure.api_management.gateway_debug_credentials

Fields

The following fields are returned by SELECT queries:

The response body contains debug credentials to use in gateway.

NameDatatypeDescription
tokenstringGateway debug token.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionId, resourceGroupName, serviceName, gatewayIdCreate new debug credentials for 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

Create new debug credentials for gateway.

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