tencentcloud 1.81.185 published on Wednesday, Apr 23, 2025 by tencentcloudstack
tencentcloud.getCbsStorages
Explore with Pulumi AI
tencentcloud 1.81.185 published on Wednesday, Apr 23, 2025 by tencentcloudstack
Use this data source to query detailed information of CBS storages.
Example Usage
Query all CBS storages
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = tencentcloud.getCbsStorages({});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.get_cbs_storages()
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.GetCbsStorages(ctx, &tencentcloud.GetCbsStoragesArgs{}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var example = Tencentcloud.GetCbsStorages.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetCbsStoragesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = TencentcloudFunctions.getCbsStorages();
}
}
variables:
example:
fn::invoke:
function: tencentcloud:getCbsStorages
arguments: {}
Query CBS by storage id
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = tencentcloud.getCbsStorages({
resultOutputFile: "my-test-path",
storageId: "disk-6goq404g",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.get_cbs_storages(result_output_file="my-test-path",
storage_id="disk-6goq404g")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.GetCbsStorages(ctx, &tencentcloud.GetCbsStoragesArgs{
ResultOutputFile: pulumi.StringRef("my-test-path"),
StorageId: pulumi.StringRef("disk-6goq404g"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var example = Tencentcloud.GetCbsStorages.Invoke(new()
{
ResultOutputFile = "my-test-path",
StorageId = "disk-6goq404g",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetCbsStoragesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = TencentcloudFunctions.getCbsStorages(GetCbsStoragesArgs.builder()
.resultOutputFile("my-test-path")
.storageId("disk-6goq404g")
.build());
}
}
variables:
example:
fn::invoke:
function: tencentcloud:getCbsStorages
arguments:
resultOutputFile: my-test-path
storageId: disk-6goq404g
Query CBS by dedicated cluster id
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = tencentcloud.getCbsStorages({
dedicatedClusterId: "cluster-262n63e8",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.get_cbs_storages(dedicated_cluster_id="cluster-262n63e8")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.GetCbsStorages(ctx, &tencentcloud.GetCbsStoragesArgs{
DedicatedClusterId: pulumi.StringRef("cluster-262n63e8"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var example = Tencentcloud.GetCbsStorages.Invoke(new()
{
DedicatedClusterId = "cluster-262n63e8",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetCbsStoragesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = TencentcloudFunctions.getCbsStorages(GetCbsStoragesArgs.builder()
.dedicatedClusterId("cluster-262n63e8")
.build());
}
}
variables:
example:
fn::invoke:
function: tencentcloud:getCbsStorages
arguments:
dedicatedClusterId: cluster-262n63e8
The following snippet shows the new supported query params
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const whatsNew = tencentcloud.getCbsStorages({
chargeTypes: [
"POSTPAID_BY_HOUR",
"PREPAID",
"CDCPAID",
"DEDICATED_CLUSTER_PAID",
],
instanceIps: ["10.0.0.2"],
instanceNames: ["my-instance"],
portable: true,
storageStates: ["ATTACHED"],
tagKeys: ["example"],
tagValues: [
"bar",
"baz",
],
});
import pulumi
import pulumi_tencentcloud as tencentcloud
whats_new = tencentcloud.get_cbs_storages(charge_types=[
"POSTPAID_BY_HOUR",
"PREPAID",
"CDCPAID",
"DEDICATED_CLUSTER_PAID",
],
instance_ips=["10.0.0.2"],
instance_names=["my-instance"],
portable=True,
storage_states=["ATTACHED"],
tag_keys=["example"],
tag_values=[
"bar",
"baz",
])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.GetCbsStorages(ctx, &tencentcloud.GetCbsStoragesArgs{
ChargeTypes: []string{
"POSTPAID_BY_HOUR",
"PREPAID",
"CDCPAID",
"DEDICATED_CLUSTER_PAID",
},
InstanceIps: []string{
"10.0.0.2",
},
InstanceNames: []string{
"my-instance",
},
Portable: pulumi.BoolRef(true),
StorageStates: []string{
"ATTACHED",
},
TagKeys: []string{
"example",
},
TagValues: []string{
"bar",
"baz",
},
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var whatsNew = Tencentcloud.GetCbsStorages.Invoke(new()
{
ChargeTypes = new[]
{
"POSTPAID_BY_HOUR",
"PREPAID",
"CDCPAID",
"DEDICATED_CLUSTER_PAID",
},
InstanceIps = new[]
{
"10.0.0.2",
},
InstanceNames = new[]
{
"my-instance",
},
Portable = true,
StorageStates = new[]
{
"ATTACHED",
},
TagKeys = new[]
{
"example",
},
TagValues = new[]
{
"bar",
"baz",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetCbsStoragesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var whatsNew = TencentcloudFunctions.getCbsStorages(GetCbsStoragesArgs.builder()
.chargeTypes(
"POSTPAID_BY_HOUR",
"PREPAID",
"CDCPAID",
"DEDICATED_CLUSTER_PAID")
.instanceIps("10.0.0.2")
.instanceNames("my-instance")
.portable(true)
.storageStates("ATTACHED")
.tagKeys("example")
.tagValues(
"bar",
"baz")
.build());
}
}
variables:
whatsNew:
fn::invoke:
function: tencentcloud:getCbsStorages
arguments:
chargeTypes:
- POSTPAID_BY_HOUR
- PREPAID
- CDCPAID
- DEDICATED_CLUSTER_PAID
instanceIps:
- 10.0.0.2
instanceNames:
- my-instance
portable: true
storageStates:
- ATTACHED
tagKeys:
- example
tagValues:
- bar
- baz
Using getCbsStorages
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCbsStorages(args: GetCbsStoragesArgs, opts?: InvokeOptions): Promise<GetCbsStoragesResult>
function getCbsStoragesOutput(args: GetCbsStoragesOutputArgs, opts?: InvokeOptions): Output<GetCbsStoragesResult>
def get_cbs_storages(availability_zone: Optional[str] = None,
charge_types: Optional[Sequence[str]] = None,
dedicated_cluster_id: Optional[str] = None,
id: Optional[str] = None,
instance_ips: Optional[Sequence[str]] = None,
instance_names: Optional[Sequence[str]] = None,
portable: Optional[bool] = None,
project_id: Optional[float] = None,
result_output_file: Optional[str] = None,
storage_id: Optional[str] = None,
storage_name: Optional[str] = None,
storage_states: Optional[Sequence[str]] = None,
storage_type: Optional[str] = None,
storage_usage: Optional[str] = None,
tag_keys: Optional[Sequence[str]] = None,
tag_values: Optional[Sequence[str]] = None,
opts: Optional[InvokeOptions] = None) -> GetCbsStoragesResult
def get_cbs_storages_output(availability_zone: Optional[pulumi.Input[str]] = None,
charge_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
dedicated_cluster_id: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
instance_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
instance_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
portable: Optional[pulumi.Input[bool]] = None,
project_id: Optional[pulumi.Input[float]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
storage_id: Optional[pulumi.Input[str]] = None,
storage_name: Optional[pulumi.Input[str]] = None,
storage_states: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
storage_type: Optional[pulumi.Input[str]] = None,
storage_usage: Optional[pulumi.Input[str]] = None,
tag_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
tag_values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCbsStoragesResult]
func GetCbsStorages(ctx *Context, args *GetCbsStoragesArgs, opts ...InvokeOption) (*GetCbsStoragesResult, error)
func GetCbsStoragesOutput(ctx *Context, args *GetCbsStoragesOutputArgs, opts ...InvokeOption) GetCbsStoragesResultOutput
> Note: This function is named GetCbsStorages
in the Go SDK.
public static class GetCbsStorages
{
public static Task<GetCbsStoragesResult> InvokeAsync(GetCbsStoragesArgs args, InvokeOptions? opts = null)
public static Output<GetCbsStoragesResult> Invoke(GetCbsStoragesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCbsStoragesResult> getCbsStorages(GetCbsStoragesArgs args, InvokeOptions options)
public static Output<GetCbsStoragesResult> getCbsStorages(GetCbsStoragesArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getCbsStorages:getCbsStorages
arguments:
# arguments dictionary
The following arguments are supported:
- Availability
Zone string - The available zone that the CBS instance locates at.
- Charge
Types List<string> - List filter by disk charge type (
POSTPAID_BY_HOUR
|PREPAID
|CDCPAID
|DEDICATED_CLUSTER_PAID
). - Dedicated
Cluster stringId - Exclusive cluster id.
- Id string
- Instance
Ips List<string> - List filter by attached instance public or private IPs.
- Instance
Names List<string> - List filter by attached instance name.
- Portable bool
- Filter by whether the disk is portable (Boolean
true
orfalse
). - Project
Id double - ID of the project with which the CBS is associated.
- Result
Output stringFile - Used to save results.
- Storage
Id string - ID of the CBS to be queried.
- Storage
Name string - Name of the CBS to be queried.
- Storage
States List<string> - List filter by disk state (
UNATTACHED
|ATTACHING
|ATTACHED
|DETACHING
|EXPANDING
|ROLLBACKING
|TORECYCLE
). - Storage
Type string - Filter by cloud disk media type (
CLOUD_BASIC
: HDD cloud disk |CLOUD_PREMIUM
: Premium Cloud Storage |CLOUD_SSD
: SSD cloud disk). - Storage
Usage string - Filter by cloud disk type (
SYSTEM_DISK
: system disk |DATA_DISK
: data disk). - Tag
Keys List<string> - List filter by tag keys.
- Tag
Values List<string> - List filter by tag values.
- Availability
Zone string - The available zone that the CBS instance locates at.
- Charge
Types []string - List filter by disk charge type (
POSTPAID_BY_HOUR
|PREPAID
|CDCPAID
|DEDICATED_CLUSTER_PAID
). - Dedicated
Cluster stringId - Exclusive cluster id.
- Id string
- Instance
Ips []string - List filter by attached instance public or private IPs.
- Instance
Names []string - List filter by attached instance name.
- Portable bool
- Filter by whether the disk is portable (Boolean
true
orfalse
). - Project
Id float64 - ID of the project with which the CBS is associated.
- Result
Output stringFile - Used to save results.
- Storage
Id string - ID of the CBS to be queried.
- Storage
Name string - Name of the CBS to be queried.
- Storage
States []string - List filter by disk state (
UNATTACHED
|ATTACHING
|ATTACHED
|DETACHING
|EXPANDING
|ROLLBACKING
|TORECYCLE
). - Storage
Type string - Filter by cloud disk media type (
CLOUD_BASIC
: HDD cloud disk |CLOUD_PREMIUM
: Premium Cloud Storage |CLOUD_SSD
: SSD cloud disk). - Storage
Usage string - Filter by cloud disk type (
SYSTEM_DISK
: system disk |DATA_DISK
: data disk). - Tag
Keys []string - List filter by tag keys.
- Tag
Values []string - List filter by tag values.
- availability
Zone String - The available zone that the CBS instance locates at.
- charge
Types List<String> - List filter by disk charge type (
POSTPAID_BY_HOUR
|PREPAID
|CDCPAID
|DEDICATED_CLUSTER_PAID
). - dedicated
Cluster StringId - Exclusive cluster id.
- id String
- instance
Ips List<String> - List filter by attached instance public or private IPs.
- instance
Names List<String> - List filter by attached instance name.
- portable Boolean
- Filter by whether the disk is portable (Boolean
true
orfalse
). - project
Id Double - ID of the project with which the CBS is associated.
- result
Output StringFile - Used to save results.
- storage
Id String - ID of the CBS to be queried.
- storage
Name String - Name of the CBS to be queried.
- storage
States List<String> - List filter by disk state (
UNATTACHED
|ATTACHING
|ATTACHED
|DETACHING
|EXPANDING
|ROLLBACKING
|TORECYCLE
). - storage
Type String - Filter by cloud disk media type (
CLOUD_BASIC
: HDD cloud disk |CLOUD_PREMIUM
: Premium Cloud Storage |CLOUD_SSD
: SSD cloud disk). - storage
Usage String - Filter by cloud disk type (
SYSTEM_DISK
: system disk |DATA_DISK
: data disk). - tag
Keys List<String> - List filter by tag keys.
- tag
Values List<String> - List filter by tag values.
- availability
Zone string - The available zone that the CBS instance locates at.
- charge
Types string[] - List filter by disk charge type (
POSTPAID_BY_HOUR
|PREPAID
|CDCPAID
|DEDICATED_CLUSTER_PAID
). - dedicated
Cluster stringId - Exclusive cluster id.
- id string
- instance
Ips string[] - List filter by attached instance public or private IPs.
- instance
Names string[] - List filter by attached instance name.
- portable boolean
- Filter by whether the disk is portable (Boolean
true
orfalse
). - project
Id number - ID of the project with which the CBS is associated.
- result
Output stringFile - Used to save results.
- storage
Id string - ID of the CBS to be queried.
- storage
Name string - Name of the CBS to be queried.
- storage
States string[] - List filter by disk state (
UNATTACHED
|ATTACHING
|ATTACHED
|DETACHING
|EXPANDING
|ROLLBACKING
|TORECYCLE
). - storage
Type string - Filter by cloud disk media type (
CLOUD_BASIC
: HDD cloud disk |CLOUD_PREMIUM
: Premium Cloud Storage |CLOUD_SSD
: SSD cloud disk). - storage
Usage string - Filter by cloud disk type (
SYSTEM_DISK
: system disk |DATA_DISK
: data disk). - tag
Keys string[] - List filter by tag keys.
- tag
Values string[] - List filter by tag values.
- availability_
zone str - The available zone that the CBS instance locates at.
- charge_
types Sequence[str] - List filter by disk charge type (
POSTPAID_BY_HOUR
|PREPAID
|CDCPAID
|DEDICATED_CLUSTER_PAID
). - dedicated_
cluster_ strid - Exclusive cluster id.
- id str
- instance_
ips Sequence[str] - List filter by attached instance public or private IPs.
- instance_
names Sequence[str] - List filter by attached instance name.
- portable bool
- Filter by whether the disk is portable (Boolean
true
orfalse
). - project_
id float - ID of the project with which the CBS is associated.
- result_
output_ strfile - Used to save results.
- storage_
id str - ID of the CBS to be queried.
- storage_
name str - Name of the CBS to be queried.
- storage_
states Sequence[str] - List filter by disk state (
UNATTACHED
|ATTACHING
|ATTACHED
|DETACHING
|EXPANDING
|ROLLBACKING
|TORECYCLE
). - storage_
type str - Filter by cloud disk media type (
CLOUD_BASIC
: HDD cloud disk |CLOUD_PREMIUM
: Premium Cloud Storage |CLOUD_SSD
: SSD cloud disk). - storage_
usage str - Filter by cloud disk type (
SYSTEM_DISK
: system disk |DATA_DISK
: data disk). - tag_
keys Sequence[str] - List filter by tag keys.
- tag_
values Sequence[str] - List filter by tag values.
- availability
Zone String - The available zone that the CBS instance locates at.
- charge
Types List<String> - List filter by disk charge type (
POSTPAID_BY_HOUR
|PREPAID
|CDCPAID
|DEDICATED_CLUSTER_PAID
). - dedicated
Cluster StringId - Exclusive cluster id.
- id String
- instance
Ips List<String> - List filter by attached instance public or private IPs.
- instance
Names List<String> - List filter by attached instance name.
- portable Boolean
- Filter by whether the disk is portable (Boolean
true
orfalse
). - project
Id Number - ID of the project with which the CBS is associated.
- result
Output StringFile - Used to save results.
- storage
Id String - ID of the CBS to be queried.
- storage
Name String - Name of the CBS to be queried.
- storage
States List<String> - List filter by disk state (
UNATTACHED
|ATTACHING
|ATTACHED
|DETACHING
|EXPANDING
|ROLLBACKING
|TORECYCLE
). - storage
Type String - Filter by cloud disk media type (
CLOUD_BASIC
: HDD cloud disk |CLOUD_PREMIUM
: Premium Cloud Storage |CLOUD_SSD
: SSD cloud disk). - storage
Usage String - Filter by cloud disk type (
SYSTEM_DISK
: system disk |DATA_DISK
: data disk). - tag
Keys List<String> - List filter by tag keys.
- tag
Values List<String> - List filter by tag values.
getCbsStorages Result
The following output properties are available:
- Id string
- Storage
Lists List<GetCbs Storages Storage List> - A list of storage. Each element contains the following attributes:
- Availability
Zone string - The zone of CBS.
- Charge
Types List<string> - Pay type of the CBS instance.
- Dedicated
Cluster stringId - Exclusive cluster id.
- Instance
Ips List<string> - Instance
Names List<string> - Portable bool
- Project
Id double - ID of the project.
- Result
Output stringFile - Storage
Id string - ID of CBS.
- Storage
Name string - Name of CBS.
- Storage
States List<string> - Storage
Type string - Types of storage medium.
- Storage
Usage string - Types of CBS.
- Tag
Keys List<string> - Tag
Values List<string>
- Id string
- Storage
Lists []GetCbs Storages Storage List - A list of storage. Each element contains the following attributes:
- Availability
Zone string - The zone of CBS.
- Charge
Types []string - Pay type of the CBS instance.
- Dedicated
Cluster stringId - Exclusive cluster id.
- Instance
Ips []string - Instance
Names []string - Portable bool
- Project
Id float64 - ID of the project.
- Result
Output stringFile - Storage
Id string - ID of CBS.
- Storage
Name string - Name of CBS.
- Storage
States []string - Storage
Type string - Types of storage medium.
- Storage
Usage string - Types of CBS.
- Tag
Keys []string - Tag
Values []string
- id String
- storage
Lists List<GetCbs Storages Storage List> - A list of storage. Each element contains the following attributes:
- availability
Zone String - The zone of CBS.
- charge
Types List<String> - Pay type of the CBS instance.
- dedicated
Cluster StringId - Exclusive cluster id.
- instance
Ips List<String> - instance
Names List<String> - portable Boolean
- project
Id Double - ID of the project.
- result
Output StringFile - storage
Id String - ID of CBS.
- storage
Name String - Name of CBS.
- storage
States List<String> - storage
Type String - Types of storage medium.
- storage
Usage String - Types of CBS.
- tag
Keys List<String> - tag
Values List<String>
- id string
- storage
Lists GetCbs Storages Storage List[] - A list of storage. Each element contains the following attributes:
- availability
Zone string - The zone of CBS.
- charge
Types string[] - Pay type of the CBS instance.
- dedicated
Cluster stringId - Exclusive cluster id.
- instance
Ips string[] - instance
Names string[] - portable boolean
- project
Id number - ID of the project.
- result
Output stringFile - storage
Id string - ID of CBS.
- storage
Name string - Name of CBS.
- storage
States string[] - storage
Type string - Types of storage medium.
- storage
Usage string - Types of CBS.
- tag
Keys string[] - tag
Values string[]
- id str
- storage_
lists Sequence[GetCbs Storages Storage List] - A list of storage. Each element contains the following attributes:
- availability_
zone str - The zone of CBS.
- charge_
types Sequence[str] - Pay type of the CBS instance.
- dedicated_
cluster_ strid - Exclusive cluster id.
- instance_
ips Sequence[str] - instance_
names Sequence[str] - portable bool
- project_
id float - ID of the project.
- result_
output_ strfile - storage_
id str - ID of CBS.
- storage_
name str - Name of CBS.
- storage_
states Sequence[str] - storage_
type str - Types of storage medium.
- storage_
usage str - Types of CBS.
- tag_
keys Sequence[str] - tag_
values Sequence[str]
- id String
- storage
Lists List<Property Map> - A list of storage. Each element contains the following attributes:
- availability
Zone String - The zone of CBS.
- charge
Types List<String> - Pay type of the CBS instance.
- dedicated
Cluster StringId - Exclusive cluster id.
- instance
Ips List<String> - instance
Names List<String> - portable Boolean
- project
Id Number - ID of the project.
- result
Output StringFile - storage
Id String - ID of CBS.
- storage
Name String - Name of CBS.
- storage
States List<String> - storage
Type String - Types of storage medium.
- storage
Usage String - Types of CBS.
- tag
Keys List<String> - tag
Values List<String>
Supporting Types
GetCbsStoragesStorageList
- Attached bool
- Indicates whether the CBS is mounted the CVM.
- Availability
Zone string - The available zone that the CBS instance locates at.
- Charge
Type string - List filter by disk charge type (
POSTPAID_BY_HOUR
|PREPAID
|CDCPAID
|DEDICATED_CLUSTER_PAID
). - Create
Time string - Creation time of CBS.
- Dedicated
Cluster stringId - Exclusive cluster id.
- Encrypt bool
- Indicates whether CBS is encrypted.
- Instance
Id string - ID of the CVM instance that be mounted by this CBS.
- Prepaid
Renew stringFlag - The way that CBS instance will be renew automatically or not when it reach the end of the prepaid tenancy.
- Project
Id double - ID of the project with which the CBS is associated.
- Status string
- Status of CBS.
- Storage
Id string - ID of the CBS to be queried.
- Storage
Name string - Name of the CBS to be queried.
- Storage
Size double - Volume of CBS.
- Storage
Type string - Filter by cloud disk media type (
CLOUD_BASIC
: HDD cloud disk |CLOUD_PREMIUM
: Premium Cloud Storage |CLOUD_SSD
: SSD cloud disk). - Storage
Usage string - Filter by cloud disk type (
SYSTEM_DISK
: system disk |DATA_DISK
: data disk). - Dictionary<string, string>
- The available tags within this CBS.
- Throughput
Performance double - Add extra performance to the data disk. Only works when disk type is
CLOUD_TSSD
orCLOUD_HSSD
.
- Attached bool
- Indicates whether the CBS is mounted the CVM.
- Availability
Zone string - The available zone that the CBS instance locates at.
- Charge
Type string - List filter by disk charge type (
POSTPAID_BY_HOUR
|PREPAID
|CDCPAID
|DEDICATED_CLUSTER_PAID
). - Create
Time string - Creation time of CBS.
- Dedicated
Cluster stringId - Exclusive cluster id.
- Encrypt bool
- Indicates whether CBS is encrypted.
- Instance
Id string - ID of the CVM instance that be mounted by this CBS.
- Prepaid
Renew stringFlag - The way that CBS instance will be renew automatically or not when it reach the end of the prepaid tenancy.
- Project
Id float64 - ID of the project with which the CBS is associated.
- Status string
- Status of CBS.
- Storage
Id string - ID of the CBS to be queried.
- Storage
Name string - Name of the CBS to be queried.
- Storage
Size float64 - Volume of CBS.
- Storage
Type string - Filter by cloud disk media type (
CLOUD_BASIC
: HDD cloud disk |CLOUD_PREMIUM
: Premium Cloud Storage |CLOUD_SSD
: SSD cloud disk). - Storage
Usage string - Filter by cloud disk type (
SYSTEM_DISK
: system disk |DATA_DISK
: data disk). - map[string]string
- The available tags within this CBS.
- Throughput
Performance float64 - Add extra performance to the data disk. Only works when disk type is
CLOUD_TSSD
orCLOUD_HSSD
.
- attached Boolean
- Indicates whether the CBS is mounted the CVM.
- availability
Zone String - The available zone that the CBS instance locates at.
- charge
Type String - List filter by disk charge type (
POSTPAID_BY_HOUR
|PREPAID
|CDCPAID
|DEDICATED_CLUSTER_PAID
). - create
Time String - Creation time of CBS.
- dedicated
Cluster StringId - Exclusive cluster id.
- encrypt Boolean
- Indicates whether CBS is encrypted.
- instance
Id String - ID of the CVM instance that be mounted by this CBS.
- prepaid
Renew StringFlag - The way that CBS instance will be renew automatically or not when it reach the end of the prepaid tenancy.
- project
Id Double - ID of the project with which the CBS is associated.
- status String
- Status of CBS.
- storage
Id String - ID of the CBS to be queried.
- storage
Name String - Name of the CBS to be queried.
- storage
Size Double - Volume of CBS.
- storage
Type String - Filter by cloud disk media type (
CLOUD_BASIC
: HDD cloud disk |CLOUD_PREMIUM
: Premium Cloud Storage |CLOUD_SSD
: SSD cloud disk). - storage
Usage String - Filter by cloud disk type (
SYSTEM_DISK
: system disk |DATA_DISK
: data disk). - Map<String,String>
- The available tags within this CBS.
- throughput
Performance Double - Add extra performance to the data disk. Only works when disk type is
CLOUD_TSSD
orCLOUD_HSSD
.
- attached boolean
- Indicates whether the CBS is mounted the CVM.
- availability
Zone string - The available zone that the CBS instance locates at.
- charge
Type string - List filter by disk charge type (
POSTPAID_BY_HOUR
|PREPAID
|CDCPAID
|DEDICATED_CLUSTER_PAID
). - create
Time string - Creation time of CBS.
- dedicated
Cluster stringId - Exclusive cluster id.
- encrypt boolean
- Indicates whether CBS is encrypted.
- instance
Id string - ID of the CVM instance that be mounted by this CBS.
- prepaid
Renew stringFlag - The way that CBS instance will be renew automatically or not when it reach the end of the prepaid tenancy.
- project
Id number - ID of the project with which the CBS is associated.
- status string
- Status of CBS.
- storage
Id string - ID of the CBS to be queried.
- storage
Name string - Name of the CBS to be queried.
- storage
Size number - Volume of CBS.
- storage
Type string - Filter by cloud disk media type (
CLOUD_BASIC
: HDD cloud disk |CLOUD_PREMIUM
: Premium Cloud Storage |CLOUD_SSD
: SSD cloud disk). - storage
Usage string - Filter by cloud disk type (
SYSTEM_DISK
: system disk |DATA_DISK
: data disk). - {[key: string]: string}
- The available tags within this CBS.
- throughput
Performance number - Add extra performance to the data disk. Only works when disk type is
CLOUD_TSSD
orCLOUD_HSSD
.
- attached bool
- Indicates whether the CBS is mounted the CVM.
- availability_
zone str - The available zone that the CBS instance locates at.
- charge_
type str - List filter by disk charge type (
POSTPAID_BY_HOUR
|PREPAID
|CDCPAID
|DEDICATED_CLUSTER_PAID
). - create_
time str - Creation time of CBS.
- dedicated_
cluster_ strid - Exclusive cluster id.
- encrypt bool
- Indicates whether CBS is encrypted.
- instance_
id str - ID of the CVM instance that be mounted by this CBS.
- prepaid_
renew_ strflag - The way that CBS instance will be renew automatically or not when it reach the end of the prepaid tenancy.
- project_
id float - ID of the project with which the CBS is associated.
- status str
- Status of CBS.
- storage_
id str - ID of the CBS to be queried.
- storage_
name str - Name of the CBS to be queried.
- storage_
size float - Volume of CBS.
- storage_
type str - Filter by cloud disk media type (
CLOUD_BASIC
: HDD cloud disk |CLOUD_PREMIUM
: Premium Cloud Storage |CLOUD_SSD
: SSD cloud disk). - storage_
usage str - Filter by cloud disk type (
SYSTEM_DISK
: system disk |DATA_DISK
: data disk). - Mapping[str, str]
- The available tags within this CBS.
- throughput_
performance float - Add extra performance to the data disk. Only works when disk type is
CLOUD_TSSD
orCLOUD_HSSD
.
- attached Boolean
- Indicates whether the CBS is mounted the CVM.
- availability
Zone String - The available zone that the CBS instance locates at.
- charge
Type String - List filter by disk charge type (
POSTPAID_BY_HOUR
|PREPAID
|CDCPAID
|DEDICATED_CLUSTER_PAID
). - create
Time String - Creation time of CBS.
- dedicated
Cluster StringId - Exclusive cluster id.
- encrypt Boolean
- Indicates whether CBS is encrypted.
- instance
Id String - ID of the CVM instance that be mounted by this CBS.
- prepaid
Renew StringFlag - The way that CBS instance will be renew automatically or not when it reach the end of the prepaid tenancy.
- project
Id Number - ID of the project with which the CBS is associated.
- status String
- Status of CBS.
- storage
Id String - ID of the CBS to be queried.
- storage
Name String - Name of the CBS to be queried.
- storage
Size Number - Volume of CBS.
- storage
Type String - Filter by cloud disk media type (
CLOUD_BASIC
: HDD cloud disk |CLOUD_PREMIUM
: Premium Cloud Storage |CLOUD_SSD
: SSD cloud disk). - storage
Usage String - Filter by cloud disk type (
SYSTEM_DISK
: system disk |DATA_DISK
: data disk). - Map<String>
- The available tags within this CBS.
- throughput
Performance Number - Add extra performance to the data disk. Only works when disk type is
CLOUD_TSSD
orCLOUD_HSSD
.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.
tencentcloud 1.81.185 published on Wednesday, Apr 23, 2025 by tencentcloudstack