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. (workflows-webhook-handle) (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_idGet the name of a Workflows webhook handle from the Datadog Microsoft Teams integration.
list_workflows_webhook_handlesselectnameGet a list of all Workflows webhook handles from the Datadog Microsoft Teams integration.
create_workflows_webhook_handleinsertdataCreate a Workflows webhook handle in the Datadog Microsoft Teams integration.
update_workflows_webhook_handleupdatehandle_id, dataUpdate a Workflows webhook handle from the Datadog Microsoft Teams integration.
delete_workflows_webhook_handledeletehandle_idDelete 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.
sitestringThe Datadog site (region) for your organization, for example datadoghq.com, us3.datadoghq.com, us5.datadoghq.com, ap1.datadoghq.com, ap2.datadoghq.com, datadoghq.eu, ddog-gov.com. Resolved from the DD_SITE environment variable when set. Optional: defaults to datadoghq.com, or the value of the DD_SITE environment variable when set; a WHERE value overrides both.
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
;

INSERT examples

Create a Workflows webhook handle in the Datadog Microsoft Teams integration.

INSERT INTO datadog.integrations.ms_teams_workflows_webhook_handles (
data
)
SELECT
'{{ data }}' /* required */
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 }}'
WHERE
handle_id = '{{ handle_id }}' --required
AND 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
;