Skip to content

Commit

Permalink
feat: add download client usenet download station resource
Browse files Browse the repository at this point in the history
  • Loading branch information
Fuochi committed Dec 8, 2022
1 parent 0692347 commit 73176e3
Show file tree
Hide file tree
Showing 6 changed files with 467 additions and 0 deletions.
60 changes: 60 additions & 0 deletions docs/resources/download_client_usenet_download_station.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "radarr_download_client_usenet_download_station Resource - terraform-provider-radarr"
subcategory: "Download Clients"
description: |-
Download Client UsenetDownloadStation resource.
For more information refer to Download Client https://wiki.servarr.com/radarr/settings#download-clients and UsenetDownloadStation https://wiki.servarr.com/radarr/supported#usenetdownloadstation.
---

# radarr_download_client_usenet_download_station (Resource)

<!-- subcategory:Download Clients -->Download Client UsenetDownloadStation resource.
For more information refer to [Download Client](https://wiki.servarr.com/radarr/settings#download-clients) and [UsenetDownloadStation](https://wiki.servarr.com/radarr/supported#usenetdownloadstation).

## Example Usage

```terraform
resource "radarr_download_client_usenet_download_station" "example" {
enable = true
priority = 1
name = "Example"
host = "downloadstation"
port = 5000
}
```

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

### Required

- `name` (String) Download Client name.

### Optional

- `enable` (Boolean) Enable flag.
- `host` (String) host.
- `movie_category` (String) TV category.
- `movie_directory` (String) TV directory.
- `password` (String, Sensitive) Password.
- `port` (Number) Port.
- `priority` (Number) Priority.
- `remove_completed_downloads` (Boolean) Remove completed downloads flag.
- `remove_failed_downloads` (Boolean) Remove failed downloads flag.
- `tags` (Set of Number) List of associated tags.
- `use_ssl` (Boolean) Use SSL flag.
- `username` (String) Username.

### Read-Only

- `id` (Number) Download Client ID.

## Import

Import is supported using the following syntax:

```shell
# import using the API/UI ID
terraform import radarr_download_client_usenet_download_station.example 1
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# import using the API/UI ID
terraform import radarr_download_client_usenet_download_station.example 1
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
resource "radarr_download_client_usenet_download_station" "example" {
enable = true
priority = 1
name = "Example"
host = "downloadstation"
port = 5000
}
Loading

0 comments on commit 73176e3

Please sign in to comment.