1. Packages
  2. Volcengine
  3. API Docs
  4. veenedge
  5. InstanceTypes
Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine

volcengine.veenedge.InstanceTypes

Explore with Pulumi AI

Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine

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

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";

const default = volcengine.veenedge.InstanceTypes({});
Copy
import pulumi
import pulumi_volcengine as volcengine

default = volcengine.veenedge.instance_types()
Copy
package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/veenedge"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := veenedge.InstanceTypes(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;

return await Deployment.RunAsync(() => 
{
    var @default = Volcengine.Veenedge.InstanceTypes.Invoke();

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.veenedge.VeenedgeFunctions;
import com.pulumi.volcengine.veenedge.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 default = VeenedgeFunctions.InstanceTypes();

    }
}
Copy
variables:
  default:
    fn::invoke:
      Function: volcengine:veenedge:InstanceTypes
      Arguments: {}
Copy

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>
Copy
def instance_types(output_file: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> InstanceTypesResult
def instance_types_output(output_file: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[InstanceTypesResult]
Copy
func InstanceTypes(ctx *Context, args *InstanceTypesArgs, opts ...InvokeOption) (*InstanceTypesResult, error)
func InstanceTypesOutput(ctx *Context, args *InstanceTypesOutputArgs, opts ...InvokeOption) InstanceTypesResultOutput
Copy
public static class InstanceTypes 
{
    public static Task<InstanceTypesResult> InvokeAsync(InstanceTypesArgs args, InvokeOptions? opts = null)
    public static Output<InstanceTypesResult> Invoke(InstanceTypesInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<InstanceTypesResult> instanceTypes(InstanceTypesArgs args, InvokeOptions options)
public static Output<InstanceTypesResult> instanceTypes(InstanceTypesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: volcengine:veenedge:InstanceTypes
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

OutputFile string
File name where to save data source results.
OutputFile string
File name where to save data source results.
outputFile String
File name where to save data source results.
outputFile string
File name where to save data source results.
output_file str
File name where to save data source results.
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.
InstanceTypeConfigs List<InstanceTypesInstanceTypeConfig>
The collection of instance types query.
TotalCount int
The total count of instance types query.
OutputFile string
Id string
The provider-assigned unique ID for this managed resource.
InstanceTypeConfigs []InstanceTypesInstanceTypeConfig
The collection of instance types query.
TotalCount int
The total count of instance types query.
OutputFile string
id String
The provider-assigned unique ID for this managed resource.
instanceTypeConfigs List<InstanceTypesInstanceTypeConfig>
The collection of instance types query.
totalCount Integer
The total count of instance types query.
outputFile String
id string
The provider-assigned unique ID for this managed resource.
instanceTypeConfigs InstanceTypesInstanceTypeConfig[]
The collection of instance types query.
totalCount number
The total count of instance types query.
outputFile string
id str
The provider-assigned unique ID for this managed resource.
instance_type_configs Sequence[InstanceTypesInstanceTypeConfig]
The collection of instance types query.
total_count int
The total count of instance types query.
output_file str
id String
The provider-assigned unique ID for this managed resource.
instanceTypeConfigs List<Property Map>
The collection of instance types query.
totalCount Number
The total count of instance types query.
outputFile String

Supporting Types

InstanceTypesInstanceTypeConfig

Cpu This property is required. int
The cpu of instance type.
Gpu This property is required. int
The gpu of instance type.
GpuSpec This property is required. string
The gpu spec of instance.
InstanceType This property is required. string
The type of instance.
InstanceTypeFamily This property is required. string
The type family of instance.
InstanceTypeFamilyName This property is required. string
The name of instance type family.
Memory This property is required. int
The memory of instance type.
Storages This property is required. List<InstanceTypesInstanceTypeConfigStorage>
The config of storage.
Cpu This property is required. int
The cpu of instance type.
Gpu This property is required. int
The gpu of instance type.
GpuSpec This property is required. string
The gpu spec of instance.
InstanceType This property is required. string
The type of instance.
InstanceTypeFamily This property is required. string
The type family of instance.
InstanceTypeFamilyName This property is required. string
The name of instance type family.
Memory This property is required. int
The memory of instance type.
Storages This property is required. []InstanceTypesInstanceTypeConfigStorage
The config of storage.
cpu This property is required. Integer
The cpu of instance type.
gpu This property is required. Integer
The gpu of instance type.
gpuSpec This property is required. String
The gpu spec of instance.
instanceType This property is required. String
The type of instance.
instanceTypeFamily This property is required. String
The type family of instance.
instanceTypeFamilyName This property is required. String
The name of instance type family.
memory This property is required. Integer
The memory of instance type.
storages This property is required. List<InstanceTypesInstanceTypeConfigStorage>
The config of storage.
cpu This property is required. number
The cpu of instance type.
gpu This property is required. number
The gpu of instance type.
gpuSpec This property is required. string
The gpu spec of instance.
instanceType This property is required. string
The type of instance.
instanceTypeFamily This property is required. string
The type family of instance.
instanceTypeFamilyName This property is required. string
The name of instance type family.
memory This property is required. number
The memory of instance type.
storages This property is required. InstanceTypesInstanceTypeConfigStorage[]
The config of storage.
cpu This property is required. int
The cpu of instance type.
gpu This property is required. int
The gpu of instance type.
gpu_spec This property is required. str
The gpu spec of instance.
instance_type This property is required. str
The type of instance.
instance_type_family This property is required. str
The type family of instance.
instance_type_family_name This property is required. str
The name of instance type family.
memory This property is required. int
The memory of instance type.
storages This property is required. Sequence[InstanceTypesInstanceTypeConfigStorage]
The config of storage.
cpu This property is required. Number
The cpu of instance type.
gpu This property is required. Number
The gpu of instance type.
gpuSpec This property is required. String
The gpu spec of instance.
instanceType This property is required. String
The type of instance.
instanceTypeFamily This property is required. String
The type family of instance.
instanceTypeFamilyName This property is required. String
The name of instance type family.
memory This property is required. Number
The memory of instance type.
storages This property is required. List<Property Map>
The config of storage.

InstanceTypesInstanceTypeConfigStorage

LocalStorageAmount This property is required. int
The amount of local storage.
LocalStorageCapacity This property is required. int
The capacity of local storage.
LocalStorageCategory This property is required. string
The local storage category.
LocalStorageUnit This property is required. string
The unit of local storage.
LocalStorageAmount This property is required. int
The amount of local storage.
LocalStorageCapacity This property is required. int
The capacity of local storage.
LocalStorageCategory This property is required. string
The local storage category.
LocalStorageUnit This property is required. string
The unit of local storage.
localStorageAmount This property is required. Integer
The amount of local storage.
localStorageCapacity This property is required. Integer
The capacity of local storage.
localStorageCategory This property is required. String
The local storage category.
localStorageUnit This property is required. String
The unit of local storage.
localStorageAmount This property is required. number
The amount of local storage.
localStorageCapacity This property is required. number
The capacity of local storage.
localStorageCategory This property is required. string
The local storage category.
localStorageUnit This property is required. string
The unit of local storage.
local_storage_amount This property is required. int
The amount of local storage.
local_storage_capacity This property is required. int
The capacity of local storage.
local_storage_category This property is required. str
The local storage category.
local_storage_unit This property is required. str
The unit of local storage.
localStorageAmount This property is required. Number
The amount of local storage.
localStorageCapacity This property is required. Number
The capacity of local storage.
localStorageCategory This property is required. String
The local storage category.
localStorageUnit This property is required. String
The unit of local storage.

Package Details

Repository
volcengine volcengine/pulumi-volcengine
License
Apache-2.0
Notes
This Pulumi package is based on the volcengine Terraform Provider.
Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine