Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine
volcengine.veenedge.AvailableResources
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.AvailableResources({
bandwithLimit: 20,
cloudDiskType: "CloudSSD",
instanceType: "ve******rge",
});
import pulumi
import pulumi_volcengine as volcengine
default = volcengine.veenedge.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.AvailableResources(ctx, &veenedge.AvailableResourcesArgs{
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.AvailableResources.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.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());
}
}
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)
public static Output<AvailableResourcesResult> availableResources(AvailableResourcesArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:veenedge:AvailableResources
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.
AvailableResources 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<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
[]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<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
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[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
AvailableResourcesRegion
- Area
Available
Resources Region Area - The config of area.
- City
Available
Resources Region City - The config of city.
- Cluster
Available
Resources Region Cluster - The config of cluster.
- Country
Available
Resources Region Country - The config of country.
- Isp
Available
Resources Region Isp - The config of isp.
- Area
Available
Resources Region Area - The config of area.
- City
Available
Resources Region City - The config of city.
- Cluster
Available
Resources Region Cluster - The config of cluster.
- Country
Available
Resources Region Country - The config of country.
- Isp
Available
Resources Region Isp - The config of isp.
- area
Available
Resources Region Area - The config of area.
- city
Available
Resources Region City - The config of city.
- cluster
Available
Resources Region Cluster - The config of cluster.
- country
Available
Resources Region Country - The config of country.
- isp
Available
Resources Region Isp - The config of isp.
- area
Available
Resources Region Area - The config of area.
- city
Available
Resources Region City - The config of city.
- cluster
Available
Resources Region Cluster - The config of cluster.
- country
Available
Resources Region Country - The config of country.
- isp
Available
Resources Region Isp - The config of isp.
- area
Available
Resources Region Area - The config of area.
- city
Available
Resources Region City - The config of city.
- cluster
Available
Resources Region Cluster - The config of cluster.
- country
Available
Resources Region Country - The config of country.
- isp
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.
AvailableResourcesRegionArea
AvailableResourcesRegionCity
AvailableResourcesRegionCluster
AvailableResourcesRegionCountry
AvailableResourcesRegionIsp
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.