Skip to main content

relay_service_connection_slots

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

Overview

Namerelay_service_connection_slots
TypeResource
Idazure.app_service.relay_service_connection_slots

Fields

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

Methods

NameAccessible byRequired ParamsDescription
getSELECTentityName, name, resourceGroupName, slot, subscriptionIdDescription for Gets a hybrid connection configuration by its name.
listSELECTname, resourceGroupName, slot, subscriptionIdDescription for Gets hybrid connections configured for an app (or deployment slot, if specified).
create_or_updateINSERTentityName, name, resourceGroupName, slot, subscriptionIdDescription for Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).
deleteDELETEentityName, name, resourceGroupName, slot, subscriptionIdDescription for Deletes a relay service connection by its name.
updateUPDATEentityName, name, resourceGroupName, slot, 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_connection_slots
WHERE name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND slot = '{{ slot }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

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

UPDATE example

Updates a relay_service_connection_slots resource.

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

DELETE example

Deletes the specified relay_service_connection_slots resource.

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