Skip to content

Commit

Permalink
generate documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
s2thudry committed Jun 14, 2024
1 parent 131599e commit 7fb2f19
Show file tree
Hide file tree
Showing 2 changed files with 92 additions and 3 deletions.
23 changes: 20 additions & 3 deletions docs/resources/ilm_policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,31 @@ resource "minio_ilm_policy" "bucket-lifecycle-rules" {
<a id="nestedblock--rule"></a>
### Nested Schema for `rule`

Required:

- `id` (String)

Optional:

- `expiration` (String)
- `expiration` (String) Value may be duration (5d), date (1970-01-01), or "DeleteMarker" to expire delete markers if `noncurrent_version_expiration_days` is used
- `filter` (String)
- `noncurrent_version_expiration_days` (Int)
- `noncurrent_version_expiration_days` (Number)
- `noncurrent_version_transition_days` (Number)
- `tags` (Map of String)
- `transition` (Block List, Max: 1) (see [below for nested schema](#nestedblock--rule--transition))

Read-Only:

- `id` (String) The ID of this resource.
- `status` (String)

<a id="nestedblock--rule--transition"></a>
### Nested Schema for `rule.transition`

Required:

- `storage_class` (String)

Optional:

- `date` (String)
- `days` (String)
72 changes: 72 additions & 0 deletions docs/resources/ilm_tier.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "minio_ilm_tier Resource - terraform-provider-minio"
subcategory: ""
description: |-
minio_ilm_tier handles remote tiers
---

# minio_ilm_tier (Resource)

`minio_ilm_tier` handles remote tiers



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

### Required

- `bucket` (String)
- `name` (String)
- `type` (String)

### Optional

- `azure_config` (Block List, Max: 1) (see [below for nested schema](#nestedblock--azure_config))
- `endpoint` (String)
- `force_new_credentials` (Boolean)
- `gcs_config` (Block List, Max: 1) (see [below for nested schema](#nestedblock--gcs_config))
- `minio_config` (Block List, Max: 1) (see [below for nested schema](#nestedblock--minio_config))
- `prefix` (String)
- `region` (String)
- `s3_config` (Block List, Max: 1) (see [below for nested schema](#nestedblock--s3_config))

### Read-Only

- `id` (String) The ID of this resource.

<a id="nestedblock--azure_config"></a>
### Nested Schema for `azure_config`

Optional:

- `account_key` (String, Sensitive)
- `container` (String)


<a id="nestedblock--gcs_config"></a>
### Nested Schema for `gcs_config`

Optional:

- `credentials` (String, Sensitive)


<a id="nestedblock--minio_config"></a>
### Nested Schema for `minio_config`

Optional:

- `access_key` (String)
- `secret_key` (String, Sensitive)


<a id="nestedblock--s3_config"></a>
### Nested Schema for `s3_config`

Optional:

- `access_key` (String)
- `secret_key` (String, Sensitive)
- `storage_class` (String)

0 comments on commit 7fb2f19

Please sign in to comment.