flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
flexibleengine.getGaussdbCassandraFlavors
Start a Neo task
Explain and create a flexibleengine.getGaussdbCassandraFlavors resource
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
Use this data source to get available FlexibleEngine gaussdb cassandra flavors.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";
const flavors = flexibleengine.getGaussdbCassandraFlavors({});
import pulumi
import pulumi_flexibleengine as flexibleengine
flavors = flexibleengine.get_gaussdb_cassandra_flavors()
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := flexibleengine.GetGaussdbCassandraFlavors(ctx, &flexibleengine.GetGaussdbCassandraFlavorsArgs{}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Flexibleengine = Pulumi.Flexibleengine;
return await Deployment.RunAsync(() =>
{
var flavors = Flexibleengine.GetGaussdbCassandraFlavors.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.flexibleengine.FlexibleengineFunctions;
import com.pulumi.flexibleengine.inputs.GetGaussdbCassandraFlavorsArgs;
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 flavors = FlexibleengineFunctions.getGaussdbCassandraFlavors();
}
}
variables:
flavors:
fn::invoke:
function: flexibleengine:getGaussdbCassandraFlavors
arguments: {}
Using getGaussdbCassandraFlavors
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 getGaussdbCassandraFlavors(args: GetGaussdbCassandraFlavorsArgs, opts?: InvokeOptions): Promise<GetGaussdbCassandraFlavorsResult>
function getGaussdbCassandraFlavorsOutput(args: GetGaussdbCassandraFlavorsOutputArgs, opts?: InvokeOptions): Output<GetGaussdbCassandraFlavorsResult>def get_gaussdb_cassandra_flavors(id: Optional[str] = None,
memory: Optional[str] = None,
region: Optional[str] = None,
vcpus: Optional[str] = None,
version: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetGaussdbCassandraFlavorsResult
def get_gaussdb_cassandra_flavors_output(id: Optional[pulumi.Input[str]] = None,
memory: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
vcpus: Optional[pulumi.Input[str]] = None,
version: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetGaussdbCassandraFlavorsResult]func GetGaussdbCassandraFlavors(ctx *Context, args *GetGaussdbCassandraFlavorsArgs, opts ...InvokeOption) (*GetGaussdbCassandraFlavorsResult, error)
func GetGaussdbCassandraFlavorsOutput(ctx *Context, args *GetGaussdbCassandraFlavorsOutputArgs, opts ...InvokeOption) GetGaussdbCassandraFlavorsResultOutput> Note: This function is named GetGaussdbCassandraFlavors in the Go SDK.
public static class GetGaussdbCassandraFlavors
{
public static Task<GetGaussdbCassandraFlavorsResult> InvokeAsync(GetGaussdbCassandraFlavorsArgs args, InvokeOptions? opts = null)
public static Output<GetGaussdbCassandraFlavorsResult> Invoke(GetGaussdbCassandraFlavorsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetGaussdbCassandraFlavorsResult> getGaussdbCassandraFlavors(GetGaussdbCassandraFlavorsArgs args, InvokeOptions options)
public static Output<GetGaussdbCassandraFlavorsResult> getGaussdbCassandraFlavors(GetGaussdbCassandraFlavorsArgs args, InvokeOptions options)
fn::invoke:
function: flexibleengine:index/getGaussdbCassandraFlavors:getGaussdbCassandraFlavors
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- Specifies the data source ID.
- Memory string
- Specifies the memory size of the flavors.
- Region string
- The region in which to obtain the flavors. If omitted, the provider-level region will be used.
- Vcpus string
- Specifies the count of vcpus of the flavors.
- Version string
- Specifies the engine version of the flavors.
- Id string
- Specifies the data source ID.
- Memory string
- Specifies the memory size of the flavors.
- Region string
- The region in which to obtain the flavors. If omitted, the provider-level region will be used.
- Vcpus string
- Specifies the count of vcpus of the flavors.
- Version string
- Specifies the engine version of the flavors.
- id String
- Specifies the data source ID.
- memory String
- Specifies the memory size of the flavors.
- region String
- The region in which to obtain the flavors. If omitted, the provider-level region will be used.
- vcpus String
- Specifies the count of vcpus of the flavors.
- version String
- Specifies the engine version of the flavors.
- id string
- Specifies the data source ID.
- memory string
- Specifies the memory size of the flavors.
- region string
- The region in which to obtain the flavors. If omitted, the provider-level region will be used.
- vcpus string
- Specifies the count of vcpus of the flavors.
- version string
- Specifies the engine version of the flavors.
- id String
- Specifies the data source ID.
- memory String
- Specifies the memory size of the flavors.
- region String
- The region in which to obtain the flavors. If omitted, the provider-level region will be used.
- vcpus String
- Specifies the count of vcpus of the flavors.
- version String
- Specifies the engine version of the flavors.
getGaussdbCassandraFlavors Result
The following output properties are available:
- Flavors
List<Get
Gaussdb Cassandra Flavors Flavor> - Indicates the flavors information. The flavors object structure is documented below.
- Id string
- Specifies the data source ID.
- Region string
- Memory string
- Indicates the memory size in GB.
- Vcpus string
- Indicates the CPU size.
- Version string
- Indicates the database version.
- Flavors
[]Get
Gaussdb Cassandra Flavors Flavor - Indicates the flavors information. The flavors object structure is documented below.
- Id string
- Specifies the data source ID.
- Region string
- Memory string
- Indicates the memory size in GB.
- Vcpus string
- Indicates the CPU size.
- Version string
- Indicates the database version.
- flavors
List<Get
Gaussdb Cassandra Flavors Flavor> - Indicates the flavors information. The flavors object structure is documented below.
- id String
- Specifies the data source ID.
- region String
- memory String
- Indicates the memory size in GB.
- vcpus String
- Indicates the CPU size.
- version String
- Indicates the database version.
- flavors
Get
Gaussdb Cassandra Flavors Flavor[] - Indicates the flavors information. The flavors object structure is documented below.
- id string
- Specifies the data source ID.
- region string
- memory string
- Indicates the memory size in GB.
- vcpus string
- Indicates the CPU size.
- version string
- Indicates the database version.
Supporting Types
GetGaussdbCassandraFlavorsFlavor
- Az
Status Dictionary<string, string> - Indicates the flavor status in each availability zone.
- Memory string
- Specifies the memory size of the flavors.
- Name string
- Indicates the spec code of the flavor.
- Vcpus string
- Specifies the count of vcpus of the flavors.
- Version string
- Specifies the engine version of the flavors.
- az
Status {[key: string]: string} - Indicates the flavor status in each availability zone.
- memory string
- Specifies the memory size of the flavors.
- name string
- Indicates the spec code of the flavor.
- vcpus string
- Specifies the count of vcpus of the flavors.
- version string
- Specifies the engine version of the flavors.
Package Details
- Repository
- flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
- License
- Notes
- This Pulumi package is based on the
flexibleengineTerraform Provider.
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
