1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. CbsStorageSet
tencentcloud 1.81.186 published on Thursday, Apr 24, 2025 by tencentcloudstack

tencentcloud.CbsStorageSet

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.186 published on Thursday, Apr 24, 2025 by tencentcloudstack

    Provides a resource to create CBS set.

    Example Usage

    Create 3 standard CBS storages

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.CbsStorageSet("example", {
        availabilityZone: "ap-guangzhou-3",
        diskCount: 3,
        encrypt: false,
        projectId: 0,
        storageName: "tf-example",
        storageSize: 100,
        storageType: "CLOUD_SSD",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.CbsStorageSet("example",
        availability_zone="ap-guangzhou-3",
        disk_count=3,
        encrypt=False,
        project_id=0,
        storage_name="tf-example",
        storage_size=100,
        storage_type="CLOUD_SSD")
    
    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.NewCbsStorageSet(ctx, "example", &tencentcloud.CbsStorageSetArgs{
    			AvailabilityZone: pulumi.String("ap-guangzhou-3"),
    			DiskCount:        pulumi.Float64(3),
    			Encrypt:          pulumi.Bool(false),
    			ProjectId:        pulumi.Float64(0),
    			StorageName:      pulumi.String("tf-example"),
    			StorageSize:      pulumi.Float64(100),
    			StorageType:      pulumi.String("CLOUD_SSD"),
    		})
    		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 = new Tencentcloud.CbsStorageSet("example", new()
        {
            AvailabilityZone = "ap-guangzhou-3",
            DiskCount = 3,
            Encrypt = false,
            ProjectId = 0,
            StorageName = "tf-example",
            StorageSize = 100,
            StorageType = "CLOUD_SSD",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.CbsStorageSet;
    import com.pulumi.tencentcloud.CbsStorageSetArgs;
    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) {
            var example = new CbsStorageSet("example", CbsStorageSetArgs.builder()
                .availabilityZone("ap-guangzhou-3")
                .diskCount(3)
                .encrypt(false)
                .projectId(0)
                .storageName("tf-example")
                .storageSize(100)
                .storageType("CLOUD_SSD")
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:CbsStorageSet
        properties:
          availabilityZone: ap-guangzhou-3
          diskCount: 3
          encrypt: false
          projectId: 0
          storageName: tf-example
          storageSize: 100
          storageType: CLOUD_SSD
    

    Create 3 dedicated cluster CBS storages

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.CbsStorageSet("example", {
        availabilityZone: "ap-guangzhou-4",
        chargeType: "DEDICATED_CLUSTER_PAID",
        dedicatedClusterId: "cluster-262n63e8",
        diskCount: 3,
        encrypt: false,
        projectId: 0,
        storageName: "tf-example",
        storageSize: 100,
        storageType: "CLOUD_SSD",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.CbsStorageSet("example",
        availability_zone="ap-guangzhou-4",
        charge_type="DEDICATED_CLUSTER_PAID",
        dedicated_cluster_id="cluster-262n63e8",
        disk_count=3,
        encrypt=False,
        project_id=0,
        storage_name="tf-example",
        storage_size=100,
        storage_type="CLOUD_SSD")
    
    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.NewCbsStorageSet(ctx, "example", &tencentcloud.CbsStorageSetArgs{
    			AvailabilityZone:   pulumi.String("ap-guangzhou-4"),
    			ChargeType:         pulumi.String("DEDICATED_CLUSTER_PAID"),
    			DedicatedClusterId: pulumi.String("cluster-262n63e8"),
    			DiskCount:          pulumi.Float64(3),
    			Encrypt:            pulumi.Bool(false),
    			ProjectId:          pulumi.Float64(0),
    			StorageName:        pulumi.String("tf-example"),
    			StorageSize:        pulumi.Float64(100),
    			StorageType:        pulumi.String("CLOUD_SSD"),
    		})
    		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 = new Tencentcloud.CbsStorageSet("example", new()
        {
            AvailabilityZone = "ap-guangzhou-4",
            ChargeType = "DEDICATED_CLUSTER_PAID",
            DedicatedClusterId = "cluster-262n63e8",
            DiskCount = 3,
            Encrypt = false,
            ProjectId = 0,
            StorageName = "tf-example",
            StorageSize = 100,
            StorageType = "CLOUD_SSD",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.CbsStorageSet;
    import com.pulumi.tencentcloud.CbsStorageSetArgs;
    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) {
            var example = new CbsStorageSet("example", CbsStorageSetArgs.builder()
                .availabilityZone("ap-guangzhou-4")
                .chargeType("DEDICATED_CLUSTER_PAID")
                .dedicatedClusterId("cluster-262n63e8")
                .diskCount(3)
                .encrypt(false)
                .projectId(0)
                .storageName("tf-example")
                .storageSize(100)
                .storageType("CLOUD_SSD")
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:CbsStorageSet
        properties:
          availabilityZone: ap-guangzhou-4
          chargeType: DEDICATED_CLUSTER_PAID
          dedicatedClusterId: cluster-262n63e8
          diskCount: 3
          encrypt: false
          projectId: 0
          storageName: tf-example
          storageSize: 100
          storageType: CLOUD_SSD
    

    Create CbsStorageSet Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new CbsStorageSet(name: string, args: CbsStorageSetArgs, opts?: CustomResourceOptions);
    @overload
    def CbsStorageSet(resource_name: str,
                      args: CbsStorageSetArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def CbsStorageSet(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      availability_zone: Optional[str] = None,
                      storage_name: Optional[str] = None,
                      storage_size: Optional[float] = None,
                      storage_type: Optional[str] = None,
                      cbs_storage_set_id: Optional[str] = None,
                      charge_type: Optional[str] = None,
                      dedicated_cluster_id: Optional[str] = None,
                      disk_count: Optional[float] = None,
                      encrypt: Optional[bool] = None,
                      project_id: Optional[float] = None,
                      snapshot_id: Optional[str] = None,
                      throughput_performance: Optional[float] = None)
    func NewCbsStorageSet(ctx *Context, name string, args CbsStorageSetArgs, opts ...ResourceOption) (*CbsStorageSet, error)
    public CbsStorageSet(string name, CbsStorageSetArgs args, CustomResourceOptions? opts = null)
    public CbsStorageSet(String name, CbsStorageSetArgs args)
    public CbsStorageSet(String name, CbsStorageSetArgs args, CustomResourceOptions options)
    
    type: tencentcloud:CbsStorageSet
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args CbsStorageSetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args CbsStorageSetArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args CbsStorageSetArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CbsStorageSetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CbsStorageSetArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    CbsStorageSet Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The CbsStorageSet resource accepts the following input properties:

    AvailabilityZone string
    The available zone that the CBS instance locates at.
    StorageName string
    Name of CBS. The maximum length can not exceed 60 bytes.
    StorageSize double
    Volume of CBS, and unit is GB.
    StorageType string
    Type of CBS medium. Valid values: CLOUD_BASIC: HDD cloud disk, CLOUD_PREMIUM: Premium Cloud Storage, CLOUD_BSSD: General Purpose SSD, CLOUD_SSD: SSD, CLOUD_HSSD: Enhanced SSD, CLOUD_TSSD: Tremendous SSD.
    CbsStorageSetId string
    ID of the resource.
    ChargeType string
    The charge type of CBS instance. Support POSTPAID_BY_HOUR and DEDICATED_CLUSTER_PAID. The default is POSTPAID_BY_HOUR.
    DedicatedClusterId string
    Exclusive cluster id.
    DiskCount double
    The number of disks to be purchased. Default 1.
    Encrypt bool
    Indicates whether CBS is encrypted.
    ProjectId double
    ID of the project to which the instance belongs.
    SnapshotId string
    ID of the snapshot. If specified, created the CBS by this snapshot.
    ThroughputPerformance double
    Add extra performance to the data disk. Only works when disk type is CLOUD_TSSD or CLOUD_HSSD.
    AvailabilityZone string
    The available zone that the CBS instance locates at.
    StorageName string
    Name of CBS. The maximum length can not exceed 60 bytes.
    StorageSize float64
    Volume of CBS, and unit is GB.
    StorageType string
    Type of CBS medium. Valid values: CLOUD_BASIC: HDD cloud disk, CLOUD_PREMIUM: Premium Cloud Storage, CLOUD_BSSD: General Purpose SSD, CLOUD_SSD: SSD, CLOUD_HSSD: Enhanced SSD, CLOUD_TSSD: Tremendous SSD.
    CbsStorageSetId string
    ID of the resource.
    ChargeType string
    The charge type of CBS instance. Support POSTPAID_BY_HOUR and DEDICATED_CLUSTER_PAID. The default is POSTPAID_BY_HOUR.
    DedicatedClusterId string
    Exclusive cluster id.
    DiskCount float64
    The number of disks to be purchased. Default 1.
    Encrypt bool
    Indicates whether CBS is encrypted.
    ProjectId float64
    ID of the project to which the instance belongs.
    SnapshotId string
    ID of the snapshot. If specified, created the CBS by this snapshot.
    ThroughputPerformance float64
    Add extra performance to the data disk. Only works when disk type is CLOUD_TSSD or CLOUD_HSSD.
    availabilityZone String
    The available zone that the CBS instance locates at.
    storageName String
    Name of CBS. The maximum length can not exceed 60 bytes.
    storageSize Double
    Volume of CBS, and unit is GB.
    storageType String
    Type of CBS medium. Valid values: CLOUD_BASIC: HDD cloud disk, CLOUD_PREMIUM: Premium Cloud Storage, CLOUD_BSSD: General Purpose SSD, CLOUD_SSD: SSD, CLOUD_HSSD: Enhanced SSD, CLOUD_TSSD: Tremendous SSD.
    cbsStorageSetId String
    ID of the resource.
    chargeType String
    The charge type of CBS instance. Support POSTPAID_BY_HOUR and DEDICATED_CLUSTER_PAID. The default is POSTPAID_BY_HOUR.
    dedicatedClusterId String
    Exclusive cluster id.
    diskCount Double
    The number of disks to be purchased. Default 1.
    encrypt Boolean
    Indicates whether CBS is encrypted.
    projectId Double
    ID of the project to which the instance belongs.
    snapshotId String
    ID of the snapshot. If specified, created the CBS by this snapshot.
    throughputPerformance Double
    Add extra performance to the data disk. Only works when disk type is CLOUD_TSSD or CLOUD_HSSD.
    availabilityZone string
    The available zone that the CBS instance locates at.
    storageName string
    Name of CBS. The maximum length can not exceed 60 bytes.
    storageSize number
    Volume of CBS, and unit is GB.
    storageType string
    Type of CBS medium. Valid values: CLOUD_BASIC: HDD cloud disk, CLOUD_PREMIUM: Premium Cloud Storage, CLOUD_BSSD: General Purpose SSD, CLOUD_SSD: SSD, CLOUD_HSSD: Enhanced SSD, CLOUD_TSSD: Tremendous SSD.
    cbsStorageSetId string
    ID of the resource.
    chargeType string
    The charge type of CBS instance. Support POSTPAID_BY_HOUR and DEDICATED_CLUSTER_PAID. The default is POSTPAID_BY_HOUR.
    dedicatedClusterId string
    Exclusive cluster id.
    diskCount number
    The number of disks to be purchased. Default 1.
    encrypt boolean
    Indicates whether CBS is encrypted.
    projectId number
    ID of the project to which the instance belongs.
    snapshotId string
    ID of the snapshot. If specified, created the CBS by this snapshot.
    throughputPerformance number
    Add extra performance to the data disk. Only works when disk type is CLOUD_TSSD or CLOUD_HSSD.
    availability_zone str
    The available zone that the CBS instance locates at.
    storage_name str
    Name of CBS. The maximum length can not exceed 60 bytes.
    storage_size float
    Volume of CBS, and unit is GB.
    storage_type str
    Type of CBS medium. Valid values: CLOUD_BASIC: HDD cloud disk, CLOUD_PREMIUM: Premium Cloud Storage, CLOUD_BSSD: General Purpose SSD, CLOUD_SSD: SSD, CLOUD_HSSD: Enhanced SSD, CLOUD_TSSD: Tremendous SSD.
    cbs_storage_set_id str
    ID of the resource.
    charge_type str
    The charge type of CBS instance. Support POSTPAID_BY_HOUR and DEDICATED_CLUSTER_PAID. The default is POSTPAID_BY_HOUR.
    dedicated_cluster_id str
    Exclusive cluster id.
    disk_count float
    The number of disks to be purchased. Default 1.
    encrypt bool
    Indicates whether CBS is encrypted.
    project_id float
    ID of the project to which the instance belongs.
    snapshot_id str
    ID of the snapshot. If specified, created the CBS by this snapshot.
    throughput_performance float
    Add extra performance to the data disk. Only works when disk type is CLOUD_TSSD or CLOUD_HSSD.
    availabilityZone String
    The available zone that the CBS instance locates at.
    storageName String
    Name of CBS. The maximum length can not exceed 60 bytes.
    storageSize Number
    Volume of CBS, and unit is GB.
    storageType String
    Type of CBS medium. Valid values: CLOUD_BASIC: HDD cloud disk, CLOUD_PREMIUM: Premium Cloud Storage, CLOUD_BSSD: General Purpose SSD, CLOUD_SSD: SSD, CLOUD_HSSD: Enhanced SSD, CLOUD_TSSD: Tremendous SSD.
    cbsStorageSetId String
    ID of the resource.
    chargeType String
    The charge type of CBS instance. Support POSTPAID_BY_HOUR and DEDICATED_CLUSTER_PAID. The default is POSTPAID_BY_HOUR.
    dedicatedClusterId String
    Exclusive cluster id.
    diskCount Number
    The number of disks to be purchased. Default 1.
    encrypt Boolean
    Indicates whether CBS is encrypted.
    projectId Number
    ID of the project to which the instance belongs.
    snapshotId String
    ID of the snapshot. If specified, created the CBS by this snapshot.
    throughputPerformance Number
    Add extra performance to the data disk. Only works when disk type is CLOUD_TSSD or CLOUD_HSSD.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CbsStorageSet resource produces the following output properties:

    Attached bool
    Indicates whether the CBS is mounted the CVM.
    DiskIds List<string>
    disk id list.
    Id string
    The provider-assigned unique ID for this managed resource.
    StorageStatus string
    Status of CBS. Valid values: UNATTACHED, ATTACHING, ATTACHED, DETACHING, EXPANDING, ROLLBACKING, TORECYCLE and DUMPING.
    Attached bool
    Indicates whether the CBS is mounted the CVM.
    DiskIds []string
    disk id list.
    Id string
    The provider-assigned unique ID for this managed resource.
    StorageStatus string
    Status of CBS. Valid values: UNATTACHED, ATTACHING, ATTACHED, DETACHING, EXPANDING, ROLLBACKING, TORECYCLE and DUMPING.
    attached Boolean
    Indicates whether the CBS is mounted the CVM.
    diskIds List<String>
    disk id list.
    id String
    The provider-assigned unique ID for this managed resource.
    storageStatus String
    Status of CBS. Valid values: UNATTACHED, ATTACHING, ATTACHED, DETACHING, EXPANDING, ROLLBACKING, TORECYCLE and DUMPING.
    attached boolean
    Indicates whether the CBS is mounted the CVM.
    diskIds string[]
    disk id list.
    id string
    The provider-assigned unique ID for this managed resource.
    storageStatus string
    Status of CBS. Valid values: UNATTACHED, ATTACHING, ATTACHED, DETACHING, EXPANDING, ROLLBACKING, TORECYCLE and DUMPING.
    attached bool
    Indicates whether the CBS is mounted the CVM.
    disk_ids Sequence[str]
    disk id list.
    id str
    The provider-assigned unique ID for this managed resource.
    storage_status str
    Status of CBS. Valid values: UNATTACHED, ATTACHING, ATTACHED, DETACHING, EXPANDING, ROLLBACKING, TORECYCLE and DUMPING.
    attached Boolean
    Indicates whether the CBS is mounted the CVM.
    diskIds List<String>
    disk id list.
    id String
    The provider-assigned unique ID for this managed resource.
    storageStatus String
    Status of CBS. Valid values: UNATTACHED, ATTACHING, ATTACHED, DETACHING, EXPANDING, ROLLBACKING, TORECYCLE and DUMPING.

    Look up Existing CbsStorageSet Resource

    Get an existing CbsStorageSet resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: CbsStorageSetState, opts?: CustomResourceOptions): CbsStorageSet
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            attached: Optional[bool] = None,
            availability_zone: Optional[str] = None,
            cbs_storage_set_id: Optional[str] = None,
            charge_type: Optional[str] = None,
            dedicated_cluster_id: Optional[str] = None,
            disk_count: Optional[float] = None,
            disk_ids: Optional[Sequence[str]] = None,
            encrypt: Optional[bool] = None,
            project_id: Optional[float] = None,
            snapshot_id: Optional[str] = None,
            storage_name: Optional[str] = None,
            storage_size: Optional[float] = None,
            storage_status: Optional[str] = None,
            storage_type: Optional[str] = None,
            throughput_performance: Optional[float] = None) -> CbsStorageSet
    func GetCbsStorageSet(ctx *Context, name string, id IDInput, state *CbsStorageSetState, opts ...ResourceOption) (*CbsStorageSet, error)
    public static CbsStorageSet Get(string name, Input<string> id, CbsStorageSetState? state, CustomResourceOptions? opts = null)
    public static CbsStorageSet get(String name, Output<String> id, CbsStorageSetState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:CbsStorageSet    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Attached bool
    Indicates whether the CBS is mounted the CVM.
    AvailabilityZone string
    The available zone that the CBS instance locates at.
    CbsStorageSetId string
    ID of the resource.
    ChargeType string
    The charge type of CBS instance. Support POSTPAID_BY_HOUR and DEDICATED_CLUSTER_PAID. The default is POSTPAID_BY_HOUR.
    DedicatedClusterId string
    Exclusive cluster id.
    DiskCount double
    The number of disks to be purchased. Default 1.
    DiskIds List<string>
    disk id list.
    Encrypt bool
    Indicates whether CBS is encrypted.
    ProjectId double
    ID of the project to which the instance belongs.
    SnapshotId string
    ID of the snapshot. If specified, created the CBS by this snapshot.
    StorageName string
    Name of CBS. The maximum length can not exceed 60 bytes.
    StorageSize double
    Volume of CBS, and unit is GB.
    StorageStatus string
    Status of CBS. Valid values: UNATTACHED, ATTACHING, ATTACHED, DETACHING, EXPANDING, ROLLBACKING, TORECYCLE and DUMPING.
    StorageType string
    Type of CBS medium. Valid values: CLOUD_BASIC: HDD cloud disk, CLOUD_PREMIUM: Premium Cloud Storage, CLOUD_BSSD: General Purpose SSD, CLOUD_SSD: SSD, CLOUD_HSSD: Enhanced SSD, CLOUD_TSSD: Tremendous SSD.
    ThroughputPerformance double
    Add extra performance to the data disk. Only works when disk type is CLOUD_TSSD or CLOUD_HSSD.
    Attached bool
    Indicates whether the CBS is mounted the CVM.
    AvailabilityZone string
    The available zone that the CBS instance locates at.
    CbsStorageSetId string
    ID of the resource.
    ChargeType string
    The charge type of CBS instance. Support POSTPAID_BY_HOUR and DEDICATED_CLUSTER_PAID. The default is POSTPAID_BY_HOUR.
    DedicatedClusterId string
    Exclusive cluster id.
    DiskCount float64
    The number of disks to be purchased. Default 1.
    DiskIds []string
    disk id list.
    Encrypt bool
    Indicates whether CBS is encrypted.
    ProjectId float64
    ID of the project to which the instance belongs.
    SnapshotId string
    ID of the snapshot. If specified, created the CBS by this snapshot.
    StorageName string
    Name of CBS. The maximum length can not exceed 60 bytes.
    StorageSize float64
    Volume of CBS, and unit is GB.
    StorageStatus string
    Status of CBS. Valid values: UNATTACHED, ATTACHING, ATTACHED, DETACHING, EXPANDING, ROLLBACKING, TORECYCLE and DUMPING.
    StorageType string
    Type of CBS medium. Valid values: CLOUD_BASIC: HDD cloud disk, CLOUD_PREMIUM: Premium Cloud Storage, CLOUD_BSSD: General Purpose SSD, CLOUD_SSD: SSD, CLOUD_HSSD: Enhanced SSD, CLOUD_TSSD: Tremendous SSD.
    ThroughputPerformance float64
    Add extra performance to the data disk. Only works when disk type is CLOUD_TSSD or CLOUD_HSSD.
    attached Boolean
    Indicates whether the CBS is mounted the CVM.
    availabilityZone String
    The available zone that the CBS instance locates at.
    cbsStorageSetId String
    ID of the resource.
    chargeType String
    The charge type of CBS instance. Support POSTPAID_BY_HOUR and DEDICATED_CLUSTER_PAID. The default is POSTPAID_BY_HOUR.
    dedicatedClusterId String
    Exclusive cluster id.
    diskCount Double
    The number of disks to be purchased. Default 1.
    diskIds List<String>
    disk id list.
    encrypt Boolean
    Indicates whether CBS is encrypted.
    projectId Double
    ID of the project to which the instance belongs.
    snapshotId String
    ID of the snapshot. If specified, created the CBS by this snapshot.
    storageName String
    Name of CBS. The maximum length can not exceed 60 bytes.
    storageSize Double
    Volume of CBS, and unit is GB.
    storageStatus String
    Status of CBS. Valid values: UNATTACHED, ATTACHING, ATTACHED, DETACHING, EXPANDING, ROLLBACKING, TORECYCLE and DUMPING.
    storageType String
    Type of CBS medium. Valid values: CLOUD_BASIC: HDD cloud disk, CLOUD_PREMIUM: Premium Cloud Storage, CLOUD_BSSD: General Purpose SSD, CLOUD_SSD: SSD, CLOUD_HSSD: Enhanced SSD, CLOUD_TSSD: Tremendous SSD.
    throughputPerformance Double
    Add extra performance to the data disk. Only works when disk type is CLOUD_TSSD or CLOUD_HSSD.
    attached boolean
    Indicates whether the CBS is mounted the CVM.
    availabilityZone string
    The available zone that the CBS instance locates at.
    cbsStorageSetId string
    ID of the resource.
    chargeType string
    The charge type of CBS instance. Support POSTPAID_BY_HOUR and DEDICATED_CLUSTER_PAID. The default is POSTPAID_BY_HOUR.
    dedicatedClusterId string
    Exclusive cluster id.
    diskCount number
    The number of disks to be purchased. Default 1.
    diskIds string[]
    disk id list.
    encrypt boolean
    Indicates whether CBS is encrypted.
    projectId number
    ID of the project to which the instance belongs.
    snapshotId string
    ID of the snapshot. If specified, created the CBS by this snapshot.
    storageName string
    Name of CBS. The maximum length can not exceed 60 bytes.
    storageSize number
    Volume of CBS, and unit is GB.
    storageStatus string
    Status of CBS. Valid values: UNATTACHED, ATTACHING, ATTACHED, DETACHING, EXPANDING, ROLLBACKING, TORECYCLE and DUMPING.
    storageType string
    Type of CBS medium. Valid values: CLOUD_BASIC: HDD cloud disk, CLOUD_PREMIUM: Premium Cloud Storage, CLOUD_BSSD: General Purpose SSD, CLOUD_SSD: SSD, CLOUD_HSSD: Enhanced SSD, CLOUD_TSSD: Tremendous SSD.
    throughputPerformance number
    Add extra performance to the data disk. Only works when disk type is CLOUD_TSSD or CLOUD_HSSD.
    attached bool
    Indicates whether the CBS is mounted the CVM.
    availability_zone str
    The available zone that the CBS instance locates at.
    cbs_storage_set_id str
    ID of the resource.
    charge_type str
    The charge type of CBS instance. Support POSTPAID_BY_HOUR and DEDICATED_CLUSTER_PAID. The default is POSTPAID_BY_HOUR.
    dedicated_cluster_id str
    Exclusive cluster id.
    disk_count float
    The number of disks to be purchased. Default 1.
    disk_ids Sequence[str]
    disk id list.
    encrypt bool
    Indicates whether CBS is encrypted.
    project_id float
    ID of the project to which the instance belongs.
    snapshot_id str
    ID of the snapshot. If specified, created the CBS by this snapshot.
    storage_name str
    Name of CBS. The maximum length can not exceed 60 bytes.
    storage_size float
    Volume of CBS, and unit is GB.
    storage_status str
    Status of CBS. Valid values: UNATTACHED, ATTACHING, ATTACHED, DETACHING, EXPANDING, ROLLBACKING, TORECYCLE and DUMPING.
    storage_type str
    Type of CBS medium. Valid values: CLOUD_BASIC: HDD cloud disk, CLOUD_PREMIUM: Premium Cloud Storage, CLOUD_BSSD: General Purpose SSD, CLOUD_SSD: SSD, CLOUD_HSSD: Enhanced SSD, CLOUD_TSSD: Tremendous SSD.
    throughput_performance float
    Add extra performance to the data disk. Only works when disk type is CLOUD_TSSD or CLOUD_HSSD.
    attached Boolean
    Indicates whether the CBS is mounted the CVM.
    availabilityZone String
    The available zone that the CBS instance locates at.
    cbsStorageSetId String
    ID of the resource.
    chargeType String
    The charge type of CBS instance. Support POSTPAID_BY_HOUR and DEDICATED_CLUSTER_PAID. The default is POSTPAID_BY_HOUR.
    dedicatedClusterId String
    Exclusive cluster id.
    diskCount Number
    The number of disks to be purchased. Default 1.
    diskIds List<String>
    disk id list.
    encrypt Boolean
    Indicates whether CBS is encrypted.
    projectId Number
    ID of the project to which the instance belongs.
    snapshotId String
    ID of the snapshot. If specified, created the CBS by this snapshot.
    storageName String
    Name of CBS. The maximum length can not exceed 60 bytes.
    storageSize Number
    Volume of CBS, and unit is GB.
    storageStatus String
    Status of CBS. Valid values: UNATTACHED, ATTACHING, ATTACHED, DETACHING, EXPANDING, ROLLBACKING, TORECYCLE and DUMPING.
    storageType String
    Type of CBS medium. Valid values: CLOUD_BASIC: HDD cloud disk, CLOUD_PREMIUM: Premium Cloud Storage, CLOUD_BSSD: General Purpose SSD, CLOUD_SSD: SSD, CLOUD_HSSD: Enhanced SSD, CLOUD_TSSD: Tremendous SSD.
    throughputPerformance Number
    Add extra performance to the data disk. Only works when disk type is CLOUD_TSSD or CLOUD_HSSD.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.186 published on Thursday, Apr 24, 2025 by tencentcloudstack