Files
terraform-provider-dynamix/docs/resources/disk_snapshot.md
asteam 6f40af6a5f 1.0.0
2024-07-25 14:33:38 +03:00

2.0 KiB

page_title, subcategory, description
page_title subcategory description
dynamix_disk_snapshot Resource - terraform-provider-dynamix

dynamix_disk_snapshot (Resource)

Schema

Required

  • disk_id (Number) The unique ID of the subscriber-owner of the disk
  • label (String) Name of the snapshot

Optional

  • rollback (Boolean) Needed in order to make a snapshot rollback
  • timeouts (Block, Optional) (see below for nested schema)
  • timestamp (Number) Snapshot time

Read-Only

  • guid (String)
  • id (String) The ID of this resource.
  • last_updated (String) Timestamp of the last Terraform update of the disk resource.
  • res_id (String)
  • snap_set_guid (String)
  • snap_set_time (Number)

Nested Schema for timeouts

Optional:

  • create (String) A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
  • delete (String) A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
  • read (String) A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
  • update (String) A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).