Volcengine v0.0.31 published on Monday, May 12, 2025 by Volcengine
volcengine.veenedge.getAvailableResources
Explore with Pulumi AI
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:
- Bandwith
Limit int - The limit of bandwidth.
- Cloud
Disk stringType - The type of storage. The value can be
CloudHDD
orCloudSSD
. - Instance
Type string - The type of instance.
- Output
File string - File name where to save data source results.
- Bandwith
Limit int - The limit of bandwidth.
- Cloud
Disk stringType - The type of storage. The value can be
CloudHDD
orCloudSSD
. - Instance
Type string - The type of instance.
- Output
File string - File name where to save data source results.
- bandwith
Limit Integer - The limit of bandwidth.
- cloud
Disk StringType - The type of storage. The value can be
CloudHDD
orCloudSSD
. - instance
Type String - The type of instance.
- output
File String - File name where to save data source results.
- bandwith
Limit number - The limit of bandwidth.
- cloud
Disk stringType - The type of storage. The value can be
CloudHDD
orCloudSSD
. - instance
Type string - The type of instance.
- output
File string - File name where to save data source results.
- bandwith_
limit int - The limit of bandwidth.
- cloud_
disk_ strtype - The type of storage. The value can be
CloudHDD
orCloudSSD
. - instance_
type str - The type of instance.
- output_
file str - File name where to save data source results.
- bandwith
Limit Number - The limit of bandwidth.
- cloud
Disk StringType - The type of storage. The value can be
CloudHDD
orCloudSSD
. - instance
Type String - The type of instance.
- output
File String - File name where to save data source results.
getAvailableResources Result
The following output properties are available:
- Bandwith
Limit int - Cloud
Disk stringType - Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Type string - Regions
List<Get
Available Resources Region> - The collection of resource query.
- Total
Count int - The total count of resource query.
- Output
File string
- Bandwith
Limit int - Cloud
Disk stringType - Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Type string - Regions
[]Get
Available Resources Region - The collection of resource query.
- Total
Count int - The total count of resource query.
- Output
File string
- bandwith
Limit Integer - cloud
Disk StringType - id String
- The provider-assigned unique ID for this managed resource.
- instance
Type String - regions
List<Get
Available Resources Region> - The collection of resource query.
- total
Count Integer - The total count of resource query.
- output
File String
- bandwith
Limit number - cloud
Disk stringType - id string
- The provider-assigned unique ID for this managed resource.
- instance
Type string - regions
Get
Available Resources Region[] - The collection of resource query.
- total
Count number - The total count of resource query.
- output
File string
- bandwith_
limit int - cloud_
disk_ strtype - id str
- The provider-assigned unique ID for this managed resource.
- instance_
type str - regions
Sequence[Get
Available Resources Region] - The collection of resource query.
- total_
count int - The total count of resource query.
- output_
file str
- bandwith
Limit Number - cloud
Disk StringType - id String
- The provider-assigned unique ID for this managed resource.
- instance
Type String - regions List<Property Map>
- The collection of resource query.
- total
Count Number - The total count of resource query.
- output
File String
Supporting Types
GetAvailableResourcesRegion
- Area
Get
Available Resources Region Area - The config of area.
- City
Get
Available Resources Region City - The config of city.
- Cluster
Get
Available Resources Region Cluster - The config of cluster.
- Country
Get
Available Resources Region Country - The config of country.
- Isp
Get
Available Resources Region Isp - The config of isp.
- Area
Get
Available Resources Region Area - The config of area.
- City
Get
Available Resources Region City - The config of city.
- Cluster
Get
Available Resources Region Cluster - The config of cluster.
- Country
Get
Available Resources Region Country - The config of country.
- Isp
Get
Available Resources Region Isp - The config of isp.
- area
Get
Available Resources Region Area - The config of area.
- city
Get
Available Resources Region City - The config of city.
- cluster
Get
Available Resources Region Cluster - The config of cluster.
- country
Get
Available Resources Region Country - The config of country.
- isp
Get
Available Resources Region Isp - The config of isp.
- area
Get
Available Resources Region Area - The config of area.
- city
Get
Available Resources Region City - The config of city.
- cluster
Get
Available Resources Region Cluster - The config of cluster.
- country
Get
Available Resources Region Country - The config of country.
- isp
Get
Available Resources Region Isp - The config of isp.
- area
Get
Available Resources Region Area - The config of area.
- city
Get
Available Resources Region City - The config of city.
- cluster
Get
Available Resources Region Cluster - The config of cluster.
- country
Get
Available Resources Region Country - The config of country.
- isp
Get
Available Resources Region Isp - The config of isp.
- 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
GetAvailableResourcesRegionCity
GetAvailableResourcesRegionCluster
GetAvailableResourcesRegionCountry
GetAvailableResourcesRegionIsp
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.