generated from hashicorp/terraform-provider-scaffolding-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add import list tmdb list resource
- Loading branch information
Showing
10 changed files
with
544 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "radarr_import_list_tmdb_list Resource - terraform-provider-radarr" | ||
subcategory: "Import Lists" | ||
description: |- | ||
Import List TMDB List resource. | ||
For more information refer to Import List https://wiki.servarr.com/radarr/settings#import-lists and TMDB List https://wiki.servarr.com/radarr/supported#tmdblistimport. | ||
--- | ||
|
||
# radarr_import_list_tmdb_list (Resource) | ||
|
||
<!-- subcategory:Import Lists -->Import List TMDB List resource. | ||
For more information refer to [Import List](https://wiki.servarr.com/radarr/settings#import-lists) and [TMDB List](https://wiki.servarr.com/radarr/supported#tmdblistimport). | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
resource "radarr_import_list_tmdb_list" "example" { | ||
enabled = true | ||
enable_auto = false | ||
search_on_add = false | ||
root_folder_path = "/config" | ||
monitor = "none" | ||
minimum_availability = "tba" | ||
quality_profile_id = 1 | ||
name = "Example" | ||
list_id = "11842" | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `list_id` (String) List ID. | ||
- `minimum_availability` (String) Minimum availability. | ||
- `monitor` (String) Should monitor. | ||
- `name` (String) Import List name. | ||
- `quality_profile_id` (Number) Quality profile ID. | ||
- `root_folder_path` (String) Root folder path. | ||
|
||
### Optional | ||
|
||
- `enable_auto` (Boolean) Enable automatic add flag. | ||
- `enabled` (Boolean) Enabled flag. | ||
- `list_order` (Number) List order. | ||
- `search_on_add` (Boolean) Search on add flag. | ||
- `tags` (Set of Number) List of associated tags. | ||
|
||
### Read-Only | ||
|
||
- `id` (Number) Import List ID. | ||
|
||
## Import | ||
|
||
Import is supported using the following syntax: | ||
|
||
```shell | ||
# import using the API/UI ID | ||
terraform import radarr_import_list_tmdb_list.example 1 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# import using the API/UI ID | ||
terraform import radarr_import_list_tmdb_list.example 1 |
11 changes: 11 additions & 0 deletions
11
examples/resources/radarr_import_list_tmdb_list/resource.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
resource "radarr_import_list_tmdb_list" "example" { | ||
enabled = true | ||
enable_auto = false | ||
search_on_add = false | ||
root_folder_path = "/config" | ||
monitor = "none" | ||
minimum_availability = "tba" | ||
quality_profile_id = 1 | ||
name = "Example" | ||
list_id = "11842" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.