Skip to content

Latest commit

 

History

History
103 lines (74 loc) · 3.69 KB

source_linkedin_pages.md

File metadata and controls

103 lines (74 loc) · 3.69 KB
page_title subcategory description
airbyte_source_linkedin_pages Resource - terraform-provider-airbyte
SourceLinkedinPages Resource

airbyte_source_linkedin_pages (Resource)

SourceLinkedinPages Resource

Example Usage

resource "airbyte_source_linkedin_pages" "my_source_linkedinpages" {
  configuration = {
    credentials = {
      access_token = {
        access_token = "...my_access_token..."
      }
      o_auth20 = {
        client_id     = "...my_client_id..."
        client_secret = "...my_client_secret..."
        refresh_token = "...my_refresh_token..."
      }
    }
    org_id                = "123456789"
    start_date            = "2021-01-19T08:22:37.981Z"
    time_granularity_type = "MONTH"
  }
  definition_id = "b7320995-89cb-4a35-929d-c298cd64bbd8"
  name          = "...my_name..."
  secret_id     = "...my_secret_id..."
  workspace_id  = "25451ff1-20df-4bf1-bbc0-fffa15035a0e"
}

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:

  • org_id (String, Sensitive) Specify the Organization ID

Optional:

  • credentials (Attributes) (see below for nested schema)
  • start_date (String) Start date for getting metrics per time period. Must be atmost 12 months before the request date (UTC) and atleast 2 days prior to the request date (UTC). See https://bit.ly/linkedin-pages-date-rules {{ "\n" }} {{ response.errorDetails }}. Default: "2023-01-01T00:00:00Z"
  • time_granularity_type (String) Granularity of the statistics for metrics per time period. Must be either "DAY" or "MONTH". Default: "DAY"; must be one of ["DAY", "MONTH"]

Nested Schema for configuration.credentials

Optional:

Nested Schema for configuration.credentials.access_token

Required:

  • access_token (String, Sensitive) The token value generated using the LinkedIn Developers OAuth Token Tools. See the docs to obtain yours.

Nested Schema for configuration.credentials.o_auth20

Required:

  • client_id (String, Sensitive) The client ID of the LinkedIn developer application.
  • client_secret (String, Sensitive) The client secret of the LinkedIn developer application.
  • refresh_token (String, Sensitive) The token value generated using the LinkedIn Developers OAuth Token Tools. See the docs to obtain yours.

Import

Import is supported using the following syntax:

terraform import airbyte_source_linkedin_pages.my_airbyte_source_linkedin_pages ""