Skip to main content

api_gateway_config_connections

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

Overview

Nameapi_gateway_config_connections
TypeResource
Idazure.api_management.api_gateway_config_connections

Fields

The following fields are returned by SELECT queries:

Successfully got the API Management gateway config connection resource.

NameDatatypeDescription
etagstringETag of the resource.
propertiesobjectProperties of the API Management gateway config connection.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceGroupName, gatewayName, configConnectionName, subscriptionIdGets an API Management gateway config connection resource description.
list_by_gatewayselectresourceGroupName, subscriptionId, gatewayNameList all API Management gateway config connections within a gateway.
create_or_updateinsertresourceGroupName, gatewayName, configConnectionName, subscriptionId, data__propertiesCreates or updates an API Management gateway config connection. This is long running operation and could take several minutes to complete.
deletedeleteresourceGroupName, gatewayName, configConnectionName, If-Match, subscriptionIdDeletes an existing API Management gateway config connection.

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
If-MatchstringETag of the Entity. ETag should match the current entity state from the header response of the GET request or it should be * for unconditional update.
configConnectionNamestringThe name of the API Management gateway config connection.
gatewayNamestringThe name of the API Management gateway.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstringThe ID of the target subscription.

SELECT examples

Gets an API Management gateway config connection resource description.

SELECT
etag,
properties
FROM azure.api_management.api_gateway_config_connections
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND gatewayName = '{{ gatewayName }}' -- required
AND configConnectionName = '{{ configConnectionName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;

INSERT examples

Creates or updates an API Management gateway config connection. This is long running operation and could take several minutes to complete.

INSERT INTO azure.api_management.api_gateway_config_connections (
data__properties,
resourceGroupName,
gatewayName,
configConnectionName,
subscriptionId
)
SELECT
'{{ properties }}' /* required */,
'{{ resourceGroupName }}',
'{{ gatewayName }}',
'{{ configConnectionName }}',
'{{ subscriptionId }}'
RETURNING
etag,
properties
;

DELETE examples

Deletes an existing API Management gateway config connection.

DELETE FROM azure.api_management.api_gateway_config_connections
WHERE resourceGroupName = '{{ resourceGroupName }}' --required
AND gatewayName = '{{ gatewayName }}' --required
AND configConnectionName = '{{ configConnectionName }}' --required
AND If-Match = '{{ If-Match }}' --required
AND subscriptionId = '{{ subscriptionId }}' --required
;