channels
Creates, updates, deletes, gets or lists a channels
resource.
Overview
Name | channels |
Type | Resource |
Id | azure.engagement_fabric.channels |
Fields
- vw_channels
- channels
Name | Datatype | Description |
---|---|---|
accountName | text | field from the properties object |
channelName | text | field from the properties object |
channel_functions | text | field from the properties object |
channel_type | text | field from the properties object |
credentials | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | The EngagementFabric channel properties |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | accountName, channelName, resourceGroupName, subscriptionId | |
list_by_account | SELECT | accountName, resourceGroupName, subscriptionId | |
create_or_update | INSERT | accountName, channelName, resourceGroupName, subscriptionId | |
delete | DELETE | accountName, channelName, resourceGroupName, subscriptionId |
SELECT
examples
- vw_channels
- channels
SELECT
accountName,
channelName,
channel_functions,
channel_type,
credentials,
resourceGroupName,
subscriptionId
FROM azure.engagement_fabric.vw_channels
WHERE accountName = '{{ accountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
properties
FROM azure.engagement_fabric.channels
WHERE accountName = '{{ accountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new channels
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.engagement_fabric.channels (
accountName,
channelName,
resourceGroupName,
subscriptionId,
properties
)
SELECT
'{{ accountName }}',
'{{ channelName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: channelType
value: string
- name: channelFunctions
value:
- string
- name: credentials
value: object
DELETE
example
Deletes the specified channels
resource.
/*+ delete */
DELETE FROM azure.engagement_fabric.channels
WHERE accountName = '{{ accountName }}'
AND channelName = '{{ channelName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';