1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. rds
  5. getInstanceClasses
Alibaba Cloud v3.69.0 published on Monday, Dec 9, 2024 by Pulumi

alicloud.rds.getInstanceClasses

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.69.0 published on Monday, Dec 9, 2024 by Pulumi

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

    NOTE: Available in v1.46.0+

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const resources = alicloud.rds.getInstanceClasses({
        instanceChargeType: "PostPaid",
        engine: "MySQL",
        engineVersion: "5.6",
        outputFile: "./classes.txt",
    });
    export const firstDbInstanceClass = resources.then(resources => resources.instanceClasses?.[0]?.instanceClass);
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    resources = alicloud.rds.get_instance_classes(instance_charge_type="PostPaid",
        engine="MySQL",
        engine_version="5.6",
        output_file="./classes.txt")
    pulumi.export("firstDbInstanceClass", resources.instance_classes[0].instance_class)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/rds"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		resources, err := rds.GetInstanceClasses(ctx, &rds.GetInstanceClassesArgs{
    			InstanceChargeType: pulumi.StringRef("PostPaid"),
    			Engine:             pulumi.StringRef("MySQL"),
    			EngineVersion:      pulumi.StringRef("5.6"),
    			OutputFile:         pulumi.StringRef("./classes.txt"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("firstDbInstanceClass", resources.InstanceClasses[0].InstanceClass)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var resources = AliCloud.Rds.GetInstanceClasses.Invoke(new()
        {
            InstanceChargeType = "PostPaid",
            Engine = "MySQL",
            EngineVersion = "5.6",
            OutputFile = "./classes.txt",
        });
    
        return new Dictionary<string, object?>
        {
            ["firstDbInstanceClass"] = resources.Apply(getInstanceClassesResult => getInstanceClassesResult.InstanceClasses[0]?.InstanceClass),
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.rds.RdsFunctions;
    import com.pulumi.alicloud.rds.inputs.GetInstanceClassesArgs;
    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 resources = RdsFunctions.getInstanceClasses(GetInstanceClassesArgs.builder()
                .instanceChargeType("PostPaid")
                .engine("MySQL")
                .engineVersion("5.6")
                .outputFile("./classes.txt")
                .build());
    
            ctx.export("firstDbInstanceClass", resources.applyValue(getInstanceClassesResult -> getInstanceClassesResult.instanceClasses()[0].instanceClass()));
        }
    }
    
    variables:
      resources:
        fn::invoke:
          Function: alicloud:rds:getInstanceClasses
          Arguments:
            instanceChargeType: PostPaid
            engine: MySQL
            engineVersion: '5.6'
            outputFile: ./classes.txt
    outputs:
      firstDbInstanceClass: ${resources.instanceClasses[0].instanceClass}
    

    Using getInstanceClasses

    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 getInstanceClasses(args: GetInstanceClassesArgs, opts?: InvokeOptions): Promise<GetInstanceClassesResult>
    function getInstanceClassesOutput(args: GetInstanceClassesOutputArgs, opts?: InvokeOptions): Output<GetInstanceClassesResult>
    def get_instance_classes(category: Optional[str] = None,
                             commodity_code: Optional[str] = None,
                             db_instance_class: Optional[str] = None,
                             db_instance_id: Optional[str] = None,
                             db_instance_storage_type: Optional[str] = None,
                             engine: Optional[str] = None,
                             engine_version: Optional[str] = None,
                             instance_charge_type: Optional[str] = None,
                             multi_zone: Optional[bool] = None,
                             output_file: Optional[str] = None,
                             sorted_by: Optional[str] = None,
                             storage_type: Optional[str] = None,
                             zone_id: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetInstanceClassesResult
    def get_instance_classes_output(category: Optional[pulumi.Input[str]] = None,
                             commodity_code: Optional[pulumi.Input[str]] = None,
                             db_instance_class: Optional[pulumi.Input[str]] = None,
                             db_instance_id: Optional[pulumi.Input[str]] = None,
                             db_instance_storage_type: Optional[pulumi.Input[str]] = None,
                             engine: Optional[pulumi.Input[str]] = None,
                             engine_version: Optional[pulumi.Input[str]] = None,
                             instance_charge_type: Optional[pulumi.Input[str]] = None,
                             multi_zone: Optional[pulumi.Input[bool]] = None,
                             output_file: Optional[pulumi.Input[str]] = None,
                             sorted_by: Optional[pulumi.Input[str]] = None,
                             storage_type: Optional[pulumi.Input[str]] = None,
                             zone_id: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetInstanceClassesResult]
    func GetInstanceClasses(ctx *Context, args *GetInstanceClassesArgs, opts ...InvokeOption) (*GetInstanceClassesResult, error)
    func GetInstanceClassesOutput(ctx *Context, args *GetInstanceClassesOutputArgs, opts ...InvokeOption) GetInstanceClassesResultOutput

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

    public static class GetInstanceClasses 
    {
        public static Task<GetInstanceClassesResult> InvokeAsync(GetInstanceClassesArgs args, InvokeOptions? opts = null)
        public static Output<GetInstanceClassesResult> Invoke(GetInstanceClassesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetInstanceClassesResult> getInstanceClasses(GetInstanceClassesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: alicloud:rds/getInstanceClasses:getInstanceClasses
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Category string
    DB Instance category. the value like [Basic, HighAvailability, Finance, AlwaysOn, serverless_basic, serverless_standard, serverless_ha, cluster], detail info.
    CommodityCode string

    The commodity code of the instance. Valid values:

    • bards: The instance is a pay-as-you-go primary instance. This value is available on the China site (aliyun.com).
    • rds: The instance is a subscription primary instance. This value is available on the China site (aliyun.com).
    • rords: The instance is a pay-as-you-go read-only instance. This value is available on the China site (aliyun.com).
    • rds_rordspre_public_cn: The instance is a subscription read-only instance. This value is available on the China site (aliyun.com).
    • bards_intl: The instance is a pay-as-you-go primary instance. This value is available on the International site (alibabacloud.com).
    • rds_intl: The instance is a subscription primary instance. This value is available on the International site (alibabacloud.com).
    • rords_intl: The instance is a pay-as-you-go read-only instance. This value is available on the International site (alibabacloud.com).
    • rds_rordspre_public_intl: The instance is a subscription read-only instance. This value is available on the International site (alibabacloud.com).
    • rds_serverless_public_cn: The instance is a subscription serverless instance. This value is available on the China site (aliyun.com).
    • rds_serverless_public_intl: The instance is a subscription serverless instance. This value is available on the International site (alibabacloud.com).

    NOTE: The field db_instance_id will be ignored when commodity_code is not a read-only type.

    DbInstanceClass string
    The DB instance class type by the user.
    DbInstanceId string

    The ID of the instance.

    NOTE: The field db_instance_id will be ignored when commodity_code is not a read-only type.

    DbInstanceStorageType string
    The DB instance storage space required by the user. Valid values: "cloud_ssd", "local_ssd", "cloud_essd", "cloud_essd2", "cloud_essd3".
    Engine string
    Database type. Valid values:"MySQL", "SQLServer", "PostgreSQL", "MariaDB". If not set, it will match all of engines.
    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 and Serverless. Default to PostPaid.
    MultiZone bool
    Whether to show multi available zone. Default false to not show multi availability zone.
    OutputFile string
    File name where to save data source results (after running pulumi up).
    SortedBy string
    StorageType string
    It has been deprecated from version 1.134.0+ and using db_instance_storage_type instead.
    ZoneId string
    The Zone to launch the DB instance.
    Category string
    DB Instance category. the value like [Basic, HighAvailability, Finance, AlwaysOn, serverless_basic, serverless_standard, serverless_ha, cluster], detail info.
    CommodityCode string

    The commodity code of the instance. Valid values:

    • bards: The instance is a pay-as-you-go primary instance. This value is available on the China site (aliyun.com).
    • rds: The instance is a subscription primary instance. This value is available on the China site (aliyun.com).
    • rords: The instance is a pay-as-you-go read-only instance. This value is available on the China site (aliyun.com).
    • rds_rordspre_public_cn: The instance is a subscription read-only instance. This value is available on the China site (aliyun.com).
    • bards_intl: The instance is a pay-as-you-go primary instance. This value is available on the International site (alibabacloud.com).
    • rds_intl: The instance is a subscription primary instance. This value is available on the International site (alibabacloud.com).
    • rords_intl: The instance is a pay-as-you-go read-only instance. This value is available on the International site (alibabacloud.com).
    • rds_rordspre_public_intl: The instance is a subscription read-only instance. This value is available on the International site (alibabacloud.com).
    • rds_serverless_public_cn: The instance is a subscription serverless instance. This value is available on the China site (aliyun.com).
    • rds_serverless_public_intl: The instance is a subscription serverless instance. This value is available on the International site (alibabacloud.com).

    NOTE: The field db_instance_id will be ignored when commodity_code is not a read-only type.

    DbInstanceClass string
    The DB instance class type by the user.
    DbInstanceId string

    The ID of the instance.

    NOTE: The field db_instance_id will be ignored when commodity_code is not a read-only type.

    DbInstanceStorageType string
    The DB instance storage space required by the user. Valid values: "cloud_ssd", "local_ssd", "cloud_essd", "cloud_essd2", "cloud_essd3".
    Engine string
    Database type. Valid values:"MySQL", "SQLServer", "PostgreSQL", "MariaDB". If not set, it will match all of engines.
    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 and Serverless. Default to PostPaid.
    MultiZone bool
    Whether to show multi available zone. Default false to not show multi availability zone.
    OutputFile string
    File name where to save data source results (after running pulumi up).
    SortedBy string
    StorageType string
    It has been deprecated from version 1.134.0+ and using db_instance_storage_type instead.
    ZoneId string
    The Zone to launch the DB instance.
    category String
    DB Instance category. the value like [Basic, HighAvailability, Finance, AlwaysOn, serverless_basic, serverless_standard, serverless_ha, cluster], detail info.
    commodityCode String

    The commodity code of the instance. Valid values:

    • bards: The instance is a pay-as-you-go primary instance. This value is available on the China site (aliyun.com).
    • rds: The instance is a subscription primary instance. This value is available on the China site (aliyun.com).
    • rords: The instance is a pay-as-you-go read-only instance. This value is available on the China site (aliyun.com).
    • rds_rordspre_public_cn: The instance is a subscription read-only instance. This value is available on the China site (aliyun.com).
    • bards_intl: The instance is a pay-as-you-go primary instance. This value is available on the International site (alibabacloud.com).
    • rds_intl: The instance is a subscription primary instance. This value is available on the International site (alibabacloud.com).
    • rords_intl: The instance is a pay-as-you-go read-only instance. This value is available on the International site (alibabacloud.com).
    • rds_rordspre_public_intl: The instance is a subscription read-only instance. This value is available on the International site (alibabacloud.com).
    • rds_serverless_public_cn: The instance is a subscription serverless instance. This value is available on the China site (aliyun.com).
    • rds_serverless_public_intl: The instance is a subscription serverless instance. This value is available on the International site (alibabacloud.com).

    NOTE: The field db_instance_id will be ignored when commodity_code is not a read-only type.

    dbInstanceClass String
    The DB instance class type by the user.
    dbInstanceId String

    The ID of the instance.

    NOTE: The field db_instance_id will be ignored when commodity_code is not a read-only type.

    dbInstanceStorageType String
    The DB instance storage space required by the user. Valid values: "cloud_ssd", "local_ssd", "cloud_essd", "cloud_essd2", "cloud_essd3".
    engine String
    Database type. Valid values:"MySQL", "SQLServer", "PostgreSQL", "MariaDB". If not set, it will match all of engines.
    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 and Serverless. Default to PostPaid.
    multiZone Boolean
    Whether to show multi available zone. Default false to not show multi availability zone.
    outputFile String
    File name where to save data source results (after running pulumi up).
    sortedBy String
    storageType String
    It has been deprecated from version 1.134.0+ and using db_instance_storage_type instead.
    zoneId String
    The Zone to launch the DB instance.
    category string
    DB Instance category. the value like [Basic, HighAvailability, Finance, AlwaysOn, serverless_basic, serverless_standard, serverless_ha, cluster], detail info.
    commodityCode string

    The commodity code of the instance. Valid values:

    • bards: The instance is a pay-as-you-go primary instance. This value is available on the China site (aliyun.com).
    • rds: The instance is a subscription primary instance. This value is available on the China site (aliyun.com).
    • rords: The instance is a pay-as-you-go read-only instance. This value is available on the China site (aliyun.com).
    • rds_rordspre_public_cn: The instance is a subscription read-only instance. This value is available on the China site (aliyun.com).
    • bards_intl: The instance is a pay-as-you-go primary instance. This value is available on the International site (alibabacloud.com).
    • rds_intl: The instance is a subscription primary instance. This value is available on the International site (alibabacloud.com).
    • rords_intl: The instance is a pay-as-you-go read-only instance. This value is available on the International site (alibabacloud.com).
    • rds_rordspre_public_intl: The instance is a subscription read-only instance. This value is available on the International site (alibabacloud.com).
    • rds_serverless_public_cn: The instance is a subscription serverless instance. This value is available on the China site (aliyun.com).
    • rds_serverless_public_intl: The instance is a subscription serverless instance. This value is available on the International site (alibabacloud.com).

    NOTE: The field db_instance_id will be ignored when commodity_code is not a read-only type.

    dbInstanceClass string
    The DB instance class type by the user.
    dbInstanceId string

    The ID of the instance.

    NOTE: The field db_instance_id will be ignored when commodity_code is not a read-only type.

    dbInstanceStorageType string
    The DB instance storage space required by the user. Valid values: "cloud_ssd", "local_ssd", "cloud_essd", "cloud_essd2", "cloud_essd3".
    engine string
    Database type. Valid values:"MySQL", "SQLServer", "PostgreSQL", "MariaDB". If not set, it will match all of engines.
    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 and Serverless. Default to PostPaid.
    multiZone boolean
    Whether to show multi available zone. Default false to not show multi availability zone.
    outputFile string
    File name where to save data source results (after running pulumi up).
    sortedBy string
    storageType string
    It has been deprecated from version 1.134.0+ and using db_instance_storage_type instead.
    zoneId string
    The Zone to launch the DB instance.
    category str
    DB Instance category. the value like [Basic, HighAvailability, Finance, AlwaysOn, serverless_basic, serverless_standard, serverless_ha, cluster], detail info.
    commodity_code str

    The commodity code of the instance. Valid values:

    • bards: The instance is a pay-as-you-go primary instance. This value is available on the China site (aliyun.com).
    • rds: The instance is a subscription primary instance. This value is available on the China site (aliyun.com).
    • rords: The instance is a pay-as-you-go read-only instance. This value is available on the China site (aliyun.com).
    • rds_rordspre_public_cn: The instance is a subscription read-only instance. This value is available on the China site (aliyun.com).
    • bards_intl: The instance is a pay-as-you-go primary instance. This value is available on the International site (alibabacloud.com).
    • rds_intl: The instance is a subscription primary instance. This value is available on the International site (alibabacloud.com).
    • rords_intl: The instance is a pay-as-you-go read-only instance. This value is available on the International site (alibabacloud.com).
    • rds_rordspre_public_intl: The instance is a subscription read-only instance. This value is available on the International site (alibabacloud.com).
    • rds_serverless_public_cn: The instance is a subscription serverless instance. This value is available on the China site (aliyun.com).
    • rds_serverless_public_intl: The instance is a subscription serverless instance. This value is available on the International site (alibabacloud.com).

    NOTE: The field db_instance_id will be ignored when commodity_code is not a read-only type.

    db_instance_class str
    The DB instance class type by the user.
    db_instance_id str

    The ID of the instance.

    NOTE: The field db_instance_id will be ignored when commodity_code is not a read-only type.

    db_instance_storage_type str
    The DB instance storage space required by the user. Valid values: "cloud_ssd", "local_ssd", "cloud_essd", "cloud_essd2", "cloud_essd3".
    engine str
    Database type. Valid values:"MySQL", "SQLServer", "PostgreSQL", "MariaDB". If not set, it will match all of engines.
    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 and Serverless. Default to PostPaid.
    multi_zone bool
    Whether to show multi available zone. Default false to not show multi availability zone.
    output_file str
    File name where to save data source results (after running pulumi up).
    sorted_by str
    storage_type str
    It has been deprecated from version 1.134.0+ and using db_instance_storage_type instead.
    zone_id str
    The Zone to launch the DB instance.
    category String
    DB Instance category. the value like [Basic, HighAvailability, Finance, AlwaysOn, serverless_basic, serverless_standard, serverless_ha, cluster], detail info.
    commodityCode String

    The commodity code of the instance. Valid values:

    • bards: The instance is a pay-as-you-go primary instance. This value is available on the China site (aliyun.com).
    • rds: The instance is a subscription primary instance. This value is available on the China site (aliyun.com).
    • rords: The instance is a pay-as-you-go read-only instance. This value is available on the China site (aliyun.com).
    • rds_rordspre_public_cn: The instance is a subscription read-only instance. This value is available on the China site (aliyun.com).
    • bards_intl: The instance is a pay-as-you-go primary instance. This value is available on the International site (alibabacloud.com).
    • rds_intl: The instance is a subscription primary instance. This value is available on the International site (alibabacloud.com).
    • rords_intl: The instance is a pay-as-you-go read-only instance. This value is available on the International site (alibabacloud.com).
    • rds_rordspre_public_intl: The instance is a subscription read-only instance. This value is available on the International site (alibabacloud.com).
    • rds_serverless_public_cn: The instance is a subscription serverless instance. This value is available on the China site (aliyun.com).
    • rds_serverless_public_intl: The instance is a subscription serverless instance. This value is available on the International site (alibabacloud.com).

    NOTE: The field db_instance_id will be ignored when commodity_code is not a read-only type.

    dbInstanceClass String
    The DB instance class type by the user.
    dbInstanceId String

    The ID of the instance.

    NOTE: The field db_instance_id will be ignored when commodity_code is not a read-only type.

    dbInstanceStorageType String
    The DB instance storage space required by the user. Valid values: "cloud_ssd", "local_ssd", "cloud_essd", "cloud_essd2", "cloud_essd3".
    engine String
    Database type. Valid values:"MySQL", "SQLServer", "PostgreSQL", "MariaDB". If not set, it will match all of engines.
    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 and Serverless. Default to PostPaid.
    multiZone Boolean
    Whether to show multi available zone. Default false to not show multi availability zone.
    outputFile String
    File name where to save data source results (after running pulumi up).
    sortedBy String
    storageType String
    It has been deprecated from version 1.134.0+ and using db_instance_storage_type instead.
    zoneId String
    The Zone to launch the DB instance.

    getInstanceClasses Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Ids List<string>
    (Available in 1.60.0+) A list of Rds instance class codes.
    InstanceClasses List<Pulumi.AliCloud.Rds.Outputs.GetInstanceClassesInstanceClass>
    A list of Rds available resource. Each element contains the following attributes:
    Category string
    CommodityCode string
    DbInstanceClass string
    DbInstanceId string
    DbInstanceStorageType string
    Engine string
    EngineVersion string
    InstanceChargeType string
    MultiZone bool
    OutputFile string
    SortedBy string
    StorageType string
    ZoneId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids []string
    (Available in 1.60.0+) A list of Rds instance class codes.
    InstanceClasses []GetInstanceClassesInstanceClass
    A list of Rds available resource. Each element contains the following attributes:
    Category string
    CommodityCode string
    DbInstanceClass string
    DbInstanceId string
    DbInstanceStorageType string
    Engine string
    EngineVersion string
    InstanceChargeType string
    MultiZone bool
    OutputFile string
    SortedBy string
    StorageType string
    ZoneId string
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    (Available in 1.60.0+) A list of Rds instance class codes.
    instanceClasses List<GetInstanceClassesInstanceClass>
    A list of Rds available resource. Each element contains the following attributes:
    category String
    commodityCode String
    dbInstanceClass String
    dbInstanceId String
    dbInstanceStorageType String
    engine String
    engineVersion String
    instanceChargeType String
    multiZone Boolean
    outputFile String
    sortedBy String
    storageType String
    zoneId String
    id string
    The provider-assigned unique ID for this managed resource.
    ids string[]
    (Available in 1.60.0+) A list of Rds instance class codes.
    instanceClasses GetInstanceClassesInstanceClass[]
    A list of Rds available resource. Each element contains the following attributes:
    category string
    commodityCode string
    dbInstanceClass string
    dbInstanceId string
    dbInstanceStorageType string
    engine string
    engineVersion string
    instanceChargeType string
    multiZone boolean
    outputFile string
    sortedBy string
    storageType string
    zoneId string
    id str
    The provider-assigned unique ID for this managed resource.
    ids Sequence[str]
    (Available in 1.60.0+) A list of Rds instance class codes.
    instance_classes Sequence[GetInstanceClassesInstanceClass]
    A list of Rds available resource. Each element contains the following attributes:
    category str
    commodity_code str
    db_instance_class str
    db_instance_id str
    db_instance_storage_type str
    engine str
    engine_version str
    instance_charge_type str
    multi_zone bool
    output_file str
    sorted_by str
    storage_type str
    zone_id str
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    (Available in 1.60.0+) A list of Rds instance class codes.
    instanceClasses List<Property Map>
    A list of Rds available resource. Each element contains the following attributes:
    category String
    commodityCode String
    dbInstanceClass String
    dbInstanceId String
    dbInstanceStorageType String
    engine String
    engineVersion String
    instanceChargeType String
    multiZone Boolean
    outputFile String
    sortedBy String
    storageType String
    zoneId String

    Supporting Types

    GetInstanceClassesInstanceClass

    InstanceClass string
    DB Instance available class.
    Price string
    StorageRange Pulumi.AliCloud.Rds.Inputs.GetInstanceClassesInstanceClassStorageRange
    DB Instance available storage range.
    ZoneIds List<Pulumi.AliCloud.Rds.Inputs.GetInstanceClassesInstanceClassZoneId>
    A list of Zone to launch the DB instance.
    InstanceClass string
    DB Instance available class.
    Price string
    StorageRange GetInstanceClassesInstanceClassStorageRange
    DB Instance available storage range.
    ZoneIds []GetInstanceClassesInstanceClassZoneId
    A list of Zone to launch the DB instance.
    instanceClass String
    DB Instance available class.
    price String
    storageRange GetInstanceClassesInstanceClassStorageRange
    DB Instance available storage range.
    zoneIds List<GetInstanceClassesInstanceClassZoneId>
    A list of Zone to launch the DB instance.
    instanceClass string
    DB Instance available class.
    price string
    storageRange GetInstanceClassesInstanceClassStorageRange
    DB Instance available storage range.
    zoneIds GetInstanceClassesInstanceClassZoneId[]
    A list of Zone to launch the DB instance.
    instance_class str
    DB Instance available class.
    price str
    storage_range GetInstanceClassesInstanceClassStorageRange
    DB Instance available storage range.
    zone_ids Sequence[GetInstanceClassesInstanceClassZoneId]
    A list of Zone to launch the DB instance.
    instanceClass String
    DB Instance available class.
    price String
    storageRange Property Map
    DB Instance available storage range.
    zoneIds List<Property Map>
    A list of Zone to launch the DB instance.

    GetInstanceClassesInstanceClassStorageRange

    Max string
    DB Instance available storage max value.
    Min string
    DB Instance available storage min value.
    Step string
    DB Instance available storage increase step.
    Max string
    DB Instance available storage max value.
    Min string
    DB Instance available storage min value.
    Step string
    DB Instance available storage increase step.
    max String
    DB Instance available storage max value.
    min String
    DB Instance available storage min value.
    step String
    DB Instance available storage increase step.
    max string
    DB Instance available storage max value.
    min string
    DB Instance available storage min value.
    step string
    DB Instance available storage increase step.
    max str
    DB Instance available storage max value.
    min str
    DB Instance available storage min value.
    step str
    DB Instance available storage increase step.
    max String
    DB Instance available storage max value.
    min String
    DB Instance available storage min value.
    step String
    DB Instance available storage increase step.

    GetInstanceClassesInstanceClassZoneId

    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 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 str
    The Zone to launch the DB instance
    sub_zone_ids Sequence[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"].
    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"].

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.69.0 published on Monday, Dec 9, 2024 by Pulumi