Skip to main content

api_gateway_config_connections

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

Overview

Nameapi_gateway_config_connections
TypeResource
Idazure.api_management.api_gateway_config_connections

Fields

NameDatatypeDescription
configConnectionNametextfield from the properties object
default_hostnametextfield from the properties object
etagtextETag of the resource.
gatewayNametextfield from the properties object
hostnamestextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
source_idtextfield from the properties object
subscriptionIdtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTconfigConnectionName, gatewayName, resourceGroupName, subscriptionIdGets an API Management gateway config connection resource description.
list_by_gatewaySELECTgatewayName, resourceGroupName, subscriptionIdList all API Management gateway config connections within a gateway.
create_or_updateINSERTconfigConnectionName, gatewayName, resourceGroupName, subscriptionId, data__propertiesCreates or updates an API Management gateway config connection. This is long running operation and could take several minutes to complete.
deleteDELETEIf-Match, configConnectionName, gatewayName, resourceGroupName, subscriptionIdDeletes an existing API Management gateway config connection.

SELECT examples

List all API Management gateway config connections within a gateway.

SELECT
configConnectionName,
default_hostname,
etag,
gatewayName,
hostnames,
provisioning_state,
resourceGroupName,
source_id,
subscriptionId
FROM azure.api_management.vw_api_gateway_config_connections
WHERE gatewayName = '{{ gatewayName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new api_gateway_config_connections resource.

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

DELETE example

Deletes the specified api_gateway_config_connections resource.

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