flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
flexibleengine.getRdsFlavorsV3
Start a Neo task
Explain and create a flexibleengine.getRdsFlavorsV3 resource
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
Use this data source to get available FlexibleEngine RDS flavors.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";
const flavor = flexibleengine.getRdsFlavorsV3({
dbType: "PostgreSQL",
dbVersion: "12",
instanceMode: "ha",
vcpus: 4,
});
import pulumi
import pulumi_flexibleengine as flexibleengine
flavor = flexibleengine.get_rds_flavors_v3(db_type="PostgreSQL",
db_version="12",
instance_mode="ha",
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.GetRdsFlavorsV3(ctx, &flexibleengine.GetRdsFlavorsV3Args{
DbType: "PostgreSQL",
DbVersion: pulumi.StringRef("12"),
InstanceMode: pulumi.StringRef("ha"),
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 flavor = Flexibleengine.GetRdsFlavorsV3.Invoke(new()
{
DbType = "PostgreSQL",
DbVersion = "12",
InstanceMode = "ha",
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.GetRdsFlavorsV3Args;
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 flavor = FlexibleengineFunctions.getRdsFlavorsV3(GetRdsFlavorsV3Args.builder()
.dbType("PostgreSQL")
.dbVersion("12")
.instanceMode("ha")
.vcpus(4)
.build());
}
}
variables:
flavor:
fn::invoke:
function: flexibleengine:getRdsFlavorsV3
arguments:
dbType: PostgreSQL
dbVersion: '12'
instanceMode: ha
vcpus: 4
Using getRdsFlavorsV3
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 getRdsFlavorsV3(args: GetRdsFlavorsV3Args, opts?: InvokeOptions): Promise<GetRdsFlavorsV3Result>
function getRdsFlavorsV3Output(args: GetRdsFlavorsV3OutputArgs, opts?: InvokeOptions): Output<GetRdsFlavorsV3Result>def get_rds_flavors_v3(availability_zone: Optional[str] = None,
db_type: Optional[str] = None,
db_version: Optional[str] = None,
group_type: Optional[str] = None,
id: Optional[str] = None,
instance_mode: Optional[str] = None,
memory: Optional[float] = None,
region: Optional[str] = None,
vcpus: Optional[float] = None,
opts: Optional[InvokeOptions] = None) -> GetRdsFlavorsV3Result
def get_rds_flavors_v3_output(availability_zone: Optional[pulumi.Input[str]] = None,
db_type: Optional[pulumi.Input[str]] = None,
db_version: Optional[pulumi.Input[str]] = None,
group_type: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
instance_mode: 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[GetRdsFlavorsV3Result]func GetRdsFlavorsV3(ctx *Context, args *GetRdsFlavorsV3Args, opts ...InvokeOption) (*GetRdsFlavorsV3Result, error)
func GetRdsFlavorsV3Output(ctx *Context, args *GetRdsFlavorsV3OutputArgs, opts ...InvokeOption) GetRdsFlavorsV3ResultOutput> Note: This function is named GetRdsFlavorsV3 in the Go SDK.
public static class GetRdsFlavorsV3
{
public static Task<GetRdsFlavorsV3Result> InvokeAsync(GetRdsFlavorsV3Args args, InvokeOptions? opts = null)
public static Output<GetRdsFlavorsV3Result> Invoke(GetRdsFlavorsV3InvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRdsFlavorsV3Result> getRdsFlavorsV3(GetRdsFlavorsV3Args args, InvokeOptions options)
public static Output<GetRdsFlavorsV3Result> getRdsFlavorsV3(GetRdsFlavorsV3Args args, InvokeOptions options)
fn::invoke:
function: flexibleengine:index/getRdsFlavorsV3:getRdsFlavorsV3
arguments:
# arguments dictionaryThe following arguments are supported:
- Db
Type string - Specifies the DB engine. Value: MySQL, PostgreSQL, SQLServer and MariaDB.
- Availability
Zone string - Specifies the availability zone which the RDS flavor belongs to.
- Db
Version string - Specifies the database version. The supported versions of each database
are as follows:
- MySQL: MySQL databases support 5.6, 5.7 and 8.0.
- PostgreSQL: PostgreSQL databases support 9.5, 9.6, 10, 11, 12, 13, 14 and 1.0 (Enhanced Edition).
- SQLServer: Microsoft SQL Server databases support 2014_SE, 2016_SE and 2016_EE.
- MariaDB: MariaDB databases support 10.5.
- Group
Type string - Specifies the performance specification, the valid values are as follows:
- normal: General enhanced.
- normal2: General enhanced type II.
- dedicatedNormal: (dedicatedNormalLocalssd): Dedicated for x86.
- normalLocalssd: x86 general type.
- general: General type.
- bigmem: Large memory type.
- Id string
- The ID of the rds flavor.
- Instance
Mode string - The mode of instance. Value: ha(indicates primary/standby instance), single(indicates single instance) and replica(indicates read replicas).
- Memory double
- Specifies the memory size(GB) in the RDS flavor.
- Region string
- The region in which to query the data source. If omitted, the provider-level region will be used.
- Vcpus double
- Specifies the number of vCPUs in the RDS flavor.
- Db
Type string - Specifies the DB engine. Value: MySQL, PostgreSQL, SQLServer and MariaDB.
- Availability
Zone string - Specifies the availability zone which the RDS flavor belongs to.
- Db
Version string - Specifies the database version. The supported versions of each database
are as follows:
- MySQL: MySQL databases support 5.6, 5.7 and 8.0.
- PostgreSQL: PostgreSQL databases support 9.5, 9.6, 10, 11, 12, 13, 14 and 1.0 (Enhanced Edition).
- SQLServer: Microsoft SQL Server databases support 2014_SE, 2016_SE and 2016_EE.
- MariaDB: MariaDB databases support 10.5.
- Group
Type string - Specifies the performance specification, the valid values are as follows:
- normal: General enhanced.
- normal2: General enhanced type II.
- dedicatedNormal: (dedicatedNormalLocalssd): Dedicated for x86.
- normalLocalssd: x86 general type.
- general: General type.
- bigmem: Large memory type.
- Id string
- The ID of the rds flavor.
- Instance
Mode string - The mode of instance. Value: ha(indicates primary/standby instance), single(indicates single instance) and replica(indicates read replicas).
- Memory float64
- Specifies the memory size(GB) in the RDS flavor.
- Region string
- The region in which to query the data source. If omitted, the provider-level region will be used.
- Vcpus float64
- Specifies the number of vCPUs in the RDS flavor.
- db
Type String - Specifies the DB engine. Value: MySQL, PostgreSQL, SQLServer and MariaDB.
- availability
Zone String - Specifies the availability zone which the RDS flavor belongs to.
- db
Version String - Specifies the database version. The supported versions of each database
are as follows:
- MySQL: MySQL databases support 5.6, 5.7 and 8.0.
- PostgreSQL: PostgreSQL databases support 9.5, 9.6, 10, 11, 12, 13, 14 and 1.0 (Enhanced Edition).
- SQLServer: Microsoft SQL Server databases support 2014_SE, 2016_SE and 2016_EE.
- MariaDB: MariaDB databases support 10.5.
- group
Type String - Specifies the performance specification, the valid values are as follows:
- normal: General enhanced.
- normal2: General enhanced type II.
- dedicatedNormal: (dedicatedNormalLocalssd): Dedicated for x86.
- normalLocalssd: x86 general type.
- general: General type.
- bigmem: Large memory type.
- id String
- The ID of the rds flavor.
- instance
Mode String - The mode of instance. Value: ha(indicates primary/standby instance), single(indicates single instance) and replica(indicates read replicas).
- memory Double
- Specifies the memory size(GB) in the RDS flavor.
- region String
- The region in which to query the data source. If omitted, the provider-level region will be used.
- vcpus Double
- Specifies the number of vCPUs in the RDS flavor.
- db
Type string - Specifies the DB engine. Value: MySQL, PostgreSQL, SQLServer and MariaDB.
- availability
Zone string - Specifies the availability zone which the RDS flavor belongs to.
- db
Version string - Specifies the database version. The supported versions of each database
are as follows:
- MySQL: MySQL databases support 5.6, 5.7 and 8.0.
- PostgreSQL: PostgreSQL databases support 9.5, 9.6, 10, 11, 12, 13, 14 and 1.0 (Enhanced Edition).
- SQLServer: Microsoft SQL Server databases support 2014_SE, 2016_SE and 2016_EE.
- MariaDB: MariaDB databases support 10.5.
- group
Type string - Specifies the performance specification, the valid values are as follows:
- normal: General enhanced.
- normal2: General enhanced type II.
- dedicatedNormal: (dedicatedNormalLocalssd): Dedicated for x86.
- normalLocalssd: x86 general type.
- general: General type.
- bigmem: Large memory type.
- id string
- The ID of the rds flavor.
- instance
Mode string - The mode of instance. Value: ha(indicates primary/standby instance), single(indicates single instance) and replica(indicates read replicas).
- memory number
- Specifies the memory size(GB) in the RDS flavor.
- region string
- The region in which to query the data source. If omitted, the provider-level region will be used.
- vcpus number
- Specifies the number of vCPUs in the RDS flavor.
- db_
type str - Specifies the DB engine. Value: MySQL, PostgreSQL, SQLServer and MariaDB.
- availability_
zone str - Specifies the availability zone which the RDS flavor belongs to.
- db_
version str - Specifies the database version. The supported versions of each database
are as follows:
- MySQL: MySQL databases support 5.6, 5.7 and 8.0.
- PostgreSQL: PostgreSQL databases support 9.5, 9.6, 10, 11, 12, 13, 14 and 1.0 (Enhanced Edition).
- SQLServer: Microsoft SQL Server databases support 2014_SE, 2016_SE and 2016_EE.
- MariaDB: MariaDB databases support 10.5.
- group_
type str - Specifies the performance specification, the valid values are as follows:
- normal: General enhanced.
- normal2: General enhanced type II.
- dedicatedNormal: (dedicatedNormalLocalssd): Dedicated for x86.
- normalLocalssd: x86 general type.
- general: General type.
- bigmem: Large memory type.
- id str
- The ID of the rds flavor.
- instance_
mode str - The mode of instance. Value: ha(indicates primary/standby instance), single(indicates single instance) and replica(indicates read replicas).
- memory float
- Specifies the memory size(GB) in the RDS flavor.
- region str
- The region in which to query the data source. If omitted, the provider-level region will be used.
- vcpus float
- Specifies the number of vCPUs in the RDS flavor.
- db
Type String - Specifies the DB engine. Value: MySQL, PostgreSQL, SQLServer and MariaDB.
- availability
Zone String - Specifies the availability zone which the RDS flavor belongs to.
- db
Version String - Specifies the database version. The supported versions of each database
are as follows:
- MySQL: MySQL databases support 5.6, 5.7 and 8.0.
- PostgreSQL: PostgreSQL databases support 9.5, 9.6, 10, 11, 12, 13, 14 and 1.0 (Enhanced Edition).
- SQLServer: Microsoft SQL Server databases support 2014_SE, 2016_SE and 2016_EE.
- MariaDB: MariaDB databases support 10.5.
- group
Type String - Specifies the performance specification, the valid values are as follows:
- normal: General enhanced.
- normal2: General enhanced type II.
- dedicatedNormal: (dedicatedNormalLocalssd): Dedicated for x86.
- normalLocalssd: x86 general type.
- general: General type.
- bigmem: Large memory type.
- id String
- The ID of the rds flavor.
- instance
Mode String - The mode of instance. Value: ha(indicates primary/standby instance), single(indicates single instance) and replica(indicates read replicas).
- memory Number
- Specifies the memory size(GB) in the RDS flavor.
- region String
- The region in which to query the data source. If omitted, the provider-level region will be used.
- vcpus Number
- Specifies the number of vCPUs in the RDS flavor.
getRdsFlavorsV3 Result
The following output properties are available:
- Db
Type string - Flavors
List<Get
Rds Flavors V3Flavor> - Indicates the flavors information. The flavors object structure is documented below.
- Id string
- The ID of the rds flavor.
- Region string
- Availability
Zone string - Db
Version string - Group
Type string - The performance specification.
- Instance
Mode string - The mode of instance.
- Memory double
- The memory size in GB.
- Vcpus double
- The CPU size.
- Db
Type string - Flavors
[]Get
Rds Flavors V3Flavor - Indicates the flavors information. The flavors object structure is documented below.
- Id string
- The ID of the rds flavor.
- Region string
- Availability
Zone string - Db
Version string - Group
Type string - The performance specification.
- Instance
Mode string - The mode of instance.
- Memory float64
- The memory size in GB.
- Vcpus float64
- The CPU size.
- db
Type String - flavors
List<Get
Rds Flavors V3Flavor> - Indicates the flavors information. The flavors object structure is documented below.
- id String
- The ID of the rds flavor.
- region String
- availability
Zone String - db
Version String - group
Type String - The performance specification.
- instance
Mode String - The mode of instance.
- memory Double
- The memory size in GB.
- vcpus Double
- The CPU size.
- db
Type string - flavors
Get
Rds Flavors V3Flavor[] - Indicates the flavors information. The flavors object structure is documented below.
- id string
- The ID of the rds flavor.
- region string
- availability
Zone string - db
Version string - group
Type string - The performance specification.
- instance
Mode string - The mode of instance.
- memory number
- The memory size in GB.
- vcpus number
- The CPU size.
- db_
type str - flavors
Sequence[Get
Rds Flavors V3Flavor] - Indicates the flavors information. The flavors object structure is documented below.
- id str
- The ID of the rds flavor.
- region str
- availability_
zone str - db_
version str - group_
type str - The performance specification.
- instance_
mode str - The mode of instance.
- memory float
- The memory size in GB.
- vcpus float
- The CPU size.
- db
Type String - flavors List<Property Map>
- Indicates the flavors information. The flavors object structure is documented below.
- id String
- The ID of the rds flavor.
- region String
- availability
Zone String - db
Version String - group
Type String - The performance specification.
- instance
Mode String - The mode of instance.
- memory Number
- The memory size in GB.
- vcpus Number
- The CPU size.
Supporting Types
GetRdsFlavorsV3Flavor
- Availability
Zones List<string> - The availability zones which the RDS flavor belongs to.
- Db
Versions List<string> - The Available versions of the database.
- Group
Type string - Specifies the performance specification, the valid values are as follows:
- normal: General enhanced.
- normal2: General enhanced type II.
- dedicatedNormal: (dedicatedNormalLocalssd): Dedicated for x86.
- normalLocalssd: x86 general type.
- general: General type.
- bigmem: Large memory type.
- Id string
- The ID of the rds flavor.
- Instance
Mode string - The mode of instance. Value: ha(indicates primary/standby instance), single(indicates single instance) and replica(indicates read replicas).
- Memory double
- Specifies the memory size(GB) in the RDS flavor.
- Mode string
- Name string
- The name of the rds flavor.
- Vcpus double
- Specifies the number of vCPUs in the RDS flavor.
- Availability
Zones []string - The availability zones which the RDS flavor belongs to.
- Db
Versions []string - The Available versions of the database.
- Group
Type string - Specifies the performance specification, the valid values are as follows:
- normal: General enhanced.
- normal2: General enhanced type II.
- dedicatedNormal: (dedicatedNormalLocalssd): Dedicated for x86.
- normalLocalssd: x86 general type.
- general: General type.
- bigmem: Large memory type.
- Id string
- The ID of the rds flavor.
- Instance
Mode string - The mode of instance. Value: ha(indicates primary/standby instance), single(indicates single instance) and replica(indicates read replicas).
- Memory float64
- Specifies the memory size(GB) in the RDS flavor.
- Mode string
- Name string
- The name of the rds flavor.
- Vcpus float64
- Specifies the number of vCPUs in the RDS flavor.
- availability
Zones List<String> - The availability zones which the RDS flavor belongs to.
- db
Versions List<String> - The Available versions of the database.
- group
Type String - Specifies the performance specification, the valid values are as follows:
- normal: General enhanced.
- normal2: General enhanced type II.
- dedicatedNormal: (dedicatedNormalLocalssd): Dedicated for x86.
- normalLocalssd: x86 general type.
- general: General type.
- bigmem: Large memory type.
- id String
- The ID of the rds flavor.
- instance
Mode String - The mode of instance. Value: ha(indicates primary/standby instance), single(indicates single instance) and replica(indicates read replicas).
- memory Double
- Specifies the memory size(GB) in the RDS flavor.
- mode String
- name String
- The name of the rds flavor.
- vcpus Double
- Specifies the number of vCPUs in the RDS flavor.
- availability
Zones string[] - The availability zones which the RDS flavor belongs to.
- db
Versions string[] - The Available versions of the database.
- group
Type string - Specifies the performance specification, the valid values are as follows:
- normal: General enhanced.
- normal2: General enhanced type II.
- dedicatedNormal: (dedicatedNormalLocalssd): Dedicated for x86.
- normalLocalssd: x86 general type.
- general: General type.
- bigmem: Large memory type.
- id string
- The ID of the rds flavor.
- instance
Mode string - The mode of instance. Value: ha(indicates primary/standby instance), single(indicates single instance) and replica(indicates read replicas).
- memory number
- Specifies the memory size(GB) in the RDS flavor.
- mode string
- name string
- The name of the rds flavor.
- vcpus number
- Specifies the number of vCPUs in the RDS flavor.
- availability_
zones Sequence[str] - The availability zones which the RDS flavor belongs to.
- db_
versions Sequence[str] - The Available versions of the database.
- group_
type str - Specifies the performance specification, the valid values are as follows:
- normal: General enhanced.
- normal2: General enhanced type II.
- dedicatedNormal: (dedicatedNormalLocalssd): Dedicated for x86.
- normalLocalssd: x86 general type.
- general: General type.
- bigmem: Large memory type.
- id str
- The ID of the rds flavor.
- instance_
mode str - The mode of instance. Value: ha(indicates primary/standby instance), single(indicates single instance) and replica(indicates read replicas).
- memory float
- Specifies the memory size(GB) in the RDS flavor.
- mode str
- name str
- The name of the rds flavor.
- vcpus float
- Specifies the number of vCPUs in the RDS flavor.
- availability
Zones List<String> - The availability zones which the RDS flavor belongs to.
- db
Versions List<String> - The Available versions of the database.
- group
Type String - Specifies the performance specification, the valid values are as follows:
- normal: General enhanced.
- normal2: General enhanced type II.
- dedicatedNormal: (dedicatedNormalLocalssd): Dedicated for x86.
- normalLocalssd: x86 general type.
- general: General type.
- bigmem: Large memory type.
- id String
- The ID of the rds flavor.
- instance
Mode String - The mode of instance. Value: ha(indicates primary/standby instance), single(indicates single instance) and replica(indicates read replicas).
- memory Number
- Specifies the memory size(GB) in the RDS flavor.
- mode String
- name String
- The name of the rds flavor.
- vcpus Number
- Specifies the number of vCPUs in the RDS flavor.
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
