Skip to content

Commit

Permalink
feat: add import list stevenlu2 resource
Browse files Browse the repository at this point in the history
  • Loading branch information
Fuochi committed Jan 26, 2023
1 parent fba8af7 commit ec71afa
Show file tree
Hide file tree
Showing 6 changed files with 463 additions and 0 deletions.
64 changes: 64 additions & 0 deletions docs/resources/import_list_stevenlu2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "radarr_import_list_stevenlu2 Resource - terraform-provider-radarr"
subcategory: "Import Lists"
description: |-
Import List Stevenlu2 resource.
For more information refer to Import List https://wiki.servarr.com/radarr/settings#import-lists and Stevenlu2 https://wiki.servarr.com/radarr/supported#stevenlu2import.
---

# radarr_import_list_stevenlu2 (Resource)

<!-- subcategory:Import Lists -->Import List Stevenlu2 resource.
For more information refer to [Import List](https://wiki.servarr.com/radarr/settings#import-lists) and [Stevenlu2](https://wiki.servarr.com/radarr/supported#stevenlu2import).

## Example Usage

```terraform
resource "radarr_import_list_stevenlu2" "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"
source = 0
min_score = 5
}
```

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

### Required

- `min_score` (Number) Min score.
- `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.
- `source` (Number) Source.`0` Standard, `1` Imdb, `2` Metacritic, `3` RottenTomatoes,

### 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_stevenlu2.example 1
```
2 changes: 2 additions & 0 deletions examples/resources/radarr_import_list_stevenlu2/import.sh
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_stevenlu2.example 1
12 changes: 12 additions & 0 deletions examples/resources/radarr_import_list_stevenlu2/resource.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
resource "radarr_import_list_stevenlu2" "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"
source = 0
min_score = 5
}
Loading

0 comments on commit ec71afa

Please sign in to comment.