Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine
volcengine.ecs.InstanceTypes
Explore with Pulumi AI
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.InstanceTypes({});
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.ecs.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.InstanceTypes(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.InstanceTypes.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.InstanceTypesArgs;
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.InstanceTypes();
    }
}
variables:
  foo:
    fn::invoke:
      Function: volcengine:ecs:InstanceTypes
      Arguments: {}
Using InstanceTypes
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 instanceTypes(args: InstanceTypesArgs, opts?: InvokeOptions): Promise<InstanceTypesResult>
function instanceTypesOutput(args: InstanceTypesOutputArgs, opts?: InvokeOptions): Output<InstanceTypesResult>def instance_types(ids: Optional[Sequence[str]] = None,
                   image_id: Optional[str] = None,
                   output_file: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> InstanceTypesResult
def 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[InstanceTypesResult]func InstanceTypes(ctx *Context, args *InstanceTypesArgs, opts ...InvokeOption) (*InstanceTypesResult, error)
func InstanceTypesOutput(ctx *Context, args *InstanceTypesOutputArgs, opts ...InvokeOption) InstanceTypesResultOutputpublic static class InstanceTypes 
{
    public static Task<InstanceTypesResult> InvokeAsync(InstanceTypesArgs args, InvokeOptions? opts = null)
    public static Output<InstanceTypesResult> Invoke(InstanceTypesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<InstanceTypesResult> instanceTypes(InstanceTypesArgs args, InvokeOptions options)
public static Output<InstanceTypesResult> instanceTypes(InstanceTypesArgs args, InvokeOptions options)
fn::invoke:
  function: volcengine:ecs:InstanceTypes
  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.
InstanceTypes Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- InstanceTypes List<InstanceTypes 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 []InstanceTypes 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<InstanceTypes 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 InstanceTypes 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[InstanceTypes 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
InstanceTypesInstanceType   
- BaselineCredit int
- The CPU benchmark performance that can be provided steadily by on-demand instances is determined by the instance type.
- Gpus
List<InstanceTypes 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<InstanceTypes Instance Type Local Volume> 
- Local disk configuration information corresponding to instance specifications.
- Memories
List<InstanceTypes Instance Type Memory> 
- Memory information of instance specifications.
- Networks
List<InstanceTypes Instance Type Network> 
- Network information of instance specifications.
- Processors
List<InstanceTypes Instance Type Processor> 
- CPU information of instance specifications.
- Rdmas
List<InstanceTypes Instance Type Rdma> 
- RDMA Specification Information.
- Volumes
List<InstanceTypes 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
[]InstanceTypes 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 []InstanceTypes Instance Type Local Volume 
- Local disk configuration information corresponding to instance specifications.
- Memories
[]InstanceTypes Instance Type Memory 
- Memory information of instance specifications.
- Networks
[]InstanceTypes Instance Type Network 
- Network information of instance specifications.
- Processors
[]InstanceTypes Instance Type Processor 
- CPU information of instance specifications.
- Rdmas
[]InstanceTypes Instance Type Rdma 
- RDMA Specification Information.
- Volumes
[]InstanceTypes 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<InstanceTypes 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<InstanceTypes Instance Type Local Volume> 
- Local disk configuration information corresponding to instance specifications.
- memories
List<InstanceTypes Instance Type Memory> 
- Memory information of instance specifications.
- networks
List<InstanceTypes Instance Type Network> 
- Network information of instance specifications.
- processors
List<InstanceTypes Instance Type Processor> 
- CPU information of instance specifications.
- rdmas
List<InstanceTypes Instance Type Rdma> 
- RDMA Specification Information.
- volumes
List<InstanceTypes 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
InstanceTypes 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 InstanceTypes Instance Type Local Volume[] 
- Local disk configuration information corresponding to instance specifications.
- memories
InstanceTypes Instance Type Memory[] 
- Memory information of instance specifications.
- networks
InstanceTypes Instance Type Network[] 
- Network information of instance specifications.
- processors
InstanceTypes Instance Type Processor[] 
- CPU information of instance specifications.
- rdmas
InstanceTypes Instance Type Rdma[] 
- RDMA Specification Information.
- volumes
InstanceTypes 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[InstanceTypes 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[InstanceTypes Instance Type Local Volume] 
- Local disk configuration information corresponding to instance specifications.
- memories
Sequence[InstanceTypes Instance Type Memory] 
- Memory information of instance specifications.
- networks
Sequence[InstanceTypes Instance Type Network] 
- Network information of instance specifications.
- processors
Sequence[InstanceTypes Instance Type Processor] 
- CPU information of instance specifications.
- rdmas
Sequence[InstanceTypes Instance Type Rdma] 
- RDMA Specification Information.
- volumes
Sequence[InstanceTypes 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.
InstanceTypesInstanceTypeGpus    
- GpuDevices List<InstanceTypes Instance Type Gpus Gpu Device> 
- GPU device information list.
- GpuDevices []InstanceTypes Instance Type Gpus Gpu Device 
- GPU device information list.
- gpuDevices List<InstanceTypes Instance Type Gpus Gpu Device> 
- GPU device information list.
- gpuDevices InstanceTypes Instance Type Gpus Gpu Device[] 
- GPU device information list.
- gpu_devices Sequence[InstanceTypes Instance Type Gpus Gpu Device] 
- GPU device information list.
- gpuDevices List<Property Map>
- GPU device information list.
InstanceTypesInstanceTypeGpusGpuDevice      
- Count int
- The number of local disks mounted on the instance.
- Memories
List<InstanceTypes 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
[]InstanceTypes 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<InstanceTypes 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
InstanceTypes 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[InstanceTypes 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.
InstanceTypesInstanceTypeGpusGpuDeviceMemory       
- 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.
InstanceTypesInstanceTypeLocalVolume     
- 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.
InstanceTypesInstanceTypeMemory    
- 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.
InstanceTypesInstanceTypeNetwork    
- 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.
InstanceTypesInstanceTypeProcessor    
- 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.
InstanceTypesInstanceTypeRdma    
- 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.
InstanceTypesInstanceTypeVolume    
- 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.