alicloud.adb.DBClusterLakeVersion
Explore with Pulumi AI
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
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const _default = alicloud.adb.getZones({});
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.ids?.[0],
}));
const defaultDBClusterLakeVersion = new alicloud.adb.DBClusterLakeVersion("default", {
dbClusterVersion: "5.0",
vpcId: defaultGetNetworks.then(defaultGetNetworks => defaultGetNetworks.ids?.[0]),
vswitchId: defaultGetSwitches.then(defaultGetSwitches => defaultGetSwitches.ids?.[0]),
zoneId: _default.then(_default => _default.ids?.[0]),
computeResource: "16ACU",
storageResource: "0ACU",
paymentType: "PayAsYouGo",
enableDefaultResourceGroup: false,
});
import pulumi
import pulumi_alicloud as alicloud
default = alicloud.adb.get_zones()
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.ids[0])
default_db_cluster_lake_version = alicloud.adb.DBClusterLakeVersion("default",
db_cluster_version="5.0",
vpc_id=default_get_networks.ids[0],
vswitch_id=default_get_switches.ids[0],
zone_id=default.ids[0],
compute_resource="16ACU",
storage_resource="0ACU",
payment_type="PayAsYouGo",
enable_default_resource_group=False)
package main
import (
"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"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_default, err := adb.GetZones(ctx, &adb.GetZonesArgs{}, nil)
if err != nil {
return err
}
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.Ids[0]),
}, nil)
if err != nil {
return err
}
_, err = adb.NewDBClusterLakeVersion(ctx, "default", &adb.DBClusterLakeVersionArgs{
DbClusterVersion: pulumi.String("5.0"),
VpcId: pulumi.String(defaultGetNetworks.Ids[0]),
VswitchId: pulumi.String(defaultGetSwitches.Ids[0]),
ZoneId: pulumi.String(_default.Ids[0]),
ComputeResource: pulumi.String("16ACU"),
StorageResource: pulumi.String("0ACU"),
PaymentType: pulumi.String("PayAsYouGo"),
EnableDefaultResourceGroup: pulumi.Bool(false),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var @default = AliCloud.Adb.GetZones.Invoke();
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.Ids[0]),
});
var defaultDBClusterLakeVersion = new AliCloud.Adb.DBClusterLakeVersion("default", new()
{
DbClusterVersion = "5.0",
VpcId = defaultGetNetworks.Apply(getNetworksResult => getNetworksResult.Ids[0]),
VswitchId = defaultGetSwitches.Apply(getSwitchesResult => getSwitchesResult.Ids[0]),
ZoneId = @default.Apply(@default => @default.Apply(getZonesResult => getZonesResult.Ids[0])),
ComputeResource = "16ACU",
StorageResource = "0ACU",
PaymentType = "PayAsYouGo",
EnableDefaultResourceGroup = false,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.adb.AdbFunctions;
import com.pulumi.alicloud.adb.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.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 default = AdbFunctions.getZones(GetZonesArgs.builder()
.build());
final var defaultGetNetworks = VpcFunctions.getNetworks(GetNetworksArgs.builder()
.nameRegex("^default-NODELETING$")
.build());
final var defaultGetSwitches = VpcFunctions.getSwitches(GetSwitchesArgs.builder()
.vpcId(defaultGetNetworks.ids()[0])
.zoneId(default_.ids()[0])
.build());
var defaultDBClusterLakeVersion = new DBClusterLakeVersion("defaultDBClusterLakeVersion", DBClusterLakeVersionArgs.builder()
.dbClusterVersion("5.0")
.vpcId(defaultGetNetworks.ids()[0])
.vswitchId(defaultGetSwitches.ids()[0])
.zoneId(default_.ids()[0])
.computeResource("16ACU")
.storageResource("0ACU")
.paymentType("PayAsYouGo")
.enableDefaultResourceGroup(false)
.build());
}
}
resources:
defaultDBClusterLakeVersion:
type: alicloud:adb:DBClusterLakeVersion
name: default
properties:
dbClusterVersion: '5.0'
vpcId: ${defaultGetNetworks.ids[0]}
vswitchId: ${defaultGetSwitches.ids[0]}
zoneId: ${default.ids[0]}
computeResource: 16ACU
storageResource: 0ACU
paymentType: PayAsYouGo
enableDefaultResourceGroup: false
variables:
default:
fn::invoke:
function: alicloud:adb:getZones
arguments: {}
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.ids[0]}
Create DBClusterLakeVersion Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DBClusterLakeVersion(name: string, args: DBClusterLakeVersionArgs, opts?: CustomResourceOptions);
@overload
def DBClusterLakeVersion(resource_name: str,
args: DBClusterLakeVersionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DBClusterLakeVersion(resource_name: str,
opts: Optional[ResourceOptions] = None,
payment_type: Optional[str] = None,
zone_id: Optional[str] = None,
vswitch_id: Optional[str] = None,
db_cluster_version: Optional[str] = None,
vpc_id: Optional[str] = None,
reserved_node_count: Optional[int] = None,
resource_group_id: Optional[str] = None,
kms_id: Optional[str] = None,
enable_default_resource_group: Optional[bool] = None,
period: Optional[int] = None,
product_form: Optional[str] = None,
product_version: Optional[str] = None,
backup_set_id: Optional[str] = None,
reserved_node_size: Optional[str] = None,
enable_ssl: Optional[bool] = None,
restore_to_time: Optional[str] = None,
restore_type: Optional[str] = None,
secondary_vswitch_id: Optional[str] = None,
secondary_zone_id: Optional[str] = None,
security_ips: Optional[str] = None,
source_db_cluster_id: Optional[str] = None,
storage_resource: Optional[str] = None,
disk_encryption: Optional[bool] = None,
db_cluster_description: Optional[str] = None,
compute_resource: Optional[str] = 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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var dbclusterLakeVersionResource = new AliCloud.Adb.DBClusterLakeVersion("dbclusterLakeVersionResource", new()
{
PaymentType = "string",
ZoneId = "string",
VswitchId = "string",
DbClusterVersion = "string",
VpcId = "string",
ReservedNodeCount = 0,
ResourceGroupId = "string",
KmsId = "string",
EnableDefaultResourceGroup = false,
Period = 0,
ProductForm = "string",
ProductVersion = "string",
BackupSetId = "string",
ReservedNodeSize = "string",
EnableSsl = false,
RestoreToTime = "string",
RestoreType = "string",
SecondaryVswitchId = "string",
SecondaryZoneId = "string",
SecurityIps = "string",
SourceDbClusterId = "string",
StorageResource = "string",
DiskEncryption = false,
DbClusterDescription = "string",
ComputeResource = "string",
});
example, err := adb.NewDBClusterLakeVersion(ctx, "dbclusterLakeVersionResource", &adb.DBClusterLakeVersionArgs{
PaymentType: pulumi.String("string"),
ZoneId: pulumi.String("string"),
VswitchId: pulumi.String("string"),
DbClusterVersion: pulumi.String("string"),
VpcId: pulumi.String("string"),
ReservedNodeCount: pulumi.Int(0),
ResourceGroupId: pulumi.String("string"),
KmsId: pulumi.String("string"),
EnableDefaultResourceGroup: pulumi.Bool(false),
Period: pulumi.Int(0),
ProductForm: pulumi.String("string"),
ProductVersion: pulumi.String("string"),
BackupSetId: pulumi.String("string"),
ReservedNodeSize: pulumi.String("string"),
EnableSsl: pulumi.Bool(false),
RestoreToTime: pulumi.String("string"),
RestoreType: pulumi.String("string"),
SecondaryVswitchId: pulumi.String("string"),
SecondaryZoneId: pulumi.String("string"),
SecurityIps: pulumi.String("string"),
SourceDbClusterId: pulumi.String("string"),
StorageResource: pulumi.String("string"),
DiskEncryption: pulumi.Bool(false),
DbClusterDescription: pulumi.String("string"),
ComputeResource: pulumi.String("string"),
})
var dbclusterLakeVersionResource = new DBClusterLakeVersion("dbclusterLakeVersionResource", DBClusterLakeVersionArgs.builder()
.paymentType("string")
.zoneId("string")
.vswitchId("string")
.dbClusterVersion("string")
.vpcId("string")
.reservedNodeCount(0)
.resourceGroupId("string")
.kmsId("string")
.enableDefaultResourceGroup(false)
.period(0)
.productForm("string")
.productVersion("string")
.backupSetId("string")
.reservedNodeSize("string")
.enableSsl(false)
.restoreToTime("string")
.restoreType("string")
.secondaryVswitchId("string")
.secondaryZoneId("string")
.securityIps("string")
.sourceDbClusterId("string")
.storageResource("string")
.diskEncryption(false)
.dbClusterDescription("string")
.computeResource("string")
.build());
dbcluster_lake_version_resource = alicloud.adb.DBClusterLakeVersion("dbclusterLakeVersionResource",
payment_type="string",
zone_id="string",
vswitch_id="string",
db_cluster_version="string",
vpc_id="string",
reserved_node_count=0,
resource_group_id="string",
kms_id="string",
enable_default_resource_group=False,
period=0,
product_form="string",
product_version="string",
backup_set_id="string",
reserved_node_size="string",
enable_ssl=False,
restore_to_time="string",
restore_type="string",
secondary_vswitch_id="string",
secondary_zone_id="string",
security_ips="string",
source_db_cluster_id="string",
storage_resource="string",
disk_encryption=False,
db_cluster_description="string",
compute_resource="string")
const dbclusterLakeVersionResource = new alicloud.adb.DBClusterLakeVersion("dbclusterLakeVersionResource", {
paymentType: "string",
zoneId: "string",
vswitchId: "string",
dbClusterVersion: "string",
vpcId: "string",
reservedNodeCount: 0,
resourceGroupId: "string",
kmsId: "string",
enableDefaultResourceGroup: false,
period: 0,
productForm: "string",
productVersion: "string",
backupSetId: "string",
reservedNodeSize: "string",
enableSsl: false,
restoreToTime: "string",
restoreType: "string",
secondaryVswitchId: "string",
secondaryZoneId: "string",
securityIps: "string",
sourceDbClusterId: "string",
storageResource: "string",
diskEncryption: false,
dbClusterDescription: "string",
computeResource: "string",
});
type: alicloud:adb:DBClusterLakeVersion
properties:
backupSetId: string
computeResource: string
dbClusterDescription: string
dbClusterVersion: string
diskEncryption: false
enableDefaultResourceGroup: false
enableSsl: false
kmsId: string
paymentType: string
period: 0
productForm: string
productVersion: string
reservedNodeCount: 0
reservedNodeSize: string
resourceGroupId: string
restoreToTime: string
restoreType: string
secondaryVswitchId: string
secondaryZoneId: string
securityIps: string
sourceDbClusterId: string
storageResource: string
vpcId: string
vswitchId: string
zoneId: string
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The DBClusterLakeVersion resource accepts the following input properties:
- Db
Cluster stringVersion - The version of the cluster. Valid values:
5.0
. - Payment
Type string - The payment type of the resource. Valid values:
PayAsYouGo
,Subscription
. NOTE: From version 1.245.0,payment_type
can be set toSubscription
. - Vpc
Id string - The vpc ID of the resource.
- Vswitch
Id string - The ID of the vSwitch.
- Zone
Id string - The zone ID of the resource.
- Backup
Set stringId - The ID of the backup set that you want to use to restore data.
- Compute
Resource string - The computing resources of the cluster.
- Db
Cluster stringDescription - The description of the cluster.
- Disk
Encryption bool - Specifies whether to enable disk encryption. Valid values:
true
,false
. - Enable
Default boolResource Group - Whether to enable default allocation of resources to user_default resource groups.
- Enable
Ssl bool - Specifies whether to enable SSL encryption. Valid values:
true
,false
. - Kms
Id string - The ID of the key that is used to encrypt disk data.
kms_id
is valid only whendisk_encryption
is set totrue
. - Period int
- The subscription period of the subscription cluster. Valid values:
1
to9
,12
,24
,36
. - Product
Form string - The product form of the cluster. Valid values:
IntegrationForm
: Integrated.LegacyForm
: Data Lakehouse Edition.
- Product
Version string The edition of the cluster. Valid values:
BasicVersion
: Basic Edition.EnterpriseVersion
: Enterprise Edition.
NOTE:
product_version
must be specified only whenproduct_form
is set toIntegrationForm
.- Reserved
Node intCount - The number of reserved resource nodes.
- Reserved
Node stringSize - The specifications of reserved resource nodes.
- Resource
Group stringId - The ID of the resource group.
- Restore
To stringTime - The point in time to which you want to restore data from the backup set.
- Restore
Type string - The method that you want to use to restore data. Valid values:
- Secondary
Vswitch stringId - The ID of the secondary zone.
- Secondary
Zone stringId - The ID of the secondary vSwitch.
- Security
Ips 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.
- Source
Db stringCluster Id - The ID of the source AnalyticDB for MySQL Data Warehouse Edition cluster.
- Storage
Resource string - The storage resources of the cluster.
- Db
Cluster stringVersion - The version of the cluster. Valid values:
5.0
. - Payment
Type string - The payment type of the resource. Valid values:
PayAsYouGo
,Subscription
. NOTE: From version 1.245.0,payment_type
can be set toSubscription
. - Vpc
Id string - The vpc ID of the resource.
- Vswitch
Id string - The ID of the vSwitch.
- Zone
Id string - The zone ID of the resource.
- Backup
Set stringId - The ID of the backup set that you want to use to restore data.
- Compute
Resource string - The computing resources of the cluster.
- Db
Cluster stringDescription - The description of the cluster.
- Disk
Encryption bool - Specifies whether to enable disk encryption. Valid values:
true
,false
. - Enable
Default boolResource Group - Whether to enable default allocation of resources to user_default resource groups.
- Enable
Ssl bool - Specifies whether to enable SSL encryption. Valid values:
true
,false
. - Kms
Id string - The ID of the key that is used to encrypt disk data.
kms_id
is valid only whendisk_encryption
is set totrue
. - Period int
- The subscription period of the subscription cluster. Valid values:
1
to9
,12
,24
,36
. - Product
Form string - The product form of the cluster. Valid values:
IntegrationForm
: Integrated.LegacyForm
: Data Lakehouse Edition.
- Product
Version string The edition of the cluster. Valid values:
BasicVersion
: Basic Edition.EnterpriseVersion
: Enterprise Edition.
NOTE:
product_version
must be specified only whenproduct_form
is set toIntegrationForm
.- Reserved
Node intCount - The number of reserved resource nodes.
- Reserved
Node stringSize - The specifications of reserved resource nodes.
- Resource
Group stringId - The ID of the resource group.
- Restore
To stringTime - The point in time to which you want to restore data from the backup set.
- Restore
Type string - The method that you want to use to restore data. Valid values:
- Secondary
Vswitch stringId - The ID of the secondary zone.
- Secondary
Zone stringId - The ID of the secondary vSwitch.
- Security
Ips 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.
- Source
Db stringCluster Id - The ID of the source AnalyticDB for MySQL Data Warehouse Edition cluster.
- Storage
Resource string - The storage resources of the cluster.
- db
Cluster StringVersion - The version of the cluster. Valid values:
5.0
. - payment
Type String - The payment type of the resource. Valid values:
PayAsYouGo
,Subscription
. NOTE: From version 1.245.0,payment_type
can be set toSubscription
. - vpc
Id String - The vpc ID of the resource.
- vswitch
Id String - The ID of the vSwitch.
- zone
Id String - The zone ID of the resource.
- backup
Set StringId - The ID of the backup set that you want to use to restore data.
- compute
Resource String - The computing resources of the cluster.
- db
Cluster StringDescription - The description of the cluster.
- disk
Encryption Boolean - Specifies whether to enable disk encryption. Valid values:
true
,false
. - enable
Default BooleanResource Group - Whether to enable default allocation of resources to user_default resource groups.
- enable
Ssl Boolean - Specifies whether to enable SSL encryption. Valid values:
true
,false
. - kms
Id String - The ID of the key that is used to encrypt disk data.
kms_id
is valid only whendisk_encryption
is set totrue
. - period Integer
- The subscription period of the subscription cluster. Valid values:
1
to9
,12
,24
,36
. - product
Form String - The product form of the cluster. Valid values:
IntegrationForm
: Integrated.LegacyForm
: Data Lakehouse Edition.
- product
Version String The edition of the cluster. Valid values:
BasicVersion
: Basic Edition.EnterpriseVersion
: Enterprise Edition.
NOTE:
product_version
must be specified only whenproduct_form
is set toIntegrationForm
.- reserved
Node IntegerCount - The number of reserved resource nodes.
- reserved
Node StringSize - The specifications of reserved resource nodes.
- resource
Group StringId - The ID of the resource group.
- restore
To StringTime - The point in time to which you want to restore data from the backup set.
- restore
Type String - The method that you want to use to restore data. Valid values:
- secondary
Vswitch StringId - The ID of the secondary zone.
- secondary
Zone StringId - The ID of the secondary vSwitch.
- security
Ips 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.
- source
Db StringCluster Id - The ID of the source AnalyticDB for MySQL Data Warehouse Edition cluster.
- storage
Resource String - The storage resources of the cluster.
- db
Cluster stringVersion - The version of the cluster. Valid values:
5.0
. - payment
Type string - The payment type of the resource. Valid values:
PayAsYouGo
,Subscription
. NOTE: From version 1.245.0,payment_type
can be set toSubscription
. - vpc
Id string - The vpc ID of the resource.
- vswitch
Id string - The ID of the vSwitch.
- zone
Id string - The zone ID of the resource.
- backup
Set stringId - The ID of the backup set that you want to use to restore data.
- compute
Resource string - The computing resources of the cluster.
- db
Cluster stringDescription - The description of the cluster.
- disk
Encryption boolean - Specifies whether to enable disk encryption. Valid values:
true
,false
. - enable
Default booleanResource Group - Whether to enable default allocation of resources to user_default resource groups.
- enable
Ssl boolean - Specifies whether to enable SSL encryption. Valid values:
true
,false
. - kms
Id string - The ID of the key that is used to encrypt disk data.
kms_id
is valid only whendisk_encryption
is set totrue
. - period number
- The subscription period of the subscription cluster. Valid values:
1
to9
,12
,24
,36
. - product
Form string - The product form of the cluster. Valid values:
IntegrationForm
: Integrated.LegacyForm
: Data Lakehouse Edition.
- product
Version string The edition of the cluster. Valid values:
BasicVersion
: Basic Edition.EnterpriseVersion
: Enterprise Edition.
NOTE:
product_version
must be specified only whenproduct_form
is set toIntegrationForm
.- reserved
Node numberCount - The number of reserved resource nodes.
- reserved
Node stringSize - The specifications of reserved resource nodes.
- resource
Group stringId - The ID of the resource group.
- restore
To stringTime - The point in time to which you want to restore data from the backup set.
- restore
Type string - The method that you want to use to restore data. Valid values:
- secondary
Vswitch stringId - The ID of the secondary zone.
- secondary
Zone stringId - The ID of the secondary vSwitch.
- security
Ips 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.
- source
Db stringCluster Id - The ID of the source AnalyticDB for MySQL Data Warehouse Edition cluster.
- storage
Resource string - The storage resources of the cluster.
- db_
cluster_ strversion - The version of the cluster. Valid values:
5.0
. - payment_
type str - The payment type of the resource. Valid values:
PayAsYouGo
,Subscription
. NOTE: From version 1.245.0,payment_type
can be set toSubscription
. - 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.
- backup_
set_ strid - The ID of the backup set that you want to use to restore data.
- compute_
resource str - The computing resources of the cluster.
- db_
cluster_ strdescription - The description of the cluster.
- disk_
encryption bool - Specifies whether to enable disk encryption. Valid values:
true
,false
. - enable_
default_ boolresource_ group - Whether to enable default allocation of resources to user_default resource groups.
- enable_
ssl bool - Specifies whether to enable SSL encryption. Valid values:
true
,false
. - kms_
id str - The ID of the key that is used to encrypt disk data.
kms_id
is valid only whendisk_encryption
is set totrue
. - period int
- The subscription period of the subscription cluster. Valid values:
1
to9
,12
,24
,36
. - product_
form str - The product form of the cluster. Valid values:
IntegrationForm
: Integrated.LegacyForm
: Data Lakehouse Edition.
- product_
version str The edition of the cluster. Valid values:
BasicVersion
: Basic Edition.EnterpriseVersion
: Enterprise Edition.
NOTE:
product_version
must be specified only whenproduct_form
is set toIntegrationForm
.- reserved_
node_ intcount - The number of reserved resource nodes.
- reserved_
node_ strsize - The specifications of reserved resource nodes.
- resource_
group_ strid - The ID of the resource group.
- restore_
to_ strtime - The point in time to which you want to restore data from the backup set.
- restore_
type str - The method that you want to use to restore data. Valid values:
- secondary_
vswitch_ strid - The ID of the secondary zone.
- secondary_
zone_ strid - The ID of the secondary vSwitch.
- 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.
- source_
db_ strcluster_ id - The ID of the source AnalyticDB for MySQL Data Warehouse Edition cluster.
- storage_
resource str - The storage resources of the cluster.
- db
Cluster StringVersion - The version of the cluster. Valid values:
5.0
. - payment
Type String - The payment type of the resource. Valid values:
PayAsYouGo
,Subscription
. NOTE: From version 1.245.0,payment_type
can be set toSubscription
. - vpc
Id String - The vpc ID of the resource.
- vswitch
Id String - The ID of the vSwitch.
- zone
Id String - The zone ID of the resource.
- backup
Set StringId - The ID of the backup set that you want to use to restore data.
- compute
Resource String - The computing resources of the cluster.
- db
Cluster StringDescription - The description of the cluster.
- disk
Encryption Boolean - Specifies whether to enable disk encryption. Valid values:
true
,false
. - enable
Default BooleanResource Group - Whether to enable default allocation of resources to user_default resource groups.
- enable
Ssl Boolean - Specifies whether to enable SSL encryption. Valid values:
true
,false
. - kms
Id String - The ID of the key that is used to encrypt disk data.
kms_id
is valid only whendisk_encryption
is set totrue
. - period Number
- The subscription period of the subscription cluster. Valid values:
1
to9
,12
,24
,36
. - product
Form String - The product form of the cluster. Valid values:
IntegrationForm
: Integrated.LegacyForm
: Data Lakehouse Edition.
- product
Version String The edition of the cluster. Valid values:
BasicVersion
: Basic Edition.EnterpriseVersion
: Enterprise Edition.
NOTE:
product_version
must be specified only whenproduct_form
is set toIntegrationForm
.- reserved
Node NumberCount - The number of reserved resource nodes.
- reserved
Node StringSize - The specifications of reserved resource nodes.
- resource
Group StringId - The ID of the resource group.
- restore
To StringTime - The point in time to which you want to restore data from the backup set.
- restore
Type String - The method that you want to use to restore data. Valid values:
- secondary
Vswitch StringId - The ID of the secondary zone.
- secondary
Zone StringId - The ID of the secondary vSwitch.
- security
Ips 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.
- source
Db StringCluster Id - The ID of the source AnalyticDB for MySQL Data Warehouse Edition cluster.
- storage
Resource String - The storage resources of the cluster.
Outputs
All input properties are implicitly available as output properties. Additionally, the DBClusterLakeVersion resource produces the following output properties:
- Commodity
Code string - The name of the service.
- Connection
String string - The endpoint of the cluster.
- Create
Time string - The createTime of the cluster.
- Engine string
- The engine of the database.
- Engine
Version string - The engine version of the database.
- Expire
Time string - The time when the cluster expires.
- Expired bool
- Indicates whether the cluster has expired.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lock
Mode string - The lock mode of the cluster.
- Lock
Reason string - The reason why the cluster is locked.
- Port string
- The port that is used to access the cluster.
- Status string
- The status of the resource.
- Commodity
Code string - The name of the service.
- Connection
String string - The endpoint of the cluster.
- Create
Time string - The createTime of the cluster.
- Engine string
- The engine of the database.
- Engine
Version string - The engine version of the database.
- Expire
Time string - The time when the cluster expires.
- Expired bool
- Indicates whether the cluster has expired.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lock
Mode string - The lock mode of the cluster.
- Lock
Reason string - The reason why the cluster is locked.
- Port string
- The port that is used to access the cluster.
- Status string
- The status of the resource.
- commodity
Code String - The name of the service.
- connection
String String - The endpoint of the cluster.
- create
Time String - The createTime of the cluster.
- engine String
- The engine of the database.
- engine
Version String - The engine version of the database.
- expire
Time String - The time when the cluster expires.
- expired Boolean
- Indicates whether the cluster has expired.
- id String
- The provider-assigned unique ID for this managed resource.
- lock
Mode String - The lock mode of the cluster.
- lock
Reason String - The reason why the cluster is locked.
- port String
- The port that is used to access the cluster.
- status String
- The status of the resource.
- commodity
Code string - The name of the service.
- connection
String string - The endpoint of the cluster.
- create
Time string - The createTime of the cluster.
- engine string
- The engine of the database.
- engine
Version string - The engine version of the database.
- expire
Time string - The time when the cluster expires.
- expired boolean
- Indicates whether the cluster has expired.
- id string
- The provider-assigned unique ID for this managed resource.
- lock
Mode string - The lock mode of the cluster.
- lock
Reason string - The reason why the cluster is locked.
- port string
- The port that is used to access the cluster.
- 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 bool
- 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.
- status str
- The status of the resource.
- commodity
Code String - The name of the service.
- connection
String String - The endpoint of the cluster.
- create
Time String - The createTime of the cluster.
- engine String
- The engine of the database.
- engine
Version String - The engine version of the database.
- expire
Time String - The time when the cluster expires.
- expired Boolean
- Indicates whether the cluster has expired.
- id String
- The provider-assigned unique ID for this managed resource.
- lock
Mode String - The lock mode of the cluster.
- lock
Reason String - The reason why the cluster is locked.
- port String
- The port that is used to access the cluster.
- 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,
backup_set_id: Optional[str] = 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,
disk_encryption: Optional[bool] = None,
enable_default_resource_group: Optional[bool] = None,
enable_ssl: Optional[bool] = None,
engine: Optional[str] = None,
engine_version: Optional[str] = None,
expire_time: Optional[str] = None,
expired: Optional[bool] = None,
kms_id: Optional[str] = None,
lock_mode: Optional[str] = None,
lock_reason: Optional[str] = None,
payment_type: Optional[str] = None,
period: Optional[int] = None,
port: Optional[str] = None,
product_form: Optional[str] = None,
product_version: Optional[str] = None,
reserved_node_count: Optional[int] = None,
reserved_node_size: Optional[str] = None,
resource_group_id: Optional[str] = None,
restore_to_time: Optional[str] = None,
restore_type: Optional[str] = None,
secondary_vswitch_id: Optional[str] = None,
secondary_zone_id: Optional[str] = None,
security_ips: Optional[str] = None,
source_db_cluster_id: 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)
resources: _: type: alicloud:adb:DBClusterLakeVersion get: id: ${id}
- 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.
- Backup
Set stringId - The ID of the backup set that you want to use to restore data.
- Commodity
Code string - The name of the service.
- Compute
Resource string - The computing resources of the cluster.
- Connection
String string - The endpoint of the cluster.
- Create
Time string - The createTime of the cluster.
- Db
Cluster stringDescription - The description of the cluster.
- Db
Cluster stringVersion - The version of the cluster. Valid values:
5.0
. - Disk
Encryption bool - Specifies whether to enable disk encryption. Valid values:
true
,false
. - Enable
Default boolResource Group - Whether to enable default allocation of resources to user_default resource groups.
- Enable
Ssl bool - Specifies whether to enable SSL encryption. Valid values:
true
,false
. - Engine string
- The engine of the database.
- Engine
Version string - The engine version of the database.
- Expire
Time string - The time when the cluster expires.
- Expired bool
- Indicates whether the cluster has expired.
- Kms
Id string - The ID of the key that is used to encrypt disk data.
kms_id
is valid only whendisk_encryption
is set totrue
. - Lock
Mode string - The lock mode of the cluster.
- Lock
Reason string - The reason why the cluster is locked.
- Payment
Type string - The payment type of the resource. Valid values:
PayAsYouGo
,Subscription
. NOTE: From version 1.245.0,payment_type
can be set toSubscription
. - Period int
- The subscription period of the subscription cluster. Valid values:
1
to9
,12
,24
,36
. - Port string
- The port that is used to access the cluster.
- Product
Form string - The product form of the cluster. Valid values:
IntegrationForm
: Integrated.LegacyForm
: Data Lakehouse Edition.
- Product
Version string The edition of the cluster. Valid values:
BasicVersion
: Basic Edition.EnterpriseVersion
: Enterprise Edition.
NOTE:
product_version
must be specified only whenproduct_form
is set toIntegrationForm
.- Reserved
Node intCount - The number of reserved resource nodes.
- Reserved
Node stringSize - The specifications of reserved resource nodes.
- Resource
Group stringId - The ID of the resource group.
- Restore
To stringTime - The point in time to which you want to restore data from the backup set.
- Restore
Type string - The method that you want to use to restore data. Valid values:
- Secondary
Vswitch stringId - The ID of the secondary zone.
- Secondary
Zone stringId - The ID of the secondary vSwitch.
- Security
Ips 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.
- Source
Db stringCluster Id - The ID of the source AnalyticDB for MySQL Data Warehouse Edition cluster.
- Status string
- The status of the resource.
- Storage
Resource string - The storage resources of the cluster.
- Vpc
Id string - The vpc ID of the resource.
- Vswitch
Id string - The ID of the vSwitch.
- Zone
Id string - The zone ID of the resource.
- Backup
Set stringId - The ID of the backup set that you want to use to restore data.
- Commodity
Code string - The name of the service.
- Compute
Resource string - The computing resources of the cluster.
- Connection
String string - The endpoint of the cluster.
- Create
Time string - The createTime of the cluster.
- Db
Cluster stringDescription - The description of the cluster.
- Db
Cluster stringVersion - The version of the cluster. Valid values:
5.0
. - Disk
Encryption bool - Specifies whether to enable disk encryption. Valid values:
true
,false
. - Enable
Default boolResource Group - Whether to enable default allocation of resources to user_default resource groups.
- Enable
Ssl bool - Specifies whether to enable SSL encryption. Valid values:
true
,false
. - Engine string
- The engine of the database.
- Engine
Version string - The engine version of the database.
- Expire
Time string - The time when the cluster expires.
- Expired bool
- Indicates whether the cluster has expired.
- Kms
Id string - The ID of the key that is used to encrypt disk data.
kms_id
is valid only whendisk_encryption
is set totrue
. - Lock
Mode string - The lock mode of the cluster.
- Lock
Reason string - The reason why the cluster is locked.
- Payment
Type string - The payment type of the resource. Valid values:
PayAsYouGo
,Subscription
. NOTE: From version 1.245.0,payment_type
can be set toSubscription
. - Period int
- The subscription period of the subscription cluster. Valid values:
1
to9
,12
,24
,36
. - Port string
- The port that is used to access the cluster.
- Product
Form string - The product form of the cluster. Valid values:
IntegrationForm
: Integrated.LegacyForm
: Data Lakehouse Edition.
- Product
Version string The edition of the cluster. Valid values:
BasicVersion
: Basic Edition.EnterpriseVersion
: Enterprise Edition.
NOTE:
product_version
must be specified only whenproduct_form
is set toIntegrationForm
.- Reserved
Node intCount - The number of reserved resource nodes.
- Reserved
Node stringSize - The specifications of reserved resource nodes.
- Resource
Group stringId - The ID of the resource group.
- Restore
To stringTime - The point in time to which you want to restore data from the backup set.
- Restore
Type string - The method that you want to use to restore data. Valid values:
- Secondary
Vswitch stringId - The ID of the secondary zone.
- Secondary
Zone stringId - The ID of the secondary vSwitch.
- Security
Ips 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.
- Source
Db stringCluster Id - The ID of the source AnalyticDB for MySQL Data Warehouse Edition cluster.
- Status string
- The status of the resource.
- Storage
Resource string - The storage resources of the cluster.
- Vpc
Id string - The vpc ID of the resource.
- Vswitch
Id string - The ID of the vSwitch.
- Zone
Id string - The zone ID of the resource.
- backup
Set StringId - The ID of the backup set that you want to use to restore data.
- commodity
Code String - The name of the service.
- compute
Resource String - The computing resources of the cluster.
- connection
String String - The endpoint of the cluster.
- create
Time String - The createTime of the cluster.
- db
Cluster StringDescription - The description of the cluster.
- db
Cluster StringVersion - The version of the cluster. Valid values:
5.0
. - disk
Encryption Boolean - Specifies whether to enable disk encryption. Valid values:
true
,false
. - enable
Default BooleanResource Group - Whether to enable default allocation of resources to user_default resource groups.
- enable
Ssl Boolean - Specifies whether to enable SSL encryption. Valid values:
true
,false
. - engine String
- The engine of the database.
- engine
Version String - The engine version of the database.
- expire
Time String - The time when the cluster expires.
- expired Boolean
- Indicates whether the cluster has expired.
- kms
Id String - The ID of the key that is used to encrypt disk data.
kms_id
is valid only whendisk_encryption
is set totrue
. - lock
Mode String - The lock mode of the cluster.
- lock
Reason String - The reason why the cluster is locked.
- payment
Type String - The payment type of the resource. Valid values:
PayAsYouGo
,Subscription
. NOTE: From version 1.245.0,payment_type
can be set toSubscription
. - period Integer
- The subscription period of the subscription cluster. Valid values:
1
to9
,12
,24
,36
. - port String
- The port that is used to access the cluster.
- product
Form String - The product form of the cluster. Valid values:
IntegrationForm
: Integrated.LegacyForm
: Data Lakehouse Edition.
- product
Version String The edition of the cluster. Valid values:
BasicVersion
: Basic Edition.EnterpriseVersion
: Enterprise Edition.
NOTE:
product_version
must be specified only whenproduct_form
is set toIntegrationForm
.- reserved
Node IntegerCount - The number of reserved resource nodes.
- reserved
Node StringSize - The specifications of reserved resource nodes.
- resource
Group StringId - The ID of the resource group.
- restore
To StringTime - The point in time to which you want to restore data from the backup set.
- restore
Type String - The method that you want to use to restore data. Valid values:
- secondary
Vswitch StringId - The ID of the secondary zone.
- secondary
Zone StringId - The ID of the secondary vSwitch.
- security
Ips 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.
- source
Db StringCluster Id - The ID of the source AnalyticDB for MySQL Data Warehouse Edition cluster.
- status String
- The status of the resource.
- storage
Resource String - The storage resources of the cluster.
- vpc
Id String - The vpc ID of the resource.
- vswitch
Id String - The ID of the vSwitch.
- zone
Id String - The zone ID of the resource.
- backup
Set stringId - The ID of the backup set that you want to use to restore data.
- commodity
Code string - The name of the service.
- compute
Resource string - The computing resources of the cluster.
- connection
String string - The endpoint of the cluster.
- create
Time string - The createTime of the cluster.
- db
Cluster stringDescription - The description of the cluster.
- db
Cluster stringVersion - The version of the cluster. Valid values:
5.0
. - disk
Encryption boolean - Specifies whether to enable disk encryption. Valid values:
true
,false
. - enable
Default booleanResource Group - Whether to enable default allocation of resources to user_default resource groups.
- enable
Ssl boolean - Specifies whether to enable SSL encryption. Valid values:
true
,false
. - engine string
- The engine of the database.
- engine
Version string - The engine version of the database.
- expire
Time string - The time when the cluster expires.
- expired boolean
- Indicates whether the cluster has expired.
- kms
Id string - The ID of the key that is used to encrypt disk data.
kms_id
is valid only whendisk_encryption
is set totrue
. - lock
Mode string - The lock mode of the cluster.
- lock
Reason string - The reason why the cluster is locked.
- payment
Type string - The payment type of the resource. Valid values:
PayAsYouGo
,Subscription
. NOTE: From version 1.245.0,payment_type
can be set toSubscription
. - period number
- The subscription period of the subscription cluster. Valid values:
1
to9
,12
,24
,36
. - port string
- The port that is used to access the cluster.
- product
Form string - The product form of the cluster. Valid values:
IntegrationForm
: Integrated.LegacyForm
: Data Lakehouse Edition.
- product
Version string The edition of the cluster. Valid values:
BasicVersion
: Basic Edition.EnterpriseVersion
: Enterprise Edition.
NOTE:
product_version
must be specified only whenproduct_form
is set toIntegrationForm
.- reserved
Node numberCount - The number of reserved resource nodes.
- reserved
Node stringSize - The specifications of reserved resource nodes.
- resource
Group stringId - The ID of the resource group.
- restore
To stringTime - The point in time to which you want to restore data from the backup set.
- restore
Type string - The method that you want to use to restore data. Valid values:
- secondary
Vswitch stringId - The ID of the secondary zone.
- secondary
Zone stringId - The ID of the secondary vSwitch.
- security
Ips 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.
- source
Db stringCluster Id - The ID of the source AnalyticDB for MySQL Data Warehouse Edition cluster.
- status string
- The status of the resource.
- storage
Resource string - The storage resources of the cluster.
- vpc
Id string - The vpc ID of the resource.
- vswitch
Id string - The ID of the vSwitch.
- zone
Id string - The zone ID of the resource.
- backup_
set_ strid - The ID of the backup set that you want to use to restore data.
- 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_ strdescription - The description of the cluster.
- db_
cluster_ strversion - The version of the cluster. Valid values:
5.0
. - disk_
encryption bool - Specifies whether to enable disk encryption. Valid values:
true
,false
. - enable_
default_ boolresource_ group - Whether to enable default allocation of resources to user_default resource groups.
- enable_
ssl bool - Specifies whether to enable SSL encryption. Valid values:
true
,false
. - 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 bool
- Indicates whether the cluster has expired.
- kms_
id str - The ID of the key that is used to encrypt disk data.
kms_id
is valid only whendisk_encryption
is set totrue
. - 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:
PayAsYouGo
,Subscription
. NOTE: From version 1.245.0,payment_type
can be set toSubscription
. - period int
- The subscription period of the subscription cluster. Valid values:
1
to9
,12
,24
,36
. - port str
- The port that is used to access the cluster.
- product_
form str - The product form of the cluster. Valid values:
IntegrationForm
: Integrated.LegacyForm
: Data Lakehouse Edition.
- product_
version str The edition of the cluster. Valid values:
BasicVersion
: Basic Edition.EnterpriseVersion
: Enterprise Edition.
NOTE:
product_version
must be specified only whenproduct_form
is set toIntegrationForm
.- reserved_
node_ intcount - The number of reserved resource nodes.
- reserved_
node_ strsize - The specifications of reserved resource nodes.
- resource_
group_ strid - The ID of the resource group.
- restore_
to_ strtime - The point in time to which you want to restore data from the backup set.
- restore_
type str - The method that you want to use to restore data. Valid values:
- secondary_
vswitch_ strid - The ID of the secondary zone.
- secondary_
zone_ strid - The ID of the secondary vSwitch.
- 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.
- source_
db_ strcluster_ id - The ID of the source AnalyticDB for MySQL Data Warehouse Edition cluster.
- 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.
- backup
Set StringId - The ID of the backup set that you want to use to restore data.
- commodity
Code String - The name of the service.
- compute
Resource String - The computing resources of the cluster.
- connection
String String - The endpoint of the cluster.
- create
Time String - The createTime of the cluster.
- db
Cluster StringDescription - The description of the cluster.
- db
Cluster StringVersion - The version of the cluster. Valid values:
5.0
. - disk
Encryption Boolean - Specifies whether to enable disk encryption. Valid values:
true
,false
. - enable
Default BooleanResource Group - Whether to enable default allocation of resources to user_default resource groups.
- enable
Ssl Boolean - Specifies whether to enable SSL encryption. Valid values:
true
,false
. - engine String
- The engine of the database.
- engine
Version String - The engine version of the database.
- expire
Time String - The time when the cluster expires.
- expired Boolean
- Indicates whether the cluster has expired.
- kms
Id String - The ID of the key that is used to encrypt disk data.
kms_id
is valid only whendisk_encryption
is set totrue
. - lock
Mode String - The lock mode of the cluster.
- lock
Reason String - The reason why the cluster is locked.
- payment
Type String - The payment type of the resource. Valid values:
PayAsYouGo
,Subscription
. NOTE: From version 1.245.0,payment_type
can be set toSubscription
. - period Number
- The subscription period of the subscription cluster. Valid values:
1
to9
,12
,24
,36
. - port String
- The port that is used to access the cluster.
- product
Form String - The product form of the cluster. Valid values:
IntegrationForm
: Integrated.LegacyForm
: Data Lakehouse Edition.
- product
Version String The edition of the cluster. Valid values:
BasicVersion
: Basic Edition.EnterpriseVersion
: Enterprise Edition.
NOTE:
product_version
must be specified only whenproduct_form
is set toIntegrationForm
.- reserved
Node NumberCount - The number of reserved resource nodes.
- reserved
Node StringSize - The specifications of reserved resource nodes.
- resource
Group StringId - The ID of the resource group.
- restore
To StringTime - The point in time to which you want to restore data from the backup set.
- restore
Type String - The method that you want to use to restore data. Valid values:
- secondary
Vswitch StringId - The ID of the secondary zone.
- secondary
Zone StringId - The ID of the secondary vSwitch.
- security
Ips 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.
- source
Db StringCluster Id - The ID of the source AnalyticDB for MySQL Data Warehouse Edition cluster.
- status String
- The status of the resource.
- storage
Resource String - The storage resources of the cluster.
- vpc
Id String - The vpc ID of the resource.
- vswitch
Id String - The ID of the vSwitch.
- zone
Id 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>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.