Skip to content

Commit

Permalink
feat: add import list data source
Browse files Browse the repository at this point in the history
  • Loading branch information
Fuochi committed Jan 26, 2023
1 parent 67ed715 commit 3cc3cf1
Show file tree
Hide file tree
Showing 5 changed files with 453 additions and 0 deletions.
86 changes: 86 additions & 0 deletions docs/data-sources/import_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "radarr_import_list Data Source - terraform-provider-radarr"
subcategory: "Import Lists"
description: |-
Single Import List ../resources/import_list.
---

# radarr_import_list (Data Source)

<!-- subcategory:Import Lists -->Single [Import List](../resources/import_list).

## Example Usage

```terraform
data "radarr_import_list" "example" {
name = "Example"
}
```

<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `name` (String) Import List name.

### Read-Only

- `access_token` (String, Sensitive) Access token.
- `account_id` (String) Account ID.
- `api_key` (String, Sensitive) API key.
- `auth_user` (String) Auth user.
- `base_url` (String) Base URL.
- `cast` (Boolean) Include cast.
- `cast_director` (Boolean) Include cast director.
- `cast_producer` (Boolean) Include cast producer.
- `cast_sound` (Boolean) Include cast sound.
- `cast_writing` (Boolean) Include cast writing.
- `certification` (String) Certification.
- `company_id` (String) Company ID.
- `config_contract` (String) ImportList configuration template.
- `enable_auto` (Boolean) Enable automatic add flag.
- `enabled` (Boolean) Enabled flag.
- `exclude_genre_ids` (String) Exclude genre IDs.
- `expires` (String) Expires.
- `genres` (String) Genres.
- `id` (Number) Import List ID.
- `implementation` (String) ImportList implementation name.
- `include_genre_ids` (String) Include genre IDs.
- `keyword_id` (String) Keyword ID.
- `language_code` (Number) Language code.
- `limit` (Number) limit.
- `link` (String) Link.
- `list_id` (String) List ID.
- `list_order` (Number) List order.
- `list_type` (String) List type.
- `listname` (String) List name.
- `min_score` (Number) Min score.
- `min_vote_average` (String) Min vote average.
- `min_votes` (String) Min votes.
- `minimum_availability` (String) Minimum availability.
- `monitor` (String) Should monitor.
- `only_active` (Boolean) Only active.
- `person_id` (String) Person ID.
- `port` (Number) Port.
- `profile_ids` (Set of Number) Profile IDs.
- `quality_profile_id` (Number) Quality profile ID.
- `rating` (String) Rating.
- `refresh_token` (String, Sensitive) Refresh token.
- `root_folder_path` (String) Root folder path.
- `search_on_add` (Boolean) Search on add flag.
- `source` (Number) Source.
- `tag_ids` (Set of Number) Tag IDs.
- `tags` (Set of Number) List of associated tags.
- `tmdb_certification` (String) Certification.
- `tmdb_list_type` (Number) TMDB list type.
- `trakt_additional_parameters` (String) Trakt additional parameters.
- `trakt_list_type` (Number) Trakt list type.
- `url` (String) URL.
- `url_base` (String) Base URL.
- `user_list_type` (Number) User list type.
- `username` (String) Username.
- `years` (String) Years.


3 changes: 3 additions & 0 deletions examples/data-sources/radarr_import_list/data-source.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
data "radarr_import_list" "example" {
name = "Example"
}
Loading

0 comments on commit 3cc3cf1

Please sign in to comment.