Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine
volcengine.veenedge.InstanceTypes
Explore with Pulumi AI
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:
- 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 int
- The cpu of instance type.
- Gpu int
- The gpu of instance type.
- Gpu
Spec string - The gpu spec of instance.
- Instance
Type string - The type of instance.
- Instance
Type stringFamily - The type family of instance.
- Instance
Type stringFamily Name - The name of instance type family.
- Memory int
- The memory of instance type.
- Storages
List<Instance
Types Instance Type Config Storage> - The config of storage.
- Cpu int
- The cpu of instance type.
- Gpu int
- The gpu of instance type.
- Gpu
Spec string - The gpu spec of instance.
- Instance
Type string - The type of instance.
- Instance
Type stringFamily - The type family of instance.
- Instance
Type stringFamily Name - The name of instance type family.
- Memory int
- The memory of instance type.
- Storages
[]Instance
Types Instance Type Config Storage - The config of storage.
- cpu Integer
- The cpu of instance type.
- gpu Integer
- The gpu of instance type.
- gpu
Spec String - The gpu spec of instance.
- instance
Type String - The type of instance.
- instance
Type StringFamily - The type family of instance.
- instance
Type StringFamily Name - The name of instance type family.
- memory Integer
- The memory of instance type.
- storages
List<Instance
Types Instance Type Config Storage> - The config of storage.
- cpu number
- The cpu of instance type.
- gpu number
- The gpu of instance type.
- gpu
Spec string - The gpu spec of instance.
- instance
Type string - The type of instance.
- instance
Type stringFamily - The type family of instance.
- instance
Type stringFamily Name - The name of instance type family.
- memory number
- The memory of instance type.
- storages
Instance
Types Instance Type Config Storage[] - 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_ strfamily - The type family of instance.
- instance_
type_ strfamily_ name - The name of instance type family.
- memory int
- The memory of instance type.
- storages
Sequence[Instance
Types Instance Type Config Storage] - The config of storage.
- cpu Number
- The cpu of instance type.
- gpu Number
- The gpu of instance type.
- gpu
Spec String - The gpu spec of instance.
- instance
Type String - The type of instance.
- instance
Type StringFamily - The type family of instance.
- instance
Type StringFamily Name - The name of instance type family.
- memory Number
- The memory of instance type.
- storages List<Property Map>
- The config of storage.
InstanceTypesInstanceTypeConfigStorage
- Local
Storage intAmount - The amount of local storage.
- Local
Storage intCapacity - The capacity of local storage.
- Local
Storage stringCategory - The local storage category.
- Local
Storage stringUnit - The unit of local storage.
- Local
Storage intAmount - The amount of local storage.
- Local
Storage intCapacity - The capacity of local storage.
- Local
Storage stringCategory - The local storage category.
- Local
Storage stringUnit - The unit of local storage.
- local
Storage IntegerAmount - The amount of local storage.
- local
Storage IntegerCapacity - The capacity of local storage.
- local
Storage StringCategory - The local storage category.
- local
Storage StringUnit - The unit of local storage.
- local
Storage numberAmount - The amount of local storage.
- local
Storage numberCapacity - The capacity of local storage.
- local
Storage stringCategory - The local storage category.
- local
Storage stringUnit - The unit of local storage.
- local_
storage_ intamount - The amount of local storage.
- local_
storage_ intcapacity - The capacity of local storage.
- local_
storage_ strcategory - The local storage category.
- local_
storage_ strunit - The unit of local storage.
- local
Storage NumberAmount - The amount of local storage.
- local
Storage NumberCapacity - The capacity of local storage.
- local
Storage StringCategory - The local storage category.
- local
Storage StringUnit - 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.