Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine
volcengine.veenedge.InstanceTypes
Explore with Pulumi AI
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({});
import pulumi
import pulumi_volcengine as volcengine
default = volcengine.veenedge.instance_types()
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
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var @default = Volcengine.Veenedge.InstanceTypes.Invoke();
});
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();
}
}
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)
public static Output<InstanceTypesResult> instanceTypes(InstanceTypesArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:veenedge:InstanceTypes
arguments:
# arguments dictionary
The following arguments are supported:
- Output
File string - File name where to save data source results.
- Output
File string - File name where to save data source results.
- output
File String - File name where to save data source results.
- output
File string - File name where to save data source results.
- output_
file str - File name where to save data source results.
- 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
Type List<InstanceConfigs Types Instance Type Config> - The collection of instance types query.
- Total
Count int - The total count of instance types query.
- Output
File string
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Type []InstanceConfigs Types Instance Type Config - The collection of instance types query.
- Total
Count int - The total count of instance types query.
- Output
File string
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Type List<InstanceConfigs Types Instance Type Config> - The collection of instance types query.
- total
Count Integer - The total count of instance types query.
- output
File String
- id string
- The provider-assigned unique ID for this managed resource.
- instance
Type InstanceConfigs Types Instance Type Config[] - The collection of instance types query.
- total
Count number - The total count of instance types query.
- output
File string
- id str
- The provider-assigned unique ID for this managed resource.
- instance_
type_ Sequence[Instanceconfigs Types Instance Type Config] - 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.
- instance
Type List<Property Map>Configs - The collection of instance types query.
- total
Count Number - The total count of instance types query.
- output
File 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.
- Gpu
Spec This property is required. string - The gpu spec of instance.
- Instance
Type This property is required. string - The type of instance.
- Instance
Type Family This property is required. string - The type family of instance.
- Instance
Type Family Name 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<InstanceTypes Instance Type Config Storage> - 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. string - The gpu spec of instance.
- Instance
Type This property is required. string - The type of instance.
- Instance
Type Family This property is required. string - The type family of instance.
- Instance
Type Family Name 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. []InstanceTypes Instance Type Config Storage - 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.
- gpu
Spec This property is required. String - The gpu spec of instance.
- instance
Type This property is required. String - The type of instance.
- instance
Type Family This property is required. String - The type family of instance.
- instance
Type Family Name 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<InstanceTypes Instance Type Config Storage> - 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.
- gpu
Spec This property is required. string - The gpu spec of instance.
- instance
Type This property is required. string - The type of instance.
- instance
Type Family This property is required. string - The type family of instance.
- instance
Type Family Name 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. InstanceTypes Instance Type Config Storage[] - 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[InstanceTypes Instance Type Config Storage] - 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.
- gpu
Spec This property is required. String - The gpu spec of instance.
- instance
Type This property is required. String - The type of instance.
- instance
Type Family This property is required. String - The type family of instance.
- instance
Type Family Name 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
- 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. string - The local storage category.
- Local
Storage Unit 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. string - The local storage category.
- Local
Storage Unit This property is required. string - The unit of local storage.
- local
Storage Amount This property is required. Integer - The amount of local storage.
- local
Storage Capacity This property is required. Integer - The capacity of local storage.
- local
Storage Category This property is required. String - The local storage category.
- local
Storage Unit This property is required. String - The unit of local storage.
- local
Storage Amount This property is required. number - The amount of local storage.
- local
Storage Capacity This property is required. number - The capacity of local storage.
- local
Storage Category This property is required. string - The local storage category.
- local
Storage Unit 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.
- local
Storage Amount This property is required. Number - The amount of local storage.
- local
Storage Capacity This property is required. Number - The capacity of local storage.
- local
Storage Category This property is required. String - The local storage category.
- local
Storage Unit 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.