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. (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_name, regionGet 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.
regionstring(default: datadoghq.com)
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
AND region = '{{ region }}' -- required
;