Skip to main content

ms_teams_channels

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

Overview

Namems_teams_channels
TypeResource
Iddatadog.integrations.ms_teams_channels

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe ID of the channel. (example: 19:b41k24b14bn1nwffkernfkwrnfneubgkr@thread.tacv2)
attributesobjectChannel attributes.
typestringChannel info resource type. (ms-teams-channel-info) (default: ms-teams-channel-info, example: ms-teams-channel-info)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_channel_by_nameselecttenant_name, team_name, channel_nameGet the tenant, team, and channel ID of a channel in 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
channel_namestringYour channel name.
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.
team_namestringYour team name.
tenant_namestringYour tenant name.

SELECT examples

Get the tenant, team, and channel ID of a channel in the Datadog Microsoft Teams integration.

SELECT
id,
attributes,
type
FROM datadog.integrations.ms_teams_channels
WHERE tenant_name = '{{ tenant_name }}' -- required
AND team_name = '{{ team_name }}' -- required
AND channel_name = '{{ channel_name }}' -- required
;