Skip to main content

ms_teams_workflows_webhook_handles

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

Overview

Namems_teams_workflows_webhook_handles
TypeResource
Iddatadog.integrations.ms_teams_workflows_webhook_handles

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe ID of the Workflows webhook handle. (example: 596da4af-0563-4097-90ff-07230c3f9db3)
attributesobjectWorkflows Webhook handle attributes.
typestringSpecifies the Workflows webhook handle resource type. (default: workflows-webhook-handle, example: workflows-webhook-handle)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_workflows_webhook_handleselecthandle_id, regionGet the name of a Workflows webhook handle from the Datadog Microsoft Teams integration.
list_workflows_webhook_handlesselectregionnameGet a list of all Workflows webhook handles from the Datadog Microsoft Teams integration.
create_workflows_webhook_handleinsertregion, data__dataCreate a Workflows webhook handle in the Datadog Microsoft Teams integration.
update_workflows_webhook_handleupdatehandle_id, region, data__dataUpdate a Workflows webhook handle from the Datadog Microsoft Teams integration.
delete_workflows_webhook_handledeletehandle_id, regionDelete 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.

NameDatatypeDescription
handle_idstringYour Workflows webhook handle id.
regionstring(default: datadoghq.com)
namestringYour Workflows webhook handle name.

SELECT examples

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
;

INSERT examples

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
;

UPDATE examples

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 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
;