feat: initial implementation with docs and system_config
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "immich_albums Data Source - terraform-provider-immich"
|
||||
subcategory: ""
|
||||
description: |-
|
||||
Retrieves a list of all Immich albums.
|
||||
---
|
||||
|
||||
# immich_albums (Data Source)
|
||||
|
||||
Retrieves a list of all Immich albums.
|
||||
|
||||
## Example Usage
|
||||
|
||||
```terraform
|
||||
data "immich_albums" "all" {}
|
||||
|
||||
output "album_names" {
|
||||
value = data.immich_albums.all.albums[*].name
|
||||
}
|
||||
```
|
||||
|
||||
<!-- schema generated by tfplugindocs -->
|
||||
## Schema
|
||||
|
||||
### Read-Only
|
||||
|
||||
- `albums` (Attributes List) List of albums. (see [below for nested schema](#nestedatt--albums))
|
||||
|
||||
<a id="nestedatt--albums"></a>
|
||||
### Nested Schema for `albums`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `asset_count` (Number) Number of assets in the album.
|
||||
- `description` (String) Description of the album.
|
||||
- `id` (String) Unique identifier for the album.
|
||||
- `name` (String) Display name of the album.
|
||||
@@ -0,0 +1,39 @@
|
||||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "immich_users Data Source - terraform-provider-immich"
|
||||
subcategory: ""
|
||||
description: |-
|
||||
Retrieves a list of all Immich users.
|
||||
---
|
||||
|
||||
# immich_users (Data Source)
|
||||
|
||||
Retrieves a list of all Immich users.
|
||||
|
||||
## Example Usage
|
||||
|
||||
```terraform
|
||||
data "immich_users" "all" {}
|
||||
|
||||
output "user_emails" {
|
||||
value = data.immich_users.all.users[*].email
|
||||
}
|
||||
```
|
||||
|
||||
<!-- schema generated by tfplugindocs -->
|
||||
## Schema
|
||||
|
||||
### Read-Only
|
||||
|
||||
- `users` (Attributes List) List of users. (see [below for nested schema](#nestedatt--users))
|
||||
|
||||
<a id="nestedatt--users"></a>
|
||||
### Nested Schema for `users`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `email` (String) Email address of the user.
|
||||
- `id` (String) Unique identifier for the user.
|
||||
- `is_admin` (Boolean) Whether the user has administrative privileges.
|
||||
- `name` (String) Full name of the user.
|
||||
- `storage_label` (String) Label used for the user's storage path.
|
||||
Reference in New Issue
Block a user