Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi
alicloud.selectdb.getDbClusters
Explore with Pulumi AI
This data source provides the SelectDB DBCluster of the current Alibaba Cloud user.
NOTE: Available since v1.229.0.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const _default = alicloud.getZones({
    availableResourceCreation: "VSwitch",
});
const config = new pulumi.Config();
const name = config.get("name") || "terraform_example";
const defaultGetNetworks = alicloud.vpc.getNetworks({
    nameRegex: "^default-NODELETING$",
});
const defaultGetSwitches = Promise.all([defaultGetNetworks, _default]).then(([defaultGetNetworks, _default]) => alicloud.vpc.getSwitches({
    vpcId: defaultGetNetworks.ids?.[0],
    zoneId: _default.zones?.[0]?.id,
}));
const defaultDbInstance = new alicloud.selectdb.DbInstance("default", {
    dbInstanceClass: "selectdb.xlarge",
    dbInstanceDescription: name,
    cacheSize: 200,
    paymentType: "PayAsYouGo",
    vpcId: defaultGetSwitches.then(defaultGetSwitches => defaultGetSwitches.vswitches?.[0]?.vpcId),
    zoneId: defaultGetSwitches.then(defaultGetSwitches => defaultGetSwitches.vswitches?.[0]?.zoneId),
    vswitchId: defaultGetSwitches.then(defaultGetSwitches => defaultGetSwitches.vswitches?.[0]?.id),
});
const defaultDbCluster = new alicloud.selectdb.DbCluster("default", {
    dbInstanceId: defaultDbInstance.id,
    dbClusterDescription: name,
    dbClusterClass: "selectdb.2xlarge",
    cacheSize: 400,
    paymentType: "PayAsYouGo",
});
const defaultGetDbClusters = alicloud.selectdb.getDbClustersOutput({
    ids: [defaultDbCluster.id],
});
export const dbCluster = defaultGetDbClusters.apply(defaultGetDbClusters => defaultGetDbClusters.ids?.[0]);
import pulumi
import pulumi_alicloud as alicloud
default = alicloud.get_zones(available_resource_creation="VSwitch")
config = pulumi.Config()
name = config.get("name")
if name is None:
    name = "terraform_example"
default_get_networks = alicloud.vpc.get_networks(name_regex="^default-NODELETING$")
default_get_switches = alicloud.vpc.get_switches(vpc_id=default_get_networks.ids[0],
    zone_id=default.zones[0].id)
default_db_instance = alicloud.selectdb.DbInstance("default",
    db_instance_class="selectdb.xlarge",
    db_instance_description=name,
    cache_size=200,
    payment_type="PayAsYouGo",
    vpc_id=default_get_switches.vswitches[0].vpc_id,
    zone_id=default_get_switches.vswitches[0].zone_id,
    vswitch_id=default_get_switches.vswitches[0].id)
default_db_cluster = alicloud.selectdb.DbCluster("default",
    db_instance_id=default_db_instance.id,
    db_cluster_description=name,
    db_cluster_class="selectdb.2xlarge",
    cache_size=400,
    payment_type="PayAsYouGo")
default_get_db_clusters = alicloud.selectdb.get_db_clusters_output(ids=[default_db_cluster.id])
pulumi.export("dbCluster", default_get_db_clusters.ids[0])
package main
import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud"
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/selectdb"
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_default, err := alicloud.GetZones(ctx, &alicloud.GetZonesArgs{
			AvailableResourceCreation: pulumi.StringRef("VSwitch"),
		}, nil)
		if err != nil {
			return err
		}
		cfg := config.New(ctx, "")
		name := "terraform_example"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		defaultGetNetworks, err := vpc.GetNetworks(ctx, &vpc.GetNetworksArgs{
			NameRegex: pulumi.StringRef("^default-NODELETING$"),
		}, nil)
		if err != nil {
			return err
		}
		defaultGetSwitches, err := vpc.GetSwitches(ctx, &vpc.GetSwitchesArgs{
			VpcId:  pulumi.StringRef(defaultGetNetworks.Ids[0]),
			ZoneId: pulumi.StringRef(_default.Zones[0].Id),
		}, nil)
		if err != nil {
			return err
		}
		defaultDbInstance, err := selectdb.NewDbInstance(ctx, "default", &selectdb.DbInstanceArgs{
			DbInstanceClass:       pulumi.String("selectdb.xlarge"),
			DbInstanceDescription: pulumi.String(name),
			CacheSize:             pulumi.Int(200),
			PaymentType:           pulumi.String("PayAsYouGo"),
			VpcId:                 pulumi.String(defaultGetSwitches.Vswitches[0].VpcId),
			ZoneId:                pulumi.String(defaultGetSwitches.Vswitches[0].ZoneId),
			VswitchId:             pulumi.String(defaultGetSwitches.Vswitches[0].Id),
		})
		if err != nil {
			return err
		}
		defaultDbCluster, err := selectdb.NewDbCluster(ctx, "default", &selectdb.DbClusterArgs{
			DbInstanceId:         defaultDbInstance.ID(),
			DbClusterDescription: pulumi.String(name),
			DbClusterClass:       pulumi.String("selectdb.2xlarge"),
			CacheSize:            pulumi.Int(400),
			PaymentType:          pulumi.String("PayAsYouGo"),
		})
		if err != nil {
			return err
		}
		defaultGetDbClusters := selectdb.GetDbClustersOutput(ctx, selectdb.GetDbClustersOutputArgs{
			Ids: pulumi.StringArray{
				defaultDbCluster.ID(),
			},
		}, nil)
		ctx.Export("dbCluster", defaultGetDbClusters.ApplyT(func(defaultGetDbClusters selectdb.GetDbClustersResult) (*string, error) {
			return &defaultGetDbClusters.Ids[0], nil
		}).(pulumi.StringPtrOutput))
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() => 
{
    var @default = AliCloud.GetZones.Invoke(new()
    {
        AvailableResourceCreation = "VSwitch",
    });
    var config = new Config();
    var name = config.Get("name") ?? "terraform_example";
    var defaultGetNetworks = AliCloud.Vpc.GetNetworks.Invoke(new()
    {
        NameRegex = "^default-NODELETING$",
    });
    var defaultGetSwitches = AliCloud.Vpc.GetSwitches.Invoke(new()
    {
        VpcId = defaultGetNetworks.Apply(getNetworksResult => getNetworksResult.Ids[0]),
        ZoneId = @default.Apply(getZonesResult => getZonesResult.Zones[0]?.Id),
    });
    var defaultDbInstance = new AliCloud.SelectDB.DbInstance("default", new()
    {
        DbInstanceClass = "selectdb.xlarge",
        DbInstanceDescription = name,
        CacheSize = 200,
        PaymentType = "PayAsYouGo",
        VpcId = defaultGetSwitches.Apply(getSwitchesResult => getSwitchesResult.Vswitches[0]?.VpcId),
        ZoneId = defaultGetSwitches.Apply(getSwitchesResult => getSwitchesResult.Vswitches[0]?.ZoneId),
        VswitchId = defaultGetSwitches.Apply(getSwitchesResult => getSwitchesResult.Vswitches[0]?.Id),
    });
    var defaultDbCluster = new AliCloud.SelectDB.DbCluster("default", new()
    {
        DbInstanceId = defaultDbInstance.Id,
        DbClusterDescription = name,
        DbClusterClass = "selectdb.2xlarge",
        CacheSize = 400,
        PaymentType = "PayAsYouGo",
    });
    var defaultGetDbClusters = AliCloud.SelectDB.GetDbClusters.Invoke(new()
    {
        Ids = new[]
        {
            defaultDbCluster.Id,
        },
    });
    return new Dictionary<string, object?>
    {
        ["dbCluster"] = defaultGetDbClusters.Apply(getDbClustersResult => getDbClustersResult.Ids[0]),
    };
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.AlicloudFunctions;
import com.pulumi.alicloud.inputs.GetZonesArgs;
import com.pulumi.alicloud.vpc.VpcFunctions;
import com.pulumi.alicloud.vpc.inputs.GetNetworksArgs;
import com.pulumi.alicloud.vpc.inputs.GetSwitchesArgs;
import com.pulumi.alicloud.selectdb.DbInstance;
import com.pulumi.alicloud.selectdb.DbInstanceArgs;
import com.pulumi.alicloud.selectdb.DbCluster;
import com.pulumi.alicloud.selectdb.DbClusterArgs;
import com.pulumi.alicloud.selectdb.SelectdbFunctions;
import com.pulumi.alicloud.selectdb.inputs.GetDbClustersArgs;
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 config = ctx.config();
        final var default = AlicloudFunctions.getZones(GetZonesArgs.builder()
            .availableResourceCreation("VSwitch")
            .build());
        final var name = config.get("name").orElse("terraform_example");
        final var defaultGetNetworks = VpcFunctions.getNetworks(GetNetworksArgs.builder()
            .nameRegex("^default-NODELETING$")
            .build());
        final var defaultGetSwitches = VpcFunctions.getSwitches(GetSwitchesArgs.builder()
            .vpcId(defaultGetNetworks.applyValue(getNetworksResult -> getNetworksResult.ids()[0]))
            .zoneId(default_.zones()[0].id())
            .build());
        var defaultDbInstance = new DbInstance("defaultDbInstance", DbInstanceArgs.builder()
            .dbInstanceClass("selectdb.xlarge")
            .dbInstanceDescription(name)
            .cacheSize(200)
            .paymentType("PayAsYouGo")
            .vpcId(defaultGetSwitches.applyValue(getSwitchesResult -> getSwitchesResult.vswitches()[0].vpcId()))
            .zoneId(defaultGetSwitches.applyValue(getSwitchesResult -> getSwitchesResult.vswitches()[0].zoneId()))
            .vswitchId(defaultGetSwitches.applyValue(getSwitchesResult -> getSwitchesResult.vswitches()[0].id()))
            .build());
        var defaultDbCluster = new DbCluster("defaultDbCluster", DbClusterArgs.builder()
            .dbInstanceId(defaultDbInstance.id())
            .dbClusterDescription(name)
            .dbClusterClass("selectdb.2xlarge")
            .cacheSize(400)
            .paymentType("PayAsYouGo")
            .build());
        final var defaultGetDbClusters = SelectdbFunctions.getDbClusters(GetDbClustersArgs.builder()
            .ids(defaultDbCluster.id())
            .build());
        ctx.export("dbCluster", defaultGetDbClusters.applyValue(getDbClustersResult -> getDbClustersResult).applyValue(defaultGetDbClusters -> defaultGetDbClusters.applyValue(getDbClustersResult -> getDbClustersResult.ids()[0])));
    }
}
configuration:
  name:
    type: string
    default: terraform_example
resources:
  defaultDbInstance:
    type: alicloud:selectdb:DbInstance
    name: default
    properties:
      dbInstanceClass: selectdb.xlarge
      dbInstanceDescription: ${name}
      cacheSize: 200
      paymentType: PayAsYouGo
      vpcId: ${defaultGetSwitches.vswitches[0].vpcId}
      zoneId: ${defaultGetSwitches.vswitches[0].zoneId}
      vswitchId: ${defaultGetSwitches.vswitches[0].id}
  defaultDbCluster:
    type: alicloud:selectdb:DbCluster
    name: default
    properties:
      dbInstanceId: ${defaultDbInstance.id}
      dbClusterDescription: ${name}
      dbClusterClass: selectdb.2xlarge
      cacheSize: 400
      paymentType: PayAsYouGo
variables:
  default:
    fn::invoke:
      function: alicloud:getZones
      arguments:
        availableResourceCreation: VSwitch
  defaultGetNetworks:
    fn::invoke:
      function: alicloud:vpc:getNetworks
      arguments:
        nameRegex: ^default-NODELETING$
  defaultGetSwitches:
    fn::invoke:
      function: alicloud:vpc:getSwitches
      arguments:
        vpcId: ${defaultGetNetworks.ids[0]}
        zoneId: ${default.zones[0].id}
  defaultGetDbClusters:
    fn::invoke:
      function: alicloud:selectdb:getDbClusters
      arguments:
        ids:
          - ${defaultDbCluster.id}
outputs:
  dbCluster: ${defaultGetDbClusters.ids[0]}
Using getDbClusters
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 getDbClusters(args: GetDbClustersArgs, opts?: InvokeOptions): Promise<GetDbClustersResult>
function getDbClustersOutput(args: GetDbClustersOutputArgs, opts?: InvokeOptions): Output<GetDbClustersResult>def get_db_clusters(ids: Optional[Sequence[str]] = None,
                    output_file: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetDbClustersResult
def get_db_clusters_output(ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                    output_file: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetDbClustersResult]func GetDbClusters(ctx *Context, args *GetDbClustersArgs, opts ...InvokeOption) (*GetDbClustersResult, error)
func GetDbClustersOutput(ctx *Context, args *GetDbClustersOutputArgs, opts ...InvokeOption) GetDbClustersResultOutput> Note: This function is named GetDbClusters in the Go SDK.
public static class GetDbClusters 
{
    public static Task<GetDbClustersResult> InvokeAsync(GetDbClustersArgs args, InvokeOptions? opts = null)
    public static Output<GetDbClustersResult> Invoke(GetDbClustersInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDbClustersResult> getDbClusters(GetDbClustersArgs args, InvokeOptions options)
public static Output<GetDbClustersResult> getDbClusters(GetDbClustersArgs args, InvokeOptions options)
fn::invoke:
  function: alicloud:selectdb/getDbClusters:getDbClusters
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Ids List<string>
 - A list of DBCluster IDs.
 - Output
File string - File name where to save data source results (after running 
pulumi preview). 
- Ids []string
 - A list of DBCluster IDs.
 - Output
File string - File name where to save data source results (after running 
pulumi preview). 
- ids List<String>
 - A list of DBCluster IDs.
 - output
File String - File name where to save data source results (after running 
pulumi preview). 
- ids string[]
 - A list of DBCluster IDs.
 - output
File string - File name where to save data source results (after running 
pulumi preview). 
- ids Sequence[str]
 - A list of DBCluster IDs.
 - output_
file str - File name where to save data source results (after running 
pulumi preview). 
- ids List<String>
 - A list of DBCluster IDs.
 - output
File String - File name where to save data source results (after running 
pulumi preview). 
getDbClusters Result
The following output properties are available:
- Clusters
List<Pulumi.
Ali Cloud. Select DB. Outputs. Get Db Clusters Cluster>  - A list of SelectDB DBClusters. Each element contains the following attributes:
 - Id string
 - The provider-assigned unique ID for this managed resource.
 - Ids List<string>
 - Output
File string 
- Clusters
[]Get
Db Clusters Cluster  - A list of SelectDB DBClusters. Each element contains the following attributes:
 - Id string
 - The provider-assigned unique ID for this managed resource.
 - Ids []string
 - Output
File string 
- clusters
List<Get
Db Clusters Cluster>  - A list of SelectDB DBClusters. Each element contains the following attributes:
 - id String
 - The provider-assigned unique ID for this managed resource.
 - ids List<String>
 - output
File String 
- clusters
Get
Db Clusters Cluster[]  - A list of SelectDB DBClusters. Each element contains the following attributes:
 - id string
 - The provider-assigned unique ID for this managed resource.
 - ids string[]
 - output
File string 
- clusters
Sequence[Get
Db Clusters Cluster]  - A list of SelectDB DBClusters. Each element contains the following attributes:
 - id str
 - The provider-assigned unique ID for this managed resource.
 - ids Sequence[str]
 - output_
file str 
- clusters List<Property Map>
 - A list of SelectDB DBClusters. Each element contains the following attributes:
 - id String
 - The provider-assigned unique ID for this managed resource.
 - ids List<String>
 - output
File String 
Supporting Types
GetDbClustersCluster   
- Cache
Size int - The cache size for DBCluster.
 - Cpu int
 - The cpu resource amount of DBCluster. Depends on 
db_cluster_class. - Create
Time string - The creation time of the resource.
 - Db
Cluster stringClass  - The DBCluster class. db_cluster_class has a range of class from 
selectdb.xlargetoselectdb.256xlarge. - Db
Cluster stringDescription  - The DBCluster description.
 - Db
Cluster stringId  - The cluster ID.
 - Db
Instance stringId  - The instance ID.
 - Engine string
 - The Engine of the DBCluster.
 - Engine
Version string - The engine version of the DBCluster.
 - Id string
 - Memory int
 - The memory resource amount of DBCluster. Depends on 
db_cluster_class. - Param
Change List<Pulumi.Logs Ali Cloud. Select DB. Inputs. Get Db Clusters Cluster Param Change Log>  - The configuration change logs of parameters.
 - Params
List<Pulumi.
Ali Cloud. Select DB. Inputs. Get Db Clusters Cluster Param>  - The details about each parameter in DBCluster returned.
 - Payment
Type string - The payment type of the resource. Valid values: 
PayAsYouGo,Subscription. - Region
Id string - The ID of region for the cluster.
 - Status string
 - The status of the DBCluster. Valid values: 
ACTIVATION,CREATING,DELETING,RESTARTING,ORDER_PREPARING. - Vpc
Id string - The ID of the VPC for the cluster.
 - Zone
Id string - The ID of zone for the cluster.
 
- Cache
Size int - The cache size for DBCluster.
 - Cpu int
 - The cpu resource amount of DBCluster. Depends on 
db_cluster_class. - Create
Time string - The creation time of the resource.
 - Db
Cluster stringClass  - The DBCluster class. db_cluster_class has a range of class from 
selectdb.xlargetoselectdb.256xlarge. - Db
Cluster stringDescription  - The DBCluster description.
 - Db
Cluster stringId  - The cluster ID.
 - Db
Instance stringId  - The instance ID.
 - Engine string
 - The Engine of the DBCluster.
 - Engine
Version string - The engine version of the DBCluster.
 - Id string
 - Memory int
 - The memory resource amount of DBCluster. Depends on 
db_cluster_class. - Param
Change []GetLogs Db Clusters Cluster Param Change Log  - The configuration change logs of parameters.
 - Params
[]Get
Db Clusters Cluster Param  - The details about each parameter in DBCluster returned.
 - Payment
Type string - The payment type of the resource. Valid values: 
PayAsYouGo,Subscription. - Region
Id string - The ID of region for the cluster.
 - Status string
 - The status of the DBCluster. Valid values: 
ACTIVATION,CREATING,DELETING,RESTARTING,ORDER_PREPARING. - Vpc
Id string - The ID of the VPC for the cluster.
 - Zone
Id string - The ID of zone for the cluster.
 
- cache
Size Integer - The cache size for DBCluster.
 - cpu Integer
 - The cpu resource amount of DBCluster. Depends on 
db_cluster_class. - create
Time String - The creation time of the resource.
 - db
Cluster StringClass  - The DBCluster class. db_cluster_class has a range of class from 
selectdb.xlargetoselectdb.256xlarge. - db
Cluster StringDescription  - The DBCluster description.
 - db
Cluster StringId  - The cluster ID.
 - db
Instance StringId  - The instance ID.
 - engine String
 - The Engine of the DBCluster.
 - engine
Version String - The engine version of the DBCluster.
 - id String
 - memory Integer
 - The memory resource amount of DBCluster. Depends on 
db_cluster_class. - param
Change List<GetLogs Db Clusters Cluster Param Change Log>  - The configuration change logs of parameters.
 - params
List<Get
Db Clusters Cluster Param>  - The details about each parameter in DBCluster returned.
 - payment
Type String - The payment type of the resource. Valid values: 
PayAsYouGo,Subscription. - region
Id String - The ID of region for the cluster.
 - status String
 - The status of the DBCluster. Valid values: 
ACTIVATION,CREATING,DELETING,RESTARTING,ORDER_PREPARING. - vpc
Id String - The ID of the VPC for the cluster.
 - zone
Id String - The ID of zone for the cluster.
 
- cache
Size number - The cache size for DBCluster.
 - cpu number
 - The cpu resource amount of DBCluster. Depends on 
db_cluster_class. - create
Time string - The creation time of the resource.
 - db
Cluster stringClass  - The DBCluster class. db_cluster_class has a range of class from 
selectdb.xlargetoselectdb.256xlarge. - db
Cluster stringDescription  - The DBCluster description.
 - db
Cluster stringId  - The cluster ID.
 - db
Instance stringId  - The instance ID.
 - engine string
 - The Engine of the DBCluster.
 - engine
Version string - The engine version of the DBCluster.
 - id string
 - memory number
 - The memory resource amount of DBCluster. Depends on 
db_cluster_class. - param
Change GetLogs Db Clusters Cluster Param Change Log[]  - The configuration change logs of parameters.
 - params
Get
Db Clusters Cluster Param[]  - The details about each parameter in DBCluster returned.
 - payment
Type string - The payment type of the resource. Valid values: 
PayAsYouGo,Subscription. - region
Id string - The ID of region for the cluster.
 - status string
 - The status of the DBCluster. Valid values: 
ACTIVATION,CREATING,DELETING,RESTARTING,ORDER_PREPARING. - vpc
Id string - The ID of the VPC for the cluster.
 - zone
Id string - The ID of zone for the cluster.
 
- cache_
size int - The cache size for DBCluster.
 - cpu int
 - The cpu resource amount of DBCluster. Depends on 
db_cluster_class. - create_
time str - The creation time of the resource.
 - db_
cluster_ strclass  - The DBCluster class. db_cluster_class has a range of class from 
selectdb.xlargetoselectdb.256xlarge. - db_
cluster_ strdescription  - The DBCluster description.
 - db_
cluster_ strid  - The cluster ID.
 - db_
instance_ strid  - The instance ID.
 - engine str
 - The Engine of the DBCluster.
 - engine_
version str - The engine version of the DBCluster.
 - id str
 - memory int
 - The memory resource amount of DBCluster. Depends on 
db_cluster_class. - param_
change_ Sequence[Getlogs Db Clusters Cluster Param Change Log]  - The configuration change logs of parameters.
 - params
Sequence[Get
Db Clusters Cluster Param]  - The details about each parameter in DBCluster returned.
 - payment_
type str - The payment type of the resource. Valid values: 
PayAsYouGo,Subscription. - region_
id str - The ID of region for the cluster.
 - status str
 - The status of the DBCluster. Valid values: 
ACTIVATION,CREATING,DELETING,RESTARTING,ORDER_PREPARING. - vpc_
id str - The ID of the VPC for the cluster.
 - zone_
id str - The ID of zone for the cluster.
 
- cache
Size Number - The cache size for DBCluster.
 - cpu Number
 - The cpu resource amount of DBCluster. Depends on 
db_cluster_class. - create
Time String - The creation time of the resource.
 - db
Cluster StringClass  - The DBCluster class. db_cluster_class has a range of class from 
selectdb.xlargetoselectdb.256xlarge. - db
Cluster StringDescription  - The DBCluster description.
 - db
Cluster StringId  - The cluster ID.
 - db
Instance StringId  - The instance ID.
 - engine String
 - The Engine of the DBCluster.
 - engine
Version String - The engine version of the DBCluster.
 - id String
 - memory Number
 - The memory resource amount of DBCluster. Depends on 
db_cluster_class. - param
Change List<Property Map>Logs  - The configuration change logs of parameters.
 - params List<Property Map>
 - The details about each parameter in DBCluster returned.
 - payment
Type String - The payment type of the resource. Valid values: 
PayAsYouGo,Subscription. - region
Id String - The ID of region for the cluster.
 - status String
 - The status of the DBCluster. Valid values: 
ACTIVATION,CREATING,DELETING,RESTARTING,ORDER_PREPARING. - vpc
Id String - The ID of the VPC for the cluster.
 - zone
Id String - The ID of zone for the cluster.
 
GetDbClustersClusterParam    
- Comment string
 - The comments on the parameter.
 - Default
Value string - The default value of the parameter.
 - Is
Dynamic int - Indicates whether the parameter immediately takes effect without requiring a restart.
 - Is
User intModifiable  - Indicates whether the parameter is modifiable.
 - Name string
 - Changed parameter name.
 - Optional int
 - The value range of the parameter.
 - Param
Category string - The category of the parameter.
 - Value string
 - The new value of Parameter.
 
- Comment string
 - The comments on the parameter.
 - Default
Value string - The default value of the parameter.
 - Is
Dynamic int - Indicates whether the parameter immediately takes effect without requiring a restart.
 - Is
User intModifiable  - Indicates whether the parameter is modifiable.
 - Name string
 - Changed parameter name.
 - Optional int
 - The value range of the parameter.
 - Param
Category string - The category of the parameter.
 - Value string
 - The new value of Parameter.
 
- comment String
 - The comments on the parameter.
 - default
Value String - The default value of the parameter.
 - is
Dynamic Integer - Indicates whether the parameter immediately takes effect without requiring a restart.
 - is
User IntegerModifiable  - Indicates whether the parameter is modifiable.
 - name String
 - Changed parameter name.
 - optional Integer
 - The value range of the parameter.
 - param
Category String - The category of the parameter.
 - value String
 - The new value of Parameter.
 
- comment string
 - The comments on the parameter.
 - default
Value string - The default value of the parameter.
 - is
Dynamic number - Indicates whether the parameter immediately takes effect without requiring a restart.
 - is
User numberModifiable  - Indicates whether the parameter is modifiable.
 - name string
 - Changed parameter name.
 - optional number
 - The value range of the parameter.
 - param
Category string - The category of the parameter.
 - value string
 - The new value of Parameter.
 
- comment str
 - The comments on the parameter.
 - default_
value str - The default value of the parameter.
 - is_
dynamic int - Indicates whether the parameter immediately takes effect without requiring a restart.
 - is_
user_ intmodifiable  - Indicates whether the parameter is modifiable.
 - name str
 - Changed parameter name.
 - optional int
 - The value range of the parameter.
 - param_
category str - The category of the parameter.
 - value str
 - The new value of Parameter.
 
- comment String
 - The comments on the parameter.
 - default
Value String - The default value of the parameter.
 - is
Dynamic Number - Indicates whether the parameter immediately takes effect without requiring a restart.
 - is
User NumberModifiable  - Indicates whether the parameter is modifiable.
 - name String
 - Changed parameter name.
 - optional Number
 - The value range of the parameter.
 - param
Category String - The category of the parameter.
 - value String
 - The new value of Parameter.
 
GetDbClustersClusterParamChangeLog      
- Config
Id int - The id of parameter change.
 - Gmt
Created string - When the parameter change is created.
 - Gmt
Modified string - When the parameter change is modified.
 - Is
Applied int - Whether the parameter changing is applied.
 - Name string
 - Changed parameter name.
 - New
Value string - The new value of parameter.
 - Old
Value string - The old value of parameter.
 
- Config
Id int - The id of parameter change.
 - Gmt
Created string - When the parameter change is created.
 - Gmt
Modified string - When the parameter change is modified.
 - Is
Applied int - Whether the parameter changing is applied.
 - Name string
 - Changed parameter name.
 - New
Value string - The new value of parameter.
 - Old
Value string - The old value of parameter.
 
- config
Id Integer - The id of parameter change.
 - gmt
Created String - When the parameter change is created.
 - gmt
Modified String - When the parameter change is modified.
 - is
Applied Integer - Whether the parameter changing is applied.
 - name String
 - Changed parameter name.
 - new
Value String - The new value of parameter.
 - old
Value String - The old value of parameter.
 
- config
Id number - The id of parameter change.
 - gmt
Created string - When the parameter change is created.
 - gmt
Modified string - When the parameter change is modified.
 - is
Applied number - Whether the parameter changing is applied.
 - name string
 - Changed parameter name.
 - new
Value string - The new value of parameter.
 - old
Value string - The old value of parameter.
 
- config_
id int - The id of parameter change.
 - gmt_
created str - When the parameter change is created.
 - gmt_
modified str - When the parameter change is modified.
 - is_
applied int - Whether the parameter changing is applied.
 - name str
 - Changed parameter name.
 - new_
value str - The new value of parameter.
 - old_
value str - The old value of parameter.
 
- config
Id Number - The id of parameter change.
 - gmt
Created String - When the parameter change is created.
 - gmt
Modified String - When the parameter change is modified.
 - is
Applied Number - Whether the parameter changing is applied.
 - name String
 - Changed parameter name.
 - new
Value String - The new value of parameter.
 - old
Value String - The old value of parameter.
 
Package Details
- Repository
 - Alibaba Cloud pulumi/pulumi-alicloud
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
alicloudTerraform Provider.