1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getInstanceTypes
tencentcloud 1.81.185 published on Wednesday, Apr 23, 2025 by tencentcloudstack

tencentcloud.getInstanceTypes

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.185 published on Wednesday, Apr 23, 2025 by tencentcloudstack

    Use this data source to query instances type.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = tencentcloud.getInstanceTypes({
        availabilityZone: "ap-guangzhou-6",
        cpuCoreCount: 4,
        memorySize: 8,
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.get_instance_types(availability_zone="ap-guangzhou-6",
        cpu_core_count=4,
        memory_size=8)
    
    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.GetInstanceTypes(ctx, &tencentcloud.GetInstanceTypesArgs{
    			AvailabilityZone: pulumi.StringRef("ap-guangzhou-6"),
    			CpuCoreCount:     pulumi.Float64Ref(4),
    			MemorySize:       pulumi.Float64Ref(8),
    		}, 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.GetInstanceTypes.Invoke(new()
        {
            AvailabilityZone = "ap-guangzhou-6",
            CpuCoreCount = 4,
            MemorySize = 8,
        });
    
    });
    
    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.GetInstanceTypesArgs;
    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.getInstanceTypes(GetInstanceTypesArgs.builder()
                .availabilityZone("ap-guangzhou-6")
                .cpuCoreCount(4)
                .memorySize(8)
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: tencentcloud:getInstanceTypes
          arguments:
            availabilityZone: ap-guangzhou-6
            cpuCoreCount: 4
            memorySize: 8
    

    Complete Example

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = tencentcloud.getInstanceTypes({
        cpuCoreCount: 4,
        excludeSoldOut: true,
        filters: [
            {
                name: "instance-family",
                values: ["SA2"],
            },
            {
                name: "zone",
                values: ["ap-guangzhou-6"],
            },
        ],
        memorySize: 8,
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.get_instance_types(cpu_core_count=4,
        exclude_sold_out=True,
        filters=[
            {
                "name": "instance-family",
                "values": ["SA2"],
            },
            {
                "name": "zone",
                "values": ["ap-guangzhou-6"],
            },
        ],
        memory_size=8)
    
    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.GetInstanceTypes(ctx, &tencentcloud.GetInstanceTypesArgs{
    			CpuCoreCount:   pulumi.Float64Ref(4),
    			ExcludeSoldOut: pulumi.BoolRef(true),
    			Filters: []tencentcloud.GetInstanceTypesFilter{
    				{
    					Name: "instance-family",
    					Values: []string{
    						"SA2",
    					},
    				},
    				{
    					Name: "zone",
    					Values: []string{
    						"ap-guangzhou-6",
    					},
    				},
    			},
    			MemorySize: pulumi.Float64Ref(8),
    		}, 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.GetInstanceTypes.Invoke(new()
        {
            CpuCoreCount = 4,
            ExcludeSoldOut = true,
            Filters = new[]
            {
                new Tencentcloud.Inputs.GetInstanceTypesFilterInputArgs
                {
                    Name = "instance-family",
                    Values = new[]
                    {
                        "SA2",
                    },
                },
                new Tencentcloud.Inputs.GetInstanceTypesFilterInputArgs
                {
                    Name = "zone",
                    Values = new[]
                    {
                        "ap-guangzhou-6",
                    },
                },
            },
            MemorySize = 8,
        });
    
    });
    
    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.GetInstanceTypesArgs;
    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.getInstanceTypes(GetInstanceTypesArgs.builder()
                .cpuCoreCount(4)
                .excludeSoldOut(true)
                .filters(            
                    GetInstanceTypesFilterArgs.builder()
                        .name("instance-family")
                        .values("SA2")
                        .build(),
                    GetInstanceTypesFilterArgs.builder()
                        .name("zone")
                        .values("ap-guangzhou-6")
                        .build())
                .memorySize(8)
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: tencentcloud:getInstanceTypes
          arguments:
            cpuCoreCount: 4
            excludeSoldOut: true
            filters:
              - name: instance-family
                values:
                  - SA2
              - name: zone
                values:
                  - ap-guangzhou-6
            memorySize: 8
    

    Using getInstanceTypes

    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 getInstanceTypes(args: GetInstanceTypesArgs, opts?: InvokeOptions): Promise<GetInstanceTypesResult>
    function getInstanceTypesOutput(args: GetInstanceTypesOutputArgs, opts?: InvokeOptions): Output<GetInstanceTypesResult>
    def get_instance_types(availability_zone: Optional[str] = None,
                           cbs_filter: Optional[GetInstanceTypesCbsFilter] = None,
                           cpu_core_count: Optional[float] = None,
                           exclude_sold_out: Optional[bool] = None,
                           filters: Optional[Sequence[GetInstanceTypesFilter]] = None,
                           gpu_core_count: Optional[float] = None,
                           id: Optional[str] = None,
                           memory_size: Optional[float] = None,
                           result_output_file: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetInstanceTypesResult
    def get_instance_types_output(availability_zone: Optional[pulumi.Input[str]] = None,
                           cbs_filter: Optional[pulumi.Input[GetInstanceTypesCbsFilterArgs]] = None,
                           cpu_core_count: Optional[pulumi.Input[float]] = None,
                           exclude_sold_out: Optional[pulumi.Input[bool]] = None,
                           filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetInstanceTypesFilterArgs]]]] = None,
                           gpu_core_count: Optional[pulumi.Input[float]] = None,
                           id: Optional[pulumi.Input[str]] = None,
                           memory_size: Optional[pulumi.Input[float]] = None,
                           result_output_file: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetInstanceTypesResult]
    func GetInstanceTypes(ctx *Context, args *GetInstanceTypesArgs, opts ...InvokeOption) (*GetInstanceTypesResult, error)
    func GetInstanceTypesOutput(ctx *Context, args *GetInstanceTypesOutputArgs, opts ...InvokeOption) GetInstanceTypesResultOutput

    > Note: This function is named GetInstanceTypes in the Go SDK.

    public static class GetInstanceTypes 
    {
        public static Task<GetInstanceTypesResult> InvokeAsync(GetInstanceTypesArgs args, InvokeOptions? opts = null)
        public static Output<GetInstanceTypesResult> Invoke(GetInstanceTypesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetInstanceTypesResult> getInstanceTypes(GetInstanceTypesArgs args, InvokeOptions options)
    public static Output<GetInstanceTypesResult> getInstanceTypes(GetInstanceTypesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getInstanceTypes:getInstanceTypes
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AvailabilityZone string
    The available zone that the CVM instance locates at. This field is conflict with filter.
    CbsFilter GetInstanceTypesCbsFilter
    Cbs filter.
    CpuCoreCount double
    The number of CPU cores of the instance.
    ExcludeSoldOut bool
    Indicate to filter instances types that is sold out or not, default is false.
    Filters List<GetInstanceTypesFilter>
    One or more name/value pairs to filter. This field is conflict with availability_zone.
    GpuCoreCount double
    The number of GPU cores of the instance.
    Id string
    MemorySize double
    Instance memory capacity, unit in GB.
    ResultOutputFile string
    Used to save results.
    AvailabilityZone string
    The available zone that the CVM instance locates at. This field is conflict with filter.
    CbsFilter GetInstanceTypesCbsFilter
    Cbs filter.
    CpuCoreCount float64
    The number of CPU cores of the instance.
    ExcludeSoldOut bool
    Indicate to filter instances types that is sold out or not, default is false.
    Filters []GetInstanceTypesFilter
    One or more name/value pairs to filter. This field is conflict with availability_zone.
    GpuCoreCount float64
    The number of GPU cores of the instance.
    Id string
    MemorySize float64
    Instance memory capacity, unit in GB.
    ResultOutputFile string
    Used to save results.
    availabilityZone String
    The available zone that the CVM instance locates at. This field is conflict with filter.
    cbsFilter GetInstanceTypesCbsFilter
    Cbs filter.
    cpuCoreCount Double
    The number of CPU cores of the instance.
    excludeSoldOut Boolean
    Indicate to filter instances types that is sold out or not, default is false.
    filters List<GetInstanceTypesFilter>
    One or more name/value pairs to filter. This field is conflict with availability_zone.
    gpuCoreCount Double
    The number of GPU cores of the instance.
    id String
    memorySize Double
    Instance memory capacity, unit in GB.
    resultOutputFile String
    Used to save results.
    availabilityZone string
    The available zone that the CVM instance locates at. This field is conflict with filter.
    cbsFilter GetInstanceTypesCbsFilter
    Cbs filter.
    cpuCoreCount number
    The number of CPU cores of the instance.
    excludeSoldOut boolean
    Indicate to filter instances types that is sold out or not, default is false.
    filters GetInstanceTypesFilter[]
    One or more name/value pairs to filter. This field is conflict with availability_zone.
    gpuCoreCount number
    The number of GPU cores of the instance.
    id string
    memorySize number
    Instance memory capacity, unit in GB.
    resultOutputFile string
    Used to save results.
    availability_zone str
    The available zone that the CVM instance locates at. This field is conflict with filter.
    cbs_filter GetInstanceTypesCbsFilter
    Cbs filter.
    cpu_core_count float
    The number of CPU cores of the instance.
    exclude_sold_out bool
    Indicate to filter instances types that is sold out or not, default is false.
    filters Sequence[GetInstanceTypesFilter]
    One or more name/value pairs to filter. This field is conflict with availability_zone.
    gpu_core_count float
    The number of GPU cores of the instance.
    id str
    memory_size float
    Instance memory capacity, unit in GB.
    result_output_file str
    Used to save results.
    availabilityZone String
    The available zone that the CVM instance locates at. This field is conflict with filter.
    cbsFilter Property Map
    Cbs filter.
    cpuCoreCount Number
    The number of CPU cores of the instance.
    excludeSoldOut Boolean
    Indicate to filter instances types that is sold out or not, default is false.
    filters List<Property Map>
    One or more name/value pairs to filter. This field is conflict with availability_zone.
    gpuCoreCount Number
    The number of GPU cores of the instance.
    id String
    memorySize Number
    Instance memory capacity, unit in GB.
    resultOutputFile String
    Used to save results.

    getInstanceTypes Result

    The following output properties are available:

    Id string
    InstanceTypes List<GetInstanceTypesInstanceType>
    An information list of cvm instance. Each element contains the following attributes:
    AvailabilityZone string
    The available zone that the CVM instance locates at.
    CbsFilter GetInstanceTypesCbsFilter
    CpuCoreCount double
    The number of CPU cores of the instance.
    ExcludeSoldOut bool
    Filters List<GetInstanceTypesFilter>
    GpuCoreCount double
    The number of GPU cores of the instance.
    MemorySize double
    Instance memory capacity, unit in GB.
    ResultOutputFile string
    Id string
    InstanceTypes []GetInstanceTypesInstanceType
    An information list of cvm instance. Each element contains the following attributes:
    AvailabilityZone string
    The available zone that the CVM instance locates at.
    CbsFilter GetInstanceTypesCbsFilter
    CpuCoreCount float64
    The number of CPU cores of the instance.
    ExcludeSoldOut bool
    Filters []GetInstanceTypesFilter
    GpuCoreCount float64
    The number of GPU cores of the instance.
    MemorySize float64
    Instance memory capacity, unit in GB.
    ResultOutputFile string
    id String
    instanceTypes List<GetInstanceTypesInstanceType>
    An information list of cvm instance. Each element contains the following attributes:
    availabilityZone String
    The available zone that the CVM instance locates at.
    cbsFilter GetInstanceTypesCbsFilter
    cpuCoreCount Double
    The number of CPU cores of the instance.
    excludeSoldOut Boolean
    filters List<GetInstanceTypesFilter>
    gpuCoreCount Double
    The number of GPU cores of the instance.
    memorySize Double
    Instance memory capacity, unit in GB.
    resultOutputFile String
    id string
    instanceTypes GetInstanceTypesInstanceType[]
    An information list of cvm instance. Each element contains the following attributes:
    availabilityZone string
    The available zone that the CVM instance locates at.
    cbsFilter GetInstanceTypesCbsFilter
    cpuCoreCount number
    The number of CPU cores of the instance.
    excludeSoldOut boolean
    filters GetInstanceTypesFilter[]
    gpuCoreCount number
    The number of GPU cores of the instance.
    memorySize number
    Instance memory capacity, unit in GB.
    resultOutputFile string
    id str
    instance_types Sequence[GetInstanceTypesInstanceType]
    An information list of cvm instance. Each element contains the following attributes:
    availability_zone str
    The available zone that the CVM instance locates at.
    cbs_filter GetInstanceTypesCbsFilter
    cpu_core_count float
    The number of CPU cores of the instance.
    exclude_sold_out bool
    filters Sequence[GetInstanceTypesFilter]
    gpu_core_count float
    The number of GPU cores of the instance.
    memory_size float
    Instance memory capacity, unit in GB.
    result_output_file str
    id String
    instanceTypes List<Property Map>
    An information list of cvm instance. Each element contains the following attributes:
    availabilityZone String
    The available zone that the CVM instance locates at.
    cbsFilter Property Map
    cpuCoreCount Number
    The number of CPU cores of the instance.
    excludeSoldOut Boolean
    filters List<Property Map>
    gpuCoreCount Number
    The number of GPU cores of the instance.
    memorySize Number
    Instance memory capacity, unit in GB.
    resultOutputFile String

    Supporting Types

    GetInstanceTypesCbsFilter

    DiskChargeType string
    Payment model. Value range:

    • PREPAID: Prepaid;
    • POSTPAID_BY_HOUR: Post-payment.
    DiskTypes List<string>
    Hard disk media type. Value range:

    • CLOUD_BASIC: Represents ordinary Cloud Block Storage;
    • CLOUD_PREMIUM: Represents high-performance Cloud Block Storage;
    • CLOUD_SSD: Represents SSD Cloud Block Storage;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    DiskUsage string
    System disk or data disk. Value range:

    • SYSTEM_DISK: Represents the system disk;
    • DATA_DISK: Represents the data disk.
    DiskChargeType string
    Payment model. Value range:

    • PREPAID: Prepaid;
    • POSTPAID_BY_HOUR: Post-payment.
    DiskTypes []string
    Hard disk media type. Value range:

    • CLOUD_BASIC: Represents ordinary Cloud Block Storage;
    • CLOUD_PREMIUM: Represents high-performance Cloud Block Storage;
    • CLOUD_SSD: Represents SSD Cloud Block Storage;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    DiskUsage string
    System disk or data disk. Value range:

    • SYSTEM_DISK: Represents the system disk;
    • DATA_DISK: Represents the data disk.
    diskChargeType String
    Payment model. Value range:

    • PREPAID: Prepaid;
    • POSTPAID_BY_HOUR: Post-payment.
    diskTypes List<String>
    Hard disk media type. Value range:

    • CLOUD_BASIC: Represents ordinary Cloud Block Storage;
    • CLOUD_PREMIUM: Represents high-performance Cloud Block Storage;
    • CLOUD_SSD: Represents SSD Cloud Block Storage;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    diskUsage String
    System disk or data disk. Value range:

    • SYSTEM_DISK: Represents the system disk;
    • DATA_DISK: Represents the data disk.
    diskChargeType string
    Payment model. Value range:

    • PREPAID: Prepaid;
    • POSTPAID_BY_HOUR: Post-payment.
    diskTypes string[]
    Hard disk media type. Value range:

    • CLOUD_BASIC: Represents ordinary Cloud Block Storage;
    • CLOUD_PREMIUM: Represents high-performance Cloud Block Storage;
    • CLOUD_SSD: Represents SSD Cloud Block Storage;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    diskUsage string
    System disk or data disk. Value range:

    • SYSTEM_DISK: Represents the system disk;
    • DATA_DISK: Represents the data disk.
    disk_charge_type str
    Payment model. Value range:

    • PREPAID: Prepaid;
    • POSTPAID_BY_HOUR: Post-payment.
    disk_types Sequence[str]
    Hard disk media type. Value range:

    • CLOUD_BASIC: Represents ordinary Cloud Block Storage;
    • CLOUD_PREMIUM: Represents high-performance Cloud Block Storage;
    • CLOUD_SSD: Represents SSD Cloud Block Storage;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    disk_usage str
    System disk or data disk. Value range:

    • SYSTEM_DISK: Represents the system disk;
    • DATA_DISK: Represents the data disk.
    diskChargeType String
    Payment model. Value range:

    • PREPAID: Prepaid;
    • POSTPAID_BY_HOUR: Post-payment.
    diskTypes List<String>
    Hard disk media type. Value range:

    • CLOUD_BASIC: Represents ordinary Cloud Block Storage;
    • CLOUD_PREMIUM: Represents high-performance Cloud Block Storage;
    • CLOUD_SSD: Represents SSD Cloud Block Storage;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    diskUsage String
    System disk or data disk. Value range:

    • SYSTEM_DISK: Represents the system disk;
    • DATA_DISK: Represents the data disk.

    GetInstanceTypesFilter

    Name string
    The filter name. Valid values: zone, instance-family and instance-charge-type.
    Values List<string>
    The filter values.
    Name string
    The filter name. Valid values: zone, instance-family and instance-charge-type.
    Values []string
    The filter values.
    name String
    The filter name. Valid values: zone, instance-family and instance-charge-type.
    values List<String>
    The filter values.
    name string
    The filter name. Valid values: zone, instance-family and instance-charge-type.
    values string[]
    The filter values.
    name str
    The filter name. Valid values: zone, instance-family and instance-charge-type.
    values Sequence[str]
    The filter values.
    name String
    The filter name. Valid values: zone, instance-family and instance-charge-type.
    values List<String>
    The filter values.

    GetInstanceTypesInstanceType

    AvailabilityZone string
    The available zone that the CVM instance locates at. This field is conflict with filter.
    CbsConfigs List<GetInstanceTypesInstanceTypeCbsConfig>
    CBS config. The cbs_configs is populated when the cbs_filter is added.
    CpuCoreCount double
    The number of CPU cores of the instance.
    Family string
    Type series of the instance.
    GpuCoreCount double
    The number of GPU cores of the instance.
    InstanceChargeType string
    Charge type of the instance.
    InstanceType string
    Type of the instance.
    MemorySize double
    Instance memory capacity, unit in GB.
    Status string
    Sell status of the instance.
    AvailabilityZone string
    The available zone that the CVM instance locates at. This field is conflict with filter.
    CbsConfigs []GetInstanceTypesInstanceTypeCbsConfig
    CBS config. The cbs_configs is populated when the cbs_filter is added.
    CpuCoreCount float64
    The number of CPU cores of the instance.
    Family string
    Type series of the instance.
    GpuCoreCount float64
    The number of GPU cores of the instance.
    InstanceChargeType string
    Charge type of the instance.
    InstanceType string
    Type of the instance.
    MemorySize float64
    Instance memory capacity, unit in GB.
    Status string
    Sell status of the instance.
    availabilityZone String
    The available zone that the CVM instance locates at. This field is conflict with filter.
    cbsConfigs List<GetInstanceTypesInstanceTypeCbsConfig>
    CBS config. The cbs_configs is populated when the cbs_filter is added.
    cpuCoreCount Double
    The number of CPU cores of the instance.
    family String
    Type series of the instance.
    gpuCoreCount Double
    The number of GPU cores of the instance.
    instanceChargeType String
    Charge type of the instance.
    instanceType String
    Type of the instance.
    memorySize Double
    Instance memory capacity, unit in GB.
    status String
    Sell status of the instance.
    availabilityZone string
    The available zone that the CVM instance locates at. This field is conflict with filter.
    cbsConfigs GetInstanceTypesInstanceTypeCbsConfig[]
    CBS config. The cbs_configs is populated when the cbs_filter is added.
    cpuCoreCount number
    The number of CPU cores of the instance.
    family string
    Type series of the instance.
    gpuCoreCount number
    The number of GPU cores of the instance.
    instanceChargeType string
    Charge type of the instance.
    instanceType string
    Type of the instance.
    memorySize number
    Instance memory capacity, unit in GB.
    status string
    Sell status of the instance.
    availability_zone str
    The available zone that the CVM instance locates at. This field is conflict with filter.
    cbs_configs Sequence[GetInstanceTypesInstanceTypeCbsConfig]
    CBS config. The cbs_configs is populated when the cbs_filter is added.
    cpu_core_count float
    The number of CPU cores of the instance.
    family str
    Type series of the instance.
    gpu_core_count float
    The number of GPU cores of the instance.
    instance_charge_type str
    Charge type of the instance.
    instance_type str
    Type of the instance.
    memory_size float
    Instance memory capacity, unit in GB.
    status str
    Sell status of the instance.
    availabilityZone String
    The available zone that the CVM instance locates at. This field is conflict with filter.
    cbsConfigs List<Property Map>
    CBS config. The cbs_configs is populated when the cbs_filter is added.
    cpuCoreCount Number
    The number of CPU cores of the instance.
    family String
    Type series of the instance.
    gpuCoreCount Number
    The number of GPU cores of the instance.
    instanceChargeType String
    Charge type of the instance.
    instanceType String
    Type of the instance.
    memorySize Number
    Instance memory capacity, unit in GB.
    status String
    Sell status of the instance.

    GetInstanceTypesInstanceTypeCbsConfig

    Available bool
    Whether the configuration is available.
    DeviceClass string
    Device class.
    DiskChargeType string
    Payment model. Value range:

    • PREPAID: Prepaid;
    • POSTPAID_BY_HOUR: Post-payment.
    DiskType string
    Hard disk media type. Value range:

    • CLOUD_BASIC: Represents ordinary Cloud Block Storage;
    • CLOUD_PREMIUM: Represents high-performance Cloud Block Storage;
    • CLOUD_SSD: Represents SSD Cloud Block Storage;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    DiskUsage string
    Cloud disk type. Value range:

    • SYSTEM_DISK: Represents the system disk;
    • DATA_DISK: Represents the data disk.
    ExtraPerformanceRanges List<double>
    Extra performance range.
    InstanceFamily string
    Instance family.
    MaxDiskSize double
    The maximum configurable cloud disk size, in GB.
    MinDiskSize double
    The minimum configurable cloud disk size, in GB.
    StepSize double
    Minimum step size change in cloud disk size, in GB.
    Zone string
    The availability zone to which the Cloud Block Storage belongs.
    Available bool
    Whether the configuration is available.
    DeviceClass string
    Device class.
    DiskChargeType string
    Payment model. Value range:

    • PREPAID: Prepaid;
    • POSTPAID_BY_HOUR: Post-payment.
    DiskType string
    Hard disk media type. Value range:

    • CLOUD_BASIC: Represents ordinary Cloud Block Storage;
    • CLOUD_PREMIUM: Represents high-performance Cloud Block Storage;
    • CLOUD_SSD: Represents SSD Cloud Block Storage;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    DiskUsage string
    Cloud disk type. Value range:

    • SYSTEM_DISK: Represents the system disk;
    • DATA_DISK: Represents the data disk.
    ExtraPerformanceRanges []float64
    Extra performance range.
    InstanceFamily string
    Instance family.
    MaxDiskSize float64
    The maximum configurable cloud disk size, in GB.
    MinDiskSize float64
    The minimum configurable cloud disk size, in GB.
    StepSize float64
    Minimum step size change in cloud disk size, in GB.
    Zone string
    The availability zone to which the Cloud Block Storage belongs.
    available Boolean
    Whether the configuration is available.
    deviceClass String
    Device class.
    diskChargeType String
    Payment model. Value range:

    • PREPAID: Prepaid;
    • POSTPAID_BY_HOUR: Post-payment.
    diskType String
    Hard disk media type. Value range:

    • CLOUD_BASIC: Represents ordinary Cloud Block Storage;
    • CLOUD_PREMIUM: Represents high-performance Cloud Block Storage;
    • CLOUD_SSD: Represents SSD Cloud Block Storage;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    diskUsage String
    Cloud disk type. Value range:

    • SYSTEM_DISK: Represents the system disk;
    • DATA_DISK: Represents the data disk.
    extraPerformanceRanges List<Double>
    Extra performance range.
    instanceFamily String
    Instance family.
    maxDiskSize Double
    The maximum configurable cloud disk size, in GB.
    minDiskSize Double
    The minimum configurable cloud disk size, in GB.
    stepSize Double
    Minimum step size change in cloud disk size, in GB.
    zone String
    The availability zone to which the Cloud Block Storage belongs.
    available boolean
    Whether the configuration is available.
    deviceClass string
    Device class.
    diskChargeType string
    Payment model. Value range:

    • PREPAID: Prepaid;
    • POSTPAID_BY_HOUR: Post-payment.
    diskType string
    Hard disk media type. Value range:

    • CLOUD_BASIC: Represents ordinary Cloud Block Storage;
    • CLOUD_PREMIUM: Represents high-performance Cloud Block Storage;
    • CLOUD_SSD: Represents SSD Cloud Block Storage;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    diskUsage string
    Cloud disk type. Value range:

    • SYSTEM_DISK: Represents the system disk;
    • DATA_DISK: Represents the data disk.
    extraPerformanceRanges number[]
    Extra performance range.
    instanceFamily string
    Instance family.
    maxDiskSize number
    The maximum configurable cloud disk size, in GB.
    minDiskSize number
    The minimum configurable cloud disk size, in GB.
    stepSize number
    Minimum step size change in cloud disk size, in GB.
    zone string
    The availability zone to which the Cloud Block Storage belongs.
    available bool
    Whether the configuration is available.
    device_class str
    Device class.
    disk_charge_type str
    Payment model. Value range:

    • PREPAID: Prepaid;
    • POSTPAID_BY_HOUR: Post-payment.
    disk_type str
    Hard disk media type. Value range:

    • CLOUD_BASIC: Represents ordinary Cloud Block Storage;
    • CLOUD_PREMIUM: Represents high-performance Cloud Block Storage;
    • CLOUD_SSD: Represents SSD Cloud Block Storage;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    disk_usage str
    Cloud disk type. Value range:

    • SYSTEM_DISK: Represents the system disk;
    • DATA_DISK: Represents the data disk.
    extra_performance_ranges Sequence[float]
    Extra performance range.
    instance_family str
    Instance family.
    max_disk_size float
    The maximum configurable cloud disk size, in GB.
    min_disk_size float
    The minimum configurable cloud disk size, in GB.
    step_size float
    Minimum step size change in cloud disk size, in GB.
    zone str
    The availability zone to which the Cloud Block Storage belongs.
    available Boolean
    Whether the configuration is available.
    deviceClass String
    Device class.
    diskChargeType String
    Payment model. Value range:

    • PREPAID: Prepaid;
    • POSTPAID_BY_HOUR: Post-payment.
    diskType String
    Hard disk media type. Value range:

    • CLOUD_BASIC: Represents ordinary Cloud Block Storage;
    • CLOUD_PREMIUM: Represents high-performance Cloud Block Storage;
    • CLOUD_SSD: Represents SSD Cloud Block Storage;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    diskUsage String
    Cloud disk type. Value range:

    • SYSTEM_DISK: Represents the system disk;
    • DATA_DISK: Represents the data disk.
    extraPerformanceRanges List<Number>
    Extra performance range.
    instanceFamily String
    Instance family.
    maxDiskSize Number
    The maximum configurable cloud disk size, in GB.
    minDiskSize Number
    The minimum configurable cloud disk size, in GB.
    stepSize Number
    Minimum step size change in cloud disk size, in GB.
    zone String
    The availability zone to which the Cloud Block Storage belongs.

    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.185 published on Wednesday, Apr 23, 2025 by tencentcloudstack