data_cluster_volume_detail
Shows the details of the storage volumes for FE/BE nodes in a classic cluster or Coordinator Nodes in an elastic cluster.
Example Usage
data "celerdatabyoc_data_cluster_volume_detail" "volume_detail" {
cluster_id = <cluster_resource_id>
node_type = <"FE" | "BE" | "COORDINATOR">
}
Argument Reference
This data source contains the following required arguments:
-
cluster_id: (String, Forces new resource) The ID of thecelerdatabyoc_classic_clusterorcelerdatabyoc_elastic_clusterresource. -
node_type: The type of the cluster node. Valid values:FE: FE node in the classic cluster.BE: BE node in the classic cluster.COORDINATOR: Coordinator Node in the elastic cluster.
Attribute Reference
This data source exports the following attributes:
id: (String) The ID of this data source.vol_size: The volume size of each node in the cluster. Unit: GBvol_num: The volume number of each node in the cluster.iops: The volume IOPS.throughput: The volume throughput.