# Source: https://docs.datadoghq.com/ddsql_reference/data_directory/oci/oci.blockstorage_volume.dataset.md

---
title: Block Volume
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > DDSQL Reference > Data Directory > Block Volume
---

# Block Volume

Block Volume in OCI is a high-performance, durable storage resource that can be attached to compute instances. It provides persistent, resizable block storage that behaves like a physical hard drive, supporting both boot and data volumes. Block Volumes can be dynamically scaled, backed up, and cloned, offering flexibility for workloads that require reliable and consistent storage performance.

```
oci.blockstorage_volume
```

## Fields

| Title                      | ID   | Type       | Data Type                                                                                                                                                                                                                                                                                              | Description |
| -------------------------- | ---- | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------- |
| _key                       | core | string     |
| auto_tuned_vpus_per_gb     | core | int64      | The value to assign to the auto_tuned_vpus_per_gb property of this Volume.                                                                                                                                                                                                                             |
| autotune_policies          | core | json       | The value to assign to the autotune_policies property of this Volume.                                                                                                                                                                                                                                  |
| availability_domain        | core | string     | The value to assign to the availability_domain property of this Volume.                                                                                                                                                                                                                                |
| block_volume_replicas      | core | json       | The value to assign to the block_volume_replicas property of this Volume.                                                                                                                                                                                                                              |
| cloud_account_id           | core | string     | The identifier of the related cloud account. The concept of an account might have different names in different cloud providers. AWS is calling it account, GCP calls it project and Azure uses the term subscription.                                                                                  |
| cloud_account_name         | core | string     | The name of the account this resource belongs to.                                                                                                                                                                                                                                                      |
| cloud_provider             | core | string     | The name of the cloud provider.                                                                                                                                                                                                                                                                        |
| cloud_tags                 | core | hstore     |
| cluster_placement_group_id | core | string     | The value to assign to the cluster_placement_group_id property of this Volume.                                                                                                                                                                                                                         |
| compartment_id             | core | string     | The value to assign to the compartment_id property of this Volume.                                                                                                                                                                                                                                     |
| created_at                 | core | timestamp  | Time when the resource has been created.                                                                                                                                                                                                                                                               |
| encrypted                  | core | bool       | Indicates whether the volume is encrypted or not.                                                                                                                                                                                                                                                      |
| freeform_tags              | core | hstore     | The value to assign to the freeform_tags property of this Volume.                                                                                                                                                                                                                                      |
| id                         | core | string     | The value to assign to the id property of this Volume.                                                                                                                                                                                                                                                 |
| iops                       | core | int64      | The input/output operations per second (IOPS) of the volume.                                                                                                                                                                                                                                           |
| is_auto_tune_enabled       | core | bool       | The value to assign to the is_auto_tune_enabled property of this Volume.                                                                                                                                                                                                                               |
| is_hydrated                | core | bool       | The value to assign to the is_hydrated property of this Volume.                                                                                                                                                                                                                                        |
| is_reservations_enabled    | core | bool       | The value to assign to the is_reservations_enabled property of this Volume.                                                                                                                                                                                                                            |
| kms_key_id                 | core | string     | The value to assign to the kms_key_id property of this Volume.                                                                                                                                                                                                                                         |
| lifecycle_state            | core | string     | The value to assign to the lifecycle_state property of this Volume. Allowed values for this property are: "PROVISIONING", "RESTORING", "AVAILABLE", "TERMINATING", "TERMINATED", "FAULTY", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. |
| name                       | core | string     | The name of this resource.                                                                                                                                                                                                                                                                             |
| region_id                  | core | string     | The region this resource resides within.                                                                                                                                                                                                                                                               |
| resource_type              | core | string     | The name of the resource type.                                                                                                                                                                                                                                                                         |
| size_gib                   | core | float64    | The size of the volume in gibibytes (GiB).                                                                                                                                                                                                                                                             |
| size_in_gbs                | core | int64      | The value to assign to the size_in_gbs property of this Volume.                                                                                                                                                                                                                                        |
| size_in_mbs                | core | int64      | The value to assign to the size_in_mbs property of this Volume.                                                                                                                                                                                                                                        |
| source_details             | core | json       | The value to assign to the source_details property of this Volume.                                                                                                                                                                                                                                     |
| tags                       | core | hstore_csv |
| throughput                 | core | int64      | The throughput performance of the volume, measured in B/s.                                                                                                                                                                                                                                             |
| time_created               | core | timestamp  | The value to assign to the time_created property of this Volume.                                                                                                                                                                                                                                       |
| updated_at                 | core | timestamp  | Time when the resource has been updated the last time.                                                                                                                                                                                                                                                 |
| volume_group_id            | core | string     | The value to assign to the volume_group_id property of this Volume.                                                                                                                                                                                                                                    |
| volume_status              | core | string     | Enumeration that defines the status of the volume.                                                                                                                                                                                                                                                     |
| volume_type                | core | string     | The name of the underlying volume type.                                                                                                                                                                                                                                                                |
| vpus_per_gb                | core | int64      | The value to assign to the vpus_per_gb property of this Volume.                                                                                                                                                                                                                                        |
| zone_id                    | core | string     | The zone this resource resides within.                                                                                                                                                                                                                                                                 |