hybrid_connections
Creates, updates, deletes, gets or lists a hybrid_connections
resource.
Overview
Name | hybrid_connections |
Type | Resource |
Id | azure.app_service.hybrid_connections |
Fields
Name | Datatype | Description |
---|---|---|
id | string | Resource Id. |
name | string | Resource Name. |
kind | string | Kind of resource. |
properties | object | HybridConnection resource specific properties |
type | string | Resource type. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | name, namespaceName, relayName, resourceGroupName, subscriptionId | Description for Retrieves a specific Service Bus Hybrid Connection used by this Web App. |
list | SELECT | name, resourceGroupName, subscriptionId | Description for Retrieves all Service Bus Hybrid Connections used by this Web App. |
create_or_update | INSERT | name, namespaceName, relayName, resourceGroupName, subscriptionId | Description for Creates a new Hybrid Connection using a Service Bus relay. |
delete | DELETE | name, namespaceName, relayName, resourceGroupName, subscriptionId | Description for Removes a Hybrid Connection from this site. |
update | UPDATE | name, namespaceName, relayName, resourceGroupName, subscriptionId | Description 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.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.app_service.hybrid_connections (
name,
namespaceName,
relayName,
resourceGroupName,
subscriptionId,
kind,
properties
)
SELECT
'{{ name }}',
'{{ namespaceName }}',
'{{ relayName }}',
'{{ 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: serviceBusNamespace
value: string
- name: relayName
value: string
- name: relayArmUri
value: string
- name: hostname
value: string
- name: port
value: integer
- name: sendKeyName
value: string
- name: sendKeyValue
value: string
- name: serviceBusSuffix
value: string
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 }}';