Skip to content

Latest commit

 

History

History
126 lines (93 loc) · 4.78 KB

source_pocket.md

File metadata and controls

126 lines (93 loc) · 4.78 KB
page_title subcategory description
airbyte_source_pocket Resource - terraform-provider-airbyte
SourcePocket Resource

airbyte_source_pocket (Resource)

SourcePocket Resource

Example Usage

resource "airbyte_source_pocket" "my_source_pocket" {
  configuration = {
    access_token = "...my_access_token..."
    consumer_key = "...my_consumer_key..."
    content_type = "image"
    detail_type  = "simple"
    domain       = "...my_domain..."
    favorite     = true
    search       = "...my_search..."
    since        = "2022-10-20 14:14:14"
    sort         = "title"
    state        = "archive"
    tag          = "...my_tag..."
  }
  definition_id = "537e02d4-7629-4bae-bbba-24c68990b750"
  name          = "...my_name..."
  secret_id     = "...my_secret_id..."
  workspace_id  = "4765e165-8e0a-4041-b564-c1ddbd283535"
}

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:

  • access_token (String, Sensitive) The user's Pocket access token.
  • consumer_key (String, Sensitive) Your application's Consumer Key.

Optional:

  • content_type (String) Select the content type of the items to retrieve. must be one of ["article", "video", "image"]
  • detail_type (String) Select the granularity of the information about each item. must be one of ["simple", "complete"]
  • domain (String) Only return items from a particular domain.
  • favorite (Boolean) Retrieve only favorited items. Default: false
  • search (String) Only return items whose title or url contain the search string.
  • since (String) Only return items modified since the given timestamp.
  • sort (String) Sort retrieved items by the given criteria. must be one of ["newest", "oldest", "title", "site"]
  • state (String) Select the state of the items to retrieve. must be one of ["unread", "archive", "all"]
  • tag (String) Return only items tagged with this tag name. Use untagged for retrieving only untagged items.

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_pocket.my_airbyte_source_pocket ""