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 radarr resource
- Loading branch information
Showing
6 changed files
with
484 additions
and
0 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,67 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "radarr_import_list_radarr Resource - terraform-provider-radarr" | ||
subcategory: "Import Lists" | ||
description: |- | ||
Import List Radarr resource. | ||
For more information refer to Import List https://wiki.servarr.com/radarr/settings#import-lists and Radarr https://wiki.servarr.com/radarr/supported#radarrimport. | ||
--- | ||
|
||
# radarr_import_list_radarr (Resource) | ||
|
||
<!-- subcategory:Import Lists -->Import List Radarr resource. | ||
For more information refer to [Import List](https://wiki.servarr.com/radarr/settings#import-lists) and [Radarr](https://wiki.servarr.com/radarr/supported#radarrimport). | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
resource "radarr_import_list_radarr" "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" | ||
api_key = "ExampleAPIKey" | ||
tag_ids = [1, 2] | ||
profile_ids = [1] | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `api_key` (String, Sensitive) API key. | ||
- `base_url` (String) Base URL. | ||
- `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. | ||
- `profile_ids` (Set of Number) Profile IDs. | ||
- `search_on_add` (Boolean) Search on add flag. | ||
- `tag_ids` (Set of Number) Tag IDs. | ||
- `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_radarr.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_radarr.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,13 @@ | ||
resource "radarr_import_list_radarr" "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" | ||
api_key = "ExampleAPIKey" | ||
tag_ids = [1, 2] | ||
profile_ids = [1] | ||
} |
Oops, something went wrong.