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

volcengine.veenedge.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 veenedge instance types

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = Volcengine.Veenedge.InstanceTypes.Invoke();
    
    });
    
    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
    	})
    }
    
    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();
    
        }
    }
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    default = volcengine.veenedge.instance_types()
    
    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const default = volcengine.veenedge.InstanceTypes({});
    
    variables:
      default:
        fn::invoke:
          Function: volcengine:veenedge: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(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]
    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:veenedge:InstanceTypes
      arguments:
        # arguments dictionary

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

    InstanceTypesInstanceTypeConfigStorage

    LocalStorageAmount int
    The amount of local storage.
    LocalStorageCapacity int
    The capacity of local storage.
    LocalStorageCategory string
    The local storage category.
    LocalStorageUnit string
    The unit of local storage.
    LocalStorageAmount int
    The amount of local storage.
    LocalStorageCapacity int
    The capacity of local storage.
    LocalStorageCategory string
    The local storage category.
    LocalStorageUnit string
    The unit of local storage.
    localStorageAmount Integer
    The amount of local storage.
    localStorageCapacity Integer
    The capacity of local storage.
    localStorageCategory String
    The local storage category.
    localStorageUnit String
    The unit of local storage.
    localStorageAmount number
    The amount of local storage.
    localStorageCapacity number
    The capacity of local storage.
    localStorageCategory string
    The local storage category.
    localStorageUnit string
    The unit of local storage.
    local_storage_amount int
    The amount of local storage.
    local_storage_capacity int
    The capacity of local storage.
    local_storage_category str
    The local storage category.
    local_storage_unit str
    The unit of local storage.
    localStorageAmount Number
    The amount of local storage.
    localStorageCapacity Number
    The capacity of local storage.
    localStorageCategory String
    The local storage category.
    localStorageUnit 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 logo
    Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine