Skip to content

Latest commit

 

History

History
128 lines (95 loc) · 4.67 KB

source_newsdata_io.md

File metadata and controls

128 lines (95 loc) · 4.67 KB
page_title subcategory description
airbyte_source_newsdata_io Resource - terraform-provider-airbyte
SourceNewsdataIo Resource

airbyte_source_newsdata_io (Resource)

SourceNewsdataIo Resource

Example Usage

resource "airbyte_source_newsdata_io" "my_source_newsdataio" {
  configuration = {
    api_key = "...my_api_key..."
    categories = [
      "{ \"see\": \"documentation\" }"
    ]
    countries = [
      "{ \"see\": \"documentation\" }"
    ]
    domains = [
      "{ \"see\": \"documentation\" }"
    ]
    end_date = "2022-09-13"
    languages = [
      "{ \"see\": \"documentation\" }"
    ]
    search_query = "...my_search_query..."
    start_date   = "2022-06-25T05:58:25.467Z"
  }
  definition_id = "e1142e93-ac8b-4628-91be-1c8fbb469e7a"
  name          = "...my_name..."
  secret_id     = "...my_secret_id..."
  workspace_id  = "4f26610d-ee91-42f6-affb-c590d47e45a7"
}

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)
  • resource_allocation (Attributes) actor or actor definition specific resource requirements. if default is set, these are the requirements that should be set for ALL jobs run for this actor definition. it is overriden by the job type specific configurations. if not set, the platform will use defaults. these values will be overriden by configuration at the connection level. (see below for nested schema)
  • source_id (String)
  • source_type (String)

Nested Schema for configuration

Required:

  • api_key (String, Sensitive)
  • start_date (String)

Optional:

  • categories (List of String) Search the news articles for a specific category. You can add up to 5 categories in a single query.
  • countries (List of String) Search the news articles from a specific country. You can add up to 5 countries in a single query. Example: au, jp, br
  • domains (List of String) Search the news articles for specific domains or news sources. You can add up to 5 domains in a single query.
  • end_date (String) Choose an end date. Now UTC is default value
  • languages (List of String) Search the news articles for a specific language. You can add up to 5 languages in a single query.
  • search_query (String) Search news articles for specific keywords or phrases present in the news title, content, URL, meta keywords and meta description.

Nested Schema for resource_allocation

Read-Only:

Nested Schema for resource_allocation.default

Read-Only:

  • cpu_limit (String)
  • cpu_request (String)
  • ephemeral_storage_limit (String)
  • ephemeral_storage_request (String)
  • memory_limit (String)
  • memory_request (String)

Nested Schema for resource_allocation.job_specific

Read-Only:

  • job_type (String) enum that describes the different types of jobs that the platform runs. must be one of ["get_spec", "check_connection", "discover_schema", "sync", "reset_connection", "connection_updater", "replicate"]
  • resource_requirements (Attributes) optional resource requirements to run workers (blank for unbounded allocations) (see below for nested schema)

Nested Schema for resource_allocation.job_specific.resource_requirements

Read-Only:

  • cpu_limit (String)
  • cpu_request (String)
  • ephemeral_storage_limit (String)
  • ephemeral_storage_request (String)
  • memory_limit (String)
  • memory_request (String)

Import

Import is supported using the following syntax:

terraform import airbyte_source_newsdata_io.my_airbyte_source_newsdata_io ""