relay_service_connections
Creates, updates, deletes, gets or lists a relay_service_connections
resource.
Overview
Name | relay_service_connections |
Type | Resource |
Id | azure.app_service.relay_service_connections |
Fields
Name | Datatype | Description |
---|---|---|
id | string | Resource Id. |
name | string | Resource Name. |
kind | string | Kind of resource. |
properties | object | RelayServiceConnectionEntity resource specific properties |
type | string | Resource type. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | entityName, name, resourceGroupName, subscriptionId | Description for Gets a hybrid connection configuration by its name. |
list | SELECT | name, resourceGroupName, subscriptionId | Description for Gets hybrid connections configured for an app (or deployment slot, if specified). |
create_or_update | INSERT | entityName, name, resourceGroupName, subscriptionId | Description for Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). |
delete | DELETE | entityName, name, resourceGroupName, subscriptionId | Description for Deletes a relay service connection by its name. |
update | UPDATE | entityName, name, resourceGroupName, subscriptionId | Description 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.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.app_service.relay_service_connections (
entityName,
name,
resourceGroupName,
subscriptionId,
kind,
properties
)
SELECT
'{{ entityName }}',
'{{ name }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ kind }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: id
value: string
- name: name
value: string
- name: kind
value: string
- name: type
value: string
- name: properties
value:
- name: entityName
value: string
- name: entityConnectionString
value: string
- name: resourceType
value: string
- name: resourceConnectionString
value: string
- name: hostname
value: string
- name: port
value: integer
- name: biztalkUri
value: string
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 }}';