Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
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.
- Image
Id string - The id of image.
- Output
File 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.
- Image
Id string - The id of image.
- Output
File 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.
- image
Id String - The id of image.
- output
File 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.
- image
Id string - The id of image.
- output
File 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.
- image
Id String - The id of image.
- output
File 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.
- Instance
Types List<GetInstance Types Instance Type> - The collection of query.
- Total
Count int - The total count of query.
- Ids List<string>
- Image
Id string - Output
File string
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Types []GetInstance Types Instance Type - The collection of query.
- Total
Count int - The total count of query.
- Ids []string
- Image
Id string - Output
File string
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Types List<GetInstance Types Instance Type> - The collection of query.
- total
Count Integer - The total count of query.
- ids List<String>
- image
Id String - output
File String
- id string
- The provider-assigned unique ID for this managed resource.
- instance
Types GetInstance Types Instance Type[] - The collection of query.
- total
Count number - The total count of query.
- ids string[]
- image
Id string - output
File 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.
- instance
Types List<Property Map> - The collection of query.
- total
Count Number - The total count of query.
- ids List<String>
- image
Id String - output
File String
Supporting Types
GetInstanceTypesInstanceType
- Baseline
Credit int - The CPU benchmark performance that can be provided steadily by on-demand instances is determined by the instance type.
- Gpus
List<Get
Instance 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 stringFamily - The instance type family.
- Instance
Type stringId - The id of the instance type.
- Local
Volumes List<GetInstance Types Instance Type Local Volume> - Local disk configuration information corresponding to instance specifications.
- Memories
List<Get
Instance Types Instance Type Memory> - Memory information of instance specifications.
- Networks
List<Get
Instance Types Instance Type Network> - Network information of instance specifications.
- Processors
List<Get
Instance Types Instance Type Processor> - CPU information of instance specifications.
- Rdmas
List<Get
Instance Types Instance Type Rdma> - RDMA Specification Information.
- Volumes
List<Get
Instance 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
[]Get
Instance 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 stringFamily - The instance type family.
- Instance
Type stringId - The id of the instance type.
- Local
Volumes []GetInstance Types Instance Type Local Volume - Local disk configuration information corresponding to instance specifications.
- Memories
[]Get
Instance Types Instance Type Memory - Memory information of instance specifications.
- Networks
[]Get
Instance Types Instance Type Network - Network information of instance specifications.
- Processors
[]Get
Instance Types Instance Type Processor - CPU information of instance specifications.
- Rdmas
[]Get
Instance Types Instance Type Rdma - RDMA Specification Information.
- Volumes
[]Get
Instance Types Instance Type Volume - Cloud disk information for instance specifications.
- baseline
Credit Integer - The CPU benchmark performance that can be provided steadily by on-demand instances is determined by the instance type.
- gpus
List<Get
Instance Types Instance Type Gpus> - The GPU device info of Instance.
- initial
Credit Integer - The CPU credits obtained at once when creating a on-demand performance instance are fixed at 30 credits per vCPU.
- instance
Type StringFamily - The instance type family.
- instance
Type StringId - The id of the instance type.
- local
Volumes List<GetInstance Types Instance Type Local Volume> - Local disk configuration information corresponding to instance specifications.
- memories
List<Get
Instance Types Instance Type Memory> - Memory information of instance specifications.
- networks
List<Get
Instance Types Instance Type Network> - Network information of instance specifications.
- processors
List<Get
Instance Types Instance Type Processor> - CPU information of instance specifications.
- rdmas
List<Get
Instance Types Instance Type Rdma> - RDMA Specification Information.
- volumes
List<Get
Instance Types Instance Type Volume> - Cloud disk information for instance specifications.
- baseline
Credit number - The CPU benchmark performance that can be provided steadily by on-demand instances is determined by the instance type.
- gpus
Get
Instance Types Instance Type Gpus[] - The GPU device info of Instance.
- initial
Credit number - The CPU credits obtained at once when creating a on-demand performance instance are fixed at 30 credits per vCPU.
- instance
Type stringFamily - The instance type family.
- instance
Type stringId - The id of the instance type.
- local
Volumes GetInstance Types Instance Type Local Volume[] - Local disk configuration information corresponding to instance specifications.
- memories
Get
Instance Types Instance Type Memory[] - Memory information of instance specifications.
- networks
Get
Instance Types Instance Type Network[] - Network information of instance specifications.
- processors
Get
Instance Types Instance Type Processor[] - CPU information of instance specifications.
- rdmas
Get
Instance Types Instance Type Rdma[] - RDMA Specification Information.
- volumes
Get
Instance 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[Get
Instance 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[Get
Instance Types Instance Type Memory] - Memory information of instance specifications.
- networks
Sequence[Get
Instance Types Instance Type Network] - Network information of instance specifications.
- processors
Sequence[Get
Instance Types Instance Type Processor] - CPU information of instance specifications.
- rdmas
Sequence[Get
Instance Types Instance Type Rdma] - RDMA Specification Information.
- volumes
Sequence[Get
Instance Types Instance Type Volume] - Cloud disk information for instance specifications.
- baseline
Credit 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.
- initial
Credit Number - The CPU credits obtained at once when creating a on-demand performance instance are fixed at 30 credits per vCPU.
- instance
Type StringFamily - The instance type family.
- instance
Type StringId - The id of the instance type.
- local
Volumes 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
- Gpu
Devices List<GetInstance Types Instance Type Gpus Gpu Device> - GPU device information list.
- Gpu
Devices []GetInstance Types Instance Type Gpus Gpu Device - GPU device information list.
- gpu
Devices List<GetInstance Types Instance Type Gpus Gpu Device> - GPU device information list.
- gpu
Devices 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.
- gpu
Devices List<Property Map> - GPU device information list.
GetInstanceTypesInstanceTypeGpusGpuDevice
- Count int
- The number of local disks mounted on the instance.
- Memories
List<Get
Instance Types Instance Type Gpus Gpu Device Memory> - Memory information of instance specifications.
- Product
Name string - The Product Name of GPU device.
- Count int
- The number of local disks mounted on the instance.
- Memories
[]Get
Instance Types Instance Type Gpus Gpu Device Memory - Memory information of instance specifications.
- Product
Name string - The Product Name of GPU device.
- count Integer
- The number of local disks mounted on the instance.
- memories
List<Get
Instance Types Instance Type Gpus Gpu Device Memory> - Memory information of instance specifications.
- product
Name String - The Product Name of GPU device.
- count number
- The number of local disks mounted on the instance.
- memories
Get
Instance Types Instance Type Gpus Gpu Device Memory[] - Memory information of instance specifications.
- product
Name string - The Product Name of GPU device.
- count int
- The number of local disks mounted on the instance.
- memories
Sequence[Get
Instance 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.
- product
Name String - The Product Name of GPU device.
GetInstanceTypesInstanceTypeGpusGpuDeviceMemory
- Encrypted
Size int - The Encrypted Memory Size of GPU device.
- Size int
- Memory size, unit: MiB.
- Encrypted
Size int - The Encrypted Memory Size of GPU device.
- Size int
- Memory size, unit: MiB.
- encrypted
Size Integer - The Encrypted Memory Size of GPU device.
- size Integer
- Memory size, unit: MiB.
- encrypted
Size 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.
- encrypted
Size 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.
- Volume
Type string - The type of volume.
- Count int
- The number of local disks mounted on the instance.
- Size int
- Memory size, unit: MiB.
- Volume
Type string - The type of volume.
- count Integer
- The number of local disks mounted on the instance.
- size Integer
- Memory size, unit: MiB.
- volume
Type String - The type of volume.
- count number
- The number of local disks mounted on the instance.
- size number
- Memory size, unit: MiB.
- volume
Type 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.
- volume
Type String - The type of volume.
GetInstanceTypesInstanceTypeMemory
- Encrypted
Size int - The Encrypted Memory Size of GPU device.
- Size int
- Memory size, unit: MiB.
- Encrypted
Size int - The Encrypted Memory Size of GPU device.
- Size int
- Memory size, unit: MiB.
- encrypted
Size Integer - The Encrypted Memory Size of GPU device.
- size Integer
- Memory size, unit: MiB.
- encrypted
Size 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.
- encrypted
Size Number - The Encrypted Memory Size of GPU device.
- size Number
- Memory size, unit: MiB.
GetInstanceTypesInstanceTypeNetwork
- 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 intIpv4Addresses 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.
- 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 intIpv4Addresses 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.
- baseline
Bandwidth IntegerMbps - Network benchmark bandwidth capacity (out/in), unit: Mbps.
- maximum
Bandwidth IntegerMbps - Peak network bandwidth capacity (out/in), unit: Mbps.
- maximum
Network IntegerInterfaces - Maximum number of elastic network interfaces supported for attachment.
- maximum
Private IntegerIpv4Addresses Per Network Interface - Maximum number of IPv4 addresses for a single elastic network interface.
- maximum
Queues 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.
- maximum
Throughput IntegerKpps - Network packet sending and receiving capacity (in+out), unit: Kpps.
- baseline
Bandwidth numberMbps - Network benchmark bandwidth capacity (out/in), unit: Mbps.
- maximum
Bandwidth numberMbps - Peak network bandwidth capacity (out/in), unit: Mbps.
- maximum
Network numberInterfaces - Maximum number of elastic network interfaces supported for attachment.
- maximum
Private numberIpv4Addresses Per Network Interface - Maximum number of IPv4 addresses for a single elastic network interface.
- maximum
Queues 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.
- maximum
Throughput 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.
- baseline
Bandwidth NumberMbps - Network benchmark bandwidth capacity (out/in), unit: Mbps.
- maximum
Bandwidth NumberMbps - Peak network bandwidth capacity (out/in), unit: Mbps.
- maximum
Network NumberInterfaces - Maximum number of elastic network interfaces supported for attachment.
- maximum
Private NumberIpv4Addresses Per Network Interface - Maximum number of IPv4 addresses for a single elastic network interface.
- maximum
Queues 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.
- maximum
Throughput NumberKpps - Network packet sending and receiving capacity (in+out), unit: Kpps.
GetInstanceTypesInstanceTypeProcessor
- Base
Frequency double - CPU clock speed, unit: GHz.
- Cpus int
- The number of ECS instance CPU cores.
- Model string
- CPU model.
- Turbo
Frequency double - CPU Turbo Boost, unit: GHz.
- Base
Frequency float64 - CPU clock speed, unit: GHz.
- Cpus int
- The number of ECS instance CPU cores.
- Model string
- CPU model.
- Turbo
Frequency float64 - CPU Turbo Boost, unit: GHz.
- base
Frequency Double - CPU clock speed, unit: GHz.
- cpus Integer
- The number of ECS instance CPU cores.
- model String
- CPU model.
- turbo
Frequency Double - CPU Turbo Boost, unit: GHz.
- base
Frequency number - CPU clock speed, unit: GHz.
- cpus number
- The number of ECS instance CPU cores.
- model string
- CPU model.
- turbo
Frequency 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.
- base
Frequency Number - CPU clock speed, unit: GHz.
- cpus Number
- The number of ECS instance CPU cores.
- model String
- CPU model.
- turbo
Frequency Number - CPU Turbo Boost, unit: GHz.
GetInstanceTypesInstanceTypeRdma
- Rdma
Network intInterfaces - Number of RDMA network cards.
- Rdma
Network intInterfaces - Number of RDMA network cards.
- rdma
Network IntegerInterfaces - Number of RDMA network cards.
- rdma
Network numberInterfaces - Number of RDMA network cards.
- rdma_
network_ intinterfaces - Number of RDMA network cards.
- rdma
Network NumberInterfaces - Number of RDMA network cards.
GetInstanceTypesInstanceTypeVolume
- Maximum
Count int - The maximum number of volumes.
- Supported
Volume List<string>Types - List of supported volume types.
- Maximum
Count int - The maximum number of volumes.
- Supported
Volume []stringTypes - List of supported volume types.
- maximum
Count Integer - The maximum number of volumes.
- supported
Volume List<String>Types - List of supported volume types.
- maximum
Count number - The maximum number of volumes.
- supported
Volume 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.
- maximum
Count Number - The maximum number of volumes.
- supported
Volume 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.
Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
