Skip to main content

hybrid_connections

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

Overview

Namehybrid_connections
TypeResource
Idazure.app_service.hybrid_connections

Fields

NameDatatypeDescription
idstringResource Id.
namestringResource Name.
kindstringKind of resource.
propertiesobjectHybridConnection resource specific properties
typestringResource type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTname, namespaceName, relayName, resourceGroupName, subscriptionIdDescription for Retrieves a specific Service Bus Hybrid Connection used by this Web App.
listSELECTname, resourceGroupName, subscriptionIdDescription for Retrieves all Service Bus Hybrid Connections used by this Web App.
create_or_updateINSERTname, namespaceName, relayName, resourceGroupName, subscriptionIdDescription for Creates a new Hybrid Connection using a Service Bus relay.
deleteDELETEname, namespaceName, relayName, resourceGroupName, subscriptionIdDescription for Removes a Hybrid Connection from this site.
updateUPDATEname, namespaceName, relayName, resourceGroupName, subscriptionIdDescription for Creates a new Hybrid Connection using a Service Bus relay.

SELECT examples

Description for Retrieves all Service Bus Hybrid Connections used by this Web App.

SELECT
id,
name,
kind,
properties,
type
FROM azure.app_service.hybrid_connections
WHERE name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.app_service.hybrid_connections (
name,
namespaceName,
relayName,
resourceGroupName,
subscriptionId,
kind,
properties
)
SELECT
'{{ name }}',
'{{ namespaceName }}',
'{{ relayName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ kind }}',
'{{ properties }}'
;

UPDATE example

Updates a hybrid_connections resource.

/*+ update */
UPDATE azure.app_service.hybrid_connections
SET
kind = '{{ kind }}',
properties = '{{ properties }}'
WHERE
name = '{{ name }}'
AND namespaceName = '{{ namespaceName }}'
AND relayName = '{{ relayName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified hybrid_connections resource.

/*+ delete */
DELETE FROM azure.app_service.hybrid_connections
WHERE name = '{{ name }}'
AND namespaceName = '{{ namespaceName }}'
AND relayName = '{{ relayName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';