Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine
volcengine.ecs.InstanceTypes
Explore with Pulumi AI
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.
- 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.
- 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.
- 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.
- 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.
- 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.
- output
File 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.
- Instance
Types List<InstanceTypes Instance Type> - The collection of query.
- Total
Count int - The total count of query.
- Ids List<string>
- Output
File string
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Types []InstanceTypes Instance Type - The collection of query.
- Total
Count int - The total count of query.
- Ids []string
- Output
File string
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Types List<InstanceTypes Instance Type> - The collection of query.
- total
Count Integer - The total count of query.
- ids List<String>
- output
File String
- id string
- The provider-assigned unique ID for this managed resource.
- instance
Types InstanceTypes Instance Type[] - The collection of query.
- total
Count number - The total count of query.
- ids string[]
- output
File 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]
- 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>
- output
File String
Supporting Types
InstanceTypesInstanceType
- Baseline
Credit int - The CPU benchmark performance that can be provided steadily by on-demand instances is determined by the instance type.
- Gpus
List<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<InstanceTypes Instance Type Local Volume> - Local disk configuration information corresponding to instance specifications.
- Memories
List<Instance
Types Instance Type Memory> - Memory information of instance specifications.
- Networks
List<Instance
Types Instance Type Network> - Network information of instance specifications.
- Processors
List<Instance
Types Instance Type Processor> - CPU information of instance specifications.
- Rdmas
List<Instance
Types Instance Type Rdma> - RDMA Specification Information.
- Volumes
List<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
[]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 []InstanceTypes Instance Type Local Volume - Local disk configuration information corresponding to instance specifications.
- Memories
[]Instance
Types Instance Type Memory - Memory information of instance specifications.
- Networks
[]Instance
Types Instance Type Network - Network information of instance specifications.
- Processors
[]Instance
Types Instance Type Processor - CPU information of instance specifications.
- Rdmas
[]Instance
Types Instance Type Rdma - RDMA Specification Information.
- Volumes
[]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<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<InstanceTypes Instance Type Local Volume> - Local disk configuration information corresponding to instance specifications.
- memories
List<Instance
Types Instance Type Memory> - Memory information of instance specifications.
- networks
List<Instance
Types Instance Type Network> - Network information of instance specifications.
- processors
List<Instance
Types Instance Type Processor> - CPU information of instance specifications.
- rdmas
List<Instance
Types Instance Type Rdma> - RDMA Specification Information.
- volumes
List<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
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 InstanceTypes Instance Type Local Volume[] - Local disk configuration information corresponding to instance specifications.
- memories
Instance
Types Instance Type Memory[] - Memory information of instance specifications.
- networks
Instance
Types Instance Type Network[] - Network information of instance specifications.
- processors
Instance
Types Instance Type Processor[] - CPU information of instance specifications.
- rdmas
Instance
Types Instance Type Rdma[] - RDMA Specification Information.
- volumes
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[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[InstanceTypes Instance Type Local Volume] - Local disk configuration information corresponding to instance specifications.
- memories
Sequence[Instance
Types Instance Type Memory] - Memory information of instance specifications.
- networks
Sequence[Instance
Types Instance Type Network] - Network information of instance specifications.
- processors
Sequence[Instance
Types Instance Type Processor] - CPU information of instance specifications.
- rdmas
Sequence[Instance
Types Instance Type Rdma] - RDMA Specification Information.
- volumes
Sequence[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.
InstanceTypesInstanceTypeGpus
- Gpu
Devices List<InstanceTypes Instance Type Gpus Gpu Device> - GPU device information list.
- Gpu
Devices []InstanceTypes Instance Type Gpus Gpu Device - GPU device information list.
- gpu
Devices List<InstanceTypes Instance Type Gpus Gpu Device> - GPU device information list.
- gpu
Devices InstanceTypes Instance Type Gpus Gpu Device[] - GPU device information list.
- gpu_
devices Sequence[InstanceTypes Instance Type Gpus Gpu Device] - GPU device information list.
- gpu
Devices List<Property Map> - GPU device information list.
InstanceTypesInstanceTypeGpusGpuDevice
- Count int
- The number of local disks mounted on the instance.
- Memories
List<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
[]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<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
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[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.
InstanceTypesInstanceTypeGpusGpuDeviceMemory
- 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.
InstanceTypesInstanceTypeLocalVolume
- 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.
InstanceTypesInstanceTypeMemory
- 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.
InstanceTypesInstanceTypeNetwork
- 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.
InstanceTypesInstanceTypeProcessor
- 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.
InstanceTypesInstanceTypeRdma
- 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.
InstanceTypesInstanceTypeVolume
- 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
volcengine
Terraform Provider.