flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
flexibleengine.getGaussdbNosqlFlavors
Start a Neo task
Explain and create a flexibleengine.getGaussdbNosqlFlavors resource
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
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,
});
import pulumi
import pulumi_flexibleengine as flexibleengine
flavors = flexibleengine.get_gaussdb_nosql_flavors(memory=8,
vcpus=4)
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
})
}
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,
});
});
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());
}
}
variables:
flavors:
fn::invoke:
function: flexibleengine:getGaussdbNosqlFlavors
arguments:
memory: 8
vcpus: 4
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>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]func GetGaussdbNosqlFlavors(ctx *Context, args *GetGaussdbNosqlFlavorsArgs, opts ...InvokeOption) (*GetGaussdbNosqlFlavorsResult, error)
func GetGaussdbNosqlFlavorsOutput(ctx *Context, args *GetGaussdbNosqlFlavorsOutputArgs, opts ...InvokeOption) GetGaussdbNosqlFlavorsResultOutput> 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)
}public static CompletableFuture<GetGaussdbNosqlFlavorsResult> getGaussdbNosqlFlavors(GetGaussdbNosqlFlavorsArgs args, InvokeOptions options)
public static Output<GetGaussdbNosqlFlavorsResult> getGaussdbNosqlFlavors(GetGaussdbNosqlFlavorsArgs args, InvokeOptions options)
fn::invoke:
function: flexibleengine:index/getGaussdbNosqlFlavors:getGaussdbNosqlFlavors
arguments:
# arguments dictionaryThe following arguments are supported:
- Availability
Zone 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.
- Engine
Version 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.
- Availability
Zone 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.
- Engine
Version 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.
- availability
Zone 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.
- engine
Version 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.
- availability
Zone 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.
- engine
Version 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.
- availability
Zone 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.
- engine
Version 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<Get
Gaussdb Nosql Flavors Flavor> - The information of the GaussDB specifications. Structure is documented below.
- Id string
- Data source ID.
- Availability
Zone string - Engine string
- The type of the database engine.
- Engine
Version string - The version of the database engine.
- Memory double
- The memory size, in GB.
- Region string
- Vcpus double
- The number of vCPUs.
- Flavors
[]Get
Gaussdb Nosql Flavors Flavor - The information of the GaussDB specifications. Structure is documented below.
- Id string
- Data source ID.
- Availability
Zone string - Engine string
- The type of the database engine.
- Engine
Version string - The version of the database engine.
- Memory float64
- The memory size, in GB.
- Region string
- Vcpus float64
- The number of vCPUs.
- flavors
List<Get
Gaussdb Nosql Flavors Flavor> - The information of the GaussDB specifications. Structure is documented below.
- id String
- Data source ID.
- availability
Zone String - engine String
- The type of the database engine.
- engine
Version String - The version of the database engine.
- memory Double
- The memory size, in GB.
- region String
- vcpus Double
- The number of vCPUs.
- flavors
Get
Gaussdb Nosql Flavors Flavor[] - The information of the GaussDB specifications. Structure is documented below.
- id string
- Data source ID.
- availability
Zone string - engine string
- The type of the database engine.
- engine
Version string - The version of the database engine.
- memory number
- The memory size, in GB.
- region string
- vcpus number
- The number of vCPUs.
- flavors
Sequence[Get
Gaussdb Nosql Flavors Flavor] - 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.
- availability
Zone String - engine String
- The type of the database engine.
- engine
Version 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
- Availability
Zones List<string> - All available zones (on sale) for current flavor.
- 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.
- Engine
Version string - Specifies the version of the database engine.
- Memory string
- Specifies the memory size in gigabytes (GB).
- Name string
- The spec code of the flavor.
- Vcpus string
- Specifies the number of vCPUs.
- Availability
Zones []string - All available zones (on sale) for current flavor.
- 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.
- Engine
Version string - Specifies the version of the database engine.
- Memory string
- Specifies the memory size in gigabytes (GB).
- Name string
- The spec code of the flavor.
- Vcpus string
- Specifies the number of vCPUs.
- availability
Zones List<String> - All available zones (on sale) for current flavor.
- 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.
- engine
Version String - Specifies the version of the database engine.
- memory String
- Specifies the memory size in gigabytes (GB).
- name String
- The spec code of the flavor.
- vcpus String
- Specifies the number of vCPUs.
- availability
Zones string[] - All available zones (on sale) for current flavor.
- 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.
- engine
Version string - Specifies the version of the database engine.
- memory string
- Specifies the memory size in gigabytes (GB).
- name string
- The spec code of the flavor.
- vcpus string
- Specifies the number of vCPUs.
- availability_
zones Sequence[str] - All available zones (on sale) for current flavor.
- 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.
- memory str
- Specifies the memory size in gigabytes (GB).
- name str
- The spec code of the flavor.
- vcpus str
- Specifies the number of vCPUs.
- availability
Zones List<String> - All available zones (on sale) for current flavor.
- 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.
- engine
Version String - Specifies the version of the database engine.
- memory String
- Specifies the memory size in gigabytes (GB).
- name String
- The spec code of the flavor.
- vcpus String
- Specifies the number of vCPUs.
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
