You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
terraform-provider-decort/docs/resources/disk.md

4.1 KiB

page_title subcategory description
decort_disk Resource - terraform-provider-decort

decort_disk (Resource)

Schema

Required

  • account_id (Number) The unique ID of the subscriber-owner of the disk
  • disk_name (String) Name of disk
  • gid (Number) ID of the grid (platform)
  • size_max (Number) Size in GB

Optional

  • desc (String) Description of disk
  • detach (Boolean) Detaching the disk from compute
  • iotune (Block List, Max: 1) (see below for nested schema)
  • permanently (Boolean) Whether to completely delete the disk, works only with non attached disks
  • pool (String) Pool for disk location
  • sep_id (Number) Storage endpoint provider ID to create disk
  • shareable (Boolean)
  • timeouts (Block, Optional) (see below for nested schema)
  • type (String) The type of disk in terms of its role in compute: 'B=Boot, D=Data, T=Temp'

Read-Only

  • account_name (String) The name of the subscriber '(account') to whom this disk belongs
  • acl (String)
  • computes (List of Object) (see below for nested schema)
  • created_time (Number) Created time
  • deleted_time (Number) Deleted time
  • destruction_time (Number) Time of final deletion
  • devicename (String) Name of the device
  • disk_id (Number) Disk ID. Duplicates the value of the ID parameter
  • id (String) The ID of this resource.
  • image_id (Number) Image ID
  • images (List of String) IDs of images using the disk
  • order (Number) Disk order
  • params (String) Disk params
  • parent_id (Number) ID of the parent disk
  • pci_slot (Number) ID of the pci slot to which the disk is connected
  • present_to (List of Number)
  • purge_time (Number) Time of the last deletion attempt
  • replication (List of Object) Replication status (see below for nested schema)
  • res_id (String) Resource ID
  • res_name (String) Name of the resource
  • role (String) Disk role
  • sep_type (String) Type SEP. Defines the type of storage system and contains one of the values set in the cloud platform
  • size_used (Number) Number of used space, in GB
  • snapshots (List of Object) (see below for nested schema)
  • status (String) Disk status
  • tech_status (String) Technical status of the disk
  • vmid (Number) Virtual Machine ID (Deprecated)

Nested Schema for iotune

Optional:

  • read_bytes_sec (Number) Number of bytes to read per second
  • read_bytes_sec_max (Number) Maximum number of bytes to read
  • read_iops_sec (Number) Number of io read operations per second
  • read_iops_sec_max (Number) Maximum number of io read operations
  • size_iops_sec (Number) Size of io operations
  • total_bytes_sec (Number) Total size bytes per second
  • total_bytes_sec_max (Number) Maximum total size of bytes per second
  • total_iops_sec (Number) Total number of io operations per second
  • total_iops_sec_max (Number) Maximum total number of io operations per second
  • write_bytes_sec (Number) Number of bytes to write per second
  • write_bytes_sec_max (Number) Maximum number of bytes to write per second
  • write_iops_sec (Number) Number of write operations per second
  • write_iops_sec_max (Number) Maximum number of write operations per second

Nested Schema for timeouts

Optional:

  • create (String)
  • default (String)
  • delete (String)
  • read (String)
  • update (String)

Nested Schema for computes

Read-Only:

  • compute_id (String)
  • compute_name (String)

Nested Schema for replication

Read-Only:

  • disk_id (Number)
  • pool_id (String)
  • role (String)
  • self_volume_id (String)
  • storage_id (String)
  • volume_id (String)

Nested Schema for snapshots

Read-Only:

  • guid (String)
  • label (String)
  • res_id (String)
  • snap_set_guid (String)
  • snap_set_time (Number)
  • timestamp (Number)