Skip to content

Latest commit

 

History

History
105 lines (76 loc) · 4.15 KB

source_microsoft_teams.md

File metadata and controls

105 lines (76 loc) · 4.15 KB
page_title subcategory description
airbyte_source_microsoft_teams Resource - terraform-provider-airbyte
SourceMicrosoftTeams Resource

airbyte_source_microsoft_teams (Resource)

SourceMicrosoftTeams Resource

Example Usage

resource "airbyte_source_microsoft_teams" "my_source_microsoftteams" {
  configuration = {
    credentials = {
      authenticate_via_microsoft = {
        client_id     = "...my_client_id..."
        client_secret = "...my_client_secret..."
        tenant_id     = "...my_tenant_id..."
      }
      authenticate_via_microsoft_o_auth20 = {
        client_id     = "...my_client_id..."
        client_secret = "...my_client_secret..."
        refresh_token = "...my_refresh_token..."
        tenant_id     = "...my_tenant_id..."
      }
    }
    period = "D7"
  }
  definition_id = "9c7c92b5-c652-4363-8342-1deb8b5e46f4"
  name          = "...my_name..."
  secret_id     = "...my_secret_id..."
  workspace_id  = "5bc16313-0df8-4b0a-937a-7ae3de2c21ca"
}

Schema

Required

  • configuration (Attributes) (see below for nested schema)
  • name (String) Name of the source e.g. dev-mysql-instance.
  • workspace_id (String)

Optional

  • definition_id (String) The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.
  • secret_id (String) Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.

Read-Only

  • created_at (Number)
  • source_id (String)
  • source_type (String)

Nested Schema for configuration

Required:

  • period (String) Specifies the length of time over which the Team Device Report stream is aggregated. The supported values are: D7, D30, D90, and D180.

Optional:

Nested Schema for configuration.credentials

Optional:

Nested Schema for configuration.credentials.authenticate_via_microsoft

Required:

  • client_id (String) The Client ID of your Microsoft Teams developer application.
  • client_secret (String, Sensitive) The Client Secret of your Microsoft Teams developer application.
  • tenant_id (String, Sensitive) A globally unique identifier (GUID) that is different than your organization name or domain. Follow these steps to obtain: open one of the Teams where you belong inside the Teams Application -> Click on the … next to the Team title -> Click on Get link to team -> Copy the link to the team and grab the tenant ID form the URL

Nested Schema for configuration.credentials.authenticate_via_microsoft_o_auth20

Required:

  • client_id (String) The Client ID of your Microsoft Teams developer application.
  • client_secret (String, Sensitive) The Client Secret of your Microsoft Teams developer application.
  • refresh_token (String, Sensitive) A Refresh Token to renew the expired Access Token.
  • tenant_id (String, Sensitive) A globally unique identifier (GUID) that is different than your organization name or domain. Follow these steps to obtain: open one of the Teams where you belong inside the Teams Application -> Click on the … next to the Team title -> Click on Get link to team -> Copy the link to the team and grab the tenant ID form the URL

Import

Import is supported using the following syntax:

terraform import airbyte_source_microsoft_teams.my_airbyte_source_microsoft_teams ""