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

flexibleengine.getGaussdbNosqlFlavors

Explore with Pulumi AI

Use this data source to get available FlexibleEngine GaussDB (for NoSQL) flavors.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";

const flavors = flexibleengine.getGaussdbNosqlFlavors({
    memory: 8,
    vcpus: 4,
});
Copy
import pulumi
import pulumi_flexibleengine as flexibleengine

flavors = flexibleengine.get_gaussdb_nosql_flavors(memory=8,
    vcpus=4)
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.GetGaussdbNosqlFlavors(ctx, &flexibleengine.GetGaussdbNosqlFlavorsArgs{
			Memory: pulumi.Float64Ref(8),
			Vcpus:  pulumi.Float64Ref(4),
		}, 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.GetGaussdbNosqlFlavors.Invoke(new()
    {
        Memory = 8,
        Vcpus = 4,
    });

});
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.GetGaussdbNosqlFlavorsArgs;
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.getGaussdbNosqlFlavors(GetGaussdbNosqlFlavorsArgs.builder()
            .memory(8)
            .vcpus(4)
            .build());

    }
}
Copy
variables:
  flavors:
    fn::invoke:
      function: flexibleengine:getGaussdbNosqlFlavors
      arguments:
        memory: 8
        vcpus: 4
Copy

Using getGaussdbNosqlFlavors

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 getGaussdbNosqlFlavors(args: GetGaussdbNosqlFlavorsArgs, opts?: InvokeOptions): Promise<GetGaussdbNosqlFlavorsResult>
function getGaussdbNosqlFlavorsOutput(args: GetGaussdbNosqlFlavorsOutputArgs, opts?: InvokeOptions): Output<GetGaussdbNosqlFlavorsResult>
Copy
def get_gaussdb_nosql_flavors(availability_zone: Optional[str] = None,
                              engine: Optional[str] = None,
                              engine_version: Optional[str] = None,
                              id: Optional[str] = None,
                              memory: Optional[float] = None,
                              region: Optional[str] = None,
                              vcpus: Optional[float] = None,
                              opts: Optional[InvokeOptions] = None) -> GetGaussdbNosqlFlavorsResult
def get_gaussdb_nosql_flavors_output(availability_zone: Optional[pulumi.Input[str]] = None,
                              engine: Optional[pulumi.Input[str]] = None,
                              engine_version: Optional[pulumi.Input[str]] = None,
                              id: Optional[pulumi.Input[str]] = None,
                              memory: Optional[pulumi.Input[float]] = None,
                              region: Optional[pulumi.Input[str]] = None,
                              vcpus: Optional[pulumi.Input[float]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetGaussdbNosqlFlavorsResult]
Copy
func GetGaussdbNosqlFlavors(ctx *Context, args *GetGaussdbNosqlFlavorsArgs, opts ...InvokeOption) (*GetGaussdbNosqlFlavorsResult, error)
func GetGaussdbNosqlFlavorsOutput(ctx *Context, args *GetGaussdbNosqlFlavorsOutputArgs, opts ...InvokeOption) GetGaussdbNosqlFlavorsResultOutput
Copy

> Note: This function is named GetGaussdbNosqlFlavors in the Go SDK.

public static class GetGaussdbNosqlFlavors 
{
    public static Task<GetGaussdbNosqlFlavorsResult> InvokeAsync(GetGaussdbNosqlFlavorsArgs args, InvokeOptions? opts = null)
    public static Output<GetGaussdbNosqlFlavorsResult> Invoke(GetGaussdbNosqlFlavorsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetGaussdbNosqlFlavorsResult> getGaussdbNosqlFlavors(GetGaussdbNosqlFlavorsArgs args, InvokeOptions options)
public static Output<GetGaussdbNosqlFlavorsResult> getGaussdbNosqlFlavors(GetGaussdbNosqlFlavorsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: flexibleengine:index/getGaussdbNosqlFlavors:getGaussdbNosqlFlavors
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

AvailabilityZone string
Specifies the availability zone (AZ) of the GaussDB specifications.
Engine string
Specifies the type of the database engine. The valid values are as follows:

  • cassandra: The default value and means to query GaussDB (for Cassandra) instance specifications.
  • influxdb: Means to query GaussDB (for Influx) instance specifications.
EngineVersion string
Specifies the version of the database engine.
Id string
Data source ID.
Memory double
Specifies the memory size in gigabytes (GB).
Region string
Specifies the region in which to obtain the GaussDB specifications. If omitted, the provider-level region will be used.
Vcpus double
Specifies the number of vCPUs.
AvailabilityZone string
Specifies the availability zone (AZ) of the GaussDB specifications.
Engine string
Specifies the type of the database engine. The valid values are as follows:

  • cassandra: The default value and means to query GaussDB (for Cassandra) instance specifications.
  • influxdb: Means to query GaussDB (for Influx) instance specifications.
EngineVersion string
Specifies the version of the database engine.
Id string
Data source ID.
Memory float64
Specifies the memory size in gigabytes (GB).
Region string
Specifies the region in which to obtain the GaussDB specifications. If omitted, the provider-level region will be used.
Vcpus float64
Specifies the number of vCPUs.
availabilityZone String
Specifies the availability zone (AZ) of the GaussDB specifications.
engine String
Specifies the type of the database engine. The valid values are as follows:

  • cassandra: The default value and means to query GaussDB (for Cassandra) instance specifications.
  • influxdb: Means to query GaussDB (for Influx) instance specifications.
engineVersion String
Specifies the version of the database engine.
id String
Data source ID.
memory Double
Specifies the memory size in gigabytes (GB).
region String
Specifies the region in which to obtain the GaussDB specifications. If omitted, the provider-level region will be used.
vcpus Double
Specifies the number of vCPUs.
availabilityZone string
Specifies the availability zone (AZ) of the GaussDB specifications.
engine string
Specifies the type of the database engine. The valid values are as follows:

  • cassandra: The default value and means to query GaussDB (for Cassandra) instance specifications.
  • influxdb: Means to query GaussDB (for Influx) instance specifications.
engineVersion string
Specifies the version of the database engine.
id string
Data source ID.
memory number
Specifies the memory size in gigabytes (GB).
region string
Specifies the region in which to obtain the GaussDB specifications. If omitted, the provider-level region will be used.
vcpus number
Specifies the number of vCPUs.
availability_zone str
Specifies the availability zone (AZ) of the GaussDB specifications.
engine str
Specifies the type of the database engine. The valid values are as follows:

  • cassandra: The default value and means to query GaussDB (for Cassandra) instance specifications.
  • influxdb: Means to query GaussDB (for Influx) instance specifications.
engine_version str
Specifies the version of the database engine.
id str
Data source ID.
memory float
Specifies the memory size in gigabytes (GB).
region str
Specifies the region in which to obtain the GaussDB specifications. If omitted, the provider-level region will be used.
vcpus float
Specifies the number of vCPUs.
availabilityZone String
Specifies the availability zone (AZ) of the GaussDB specifications.
engine String
Specifies the type of the database engine. The valid values are as follows:

  • cassandra: The default value and means to query GaussDB (for Cassandra) instance specifications.
  • influxdb: Means to query GaussDB (for Influx) instance specifications.
engineVersion String
Specifies the version of the database engine.
id String
Data source ID.
memory Number
Specifies the memory size in gigabytes (GB).
region String
Specifies the region in which to obtain the GaussDB specifications. If omitted, the provider-level region will be used.
vcpus Number
Specifies the number of vCPUs.

getGaussdbNosqlFlavors Result

The following output properties are available:

Flavors List<GetGaussdbNosqlFlavorsFlavor>
The information of the GaussDB specifications. Structure is documented below.
Id string
Data source ID.
AvailabilityZone string
Engine string
The type of the database engine.
EngineVersion string
The version of the database engine.
Memory double
The memory size, in GB.
Region string
Vcpus double
The number of vCPUs.
Flavors []GetGaussdbNosqlFlavorsFlavor
The information of the GaussDB specifications. Structure is documented below.
Id string
Data source ID.
AvailabilityZone string
Engine string
The type of the database engine.
EngineVersion string
The version of the database engine.
Memory float64
The memory size, in GB.
Region string
Vcpus float64
The number of vCPUs.
flavors List<GetGaussdbNosqlFlavorsFlavor>
The information of the GaussDB specifications. Structure is documented below.
id String
Data source ID.
availabilityZone String
engine String
The type of the database engine.
engineVersion String
The version of the database engine.
memory Double
The memory size, in GB.
region String
vcpus Double
The number of vCPUs.
flavors GetGaussdbNosqlFlavorsFlavor[]
The information of the GaussDB specifications. Structure is documented below.
id string
Data source ID.
availabilityZone string
engine string
The type of the database engine.
engineVersion string
The version of the database engine.
memory number
The memory size, in GB.
region string
vcpus number
The number of vCPUs.
flavors Sequence[GetGaussdbNosqlFlavorsFlavor]
The information of the GaussDB specifications. Structure is documented below.
id str
Data source ID.
availability_zone str
engine str
The type of the database engine.
engine_version str
The version of the database engine.
memory float
The memory size, in GB.
region str
vcpus float
The number of vCPUs.
flavors List<Property Map>
The information of the GaussDB specifications. Structure is documented below.
id String
Data source ID.
availabilityZone String
engine String
The type of the database engine.
engineVersion String
The version of the database engine.
memory Number
The memory size, in GB.
region String
vcpus Number
The number of vCPUs.

Supporting Types

GetGaussdbNosqlFlavorsFlavor

AvailabilityZones This property is required. List<string>
All available zones (on sale) for current flavor.
Engine This property is required. string
Specifies the type of the database engine. The valid values are as follows:

  • cassandra: The default value and means to query GaussDB (for Cassandra) instance specifications.
  • influxdb: Means to query GaussDB (for Influx) instance specifications.
EngineVersion This property is required. string
Specifies the version of the database engine.
Memory This property is required. string
Specifies the memory size in gigabytes (GB).
Name This property is required. string
The spec code of the flavor.
Vcpus This property is required. string
Specifies the number of vCPUs.
AvailabilityZones This property is required. []string
All available zones (on sale) for current flavor.
Engine This property is required. string
Specifies the type of the database engine. The valid values are as follows:

  • cassandra: The default value and means to query GaussDB (for Cassandra) instance specifications.
  • influxdb: Means to query GaussDB (for Influx) instance specifications.
EngineVersion This property is required. string
Specifies the version of the database engine.
Memory This property is required. string
Specifies the memory size in gigabytes (GB).
Name This property is required. string
The spec code of the flavor.
Vcpus This property is required. string
Specifies the number of vCPUs.
availabilityZones This property is required. List<String>
All available zones (on sale) for current flavor.
engine This property is required. String
Specifies the type of the database engine. The valid values are as follows:

  • cassandra: The default value and means to query GaussDB (for Cassandra) instance specifications.
  • influxdb: Means to query GaussDB (for Influx) instance specifications.
engineVersion This property is required. String
Specifies the version of the database engine.
memory This property is required. String
Specifies the memory size in gigabytes (GB).
name This property is required. String
The spec code of the flavor.
vcpus This property is required. String
Specifies the number of vCPUs.
availabilityZones This property is required. string[]
All available zones (on sale) for current flavor.
engine This property is required. string
Specifies the type of the database engine. The valid values are as follows:

  • cassandra: The default value and means to query GaussDB (for Cassandra) instance specifications.
  • influxdb: Means to query GaussDB (for Influx) instance specifications.
engineVersion This property is required. string
Specifies the version of the database engine.
memory This property is required. string
Specifies the memory size in gigabytes (GB).
name This property is required. string
The spec code of the flavor.
vcpus This property is required. string
Specifies the number of vCPUs.
availability_zones This property is required. Sequence[str]
All available zones (on sale) for current flavor.
engine This property is required. str
Specifies the type of the database engine. The valid values are as follows:

  • cassandra: The default value and means to query GaussDB (for Cassandra) instance specifications.
  • influxdb: Means to query GaussDB (for Influx) instance specifications.
engine_version This property is required. str
Specifies the version of the database engine.
memory This property is required. str
Specifies the memory size in gigabytes (GB).
name This property is required. str
The spec code of the flavor.
vcpus This property is required. str
Specifies the number of vCPUs.
availabilityZones This property is required. List<String>
All available zones (on sale) for current flavor.
engine This property is required. String
Specifies the type of the database engine. The valid values are as follows:

  • cassandra: The default value and means to query GaussDB (for Cassandra) instance specifications.
  • influxdb: Means to query GaussDB (for Influx) instance specifications.
engineVersion This property is required. String
Specifies the version of the database engine.
memory This property is required. String
Specifies the memory size in gigabytes (GB).
name This property is required. String
The spec code of the flavor.
vcpus This property is required. String
Specifies the number of vCPUs.

Package Details

Repository
flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
License
Notes
This Pulumi package is based on the flexibleengine Terraform Provider.