flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
flexibleengine.getRdsFlavorsV1
Explore with Pulumi AI
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
Use this data source to get the ID of an available FlexibleEngine rds flavor.
!> Warning: It has been deprecated, using flexibleengine.getRdsFlavorsV3
instead.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";
const flavor = flexibleengine.getRdsFlavorsV1({
datastoreName: "PostgreSQL",
datastoreVersion: "9.5.5",
region: "eu-de",
speccode: "rds.pg.s1.medium",
});
import pulumi
import pulumi_flexibleengine as flexibleengine
flavor = flexibleengine.get_rds_flavors_v1(datastore_name="PostgreSQL",
datastore_version="9.5.5",
region="eu-de",
speccode="rds.pg.s1.medium")
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.GetRdsFlavorsV1(ctx, &flexibleengine.GetRdsFlavorsV1Args{
DatastoreName: "PostgreSQL",
DatastoreVersion: "9.5.5",
Region: pulumi.StringRef("eu-de"),
Speccode: pulumi.StringRef("rds.pg.s1.medium"),
}, 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.GetRdsFlavorsV1.Invoke(new()
{
DatastoreName = "PostgreSQL",
DatastoreVersion = "9.5.5",
Region = "eu-de",
Speccode = "rds.pg.s1.medium",
});
});
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.GetRdsFlavorsV1Args;
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.getRdsFlavorsV1(GetRdsFlavorsV1Args.builder()
.datastoreName("PostgreSQL")
.datastoreVersion("9.5.5")
.region("eu-de")
.speccode("rds.pg.s1.medium")
.build());
}
}
variables:
flavor:
fn::invoke:
function: flexibleengine:getRdsFlavorsV1
arguments:
datastoreName: PostgreSQL
datastoreVersion: 9.5.5
region: eu-de
speccode: rds.pg.s1.medium
Available value for attributes
datastore_name | datastore_version | speccode |
---|---|---|
PostgreSQL | 9.5.5 9.6.3 9.6.5 | rds.pg.s1.xlarge rds.pg.m1.2xlarge rds.pg.c2.xlarge rds.pg.s1.medium rds.pg.c2.medium rds.pg.s1.large rds.pg.c2.large rds.pg.m1.large rds.pg.s1.2xlarge rds.pg.m1.xlarge |
MySQL | 5.6.33 5.6.30 5.6.34 5.6.35 5.7.17 | rds.mysql.s1.medium rds.mysql.s1.large rds.mysql.s1.xlarge rds.mysql.s1.2xlarge rds.mysql.m1.2xlarge rds.mysql.c2.medium rds.mysql.c2.large rds.mysql.c2.xlarge rds.mysql.m1.large rds.mysql.m1.xlarge |
SQLServer | 2014 SP2 SE | rds.mssql.s1.xlarge rds.mssql.m1.2xlarge rds.mssql.c2.xlarge rds.mssql.s1.2xlarge rds.mssql.m1.xlarge |
Using getRdsFlavorsV1
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 getRdsFlavorsV1(args: GetRdsFlavorsV1Args, opts?: InvokeOptions): Promise<GetRdsFlavorsV1Result>
function getRdsFlavorsV1Output(args: GetRdsFlavorsV1OutputArgs, opts?: InvokeOptions): Output<GetRdsFlavorsV1Result>
def get_rds_flavors_v1(datastore_name: Optional[str] = None,
datastore_version: Optional[str] = None,
id: Optional[str] = None,
name: Optional[str] = None,
ram: Optional[float] = None,
region: Optional[str] = None,
speccode: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRdsFlavorsV1Result
def get_rds_flavors_v1_output(datastore_name: Optional[pulumi.Input[str]] = None,
datastore_version: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
ram: Optional[pulumi.Input[float]] = None,
region: Optional[pulumi.Input[str]] = None,
speccode: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRdsFlavorsV1Result]
func GetRdsFlavorsV1(ctx *Context, args *GetRdsFlavorsV1Args, opts ...InvokeOption) (*GetRdsFlavorsV1Result, error)
func GetRdsFlavorsV1Output(ctx *Context, args *GetRdsFlavorsV1OutputArgs, opts ...InvokeOption) GetRdsFlavorsV1ResultOutput
> Note: This function is named GetRdsFlavorsV1
in the Go SDK.
public static class GetRdsFlavorsV1
{
public static Task<GetRdsFlavorsV1Result> InvokeAsync(GetRdsFlavorsV1Args args, InvokeOptions? opts = null)
public static Output<GetRdsFlavorsV1Result> Invoke(GetRdsFlavorsV1InvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRdsFlavorsV1Result> getRdsFlavorsV1(GetRdsFlavorsV1Args args, InvokeOptions options)
public static Output<GetRdsFlavorsV1Result> getRdsFlavorsV1(GetRdsFlavorsV1Args args, InvokeOptions options)
fn::invoke:
function: flexibleengine:index/getRdsFlavorsV1:getRdsFlavorsV1
arguments:
# arguments dictionary
The following arguments are supported:
- Datastore
Name string - The datastore name of the rds.
- Datastore
Version string - The datastore version of the rds.
- Id string
- Name string
- The name of the rds flavor.
- Ram double
- The name of the rds flavor.
- Region string
- The region in which to obtain the V1 rds client.
- Speccode string
- The spec code of a rds flavor.
- Datastore
Name string - The datastore name of the rds.
- Datastore
Version string - The datastore version of the rds.
- Id string
- Name string
- The name of the rds flavor.
- Ram float64
- The name of the rds flavor.
- Region string
- The region in which to obtain the V1 rds client.
- Speccode string
- The spec code of a rds flavor.
- datastore
Name String - The datastore name of the rds.
- datastore
Version String - The datastore version of the rds.
- id String
- name String
- The name of the rds flavor.
- ram Double
- The name of the rds flavor.
- region String
- The region in which to obtain the V1 rds client.
- speccode String
- The spec code of a rds flavor.
- datastore
Name string - The datastore name of the rds.
- datastore
Version string - The datastore version of the rds.
- id string
- name string
- The name of the rds flavor.
- ram number
- The name of the rds flavor.
- region string
- The region in which to obtain the V1 rds client.
- speccode string
- The spec code of a rds flavor.
- datastore_
name str - The datastore name of the rds.
- datastore_
version str - The datastore version of the rds.
- id str
- name str
- The name of the rds flavor.
- ram float
- The name of the rds flavor.
- region str
- The region in which to obtain the V1 rds client.
- speccode str
- The spec code of a rds flavor.
- datastore
Name String - The datastore name of the rds.
- datastore
Version String - The datastore version of the rds.
- id String
- name String
- The name of the rds flavor.
- ram Number
- The name of the rds flavor.
- region String
- The region in which to obtain the V1 rds client.
- speccode String
- The spec code of a rds flavor.
getRdsFlavorsV1 Result
The following output properties are available:
- Datastore
Name string - See Argument Reference above.
- Datastore
Version string - See Argument Reference above.
- Id string
- Name string
- The name of the rds flavor.
- Ram double
- The name of the rds flavor.
- Region string
- See Argument Reference above.
- Speccode string
- See Argument Reference above.
- Datastore
Name string - See Argument Reference above.
- Datastore
Version string - See Argument Reference above.
- Id string
- Name string
- The name of the rds flavor.
- Ram float64
- The name of the rds flavor.
- Region string
- See Argument Reference above.
- Speccode string
- See Argument Reference above.
- datastore
Name String - See Argument Reference above.
- datastore
Version String - See Argument Reference above.
- id String
- name String
- The name of the rds flavor.
- ram Double
- The name of the rds flavor.
- region String
- See Argument Reference above.
- speccode String
- See Argument Reference above.
- datastore
Name string - See Argument Reference above.
- datastore
Version string - See Argument Reference above.
- id string
- name string
- The name of the rds flavor.
- ram number
- The name of the rds flavor.
- region string
- See Argument Reference above.
- speccode string
- See Argument Reference above.
- datastore_
name str - See Argument Reference above.
- datastore_
version str - See Argument Reference above.
- id str
- name str
- The name of the rds flavor.
- ram float
- The name of the rds flavor.
- region str
- See Argument Reference above.
- speccode str
- See Argument Reference above.
- datastore
Name String - See Argument Reference above.
- datastore
Version String - See Argument Reference above.
- id String
- name String
- The name of the rds flavor.
- ram Number
- The name of the rds flavor.
- region String
- See Argument Reference above.
- speccode String
- See Argument Reference above.
Package Details
- Repository
- flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
- License
- Notes
- This Pulumi package is based on the
flexibleengine
Terraform Provider.
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud