ms_teams_workflows_webhook_handles
Creates, updates, deletes, gets or lists a ms_teams_workflows_webhook_handles resource.
Overview
| Name | ms_teams_workflows_webhook_handles | 
| Type | Resource | 
| Id | datadog.integrations.ms_teams_workflows_webhook_handles | 
Fields
The following fields are returned by SELECT queries:
- get_workflows_webhook_handle
- list_workflows_webhook_handles
| Name | Datatype | Description | 
|---|---|---|
| id | string | The ID of the Workflows webhook handle. (example: 596da4af-0563-4097-90ff-07230c3f9db3) | 
| attributes | object | Workflows Webhook handle attributes. | 
| type | string | Specifies the Workflows webhook handle resource type. (default: workflows-webhook-handle, example: workflows-webhook-handle) | 
| Name | Datatype | Description | 
|---|---|---|
| id | string | The ID of the Workflows webhook handle. (example: 596da4af-0563-4097-90ff-07230c3f9db3) | 
| attributes | object | Workflows Webhook handle attributes. | 
| type | string | Specifies the Workflows webhook handle resource type. (default: workflows-webhook-handle, example: workflows-webhook-handle) | 
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description | 
|---|---|---|---|---|
| get_workflows_webhook_handle | select | handle_id,region | Get the name of a Workflows webhook handle from the Datadog Microsoft Teams integration. | |
| list_workflows_webhook_handles | select | region | name | Get a list of all Workflows webhook handles from the Datadog Microsoft Teams integration. | 
| create_workflows_webhook_handle | insert | region,data__data | Create a Workflows webhook handle in the Datadog Microsoft Teams integration. | |
| update_workflows_webhook_handle | update | handle_id,region,data__data | Update a Workflows webhook handle from the Datadog Microsoft Teams integration. | |
| delete_workflows_webhook_handle | delete | handle_id,region | Delete a Workflows webhook handle from the Datadog Microsoft Teams integration. | 
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description | 
|---|---|---|
| handle_id | string | Your Workflows webhook handle id. | 
| region | string | (default: datadoghq.com) | 
| name | string | Your Workflows webhook handle name. | 
SELECT examples
- get_workflows_webhook_handle
- list_workflows_webhook_handles
Get the name of a Workflows webhook handle from the Datadog Microsoft Teams integration.
SELECT
id,
attributes,
type
FROM datadog.integrations.ms_teams_workflows_webhook_handles
WHERE handle_id = '{{ handle_id }}' -- required
AND region = '{{ region }}' -- required
;
Get a list of all Workflows webhook handles from the Datadog Microsoft Teams integration.
SELECT
id,
attributes,
type
FROM datadog.integrations.ms_teams_workflows_webhook_handles
WHERE region = '{{ region }}' -- required
AND name = '{{ name }}'
;
INSERT examples
- create_workflows_webhook_handle
- Manifest
Create a Workflows webhook handle in the Datadog Microsoft Teams integration.
INSERT INTO datadog.integrations.ms_teams_workflows_webhook_handles (
data__data,
region
)
SELECT 
'{{ data }}' /* required */,
'{{ region }}'
RETURNING
data
;
# Description fields are for documentation purposes
- name: ms_teams_workflows_webhook_handles
  props:
    - name: region
      value: string
      description: Required parameter for the ms_teams_workflows_webhook_handles resource.
    - name: data
      value: object
      description: |
        Workflows Webhook handle data from a response.
UPDATE examples
- update_workflows_webhook_handle
Update a Workflows webhook handle from the Datadog Microsoft Teams integration.
UPDATE datadog.integrations.ms_teams_workflows_webhook_handles
SET 
data__data = '{{ data }}'
WHERE 
handle_id = '{{ handle_id }}' --required
AND region = '{{ region }}' --required
AND data__data = '{{ data }}' --required
RETURNING
data;
DELETE examples
- delete_workflows_webhook_handle
Delete a Workflows webhook handle from the Datadog Microsoft Teams integration.
DELETE FROM datadog.integrations.ms_teams_workflows_webhook_handles
WHERE handle_id = '{{ handle_id }}' --required
AND region = '{{ region }}' --required
;