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.
- Loading branch information
Showing
6 changed files
with
489 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,77 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "radarr_movie Resource - terraform-provider-radarr" | ||
subcategory: "Movies" | ||
description: |- | ||
Movie resource. | ||
For more information refer to Movies https://wiki.servarr.com/radarr/library#movies documentation. | ||
--- | ||
|
||
# radarr_movie (Resource) | ||
|
||
<!-- subcategory:Movies -->Movie resource. | ||
For more information refer to [Movies](https://wiki.servarr.com/radarr/library#movies) documentation. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
resource "radarr_movie" "example" { | ||
monitored = false | ||
title = "The Matrix" | ||
path = "/movies/The_Matrix_1999" | ||
quality_profile_id = 1 | ||
tmdb_id = 603 | ||
minimum_availability = "inCinemas" | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `monitored` (Boolean) Monitored flag. | ||
- `path` (String) Full movie path. | ||
- `quality_profile_id` (Number) Quality profile ID. | ||
- `title` (String) Movie title. | ||
- `tmdb_id` (Number) TMDB ID. | ||
|
||
### Optional | ||
|
||
- `minimum_availability` (String) Minimum availability. | ||
Allowed values: 'tba', 'announced', 'inCinemas', 'released', 'deleted'. | ||
- `tags` (Set of Number) List of associated tags. | ||
|
||
### Read-Only | ||
|
||
- `genres` (Set of String) List genres. | ||
- `id` (Number) Movie ID. | ||
- `imdb_id` (String) IMDB ID. | ||
- `is_available` (Boolean) Availability flag. | ||
- `original_language` (Attributes) Original language. (see [below for nested schema](#nestedatt--original_language)) | ||
- `original_title` (String) Movie original title. | ||
- `overview` (String) Overview. | ||
- `status` (String) Movie status. | ||
- `website` (String) Website. | ||
- `year` (Number) Year. | ||
- `youtube_trailer_id` (String) Youtube trailer ID. | ||
|
||
<a id="nestedatt--original_language"></a> | ||
### Nested Schema for `original_language` | ||
|
||
Required: | ||
|
||
- `id` (Number) ID. | ||
|
||
Optional: | ||
|
||
- `name` (String) Name. | ||
|
||
## Import | ||
|
||
Import is supported using the following syntax: | ||
|
||
```shell | ||
# import using the API/UI ID | ||
terraform import radarr_movie.example 10 | ||
``` |
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_movie.example 10 |
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,8 @@ | ||
resource "radarr_movie" "example" { | ||
monitored = false | ||
title = "The Matrix" | ||
path = "/movies/The_Matrix_1999" | ||
quality_profile_id = 1 | ||
tmdb_id = 603 | ||
minimum_availability = "inCinemas" | ||
} |
Oops, something went wrong.