1. Packages
  2. Flexibleengine Provider
  3. API Docs
  4. getGaussdbCassandraFlavors
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

flexibleengine.getGaussdbCassandraFlavors

Explore with Pulumi AI

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({});
Copy
import pulumi
import pulumi_flexibleengine as flexibleengine

flavors = flexibleengine.get_gaussdb_cassandra_flavors()
Copy
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
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Flexibleengine = Pulumi.Flexibleengine;

return await Deployment.RunAsync(() => 
{
    var flavors = Flexibleengine.GetGaussdbCassandraFlavors.Invoke();

});
Copy
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();

    }
}
Copy
variables:
  flavors:
    fn::invoke:
      function: flexibleengine:getGaussdbCassandraFlavors
      arguments: {}
Copy

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>
Copy
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]
Copy
func GetGaussdbCassandraFlavors(ctx *Context, args *GetGaussdbCassandraFlavorsArgs, opts ...InvokeOption) (*GetGaussdbCassandraFlavorsResult, error)
func GetGaussdbCassandraFlavorsOutput(ctx *Context, args *GetGaussdbCassandraFlavorsOutputArgs, opts ...InvokeOption) GetGaussdbCassandraFlavorsResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetGaussdbCassandraFlavorsResult> getGaussdbCassandraFlavors(GetGaussdbCassandraFlavorsArgs args, InvokeOptions options)
public static Output<GetGaussdbCassandraFlavorsResult> getGaussdbCassandraFlavors(GetGaussdbCassandraFlavorsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: flexibleengine:index/getGaussdbCassandraFlavors:getGaussdbCassandraFlavors
  arguments:
    # arguments dictionary
Copy

The 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 str
Specifies the data source ID.
memory str
Specifies the memory size of the flavors.
region str
The region in which to obtain the flavors. If omitted, the provider-level region will be used.
vcpus str
Specifies the count of vcpus of the flavors.
version str
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<GetGaussdbCassandraFlavorsFlavor>
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 []GetGaussdbCassandraFlavorsFlavor
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<GetGaussdbCassandraFlavorsFlavor>
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 GetGaussdbCassandraFlavorsFlavor[]
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 Sequence[GetGaussdbCassandraFlavorsFlavor]
Indicates the flavors information. The flavors object structure is documented below.
id str
Specifies the data source ID.
region str
memory str
Indicates the memory size in GB.
vcpus str
Indicates the CPU size.
version str
Indicates the database version.
flavors List<Property Map>
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

AzStatus This property is required. Dictionary<string, string>
Indicates the flavor status in each availability zone.
Memory This property is required. string
Specifies the memory size of the flavors.
Name This property is required. string
Indicates the spec code of the flavor.
Vcpus This property is required. string
Specifies the count of vcpus of the flavors.
Version This property is required. string
Specifies the engine version of the flavors.
AzStatus This property is required. map[string]string
Indicates the flavor status in each availability zone.
Memory This property is required. string
Specifies the memory size of the flavors.
Name This property is required. string
Indicates the spec code of the flavor.
Vcpus This property is required. string
Specifies the count of vcpus of the flavors.
Version This property is required. string
Specifies the engine version of the flavors.
azStatus This property is required. Map<String,String>
Indicates the flavor status in each availability zone.
memory This property is required. String
Specifies the memory size of the flavors.
name This property is required. String
Indicates the spec code of the flavor.
vcpus This property is required. String
Specifies the count of vcpus of the flavors.
version This property is required. String
Specifies the engine version of the flavors.
azStatus This property is required. {[key: string]: string}
Indicates the flavor status in each availability zone.
memory This property is required. string
Specifies the memory size of the flavors.
name This property is required. string
Indicates the spec code of the flavor.
vcpus This property is required. string
Specifies the count of vcpus of the flavors.
version This property is required. string
Specifies the engine version of the flavors.
az_status This property is required. Mapping[str, str]
Indicates the flavor status in each availability zone.
memory This property is required. str
Specifies the memory size of the flavors.
name This property is required. str
Indicates the spec code of the flavor.
vcpus This property is required. str
Specifies the count of vcpus of the flavors.
version This property is required. str
Specifies the engine version of the flavors.
azStatus This property is required. Map<String>
Indicates the flavor status in each availability zone.
memory This property is required. String
Specifies the memory size of the flavors.
name This property is required. String
Indicates the spec code of the flavor.
vcpus This property is required. String
Specifies the count of vcpus of the flavors.
version This property is required. 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 flexibleengine Terraform Provider.