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

1.6 KiB

page_title subcategory description
decort_disk Resource - terraform-provider-decort

decort_disk (Resource)

Schema

Required

  • pool (String) Pool where this disk is located. Cannot be changed for existing disk.
  • sep_id (Number) Storage end-point provider serving this disk. Cannot be changed for existing disk.
  • size (Number) Size of the disk in GB. Note, that existing disks can only be grown in size.

Optional

  • account_id (Number) ID of the account this disk belongs to.
  • description (String) Optional user-defined text description of this disk.
  • disk_id (Number) ID of the disk to get. If disk ID is specified, then disk name and account ID are ignored.
  • id (String) The ID of this resource.
  • name (String) Name of this disk. NOTE: disk names are NOT unique within an account. If disk ID is specified, disk name is ignored.
  • timeouts (Block, Optional) (see below for nested schema)

Read-Only

  • account_name (String) Name of the account this disk belongs to.
  • image_id (Number) ID of the image, which this disk was cloned from (if ever cloned).
  • sep_type (String) Type of the storage end-point provider serving this disk.
  • type (String) Type of this disk.

Nested Schema for timeouts

Optional:

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