GetInstanceEngines

This data source provides the RDS instance engines resource available info of Alibaba Cloud.

NOTE: Available in v1.46.0+

Example Usage

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
    public MyStack()
    {
        var resources = Output.Create(AliCloud.Rds.GetInstanceEngines.InvokeAsync(new AliCloud.Rds.GetInstanceEnginesArgs
        {
            Engine = "MySQL",
            EngineVersion = "5.6",
            InstanceChargeType = "PostPaid",
            OutputFile = "./engines.txt",
        }));
        this.FirstDbCategory = resources.Apply(resources => resources.InstanceEngines[0].Category);
    }

    [Output("firstDbCategory")]
    public Output<string> FirstDbCategory { get; set; }
}

Coming soon!

import pulumi
import pulumi_alicloud as alicloud

resources = alicloud.rds.get_instance_engines(engine="MySQL",
    engine_version="5.6",
    instance_charge_type="PostPaid",
    output_file="./engines.txt")
pulumi.export("firstDbCategory", resources.instance_engines[0]["category"])
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const resources = pulumi.output(alicloud.rds.getInstanceEngines({
    engine: "MySQL",
    engineVersion: "5.6",
    instanceChargeType: "PostPaid",
    outputFile: "./engines.txt",
}, { async: true }));

export const firstDbCategory = resources.instanceEngines[0].category;

Using GetInstanceEngines

function getInstanceEngines(args: GetInstanceEnginesArgs, opts?: InvokeOptions): Promise<GetInstanceEnginesResult>
function  get_instance_engines(engine=None, engine_version=None, instance_charge_type=None, multi_zone=None, output_file=None, zone_id=None, opts=None)
func GetInstanceEngines(ctx *Context, args *GetInstanceEnginesArgs, opts ...InvokeOption) (*GetInstanceEnginesResult, error)
public static class GetInstanceEngines {
    public static Task<GetInstanceEnginesResult> InvokeAsync(GetInstanceEnginesArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Engine string

Database type. Options are MySQL, SQLServer, PostgreSQL and PPAS. If no value is specified, all types are returned.

EngineVersion string

Database version required by the user. Value options can refer to the latest docs detail info EngineVersion.

InstanceChargeType string

Filter the results by charge type. Valid values: PrePaid and PostPaid. Default to PostPaid.

MultiZone bool

Whether to show multi available zone. Default false to not show multi availability zone.

OutputFile string
ZoneId string

The Zone to launch the DB instance.

Engine string

Database type. Options are MySQL, SQLServer, PostgreSQL and PPAS. If no value is specified, all types are returned.

EngineVersion string

Database version required by the user. Value options can refer to the latest docs detail info EngineVersion.

InstanceChargeType string

Filter the results by charge type. Valid values: PrePaid and PostPaid. Default to PostPaid.

MultiZone bool

Whether to show multi available zone. Default false to not show multi availability zone.

OutputFile string
ZoneId string

The Zone to launch the DB instance.

engine string

Database type. Options are MySQL, SQLServer, PostgreSQL and PPAS. If no value is specified, all types are returned.

engineVersion string

Database version required by the user. Value options can refer to the latest docs detail info EngineVersion.

instanceChargeType string

Filter the results by charge type. Valid values: PrePaid and PostPaid. Default to PostPaid.

multiZone boolean

Whether to show multi available zone. Default false to not show multi availability zone.

outputFile string
zoneId string

The Zone to launch the DB instance.

engine str

Database type. Options are MySQL, SQLServer, PostgreSQL and PPAS. If no value is specified, all types are returned.

engine_version str

Database version required by the user. Value options can refer to the latest docs detail info EngineVersion.

instance_charge_type str

Filter the results by charge type. Valid values: PrePaid and PostPaid. Default to PostPaid.

multi_zone bool

Whether to show multi available zone. Default false to not show multi availability zone.

output_file str
zone_id str

The Zone to launch the DB instance.

GetInstanceEngines Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

InstanceEngines List<Pulumi.AliCloud.Rds.Outputs.GetInstanceEnginesInstanceEngine>

A list of Rds available resource. Each element contains the following attributes:

Engine string

Database type.

EngineVersion string

DB Instance version.

InstanceChargeType string
MultiZone bool
OutputFile string
ZoneId string
Id string

The provider-assigned unique ID for this managed resource.

InstanceEngines []GetInstanceEnginesInstanceEngine

A list of Rds available resource. Each element contains the following attributes:

Engine string

Database type.

EngineVersion string

DB Instance version.

InstanceChargeType string
MultiZone bool
OutputFile string
ZoneId string
id string

The provider-assigned unique ID for this managed resource.

instanceEngines GetInstanceEnginesInstanceEngine[]

A list of Rds available resource. Each element contains the following attributes:

engine string

Database type.

engineVersion string

DB Instance version.

instanceChargeType string
multiZone boolean
outputFile string
zoneId string
id str

The provider-assigned unique ID for this managed resource.

instance_engines List[GetInstanceEnginesInstanceEngine]

A list of Rds available resource. Each element contains the following attributes:

engine str

Database type.

engine_version str

DB Instance version.

instance_charge_type str
multi_zone bool
output_file str
zone_id str

Supporting Types

GetInstanceEnginesInstanceEngine

See the output API doc for this type.

See the output API doc for this type.

See the output API doc for this type.

Category string

DB Instance category.

Engine string

Database type. Options are MySQL, SQLServer, PostgreSQL and PPAS. If no value is specified, all types are returned.

EngineVersion string

Database version required by the user. Value options can refer to the latest docs detail info EngineVersion.

ZoneIds List<Pulumi.AliCloud.Rds.Inputs.GetInstanceEnginesInstanceEngineZoneIdArgs>

A list of Zone to launch the DB instance.

Category string

DB Instance category.

Engine string

Database type. Options are MySQL, SQLServer, PostgreSQL and PPAS. If no value is specified, all types are returned.

EngineVersion string

Database version required by the user. Value options can refer to the latest docs detail info EngineVersion.

ZoneIds []GetInstanceEnginesInstanceEngineZoneId

A list of Zone to launch the DB instance.

category string

DB Instance category.

engine string

Database type. Options are MySQL, SQLServer, PostgreSQL and PPAS. If no value is specified, all types are returned.

engineVersion string

Database version required by the user. Value options can refer to the latest docs detail info EngineVersion.

zoneIds GetInstanceEnginesInstanceEngineZoneId[]

A list of Zone to launch the DB instance.

category str

DB Instance category.

engine str

Database type. Options are MySQL, SQLServer, PostgreSQL and PPAS. If no value is specified, all types are returned.

engine_version str

Database version required by the user. Value options can refer to the latest docs detail info EngineVersion.

zoneIds List[GetInstanceEnginesInstanceEngineZoneId]

A list of Zone to launch the DB instance.

GetInstanceEnginesInstanceEngineZoneId

See the output API doc for this type.

See the output API doc for this type.

See the output API doc for this type.

Id string

The Zone to launch the DB instance

SubZoneIds List<string>

A list of sub zone ids which in the id - e.g If id is cn-beijing-MAZ5(a,b), sub_zone_ids will be ["cn-beijing-a", "cn-beijing-b"].

Id string

The Zone to launch the DB instance

SubZoneIds []string

A list of sub zone ids which in the id - e.g If id is cn-beijing-MAZ5(a,b), sub_zone_ids will be ["cn-beijing-a", "cn-beijing-b"].

id string

The Zone to launch the DB instance

subZoneIds string[]

A list of sub zone ids which in the id - e.g If id is cn-beijing-MAZ5(a,b), sub_zone_ids will be ["cn-beijing-a", "cn-beijing-b"].

id str

The Zone to launch the DB instance

subZoneIds List[str]

A list of sub zone ids which in the id - e.g If id is cn-beijing-MAZ5(a,b), sub_zone_ids will be ["cn-beijing-a", "cn-beijing-b"].

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.