DBClusterLakeVersion

class DBClusterLakeVersion : KotlinCustomResource

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

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 defaultZones = AdbFunctions.getZones();
final var defaultNetworks = VpcFunctions.getNetworks(GetNetworksArgs.builder()
.nameRegex("^default-NODELETING$")
.build());
final var defaultSwitches = VpcFunctions.getSwitches(GetSwitchesArgs.builder()
.vpcId(defaultNetworks.applyValue(getNetworksResult -> getNetworksResult.ids()[0]))
.zoneId(defaultZones.applyValue(getZonesResult -> getZonesResult.ids()[0]))
.build());
var defaultDBClusterLakeVersion = new DBClusterLakeVersion("defaultDBClusterLakeVersion", DBClusterLakeVersionArgs.builder()
.dbClusterVersion("5.0")
.vpcId(defaultNetworks.applyValue(getNetworksResult -> getNetworksResult.ids()[0]))
.vswitchId(defaultSwitches.applyValue(getSwitchesResult -> getSwitchesResult.ids()[0]))
.zoneId(defaultZones.applyValue(getZonesResult -> getZonesResult.ids()[0]))
.computeResource("16ACU")
.storageResource("0ACU")
.paymentType("PayAsYouGo")
.enableDefaultResourceGroup(false)
.build());
}
}

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>

Properties

Link copied to clipboard
val backupSetId: Output<String>?

The ID of the backup set that you want to use to restore data.

Link copied to clipboard
val commodityCode: Output<String>

The name of the service.

Link copied to clipboard
val computeResource: Output<String>

The computing resources of the cluster.

Link copied to clipboard

The endpoint of the cluster.

Link copied to clipboard
val createTime: Output<String>

The createTime of the cluster.

Link copied to clipboard

The description of the cluster.

Link copied to clipboard

The version of the cluster. Valid values: 5.0.

Link copied to clipboard

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

Link copied to clipboard
val engine: Output<String>

The engine of the database.

Link copied to clipboard
val engineVersion: Output<String>

The engine version of the database.

Link copied to clipboard
val expired: Output<String>

Indicates whether the cluster has expired.

Link copied to clipboard
val expireTime: Output<String>

The time when the cluster expires.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val lockMode: Output<String>

The lock mode of the cluster.

Link copied to clipboard
val lockReason: Output<String>

The reason why the cluster is locked.

Link copied to clipboard
val paymentType: Output<String>

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

Link copied to clipboard
val port: Output<String>

The port that is used to access the cluster.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val resourceGroupId: Output<String>

The ID of the resource group.

Link copied to clipboard
val restoreToTime: Output<String>?

The point in time to which you want to restore data from the backup set.

Link copied to clipboard
val restoreType: Output<String>?

The method that you want to use to restore data. Valid values:

Link copied to clipboard
val securityIps: Output<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:

Link copied to clipboard

The ID of the source AnalyticDB for MySQL Data Warehouse Edition cluster.

Link copied to clipboard
val status: Output<String>

The status of the resource.

Link copied to clipboard
val storageResource: Output<String>

The storage resources of the cluster.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val vpcId: Output<String>

The vpc ID of the resource.

Link copied to clipboard
val vswitchId: Output<String>

The ID of the vSwitch.

Link copied to clipboard
val zoneId: Output<String>

The zone ID of the resource.