diff --git a/docs/data-sources/snapshot_list.md b/docs/data-sources/snapshot_list.md new file mode 100644 index 0000000..4954d87 --- /dev/null +++ b/docs/data-sources/snapshot_list.md @@ -0,0 +1,50 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "decort_snapshot_list Data Source - terraform-provider-decort" +subcategory: "" +description: |- + +--- + +# decort_snapshot_list (Data Source) + + + + + + +## Schema + +### Required + +- **compute_id** (Number) ID of the compute instance to create snapshot for. + +### Optional + +- **id** (String) The ID of this resource. +- **timeouts** (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) + +### Read-Only + +- **items** (List of Object) snapshot list (see [below for nested schema](#nestedatt--items)) + + +### Nested Schema for `timeouts` + +Optional: + +- **default** (String) +- **read** (String) + + + +### Nested Schema for `items` + +Read-Only: + +- **disks** (List of Number) +- **guid** (String) +- **label** (String) +- **timestamp** (Number) + + diff --git a/docs/resources/snapshot.md b/docs/resources/snapshot.md new file mode 100644 index 0000000..f8a426c --- /dev/null +++ b/docs/resources/snapshot.md @@ -0,0 +1,46 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "decort_snapshot Resource - terraform-provider-decort" +subcategory: "" +description: |- + +--- + +# decort_snapshot (Resource) + + + + + + +## Schema + +### Required + +- **compute_id** (Number) ID of the compute instance to create snapshot for. +- **label** (String) text label for snapshot. Must be unique among this compute snapshots. + +### Optional + +- **id** (String) The ID of this resource. +- **rollback** (Boolean) is rollback the snapshot +- **timeouts** (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) + +### Read-Only + +- **disks** (List of Number) +- **guid** (String) guid of the snapshot +- **timestamp** (Number) timestamp + + +### Nested Schema for `timeouts` + +Optional: + +- **create** (String) +- **default** (String) +- **delete** (String) +- **read** (String) +- **update** (String) + +