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 download client usenet download station resource
- Loading branch information
Showing
6 changed files
with
467 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,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 | ||
``` |
2 changes: 2 additions & 0 deletions
2
examples/resources/radarr_download_client_usenet_download_station/import.sh
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_download_client_usenet_download_station.example 1 |
7 changes: 7 additions & 0 deletions
7
examples/resources/radarr_download_client_usenet_download_station/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,7 @@ | ||
resource "radarr_download_client_usenet_download_station" "example" { | ||
enable = true | ||
priority = 1 | ||
name = "Example" | ||
host = "downloadstation" | ||
port = 5000 | ||
} |
Oops, something went wrong.