1. Packages
  2. Volcengine
  3. API Docs
  4. ecs
  5. InstanceTypes
Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine

volcengine.ecs.InstanceTypes

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine

    Use this data source to query detailed information of ecs instance types

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = Volcengine.Ecs.InstanceTypes.Invoke();
    
    });
    
    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
    	})
    }
    
    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();
    
        }
    }
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    foo = volcengine.ecs.instance_types()
    
    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const foo = volcengine.ecs.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,
                       output_file: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> InstanceTypesResult
    def instance_types_output(ids: Optional[pulumi.Input[Sequence[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) InstanceTypesResultOutput
    public 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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: volcengine:ecs:InstanceTypes
      arguments:
        # arguments dictionary

    The 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.
    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.
    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.
    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.
    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.
    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.
    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<InstanceTypesInstanceType>
    The collection of query.
    TotalCount int
    The total count of query.
    Ids List<string>
    OutputFile string
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceTypes []InstanceTypesInstanceType
    The collection of query.
    TotalCount int
    The total count of query.
    Ids []string
    OutputFile string
    id String
    The provider-assigned unique ID for this managed resource.
    instanceTypes List<InstanceTypesInstanceType>
    The collection of query.
    totalCount Integer
    The total count of query.
    ids List<String>
    outputFile String
    id string
    The provider-assigned unique ID for this managed resource.
    instanceTypes InstanceTypesInstanceType[]
    The collection of query.
    totalCount number
    The total count of query.
    ids string[]
    outputFile string
    id str
    The provider-assigned unique ID for this managed resource.
    instance_types Sequence[InstanceTypesInstanceType]
    The collection of query.
    total_count int
    The total count of query.
    ids Sequence[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>
    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<InstanceTypesInstanceTypeGpus>
    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.
    InstanceTypeFamily string
    The instance type family.
    InstanceTypeId string
    The id of the instance type.
    LocalVolumes List<InstanceTypesInstanceTypeLocalVolume>
    Local disk configuration information corresponding to instance specifications.
    Memories List<InstanceTypesInstanceTypeMemory>
    Memory information of instance specifications.
    Networks List<InstanceTypesInstanceTypeNetwork>
    Network information of instance specifications.
    Processors List<InstanceTypesInstanceTypeProcessor>
    CPU information of instance specifications.
    Rdmas List<InstanceTypesInstanceTypeRdma>
    RDMA Specification Information.
    Volumes List<InstanceTypesInstanceTypeVolume>
    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 []InstanceTypesInstanceTypeGpus
    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.
    InstanceTypeFamily string
    The instance type family.
    InstanceTypeId string
    The id of the instance type.
    LocalVolumes []InstanceTypesInstanceTypeLocalVolume
    Local disk configuration information corresponding to instance specifications.
    Memories []InstanceTypesInstanceTypeMemory
    Memory information of instance specifications.
    Networks []InstanceTypesInstanceTypeNetwork
    Network information of instance specifications.
    Processors []InstanceTypesInstanceTypeProcessor
    CPU information of instance specifications.
    Rdmas []InstanceTypesInstanceTypeRdma
    RDMA Specification Information.
    Volumes []InstanceTypesInstanceTypeVolume
    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<InstanceTypesInstanceTypeGpus>
    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.
    instanceTypeFamily String
    The instance type family.
    instanceTypeId String
    The id of the instance type.
    localVolumes List<InstanceTypesInstanceTypeLocalVolume>
    Local disk configuration information corresponding to instance specifications.
    memories List<InstanceTypesInstanceTypeMemory>
    Memory information of instance specifications.
    networks List<InstanceTypesInstanceTypeNetwork>
    Network information of instance specifications.
    processors List<InstanceTypesInstanceTypeProcessor>
    CPU information of instance specifications.
    rdmas List<InstanceTypesInstanceTypeRdma>
    RDMA Specification Information.
    volumes List<InstanceTypesInstanceTypeVolume>
    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 InstanceTypesInstanceTypeGpus[]
    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.
    instanceTypeFamily string
    The instance type family.
    instanceTypeId string
    The id of the instance type.
    localVolumes InstanceTypesInstanceTypeLocalVolume[]
    Local disk configuration information corresponding to instance specifications.
    memories InstanceTypesInstanceTypeMemory[]
    Memory information of instance specifications.
    networks InstanceTypesInstanceTypeNetwork[]
    Network information of instance specifications.
    processors InstanceTypesInstanceTypeProcessor[]
    CPU information of instance specifications.
    rdmas InstanceTypesInstanceTypeRdma[]
    RDMA Specification Information.
    volumes InstanceTypesInstanceTypeVolume[]
    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[InstanceTypesInstanceTypeGpus]
    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_family str
    The instance type family.
    instance_type_id str
    The id of the instance type.
    local_volumes Sequence[InstanceTypesInstanceTypeLocalVolume]
    Local disk configuration information corresponding to instance specifications.
    memories Sequence[InstanceTypesInstanceTypeMemory]
    Memory information of instance specifications.
    networks Sequence[InstanceTypesInstanceTypeNetwork]
    Network information of instance specifications.
    processors Sequence[InstanceTypesInstanceTypeProcessor]
    CPU information of instance specifications.
    rdmas Sequence[InstanceTypesInstanceTypeRdma]
    RDMA Specification Information.
    volumes Sequence[InstanceTypesInstanceTypeVolume]
    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.
    instanceTypeFamily String
    The instance type family.
    instanceTypeId String
    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<Property Map>
    GPU device information list.

    InstanceTypesInstanceTypeGpusGpuDevice

    Count int
    The number of local disks mounted on the instance.
    Memories List<InstanceTypesInstanceTypeGpusGpuDeviceMemory>
    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 []InstanceTypesInstanceTypeGpusGpuDeviceMemory
    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<InstanceTypesInstanceTypeGpusGpuDeviceMemory>
    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 InstanceTypesInstanceTypeGpusGpuDeviceMemory[]
    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[InstanceTypesInstanceTypeGpusGpuDeviceMemory]
    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

    BaselineBandwidthMbps int
    Network benchmark bandwidth capacity (out/in), unit: Mbps.
    MaximumBandwidthMbps int
    Peak network bandwidth capacity (out/in), unit: Mbps.
    MaximumNetworkInterfaces int
    Maximum number of elastic network interfaces supported for attachment.
    MaximumPrivateIpv4AddressesPerNetworkInterface int
    Maximum number of IPv4 addresses for a single elastic network interface.
    MaximumQueuesPerNetworkInterface int
    Maximum queue number for a single elastic network interface, including the queue number supported by the primary network interface and the auxiliary network interface.
    MaximumThroughputKpps int
    Network packet sending and receiving capacity (in+out), unit: Kpps.
    BaselineBandwidthMbps int
    Network benchmark bandwidth capacity (out/in), unit: Mbps.
    MaximumBandwidthMbps int
    Peak network bandwidth capacity (out/in), unit: Mbps.
    MaximumNetworkInterfaces int
    Maximum number of elastic network interfaces supported for attachment.
    MaximumPrivateIpv4AddressesPerNetworkInterface int
    Maximum number of IPv4 addresses for a single elastic network interface.
    MaximumQueuesPerNetworkInterface int
    Maximum queue number for a single elastic network interface, including the queue number supported by the primary network interface and the auxiliary network interface.
    MaximumThroughputKpps int
    Network packet sending and receiving capacity (in+out), unit: Kpps.
    baselineBandwidthMbps Integer
    Network benchmark bandwidth capacity (out/in), unit: Mbps.
    maximumBandwidthMbps Integer
    Peak network bandwidth capacity (out/in), unit: Mbps.
    maximumNetworkInterfaces Integer
    Maximum number of elastic network interfaces supported for attachment.
    maximumPrivateIpv4AddressesPerNetworkInterface Integer
    Maximum number of IPv4 addresses for a single elastic network interface.
    maximumQueuesPerNetworkInterface Integer
    Maximum queue number for a single elastic network interface, including the queue number supported by the primary network interface and the auxiliary network interface.
    maximumThroughputKpps Integer
    Network packet sending and receiving capacity (in+out), unit: Kpps.
    baselineBandwidthMbps number
    Network benchmark bandwidth capacity (out/in), unit: Mbps.
    maximumBandwidthMbps number
    Peak network bandwidth capacity (out/in), unit: Mbps.
    maximumNetworkInterfaces number
    Maximum number of elastic network interfaces supported for attachment.
    maximumPrivateIpv4AddressesPerNetworkInterface number
    Maximum number of IPv4 addresses for a single elastic network interface.
    maximumQueuesPerNetworkInterface number
    Maximum queue number for a single elastic network interface, including the queue number supported by the primary network interface and the auxiliary network interface.
    maximumThroughputKpps number
    Network packet sending and receiving capacity (in+out), unit: Kpps.
    baseline_bandwidth_mbps int
    Network benchmark bandwidth capacity (out/in), unit: Mbps.
    maximum_bandwidth_mbps int
    Peak network bandwidth capacity (out/in), unit: Mbps.
    maximum_network_interfaces int
    Maximum number of elastic network interfaces supported for attachment.
    maximum_private_ipv4_addresses_per_network_interface int
    Maximum number of IPv4 addresses for a single elastic network interface.
    maximum_queues_per_network_interface int
    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_kpps int
    Network packet sending and receiving capacity (in+out), unit: Kpps.
    baselineBandwidthMbps Number
    Network benchmark bandwidth capacity (out/in), unit: Mbps.
    maximumBandwidthMbps Number
    Peak network bandwidth capacity (out/in), unit: Mbps.
    maximumNetworkInterfaces Number
    Maximum number of elastic network interfaces supported for attachment.
    maximumPrivateIpv4AddressesPerNetworkInterface Number
    Maximum number of IPv4 addresses for a single elastic network interface.
    maximumQueuesPerNetworkInterface Number
    Maximum queue number for a single elastic network interface, including the queue number supported by the primary network interface and the auxiliary network interface.
    maximumThroughputKpps Number
    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

    RdmaNetworkInterfaces int
    Number of RDMA network cards.
    RdmaNetworkInterfaces int
    Number of RDMA network cards.
    rdmaNetworkInterfaces Integer
    Number of RDMA network cards.
    rdmaNetworkInterfaces number
    Number of RDMA network cards.
    rdma_network_interfaces int
    Number of RDMA network cards.
    rdmaNetworkInterfaces Number
    Number of RDMA network cards.

    InstanceTypesInstanceTypeVolume

    MaximumCount int
    The maximum number of volumes.
    SupportedVolumeTypes List<string>
    List of supported volume types.
    MaximumCount int
    The maximum number of volumes.
    SupportedVolumeTypes []string
    List of supported volume types.
    maximumCount Integer
    The maximum number of volumes.
    supportedVolumeTypes List<String>
    List of supported volume types.
    maximumCount number
    The maximum number of volumes.
    supportedVolumeTypes string[]
    List of supported volume types.
    maximum_count int
    The maximum number of volumes.
    supported_volume_types Sequence[str]
    List of supported volume types.
    maximumCount Number
    The maximum number of volumes.
    supportedVolumeTypes List<String>
    List of supported volume types.

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine