Volcengine v0.0.37 published on Wednesday, Oct 22, 2025 by Volcengine
volcengine.ecs.getInstanceTypes
Use this data source to query detailed information of ecs instance types
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const foo = volcengine.ecs.getInstanceTypes({});
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.ecs.get_instance_types()
package main
import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ecs.GetInstanceTypes(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() => 
{
    var foo = Volcengine.Ecs.GetInstanceTypes.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.ecs.EcsFunctions;
import com.pulumi.volcengine.ecs.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 foo = EcsFunctions.getInstanceTypes();
    }
}
variables:
  foo:
    fn::invoke:
      Function: volcengine:ecs:getInstanceTypes
      Arguments: {}
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(ids: Optional[Sequence[str]] = None,
                       image_id: Optional[str] = None,
                       output_file: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetInstanceTypesResult
def get_instance_types_output(ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                       image_id: Optional[pulumi.Input[str]] = None,
                       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: volcengine:ecs/getInstanceTypes:getInstanceTypes
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Ids List<string>
- A list of instance type IDs. When the number of ids is greater than 10, only the first 10 are effective.
- ImageId string
- The id of image.
- OutputFile string
- File name where to save data source results.
- Ids []string
- A list of instance type IDs. When the number of ids is greater than 10, only the first 10 are effective.
- ImageId string
- The id of image.
- OutputFile string
- File name where to save data source results.
- ids List<String>
- A list of instance type IDs. When the number of ids is greater than 10, only the first 10 are effective.
- imageId String
- The id of image.
- outputFile String
- File name where to save data source results.
- ids string[]
- A list of instance type IDs. When the number of ids is greater than 10, only the first 10 are effective.
- imageId string
- The id of image.
- outputFile string
- File name where to save data source results.
- ids Sequence[str]
- A list of instance type IDs. When the number of ids is greater than 10, only the first 10 are effective.
- image_id str
- The id of image.
- output_file str
- File name where to save data source results.
- ids List<String>
- A list of instance type IDs. When the number of ids is greater than 10, only the first 10 are effective.
- imageId String
- The id of image.
- outputFile String
- File name where to save data source results.
getInstanceTypes Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- InstanceTypes List<GetInstance Types Instance Type> 
- The collection of query.
- TotalCount int
- The total count of query.
- Ids List<string>
- ImageId string
- OutputFile string
- Id string
- The provider-assigned unique ID for this managed resource.
- InstanceTypes []GetInstance Types Instance Type 
- The collection of query.
- TotalCount int
- The total count of query.
- Ids []string
- ImageId string
- OutputFile string
- id String
- The provider-assigned unique ID for this managed resource.
- instanceTypes List<GetInstance Types Instance Type> 
- The collection of query.
- totalCount Integer
- The total count of query.
- ids List<String>
- imageId String
- outputFile String
- id string
- The provider-assigned unique ID for this managed resource.
- instanceTypes GetInstance Types Instance Type[] 
- The collection of query.
- totalCount number
- The total count of query.
- ids string[]
- imageId string
- outputFile string
- id str
- The provider-assigned unique ID for this managed resource.
- instance_types Sequence[GetInstance Types Instance Type] 
- The collection of query.
- total_count int
- The total count of query.
- ids Sequence[str]
- image_id str
- output_file str
- id String
- The provider-assigned unique ID for this managed resource.
- instanceTypes List<Property Map>
- The collection of query.
- totalCount Number
- The total count of query.
- ids List<String>
- imageId String
- outputFile String
Supporting Types
GetInstanceTypesInstanceType    
- BaselineCredit int
- The CPU benchmark performance that can be provided steadily by on-demand instances is determined by the instance type.
- Gpus
List<GetInstance Types Instance Type Gpus> 
- The GPU device info of Instance.
- InitialCredit int
- The CPU credits obtained at once when creating a on-demand performance instance are fixed at 30 credits per vCPU.
- InstanceType stringFamily 
- The instance type family.
- InstanceType stringId 
- The id of the instance type.
- LocalVolumes List<GetInstance Types Instance Type Local Volume> 
- Local disk configuration information corresponding to instance specifications.
- Memories
List<GetInstance Types Instance Type Memory> 
- Memory information of instance specifications.
- Networks
List<GetInstance Types Instance Type Network> 
- Network information of instance specifications.
- Processors
List<GetInstance Types Instance Type Processor> 
- CPU information of instance specifications.
- Rdmas
List<GetInstance Types Instance Type Rdma> 
- RDMA Specification Information.
- Volumes
List<GetInstance Types Instance Type Volume> 
- Cloud disk information for instance specifications.
- BaselineCredit int
- The CPU benchmark performance that can be provided steadily by on-demand instances is determined by the instance type.
- Gpus
[]GetInstance Types Instance Type Gpus 
- The GPU device info of Instance.
- InitialCredit int
- The CPU credits obtained at once when creating a on-demand performance instance are fixed at 30 credits per vCPU.
- InstanceType stringFamily 
- The instance type family.
- InstanceType stringId 
- The id of the instance type.
- LocalVolumes []GetInstance Types Instance Type Local Volume 
- Local disk configuration information corresponding to instance specifications.
- Memories
[]GetInstance Types Instance Type Memory 
- Memory information of instance specifications.
- Networks
[]GetInstance Types Instance Type Network 
- Network information of instance specifications.
- Processors
[]GetInstance Types Instance Type Processor 
- CPU information of instance specifications.
- Rdmas
[]GetInstance Types Instance Type Rdma 
- RDMA Specification Information.
- Volumes
[]GetInstance Types Instance Type Volume 
- Cloud disk information for instance specifications.
- baselineCredit Integer
- The CPU benchmark performance that can be provided steadily by on-demand instances is determined by the instance type.
- gpus
List<GetInstance Types Instance Type Gpus> 
- The GPU device info of Instance.
- initialCredit Integer
- The CPU credits obtained at once when creating a on-demand performance instance are fixed at 30 credits per vCPU.
- instanceType StringFamily 
- The instance type family.
- instanceType StringId 
- The id of the instance type.
- localVolumes List<GetInstance Types Instance Type Local Volume> 
- Local disk configuration information corresponding to instance specifications.
- memories
List<GetInstance Types Instance Type Memory> 
- Memory information of instance specifications.
- networks
List<GetInstance Types Instance Type Network> 
- Network information of instance specifications.
- processors
List<GetInstance Types Instance Type Processor> 
- CPU information of instance specifications.
- rdmas
List<GetInstance Types Instance Type Rdma> 
- RDMA Specification Information.
- volumes
List<GetInstance Types Instance Type Volume> 
- Cloud disk information for instance specifications.
- baselineCredit number
- The CPU benchmark performance that can be provided steadily by on-demand instances is determined by the instance type.
- gpus
GetInstance Types Instance Type Gpus[] 
- The GPU device info of Instance.
- initialCredit number
- The CPU credits obtained at once when creating a on-demand performance instance are fixed at 30 credits per vCPU.
- instanceType stringFamily 
- The instance type family.
- instanceType stringId 
- The id of the instance type.
- localVolumes GetInstance Types Instance Type Local Volume[] 
- Local disk configuration information corresponding to instance specifications.
- memories
GetInstance Types Instance Type Memory[] 
- Memory information of instance specifications.
- networks
GetInstance Types Instance Type Network[] 
- Network information of instance specifications.
- processors
GetInstance Types Instance Type Processor[] 
- CPU information of instance specifications.
- rdmas
GetInstance Types Instance Type Rdma[] 
- RDMA Specification Information.
- volumes
GetInstance Types Instance Type Volume[] 
- Cloud disk information for instance specifications.
- baseline_credit int
- The CPU benchmark performance that can be provided steadily by on-demand instances is determined by the instance type.
- gpus
Sequence[GetInstance Types Instance Type Gpus] 
- The GPU device info of Instance.
- initial_credit int
- The CPU credits obtained at once when creating a on-demand performance instance are fixed at 30 credits per vCPU.
- instance_type_ strfamily 
- The instance type family.
- instance_type_ strid 
- The id of the instance type.
- local_volumes Sequence[GetInstance Types Instance Type Local Volume] 
- Local disk configuration information corresponding to instance specifications.
- memories
Sequence[GetInstance Types Instance Type Memory] 
- Memory information of instance specifications.
- networks
Sequence[GetInstance Types Instance Type Network] 
- Network information of instance specifications.
- processors
Sequence[GetInstance Types Instance Type Processor] 
- CPU information of instance specifications.
- rdmas
Sequence[GetInstance Types Instance Type Rdma] 
- RDMA Specification Information.
- volumes
Sequence[GetInstance Types Instance Type Volume] 
- Cloud disk information for instance specifications.
- baselineCredit Number
- The CPU benchmark performance that can be provided steadily by on-demand instances is determined by the instance type.
- gpus List<Property Map>
- The GPU device info of Instance.
- initialCredit Number
- The CPU credits obtained at once when creating a on-demand performance instance are fixed at 30 credits per vCPU.
- instanceType StringFamily 
- The instance type family.
- instanceType StringId 
- The id of the instance type.
- localVolumes List<Property Map>
- Local disk configuration information corresponding to instance specifications.
- memories List<Property Map>
- Memory information of instance specifications.
- networks List<Property Map>
- Network information of instance specifications.
- processors List<Property Map>
- CPU information of instance specifications.
- rdmas List<Property Map>
- RDMA Specification Information.
- volumes List<Property Map>
- Cloud disk information for instance specifications.
GetInstanceTypesInstanceTypeGpus     
- GpuDevices List<GetInstance Types Instance Type Gpus Gpu Device> 
- GPU device information list.
- GpuDevices []GetInstance Types Instance Type Gpus Gpu Device 
- GPU device information list.
- gpuDevices List<GetInstance Types Instance Type Gpus Gpu Device> 
- GPU device information list.
- gpuDevices GetInstance Types Instance Type Gpus Gpu Device[] 
- GPU device information list.
- gpu_devices Sequence[GetInstance Types Instance Type Gpus Gpu Device] 
- GPU device information list.
- gpuDevices List<Property Map>
- GPU device information list.
GetInstanceTypesInstanceTypeGpusGpuDevice       
- Count int
- The number of local disks mounted on the instance.
- Memories
List<GetInstance Types Instance Type Gpus Gpu Device Memory> 
- Memory information of instance specifications.
- ProductName string
- The Product Name of GPU device.
- Count int
- The number of local disks mounted on the instance.
- Memories
[]GetInstance Types Instance Type Gpus Gpu Device Memory 
- Memory information of instance specifications.
- ProductName string
- The Product Name of GPU device.
- count Integer
- The number of local disks mounted on the instance.
- memories
List<GetInstance Types Instance Type Gpus Gpu Device Memory> 
- Memory information of instance specifications.
- productName String
- The Product Name of GPU device.
- count number
- The number of local disks mounted on the instance.
- memories
GetInstance Types Instance Type Gpus Gpu Device Memory[] 
- Memory information of instance specifications.
- productName string
- The Product Name of GPU device.
- count int
- The number of local disks mounted on the instance.
- memories
Sequence[GetInstance Types Instance Type Gpus Gpu Device Memory] 
- Memory information of instance specifications.
- product_name str
- The Product Name of GPU device.
- count Number
- The number of local disks mounted on the instance.
- memories List<Property Map>
- Memory information of instance specifications.
- productName String
- The Product Name of GPU device.
GetInstanceTypesInstanceTypeGpusGpuDeviceMemory        
- EncryptedSize int
- The Encrypted Memory Size of GPU device.
- Size int
- Memory size, unit: MiB.
- EncryptedSize int
- The Encrypted Memory Size of GPU device.
- Size int
- Memory size, unit: MiB.
- encryptedSize Integer
- The Encrypted Memory Size of GPU device.
- size Integer
- Memory size, unit: MiB.
- encryptedSize number
- The Encrypted Memory Size of GPU device.
- size number
- Memory size, unit: MiB.
- encrypted_size int
- The Encrypted Memory Size of GPU device.
- size int
- Memory size, unit: MiB.
- encryptedSize Number
- The Encrypted Memory Size of GPU device.
- size Number
- Memory size, unit: MiB.
GetInstanceTypesInstanceTypeLocalVolume      
- Count int
- The number of local disks mounted on the instance.
- Size int
- Memory size, unit: MiB.
- VolumeType string
- The type of volume.
- Count int
- The number of local disks mounted on the instance.
- Size int
- Memory size, unit: MiB.
- VolumeType string
- The type of volume.
- count Integer
- The number of local disks mounted on the instance.
- size Integer
- Memory size, unit: MiB.
- volumeType String
- The type of volume.
- count number
- The number of local disks mounted on the instance.
- size number
- Memory size, unit: MiB.
- volumeType string
- The type of volume.
- count int
- The number of local disks mounted on the instance.
- size int
- Memory size, unit: MiB.
- volume_type str
- The type of volume.
- count Number
- The number of local disks mounted on the instance.
- size Number
- Memory size, unit: MiB.
- volumeType String
- The type of volume.
GetInstanceTypesInstanceTypeMemory     
- EncryptedSize int
- The Encrypted Memory Size of GPU device.
- Size int
- Memory size, unit: MiB.
- EncryptedSize int
- The Encrypted Memory Size of GPU device.
- Size int
- Memory size, unit: MiB.
- encryptedSize Integer
- The Encrypted Memory Size of GPU device.
- size Integer
- Memory size, unit: MiB.
- encryptedSize number
- The Encrypted Memory Size of GPU device.
- size number
- Memory size, unit: MiB.
- encrypted_size int
- The Encrypted Memory Size of GPU device.
- size int
- Memory size, unit: MiB.
- encryptedSize Number
- The Encrypted Memory Size of GPU device.
- size Number
- Memory size, unit: MiB.
GetInstanceTypesInstanceTypeNetwork     
- BaselineBandwidth intMbps 
- Network benchmark bandwidth capacity (out/in), unit: Mbps.
- MaximumBandwidth intMbps 
- Peak network bandwidth capacity (out/in), unit: Mbps.
- MaximumNetwork intInterfaces 
- Maximum number of elastic network interfaces supported for attachment.
- MaximumPrivate intIpv4Addresses Per Network Interface 
- Maximum number of IPv4 addresses for a single elastic network interface.
- MaximumQueues intPer Network Interface 
- Maximum queue number for a single elastic network interface, including the queue number supported by the primary network interface and the auxiliary network interface.
- MaximumThroughput intKpps 
- Network packet sending and receiving capacity (in+out), unit: Kpps.
- BaselineBandwidth intMbps 
- Network benchmark bandwidth capacity (out/in), unit: Mbps.
- MaximumBandwidth intMbps 
- Peak network bandwidth capacity (out/in), unit: Mbps.
- MaximumNetwork intInterfaces 
- Maximum number of elastic network interfaces supported for attachment.
- MaximumPrivate intIpv4Addresses Per Network Interface 
- Maximum number of IPv4 addresses for a single elastic network interface.
- MaximumQueues intPer Network Interface 
- Maximum queue number for a single elastic network interface, including the queue number supported by the primary network interface and the auxiliary network interface.
- MaximumThroughput intKpps 
- Network packet sending and receiving capacity (in+out), unit: Kpps.
- baselineBandwidth IntegerMbps 
- Network benchmark bandwidth capacity (out/in), unit: Mbps.
- maximumBandwidth IntegerMbps 
- Peak network bandwidth capacity (out/in), unit: Mbps.
- maximumNetwork IntegerInterfaces 
- Maximum number of elastic network interfaces supported for attachment.
- maximumPrivate IntegerIpv4Addresses Per Network Interface 
- Maximum number of IPv4 addresses for a single elastic network interface.
- maximumQueues IntegerPer Network Interface 
- Maximum queue number for a single elastic network interface, including the queue number supported by the primary network interface and the auxiliary network interface.
- maximumThroughput IntegerKpps 
- Network packet sending and receiving capacity (in+out), unit: Kpps.
- baselineBandwidth numberMbps 
- Network benchmark bandwidth capacity (out/in), unit: Mbps.
- maximumBandwidth numberMbps 
- Peak network bandwidth capacity (out/in), unit: Mbps.
- maximumNetwork numberInterfaces 
- Maximum number of elastic network interfaces supported for attachment.
- maximumPrivate numberIpv4Addresses Per Network Interface 
- Maximum number of IPv4 addresses for a single elastic network interface.
- maximumQueues numberPer Network Interface 
- Maximum queue number for a single elastic network interface, including the queue number supported by the primary network interface and the auxiliary network interface.
- maximumThroughput numberKpps 
- Network packet sending and receiving capacity (in+out), unit: Kpps.
- baseline_bandwidth_ intmbps 
- Network benchmark bandwidth capacity (out/in), unit: Mbps.
- maximum_bandwidth_ intmbps 
- Peak network bandwidth capacity (out/in), unit: Mbps.
- maximum_network_ intinterfaces 
- Maximum number of elastic network interfaces supported for attachment.
- maximum_private_ intipv4_ addresses_ per_ network_ interface 
- Maximum number of IPv4 addresses for a single elastic network interface.
- maximum_queues_ intper_ network_ interface 
- Maximum queue number for a single elastic network interface, including the queue number supported by the primary network interface and the auxiliary network interface.
- maximum_throughput_ intkpps 
- Network packet sending and receiving capacity (in+out), unit: Kpps.
- baselineBandwidth NumberMbps 
- Network benchmark bandwidth capacity (out/in), unit: Mbps.
- maximumBandwidth NumberMbps 
- Peak network bandwidth capacity (out/in), unit: Mbps.
- maximumNetwork NumberInterfaces 
- Maximum number of elastic network interfaces supported for attachment.
- maximumPrivate NumberIpv4Addresses Per Network Interface 
- Maximum number of IPv4 addresses for a single elastic network interface.
- maximumQueues NumberPer Network Interface 
- Maximum queue number for a single elastic network interface, including the queue number supported by the primary network interface and the auxiliary network interface.
- maximumThroughput NumberKpps 
- Network packet sending and receiving capacity (in+out), unit: Kpps.
GetInstanceTypesInstanceTypeProcessor     
- BaseFrequency double
- CPU clock speed, unit: GHz.
- Cpus int
- The number of ECS instance CPU cores.
- Model string
- CPU model.
- TurboFrequency double
- CPU Turbo Boost, unit: GHz.
- BaseFrequency float64
- CPU clock speed, unit: GHz.
- Cpus int
- The number of ECS instance CPU cores.
- Model string
- CPU model.
- TurboFrequency float64
- CPU Turbo Boost, unit: GHz.
- baseFrequency Double
- CPU clock speed, unit: GHz.
- cpus Integer
- The number of ECS instance CPU cores.
- model String
- CPU model.
- turboFrequency Double
- CPU Turbo Boost, unit: GHz.
- baseFrequency number
- CPU clock speed, unit: GHz.
- cpus number
- The number of ECS instance CPU cores.
- model string
- CPU model.
- turboFrequency number
- CPU Turbo Boost, unit: GHz.
- base_frequency float
- CPU clock speed, unit: GHz.
- cpus int
- The number of ECS instance CPU cores.
- model str
- CPU model.
- turbo_frequency float
- CPU Turbo Boost, unit: GHz.
- baseFrequency Number
- CPU clock speed, unit: GHz.
- cpus Number
- The number of ECS instance CPU cores.
- model String
- CPU model.
- turboFrequency Number
- CPU Turbo Boost, unit: GHz.
GetInstanceTypesInstanceTypeRdma     
- RdmaNetwork intInterfaces 
- Number of RDMA network cards.
- RdmaNetwork intInterfaces 
- Number of RDMA network cards.
- rdmaNetwork IntegerInterfaces 
- Number of RDMA network cards.
- rdmaNetwork numberInterfaces 
- Number of RDMA network cards.
- rdma_network_ intinterfaces 
- Number of RDMA network cards.
- rdmaNetwork NumberInterfaces 
- Number of RDMA network cards.
GetInstanceTypesInstanceTypeVolume     
- MaximumCount int
- The maximum number of volumes.
- SupportedVolume List<string>Types 
- List of supported volume types.
- MaximumCount int
- The maximum number of volumes.
- SupportedVolume []stringTypes 
- List of supported volume types.
- maximumCount Integer
- The maximum number of volumes.
- supportedVolume List<String>Types 
- List of supported volume types.
- maximumCount number
- The maximum number of volumes.
- supportedVolume string[]Types 
- List of supported volume types.
- maximum_count int
- The maximum number of volumes.
- supported_volume_ Sequence[str]types 
- List of supported volume types.
- maximumCount Number
- The maximum number of volumes.
- supportedVolume List<String>Types 
- List of supported volume types.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the volcengineTerraform Provider.
