Files
terraform-provider-decort/docs/resources/disk.md

138 lines
4.3 KiB
Markdown
Raw Normal View History

2021-12-29 14:58:42 +03:00
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
2024-08-26 18:22:06 +03:00
page_title: "decort_disk Resource - terraform-provider-decort"
2021-12-29 14:58:42 +03:00
subcategory: ""
description: |-
---
# decort_disk (Resource)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
2024-08-26 18:22:06 +03:00
- `account_id` (Number) The unique ID of the subscriber-owner of the disk
- `disk_name` (String) Name of disk
- `size_max` (Number) Size in GB
2021-12-29 14:58:42 +03:00
### Optional
2024-08-26 18:22:06 +03:00
- `desc` (String) Description of disk
- `detach` (Boolean) Detaching the disk from compute
2022-07-27 13:50:03 +03:00
- `iotune` (Block List, Max: 1) (see [below for nested schema](#nestedblock--iotune))
2024-08-26 18:22:06 +03:00
- `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)
2022-07-27 13:50:03 +03:00
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
2021-12-29 14:58:42 +03:00
### Read-Only
2024-08-26 18:22:06 +03:00
- `account_name` (String) The name of the subscriber '(account') to whom this disk belongs
2022-07-27 13:50:03 +03:00
- `acl` (String)
2024-08-26 18:22:06 +03:00
- `computes` (List of Object) (see [below for nested schema](#nestedatt--computes))
2025-05-21 16:38:25 +03:00
- `created_by` (String)
2024-08-26 18:22:06 +03:00
- `created_time` (Number) Created time
2025-05-21 16:38:25 +03:00
- `deleted_by` (String)
2024-08-26 18:22:06 +03:00
- `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
2025-05-21 16:38:25 +03:00
- `gid` (Number) ID of the grid (platform)
2022-07-27 13:50:03 +03:00
- `id` (String) The ID of this resource.
2024-08-26 18:22:06 +03:00
- `image_id` (Number) Image ID
- `images` (List of String) IDs of images using the disk
2025-05-21 16:38:25 +03:00
- `machine_id` (Number)
- `machine_name` (String)
2024-08-26 18:22:06 +03:00
- `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
2025-05-21 16:38:25 +03:00
- `present_to` (Map of Number)
2024-08-26 18:22:06 +03:00
- `purge_time` (Number) Time of the last deletion attempt
- `replication` (List of Object) Replication status (see [below for nested schema](#nestedatt--replication))
- `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
2022-07-27 13:50:03 +03:00
- `snapshots` (List of Object) (see [below for nested schema](#nestedatt--snapshots))
2024-08-26 18:22:06 +03:00
- `status` (String) Disk status
- `tech_status` (String) Technical status of the disk
2025-05-21 16:38:25 +03:00
- `type` (String) The type of disk in terms of its role in compute: 'B=Boot, D=Data, T=Temp'
- `updated_by` (String)
- `updated_time` (Number)
2024-08-26 18:22:06 +03:00
- `vmid` (Number) Virtual Machine ID (Deprecated)
2022-07-27 13:50:03 +03:00
<a id="nestedblock--iotune"></a>
### Nested Schema for `iotune`
Optional:
2024-08-26 18:22:06 +03:00
- `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
2022-07-27 13:50:03 +03:00
2021-12-29 14:58:42 +03:00
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
Optional:
2022-07-27 13:50:03 +03:00
- `create` (String)
- `default` (String)
- `delete` (String)
- `read` (String)
- `update` (String)
2024-08-26 18:22:06 +03:00
<a id="nestedatt--computes"></a>
### Nested Schema for `computes`
Read-Only:
- `compute_id` (String)
- `compute_name` (String)
<a id="nestedatt--replication"></a>
### Nested Schema for `replication`
Read-Only:
- `disk_id` (Number)
- `pool_id` (String)
- `role` (String)
- `self_volume_id` (String)
- `storage_id` (String)
- `volume_id` (String)
2022-07-27 13:50:03 +03:00
<a id="nestedatt--snapshots"></a>
### Nested Schema for `snapshots`
Read-Only:
- `guid` (String)
- `label` (String)
- `res_id` (String)
- `snap_set_guid` (String)
- `snap_set_time` (Number)
- `timestamp` (Number)