1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. adb
  5. DBClusterLakeVersion
Alibaba Cloud v3.44.0 published on Thursday, Sep 28, 2023 by Pulumi

alicloud.adb.DBClusterLakeVersion

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.44.0 published on Thursday, Sep 28, 2023 by Pulumi

    Provides a AnalyticDB for MySQL (ADB) DB Cluster Lake Version resource.

    For information about AnalyticDB for MySQL (ADB) DB Cluster Lake Version and how to use it, see What is DB Cluster Lake Version.

    NOTE: Available since v1.190.0.

    Example Usage

    Basic Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var name = config.Get("name") ?? "terraform-example";
        var defaultZones = AliCloud.GetZones.Invoke(new()
        {
            AvailableResourceCreation = "VSwitch",
        });
    
        var zoneId = Output.Tuple(defaultZones, defaultZones.Apply(getZonesResult => getZonesResult.Ids).Length).Apply(values =>
        {
            var defaultZones = values.Item1;
            var length = values.Item2;
            return defaultZones.Apply(getZonesResult => getZonesResult.Ids)[length - 1];
        });
    
        var defaultNetwork = new AliCloud.Vpc.Network("defaultNetwork", new()
        {
            VpcName = name,
            CidrBlock = "10.4.0.0/16",
        });
    
        var defaultSwitch = new AliCloud.Vpc.Switch("defaultSwitch", new()
        {
            VpcId = defaultNetwork.Id,
            CidrBlock = "10.4.0.0/24",
            ZoneId = zoneId,
            VswitchName = name,
        });
    
        var defaultDBClusterLakeVersion = new AliCloud.Adb.DBClusterLakeVersion("defaultDBClusterLakeVersion", new()
        {
            ComputeResource = "16ACU",
            DbClusterVersion = "5.0",
            PaymentType = "PayAsYouGo",
            StorageResource = "24ACU",
            EnableDefaultResourceGroup = false,
            VswitchId = defaultSwitch.Id,
            VpcId = defaultNetwork.Id,
            ZoneId = zoneId,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud"
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/adb"
    	"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 {
    		cfg := config.New(ctx, "")
    		name := "terraform-example"
    		if param := cfg.Get("name"); param != "" {
    			name = param
    		}
    		defaultZones, err := alicloud.GetZones(ctx, &alicloud.GetZonesArgs{
    			AvailableResourceCreation: pulumi.StringRef("VSwitch"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		zoneId := defaultZones.Ids[len(defaultZones.Ids)-1]
    		defaultNetwork, err := vpc.NewNetwork(ctx, "defaultNetwork", &vpc.NetworkArgs{
    			VpcName:   pulumi.String(name),
    			CidrBlock: pulumi.String("10.4.0.0/16"),
    		})
    		if err != nil {
    			return err
    		}
    		defaultSwitch, err := vpc.NewSwitch(ctx, "defaultSwitch", &vpc.SwitchArgs{
    			VpcId:       defaultNetwork.ID(),
    			CidrBlock:   pulumi.String("10.4.0.0/24"),
    			ZoneId:      pulumi.String(zoneId),
    			VswitchName: pulumi.String(name),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = adb.NewDBClusterLakeVersion(ctx, "defaultDBClusterLakeVersion", &adb.DBClusterLakeVersionArgs{
    			ComputeResource:            pulumi.String("16ACU"),
    			DbClusterVersion:           pulumi.String("5.0"),
    			PaymentType:                pulumi.String("PayAsYouGo"),
    			StorageResource:            pulumi.String("24ACU"),
    			EnableDefaultResourceGroup: pulumi.Bool(false),
    			VswitchId:                  defaultSwitch.ID(),
    			VpcId:                      defaultNetwork.ID(),
    			ZoneId:                     pulumi.String(zoneId),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    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.Network;
    import com.pulumi.alicloud.vpc.NetworkArgs;
    import com.pulumi.alicloud.vpc.Switch;
    import com.pulumi.alicloud.vpc.SwitchArgs;
    import com.pulumi.alicloud.adb.DBClusterLakeVersion;
    import com.pulumi.alicloud.adb.DBClusterLakeVersionArgs;
    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 name = config.get("name").orElse("terraform-example");
            final var defaultZones = AlicloudFunctions.getZones(GetZonesArgs.builder()
                .availableResourceCreation("VSwitch")
                .build());
    
            final var zoneId = defaultZones.applyValue(getZonesResult -> getZonesResult.ids())[defaultZones.applyValue(getZonesResult -> getZonesResult.ids()).length() - 1];
    
            var defaultNetwork = new Network("defaultNetwork", NetworkArgs.builder()        
                .vpcName(name)
                .cidrBlock("10.4.0.0/16")
                .build());
    
            var defaultSwitch = new Switch("defaultSwitch", SwitchArgs.builder()        
                .vpcId(defaultNetwork.id())
                .cidrBlock("10.4.0.0/24")
                .zoneId(zoneId)
                .vswitchName(name)
                .build());
    
            var defaultDBClusterLakeVersion = new DBClusterLakeVersion("defaultDBClusterLakeVersion", DBClusterLakeVersionArgs.builder()        
                .computeResource("16ACU")
                .dbClusterVersion("5.0")
                .paymentType("PayAsYouGo")
                .storageResource("24ACU")
                .enableDefaultResourceGroup(false)
                .vswitchId(defaultSwitch.id())
                .vpcId(defaultNetwork.id())
                .zoneId(zoneId)
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    config = pulumi.Config()
    name = config.get("name")
    if name is None:
        name = "terraform-example"
    default_zones = alicloud.get_zones(available_resource_creation="VSwitch")
    zone_id = default_zones.ids[len(default_zones.ids) - 1]
    default_network = alicloud.vpc.Network("defaultNetwork",
        vpc_name=name,
        cidr_block="10.4.0.0/16")
    default_switch = alicloud.vpc.Switch("defaultSwitch",
        vpc_id=default_network.id,
        cidr_block="10.4.0.0/24",
        zone_id=zone_id,
        vswitch_name=name)
    default_db_cluster_lake_version = alicloud.adb.DBClusterLakeVersion("defaultDBClusterLakeVersion",
        compute_resource="16ACU",
        db_cluster_version="5.0",
        payment_type="PayAsYouGo",
        storage_resource="24ACU",
        enable_default_resource_group=False,
        vswitch_id=default_switch.id,
        vpc_id=default_network.id,
        zone_id=zone_id)
    
    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const config = new pulumi.Config();
    const name = config.get("name") || "terraform-example";
    const defaultZones = alicloud.getZones({
        availableResourceCreation: "VSwitch",
    });
    const zoneId = Promise.all([defaultZones, defaultZones.then(defaultZones => defaultZones.ids).length]).then(([defaultZones, length]) => defaultZones.ids[length - 1]);
    const defaultNetwork = new alicloud.vpc.Network("defaultNetwork", {
        vpcName: name,
        cidrBlock: "10.4.0.0/16",
    });
    const defaultSwitch = new alicloud.vpc.Switch("defaultSwitch", {
        vpcId: defaultNetwork.id,
        cidrBlock: "10.4.0.0/24",
        zoneId: zoneId,
        vswitchName: name,
    });
    const defaultDBClusterLakeVersion = new alicloud.adb.DBClusterLakeVersion("defaultDBClusterLakeVersion", {
        computeResource: "16ACU",
        dbClusterVersion: "5.0",
        paymentType: "PayAsYouGo",
        storageResource: "24ACU",
        enableDefaultResourceGroup: false,
        vswitchId: defaultSwitch.id,
        vpcId: defaultNetwork.id,
        zoneId: zoneId,
    });
    

    Coming soon!

    Create DBClusterLakeVersion Resource

    new DBClusterLakeVersion(name: string, args: DBClusterLakeVersionArgs, opts?: CustomResourceOptions);
    @overload
    def DBClusterLakeVersion(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             compute_resource: Optional[str] = None,
                             db_cluster_description: Optional[str] = None,
                             db_cluster_version: Optional[str] = None,
                             enable_default_resource_group: Optional[bool] = None,
                             payment_type: Optional[str] = None,
                             security_ips: Optional[str] = None,
                             storage_resource: Optional[str] = None,
                             vpc_id: Optional[str] = None,
                             vswitch_id: Optional[str] = None,
                             zone_id: Optional[str] = None)
    @overload
    def DBClusterLakeVersion(resource_name: str,
                             args: DBClusterLakeVersionArgs,
                             opts: Optional[ResourceOptions] = None)
    func NewDBClusterLakeVersion(ctx *Context, name string, args DBClusterLakeVersionArgs, opts ...ResourceOption) (*DBClusterLakeVersion, error)
    public DBClusterLakeVersion(string name, DBClusterLakeVersionArgs args, CustomResourceOptions? opts = null)
    public DBClusterLakeVersion(String name, DBClusterLakeVersionArgs args)
    public DBClusterLakeVersion(String name, DBClusterLakeVersionArgs args, CustomResourceOptions options)
    
    type: alicloud:adb:DBClusterLakeVersion
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args DBClusterLakeVersionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args DBClusterLakeVersionArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args DBClusterLakeVersionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DBClusterLakeVersionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DBClusterLakeVersionArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    DBClusterLakeVersion Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The DBClusterLakeVersion resource accepts the following input properties:

    ComputeResource string

    The computing resources of the cluster.

    DbClusterVersion string

    The version of the cluster. Value options: 5.0.

    PaymentType string

    The payment type of the resource. Valid values are PayAsYouGo.

    StorageResource string

    The storage resources of the cluster.

    VpcId string

    The vpc ID of the resource.

    VswitchId string

    The ID of the vSwitch.

    ZoneId string

    The zone ID of the resource.

    DbClusterDescription string

    The description of the cluster.

    EnableDefaultResourceGroup bool

    Whether to enable default allocation of resources to user_default resource groups.

    SecurityIps string

    The IP addresses in an IP address whitelist of a cluster. Separate multiple IP addresses with commas (,). You can add a maximum of 500 different IP addresses to a whitelist. The entries in the IP address whitelist must be in one of the following formats:

    • IP addresses, such as 10.23.XX.XX.
    • CIDR blocks, such as 10.23.xx.xx/24. In this example, 24 indicates that the prefix of each IP address in the IP whitelist is 24 bits in length. You can replace 24 with a value within the range of 1 to 32.
    ComputeResource string

    The computing resources of the cluster.

    DbClusterVersion string

    The version of the cluster. Value options: 5.0.

    PaymentType string

    The payment type of the resource. Valid values are PayAsYouGo.

    StorageResource string

    The storage resources of the cluster.

    VpcId string

    The vpc ID of the resource.

    VswitchId string

    The ID of the vSwitch.

    ZoneId string

    The zone ID of the resource.

    DbClusterDescription string

    The description of the cluster.

    EnableDefaultResourceGroup bool

    Whether to enable default allocation of resources to user_default resource groups.

    SecurityIps string

    The IP addresses in an IP address whitelist of a cluster. Separate multiple IP addresses with commas (,). You can add a maximum of 500 different IP addresses to a whitelist. The entries in the IP address whitelist must be in one of the following formats:

    • IP addresses, such as 10.23.XX.XX.
    • CIDR blocks, such as 10.23.xx.xx/24. In this example, 24 indicates that the prefix of each IP address in the IP whitelist is 24 bits in length. You can replace 24 with a value within the range of 1 to 32.
    computeResource String

    The computing resources of the cluster.

    dbClusterVersion String

    The version of the cluster. Value options: 5.0.

    paymentType String

    The payment type of the resource. Valid values are PayAsYouGo.

    storageResource String

    The storage resources of the cluster.

    vpcId String

    The vpc ID of the resource.

    vswitchId String

    The ID of the vSwitch.

    zoneId String

    The zone ID of the resource.

    dbClusterDescription String

    The description of the cluster.

    enableDefaultResourceGroup Boolean

    Whether to enable default allocation of resources to user_default resource groups.

    securityIps String

    The IP addresses in an IP address whitelist of a cluster. Separate multiple IP addresses with commas (,). You can add a maximum of 500 different IP addresses to a whitelist. The entries in the IP address whitelist must be in one of the following formats:

    • IP addresses, such as 10.23.XX.XX.
    • CIDR blocks, such as 10.23.xx.xx/24. In this example, 24 indicates that the prefix of each IP address in the IP whitelist is 24 bits in length. You can replace 24 with a value within the range of 1 to 32.
    computeResource string

    The computing resources of the cluster.

    dbClusterVersion string

    The version of the cluster. Value options: 5.0.

    paymentType string

    The payment type of the resource. Valid values are PayAsYouGo.

    storageResource string

    The storage resources of the cluster.

    vpcId string

    The vpc ID of the resource.

    vswitchId string

    The ID of the vSwitch.

    zoneId string

    The zone ID of the resource.

    dbClusterDescription string

    The description of the cluster.

    enableDefaultResourceGroup boolean

    Whether to enable default allocation of resources to user_default resource groups.

    securityIps string

    The IP addresses in an IP address whitelist of a cluster. Separate multiple IP addresses with commas (,). You can add a maximum of 500 different IP addresses to a whitelist. The entries in the IP address whitelist must be in one of the following formats:

    • IP addresses, such as 10.23.XX.XX.
    • CIDR blocks, such as 10.23.xx.xx/24. In this example, 24 indicates that the prefix of each IP address in the IP whitelist is 24 bits in length. You can replace 24 with a value within the range of 1 to 32.
    compute_resource str

    The computing resources of the cluster.

    db_cluster_version str

    The version of the cluster. Value options: 5.0.

    payment_type str

    The payment type of the resource. Valid values are PayAsYouGo.

    storage_resource str

    The storage resources of the cluster.

    vpc_id str

    The vpc ID of the resource.

    vswitch_id str

    The ID of the vSwitch.

    zone_id str

    The zone ID of the resource.

    db_cluster_description str

    The description of the cluster.

    enable_default_resource_group bool

    Whether to enable default allocation of resources to user_default resource groups.

    security_ips str

    The IP addresses in an IP address whitelist of a cluster. Separate multiple IP addresses with commas (,). You can add a maximum of 500 different IP addresses to a whitelist. The entries in the IP address whitelist must be in one of the following formats:

    • IP addresses, such as 10.23.XX.XX.
    • CIDR blocks, such as 10.23.xx.xx/24. In this example, 24 indicates that the prefix of each IP address in the IP whitelist is 24 bits in length. You can replace 24 with a value within the range of 1 to 32.
    computeResource String

    The computing resources of the cluster.

    dbClusterVersion String

    The version of the cluster. Value options: 5.0.

    paymentType String

    The payment type of the resource. Valid values are PayAsYouGo.

    storageResource String

    The storage resources of the cluster.

    vpcId String

    The vpc ID of the resource.

    vswitchId String

    The ID of the vSwitch.

    zoneId String

    The zone ID of the resource.

    dbClusterDescription String

    The description of the cluster.

    enableDefaultResourceGroup Boolean

    Whether to enable default allocation of resources to user_default resource groups.

    securityIps String

    The IP addresses in an IP address whitelist of a cluster. Separate multiple IP addresses with commas (,). You can add a maximum of 500 different IP addresses to a whitelist. The entries in the IP address whitelist must be in one of the following formats:

    • IP addresses, such as 10.23.XX.XX.
    • CIDR blocks, such as 10.23.xx.xx/24. In this example, 24 indicates that the prefix of each IP address in the IP whitelist is 24 bits in length. You can replace 24 with a value within the range of 1 to 32.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DBClusterLakeVersion resource produces the following output properties:

    CommodityCode string

    The name of the service.

    ConnectionString string

    The endpoint of the cluster.

    CreateTime string

    The createTime of the cluster.

    Engine string

    The engine of the database.

    EngineVersion string

    The engine version of the database.

    ExpireTime string

    The time when the cluster expires.

    Expired string

    Indicates whether the cluster has expired.

    Id string

    The provider-assigned unique ID for this managed resource.

    LockMode string

    The lock mode of the cluster.

    LockReason string

    The reason why the cluster is locked.

    Port string

    The port that is used to access the cluster.

    ResourceGroupId string

    The ID of the resource group.

    Status string

    The status of the resource.

    CommodityCode string

    The name of the service.

    ConnectionString string

    The endpoint of the cluster.

    CreateTime string

    The createTime of the cluster.

    Engine string

    The engine of the database.

    EngineVersion string

    The engine version of the database.

    ExpireTime string

    The time when the cluster expires.

    Expired string

    Indicates whether the cluster has expired.

    Id string

    The provider-assigned unique ID for this managed resource.

    LockMode string

    The lock mode of the cluster.

    LockReason string

    The reason why the cluster is locked.

    Port string

    The port that is used to access the cluster.

    ResourceGroupId string

    The ID of the resource group.

    Status string

    The status of the resource.

    commodityCode String

    The name of the service.

    connectionString String

    The endpoint of the cluster.

    createTime String

    The createTime of the cluster.

    engine String

    The engine of the database.

    engineVersion String

    The engine version of the database.

    expireTime String

    The time when the cluster expires.

    expired String

    Indicates whether the cluster has expired.

    id String

    The provider-assigned unique ID for this managed resource.

    lockMode String

    The lock mode of the cluster.

    lockReason String

    The reason why the cluster is locked.

    port String

    The port that is used to access the cluster.

    resourceGroupId String

    The ID of the resource group.

    status String

    The status of the resource.

    commodityCode string

    The name of the service.

    connectionString string

    The endpoint of the cluster.

    createTime string

    The createTime of the cluster.

    engine string

    The engine of the database.

    engineVersion string

    The engine version of the database.

    expireTime string

    The time when the cluster expires.

    expired string

    Indicates whether the cluster has expired.

    id string

    The provider-assigned unique ID for this managed resource.

    lockMode string

    The lock mode of the cluster.

    lockReason string

    The reason why the cluster is locked.

    port string

    The port that is used to access the cluster.

    resourceGroupId string

    The ID of the resource group.

    status string

    The status of the resource.

    commodity_code str

    The name of the service.

    connection_string str

    The endpoint of the cluster.

    create_time str

    The createTime of the cluster.

    engine str

    The engine of the database.

    engine_version str

    The engine version of the database.

    expire_time str

    The time when the cluster expires.

    expired str

    Indicates whether the cluster has expired.

    id str

    The provider-assigned unique ID for this managed resource.

    lock_mode str

    The lock mode of the cluster.

    lock_reason str

    The reason why the cluster is locked.

    port str

    The port that is used to access the cluster.

    resource_group_id str

    The ID of the resource group.

    status str

    The status of the resource.

    commodityCode String

    The name of the service.

    connectionString String

    The endpoint of the cluster.

    createTime String

    The createTime of the cluster.

    engine String

    The engine of the database.

    engineVersion String

    The engine version of the database.

    expireTime String

    The time when the cluster expires.

    expired String

    Indicates whether the cluster has expired.

    id String

    The provider-assigned unique ID for this managed resource.

    lockMode String

    The lock mode of the cluster.

    lockReason String

    The reason why the cluster is locked.

    port String

    The port that is used to access the cluster.

    resourceGroupId String

    The ID of the resource group.

    status String

    The status of the resource.

    Look up Existing DBClusterLakeVersion Resource

    Get an existing DBClusterLakeVersion resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: DBClusterLakeVersionState, opts?: CustomResourceOptions): DBClusterLakeVersion
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            commodity_code: Optional[str] = None,
            compute_resource: Optional[str] = None,
            connection_string: Optional[str] = None,
            create_time: Optional[str] = None,
            db_cluster_description: Optional[str] = None,
            db_cluster_version: Optional[str] = None,
            enable_default_resource_group: Optional[bool] = None,
            engine: Optional[str] = None,
            engine_version: Optional[str] = None,
            expire_time: Optional[str] = None,
            expired: Optional[str] = None,
            lock_mode: Optional[str] = None,
            lock_reason: Optional[str] = None,
            payment_type: Optional[str] = None,
            port: Optional[str] = None,
            resource_group_id: Optional[str] = None,
            security_ips: Optional[str] = None,
            status: Optional[str] = None,
            storage_resource: Optional[str] = None,
            vpc_id: Optional[str] = None,
            vswitch_id: Optional[str] = None,
            zone_id: Optional[str] = None) -> DBClusterLakeVersion
    func GetDBClusterLakeVersion(ctx *Context, name string, id IDInput, state *DBClusterLakeVersionState, opts ...ResourceOption) (*DBClusterLakeVersion, error)
    public static DBClusterLakeVersion Get(string name, Input<string> id, DBClusterLakeVersionState? state, CustomResourceOptions? opts = null)
    public static DBClusterLakeVersion get(String name, Output<String> id, DBClusterLakeVersionState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CommodityCode string

    The name of the service.

    ComputeResource string

    The computing resources of the cluster.

    ConnectionString string

    The endpoint of the cluster.

    CreateTime string

    The createTime of the cluster.

    DbClusterDescription string

    The description of the cluster.

    DbClusterVersion string

    The version of the cluster. Value options: 5.0.

    EnableDefaultResourceGroup bool

    Whether to enable default allocation of resources to user_default resource groups.

    Engine string

    The engine of the database.

    EngineVersion string

    The engine version of the database.

    ExpireTime string

    The time when the cluster expires.

    Expired string

    Indicates whether the cluster has expired.

    LockMode string

    The lock mode of the cluster.

    LockReason string

    The reason why the cluster is locked.

    PaymentType string

    The payment type of the resource. Valid values are PayAsYouGo.

    Port string

    The port that is used to access the cluster.

    ResourceGroupId string

    The ID of the resource group.

    SecurityIps string

    The IP addresses in an IP address whitelist of a cluster. Separate multiple IP addresses with commas (,). You can add a maximum of 500 different IP addresses to a whitelist. The entries in the IP address whitelist must be in one of the following formats:

    • IP addresses, such as 10.23.XX.XX.
    • CIDR blocks, such as 10.23.xx.xx/24. In this example, 24 indicates that the prefix of each IP address in the IP whitelist is 24 bits in length. You can replace 24 with a value within the range of 1 to 32.
    Status string

    The status of the resource.

    StorageResource string

    The storage resources of the cluster.

    VpcId string

    The vpc ID of the resource.

    VswitchId string

    The ID of the vSwitch.

    ZoneId string

    The zone ID of the resource.

    CommodityCode string

    The name of the service.

    ComputeResource string

    The computing resources of the cluster.

    ConnectionString string

    The endpoint of the cluster.

    CreateTime string

    The createTime of the cluster.

    DbClusterDescription string

    The description of the cluster.

    DbClusterVersion string

    The version of the cluster. Value options: 5.0.

    EnableDefaultResourceGroup bool

    Whether to enable default allocation of resources to user_default resource groups.

    Engine string

    The engine of the database.

    EngineVersion string

    The engine version of the database.

    ExpireTime string

    The time when the cluster expires.

    Expired string

    Indicates whether the cluster has expired.

    LockMode string

    The lock mode of the cluster.

    LockReason string

    The reason why the cluster is locked.

    PaymentType string

    The payment type of the resource. Valid values are PayAsYouGo.

    Port string

    The port that is used to access the cluster.

    ResourceGroupId string

    The ID of the resource group.

    SecurityIps string

    The IP addresses in an IP address whitelist of a cluster. Separate multiple IP addresses with commas (,). You can add a maximum of 500 different IP addresses to a whitelist. The entries in the IP address whitelist must be in one of the following formats:

    • IP addresses, such as 10.23.XX.XX.
    • CIDR blocks, such as 10.23.xx.xx/24. In this example, 24 indicates that the prefix of each IP address in the IP whitelist is 24 bits in length. You can replace 24 with a value within the range of 1 to 32.
    Status string

    The status of the resource.

    StorageResource string

    The storage resources of the cluster.

    VpcId string

    The vpc ID of the resource.

    VswitchId string

    The ID of the vSwitch.

    ZoneId string

    The zone ID of the resource.

    commodityCode String

    The name of the service.

    computeResource String

    The computing resources of the cluster.

    connectionString String

    The endpoint of the cluster.

    createTime String

    The createTime of the cluster.

    dbClusterDescription String

    The description of the cluster.

    dbClusterVersion String

    The version of the cluster. Value options: 5.0.

    enableDefaultResourceGroup Boolean

    Whether to enable default allocation of resources to user_default resource groups.

    engine String

    The engine of the database.

    engineVersion String

    The engine version of the database.

    expireTime String

    The time when the cluster expires.

    expired String

    Indicates whether the cluster has expired.

    lockMode String

    The lock mode of the cluster.

    lockReason String

    The reason why the cluster is locked.

    paymentType String

    The payment type of the resource. Valid values are PayAsYouGo.

    port String

    The port that is used to access the cluster.

    resourceGroupId String

    The ID of the resource group.

    securityIps String

    The IP addresses in an IP address whitelist of a cluster. Separate multiple IP addresses with commas (,). You can add a maximum of 500 different IP addresses to a whitelist. The entries in the IP address whitelist must be in one of the following formats:

    • IP addresses, such as 10.23.XX.XX.
    • CIDR blocks, such as 10.23.xx.xx/24. In this example, 24 indicates that the prefix of each IP address in the IP whitelist is 24 bits in length. You can replace 24 with a value within the range of 1 to 32.
    status String

    The status of the resource.

    storageResource String

    The storage resources of the cluster.

    vpcId String

    The vpc ID of the resource.

    vswitchId String

    The ID of the vSwitch.

    zoneId String

    The zone ID of the resource.

    commodityCode string

    The name of the service.

    computeResource string

    The computing resources of the cluster.

    connectionString string

    The endpoint of the cluster.

    createTime string

    The createTime of the cluster.

    dbClusterDescription string

    The description of the cluster.

    dbClusterVersion string

    The version of the cluster. Value options: 5.0.

    enableDefaultResourceGroup boolean

    Whether to enable default allocation of resources to user_default resource groups.

    engine string

    The engine of the database.

    engineVersion string

    The engine version of the database.

    expireTime string

    The time when the cluster expires.

    expired string

    Indicates whether the cluster has expired.

    lockMode string

    The lock mode of the cluster.

    lockReason string

    The reason why the cluster is locked.

    paymentType string

    The payment type of the resource. Valid values are PayAsYouGo.

    port string

    The port that is used to access the cluster.

    resourceGroupId string

    The ID of the resource group.

    securityIps string

    The IP addresses in an IP address whitelist of a cluster. Separate multiple IP addresses with commas (,). You can add a maximum of 500 different IP addresses to a whitelist. The entries in the IP address whitelist must be in one of the following formats:

    • IP addresses, such as 10.23.XX.XX.
    • CIDR blocks, such as 10.23.xx.xx/24. In this example, 24 indicates that the prefix of each IP address in the IP whitelist is 24 bits in length. You can replace 24 with a value within the range of 1 to 32.
    status string

    The status of the resource.

    storageResource string

    The storage resources of the cluster.

    vpcId string

    The vpc ID of the resource.

    vswitchId string

    The ID of the vSwitch.

    zoneId string

    The zone ID of the resource.

    commodity_code str

    The name of the service.

    compute_resource str

    The computing resources of the cluster.

    connection_string str

    The endpoint of the cluster.

    create_time str

    The createTime of the cluster.

    db_cluster_description str

    The description of the cluster.

    db_cluster_version str

    The version of the cluster. Value options: 5.0.

    enable_default_resource_group bool

    Whether to enable default allocation of resources to user_default resource groups.

    engine str

    The engine of the database.

    engine_version str

    The engine version of the database.

    expire_time str

    The time when the cluster expires.

    expired str

    Indicates whether the cluster has expired.

    lock_mode str

    The lock mode of the cluster.

    lock_reason str

    The reason why the cluster is locked.

    payment_type str

    The payment type of the resource. Valid values are PayAsYouGo.

    port str

    The port that is used to access the cluster.

    resource_group_id str

    The ID of the resource group.

    security_ips str

    The IP addresses in an IP address whitelist of a cluster. Separate multiple IP addresses with commas (,). You can add a maximum of 500 different IP addresses to a whitelist. The entries in the IP address whitelist must be in one of the following formats:

    • IP addresses, such as 10.23.XX.XX.
    • CIDR blocks, such as 10.23.xx.xx/24. In this example, 24 indicates that the prefix of each IP address in the IP whitelist is 24 bits in length. You can replace 24 with a value within the range of 1 to 32.
    status str

    The status of the resource.

    storage_resource str

    The storage resources of the cluster.

    vpc_id str

    The vpc ID of the resource.

    vswitch_id str

    The ID of the vSwitch.

    zone_id str

    The zone ID of the resource.

    commodityCode String

    The name of the service.

    computeResource String

    The computing resources of the cluster.

    connectionString String

    The endpoint of the cluster.

    createTime String

    The createTime of the cluster.

    dbClusterDescription String

    The description of the cluster.

    dbClusterVersion String

    The version of the cluster. Value options: 5.0.

    enableDefaultResourceGroup Boolean

    Whether to enable default allocation of resources to user_default resource groups.

    engine String

    The engine of the database.

    engineVersion String

    The engine version of the database.

    expireTime String

    The time when the cluster expires.

    expired String

    Indicates whether the cluster has expired.

    lockMode String

    The lock mode of the cluster.

    lockReason String

    The reason why the cluster is locked.

    paymentType String

    The payment type of the resource. Valid values are PayAsYouGo.

    port String

    The port that is used to access the cluster.

    resourceGroupId String

    The ID of the resource group.

    securityIps String

    The IP addresses in an IP address whitelist of a cluster. Separate multiple IP addresses with commas (,). You can add a maximum of 500 different IP addresses to a whitelist. The entries in the IP address whitelist must be in one of the following formats:

    • IP addresses, such as 10.23.XX.XX.
    • CIDR blocks, such as 10.23.xx.xx/24. In this example, 24 indicates that the prefix of each IP address in the IP whitelist is 24 bits in length. You can replace 24 with a value within the range of 1 to 32.
    status String

    The status of the resource.

    storageResource String

    The storage resources of the cluster.

    vpcId String

    The vpc ID of the resource.

    vswitchId String

    The ID of the vSwitch.

    zoneId String

    The zone ID of the resource.

    Import

    AnalyticDB for MySQL (ADB) DB Cluster Lake Version can be imported using the id, e.g.

     $ pulumi import alicloud:adb/dBClusterLakeVersion:DBClusterLakeVersion example <id>
    

    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.44.0 published on Thursday, Sep 28, 2023 by Pulumi