Skip to main content

relay_service_connections

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

Overview

Namerelay_service_connections
TypeResource
Idazure.app_service.relay_service_connections

Fields

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

Methods

NameAccessible byRequired ParamsDescription
getSELECTentityName, name, resourceGroupName, subscriptionIdDescription for Gets a hybrid connection configuration by its name.
listSELECTname, resourceGroupName, subscriptionIdDescription for Gets hybrid connections configured for an app (or deployment slot, if specified).
create_or_updateINSERTentityName, name, resourceGroupName, subscriptionIdDescription for Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).
deleteDELETEentityName, name, resourceGroupName, subscriptionIdDescription for Deletes a relay service connection by its name.
updateUPDATEentityName, name, resourceGroupName, subscriptionIdDescription for Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).

SELECT examples

Description for Gets hybrid connections configured for an app (or deployment slot, if specified).

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

INSERT example

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

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

UPDATE example

Updates a relay_service_connections resource.

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

DELETE example

Deletes the specified relay_service_connections resource.

/*+ delete */
DELETE FROM azure.app_service.relay_service_connections
WHERE entityName = '{{ entityName }}'
AND name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';