1. Packages
  2. Volcengine
  3. API Docs
  4. veenedge
  5. AvailableResources
Volcengine v0.0.23 published on Wednesday, Jan 3, 2024 by Volcengine

volcengine.veenedge.AvailableResources

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.23 published on Wednesday, Jan 3, 2024 by Volcengine

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

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = Volcengine.Veenedge.AvailableResources.Invoke(new()
        {
            BandwithLimit = 20,
            CloudDiskType = "CloudSSD",
            InstanceType = "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.AvailableResources(ctx, &veenedge.AvailableResourcesArgs{
    			BandwithLimit: 20,
    			CloudDiskType: "CloudSSD",
    			InstanceType:  "ve******rge",
    		}, 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.AvailableResourcesArgs;
    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.AvailableResources(AvailableResourcesArgs.builder()
                .bandwithLimit(20)
                .cloudDiskType("CloudSSD")
                .instanceType("ve******rge")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    default = volcengine.veenedge.available_resources(bandwith_limit=20,
        cloud_disk_type="CloudSSD",
        instance_type="ve******rge")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const default = volcengine.veenedge.AvailableResources({
        bandwithLimit: 20,
        cloudDiskType: "CloudSSD",
        instanceType: "ve******rge",
    });
    
    variables:
      default:
        fn::invoke:
          Function: volcengine:veenedge:AvailableResources
          Arguments:
            bandwithLimit: 20
            cloudDiskType: CloudSSD
            instanceType: ve******rge
    

    Using AvailableResources

    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 availableResources(args: AvailableResourcesArgs, opts?: InvokeOptions): Promise<AvailableResourcesResult>
    function availableResourcesOutput(args: AvailableResourcesOutputArgs, opts?: InvokeOptions): Output<AvailableResourcesResult>
    def 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) -> AvailableResourcesResult
    def 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[AvailableResourcesResult]
    func AvailableResources(ctx *Context, args *AvailableResourcesArgs, opts ...InvokeOption) (*AvailableResourcesResult, error)
    func AvailableResourcesOutput(ctx *Context, args *AvailableResourcesOutputArgs, opts ...InvokeOption) AvailableResourcesResultOutput
    public static class AvailableResources 
    {
        public static Task<AvailableResourcesResult> InvokeAsync(AvailableResourcesArgs args, InvokeOptions? opts = null)
        public static Output<AvailableResourcesResult> Invoke(AvailableResourcesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<AvailableResourcesResult> availableResources(AvailableResourcesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: volcengine:veenedge:AvailableResources
      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.

    AvailableResources 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<Volcengine.AvailableResourcesRegion>
    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 []AvailableResourcesRegion
    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<AvailableResourcesRegion>
    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 AvailableResourcesRegion[]
    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[AvailableResourcesRegion]
    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

    AvailableResourcesRegion

    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.

    AvailableResourcesRegionArea

    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.

    AvailableResourcesRegionCity

    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.

    AvailableResourcesRegionCluster

    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.

    AvailableResourcesRegionCountry

    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.

    AvailableResourcesRegionIsp

    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.23 published on Wednesday, Jan 3, 2024 by Volcengine