1. Packages
  2. Volcengine
  3. API Docs
  4. veenedge
  5. getAvailableResources
Volcengine v0.0.31 published on Monday, May 12, 2025 by Volcengine

volcengine.veenedge.getAvailableResources

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.31 published on Monday, May 12, 2025 by Volcengine

    Use this data source to query detailed information of veenedge available resources

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const default = volcengine.veenedge.getAvailableResources({
        bandwithLimit: 20,
        cloudDiskType: "CloudSSD",
        instanceType: "ve******rge",
    });
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    default = volcengine.veenedge.get_available_resources(bandwith_limit=20,
        cloud_disk_type="CloudSSD",
        instance_type="ve******rge")
    
    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.GetAvailableResources(ctx, &veenedge.GetAvailableResourcesArgs{
    			BandwithLimit: 20,
    			CloudDiskType: "CloudSSD",
    			InstanceType:  "ve******rge",
    		}, 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.GetAvailableResources.Invoke(new()
        {
            BandwithLimit = 20,
            CloudDiskType = "CloudSSD",
            InstanceType = "ve******rge",
        });
    
    });
    
    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.GetAvailableResourcesArgs;
    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.getAvailableResources(GetAvailableResourcesArgs.builder()
                .bandwithLimit(20)
                .cloudDiskType("CloudSSD")
                .instanceType("ve******rge")
                .build());
    
        }
    }
    
    variables:
      default:
        fn::invoke:
          Function: volcengine:veenedge:getAvailableResources
          Arguments:
            bandwithLimit: 20
            cloudDiskType: CloudSSD
            instanceType: ve******rge
    

    Using getAvailableResources

    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 getAvailableResources(args: GetAvailableResourcesArgs, opts?: InvokeOptions): Promise<GetAvailableResourcesResult>
    function getAvailableResourcesOutput(args: GetAvailableResourcesOutputArgs, opts?: InvokeOptions): Output<GetAvailableResourcesResult>
    def get_available_resources(bandwith_limit: Optional[int] = None,
                                cloud_disk_type: Optional[str] = None,
                                instance_type: Optional[str] = None,
                                output_file: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetAvailableResourcesResult
    def get_available_resources_output(bandwith_limit: Optional[pulumi.Input[int]] = None,
                                cloud_disk_type: Optional[pulumi.Input[str]] = None,
                                instance_type: Optional[pulumi.Input[str]] = None,
                                output_file: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetAvailableResourcesResult]
    func GetAvailableResources(ctx *Context, args *GetAvailableResourcesArgs, opts ...InvokeOption) (*GetAvailableResourcesResult, error)
    func GetAvailableResourcesOutput(ctx *Context, args *GetAvailableResourcesOutputArgs, opts ...InvokeOption) GetAvailableResourcesResultOutput

    > Note: This function is named GetAvailableResources in the Go SDK.

    public static class GetAvailableResources 
    {
        public static Task<GetAvailableResourcesResult> InvokeAsync(GetAvailableResourcesArgs args, InvokeOptions? opts = null)
        public static Output<GetAvailableResourcesResult> Invoke(GetAvailableResourcesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAvailableResourcesResult> getAvailableResources(GetAvailableResourcesArgs args, InvokeOptions options)
    public static Output<GetAvailableResourcesResult> getAvailableResources(GetAvailableResourcesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcengine:veenedge/getAvailableResources:getAvailableResources
      arguments:
        # arguments dictionary

    The following arguments are supported:

    BandwithLimit int
    The limit of bandwidth.
    CloudDiskType string
    The type of storage. The value can be CloudHDD or CloudSSD.
    InstanceType string
    The type of instance.
    OutputFile string
    File name where to save data source results.
    BandwithLimit int
    The limit of bandwidth.
    CloudDiskType string
    The type of storage. The value can be CloudHDD or CloudSSD.
    InstanceType string
    The type of instance.
    OutputFile string
    File name where to save data source results.
    bandwithLimit Integer
    The limit of bandwidth.
    cloudDiskType String
    The type of storage. The value can be CloudHDD or CloudSSD.
    instanceType String
    The type of instance.
    outputFile String
    File name where to save data source results.
    bandwithLimit number
    The limit of bandwidth.
    cloudDiskType string
    The type of storage. The value can be CloudHDD or CloudSSD.
    instanceType string
    The type of instance.
    outputFile string
    File name where to save data source results.
    bandwith_limit int
    The limit of bandwidth.
    cloud_disk_type str
    The type of storage. The value can be CloudHDD or CloudSSD.
    instance_type str
    The type of instance.
    output_file str
    File name where to save data source results.
    bandwithLimit Number
    The limit of bandwidth.
    cloudDiskType String
    The type of storage. The value can be CloudHDD or CloudSSD.
    instanceType String
    The type of instance.
    outputFile String
    File name where to save data source results.

    getAvailableResources Result

    The following output properties are available:

    BandwithLimit int
    CloudDiskType string
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceType string
    Regions List<GetAvailableResourcesRegion>
    The collection of resource query.
    TotalCount int
    The total count of resource query.
    OutputFile string
    BandwithLimit int
    CloudDiskType string
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceType string
    Regions []GetAvailableResourcesRegion
    The collection of resource query.
    TotalCount int
    The total count of resource query.
    OutputFile string
    bandwithLimit Integer
    cloudDiskType String
    id String
    The provider-assigned unique ID for this managed resource.
    instanceType String
    regions List<GetAvailableResourcesRegion>
    The collection of resource query.
    totalCount Integer
    The total count of resource query.
    outputFile String
    bandwithLimit number
    cloudDiskType string
    id string
    The provider-assigned unique ID for this managed resource.
    instanceType string
    regions GetAvailableResourcesRegion[]
    The collection of resource query.
    totalCount number
    The total count of resource query.
    outputFile string
    bandwith_limit int
    cloud_disk_type str
    id str
    The provider-assigned unique ID for this managed resource.
    instance_type str
    regions Sequence[GetAvailableResourcesRegion]
    The collection of resource query.
    total_count int
    The total count of resource query.
    output_file str
    bandwithLimit Number
    cloudDiskType String
    id String
    The provider-assigned unique ID for this managed resource.
    instanceType String
    regions List<Property Map>
    The collection of resource query.
    totalCount Number
    The total count of resource query.
    outputFile String

    Supporting Types

    GetAvailableResourcesRegion

    area Property Map
    The config of area.
    city Property Map
    The config of city.
    cluster Property Map
    The config of cluster.
    country Property Map
    The config of country.
    isp Property Map
    The config of isp.

    GetAvailableResourcesRegionArea

    EnName string
    The english name of region.
    Id string
    The id of region.
    Name string
    The name of region.
    EnName string
    The english name of region.
    Id string
    The id of region.
    Name string
    The name of region.
    enName String
    The english name of region.
    id String
    The id of region.
    name String
    The name of region.
    enName string
    The english name of region.
    id string
    The id of region.
    name string
    The name of region.
    en_name str
    The english name of region.
    id str
    The id of region.
    name str
    The name of region.
    enName String
    The english name of region.
    id String
    The id of region.
    name String
    The name of region.

    GetAvailableResourcesRegionCity

    EnName string
    The english name of region.
    Id string
    The id of region.
    Name string
    The name of region.
    EnName string
    The english name of region.
    Id string
    The id of region.
    Name string
    The name of region.
    enName String
    The english name of region.
    id String
    The id of region.
    name String
    The name of region.
    enName string
    The english name of region.
    id string
    The id of region.
    name string
    The name of region.
    en_name str
    The english name of region.
    id str
    The id of region.
    name str
    The name of region.
    enName String
    The english name of region.
    id String
    The id of region.
    name String
    The name of region.

    GetAvailableResourcesRegionCluster

    EnName string
    The english name of region.
    Id string
    The id of region.
    Name string
    The name of region.
    EnName string
    The english name of region.
    Id string
    The id of region.
    Name string
    The name of region.
    enName String
    The english name of region.
    id String
    The id of region.
    name String
    The name of region.
    enName string
    The english name of region.
    id string
    The id of region.
    name string
    The name of region.
    en_name str
    The english name of region.
    id str
    The id of region.
    name str
    The name of region.
    enName String
    The english name of region.
    id String
    The id of region.
    name String
    The name of region.

    GetAvailableResourcesRegionCountry

    EnName string
    The english name of region.
    Id string
    The id of region.
    Name string
    The name of region.
    EnName string
    The english name of region.
    Id string
    The id of region.
    Name string
    The name of region.
    enName String
    The english name of region.
    id String
    The id of region.
    name String
    The name of region.
    enName string
    The english name of region.
    id string
    The id of region.
    name string
    The name of region.
    en_name str
    The english name of region.
    id str
    The id of region.
    name str
    The name of region.
    enName String
    The english name of region.
    id String
    The id of region.
    name String
    The name of region.

    GetAvailableResourcesRegionIsp

    EnName string
    The english name of region.
    Id string
    The id of region.
    Name string
    The name of region.
    EnName string
    The english name of region.
    Id string
    The id of region.
    Name string
    The name of region.
    enName String
    The english name of region.
    id String
    The id of region.
    name String
    The name of region.
    enName string
    The english name of region.
    id string
    The id of region.
    name string
    The name of region.
    en_name str
    The english name of region.
    id str
    The id of region.
    name str
    The name of region.
    enName String
    The english name of region.
    id String
    The id of region.
    name String
    The name of region.

    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.31 published on Monday, May 12, 2025 by Volcengine