1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. DlcDataEngine
tencentcloud 1.82.17 published on Thursday, Aug 14, 2025 by tencentcloudstack

tencentcloud.DlcDataEngine

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.82.17 published on Thursday, Aug 14, 2025 by tencentcloudstack

    Provides a resource to create a DLC data engine

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.DlcDataEngine("example", {
        autoResume: false,
        cidrBlock: "10.255.0.0/16",
        clusterType: "spark_cu",
        dataEngineName: "tf-example",
        engineExecType: "BATCH",
        engineGeneration: "Native",
        engineType: "spark",
        imageVersionName: "Standard-S 1.1",
        maxClusters: 1,
        message: "DLC data engine demo.",
        minClusters: 1,
        mode: 1,
        sessionResourceTemplate: {
            driverSize: "medium",
            executorMaxNumbers: 7,
            executorNums: 1,
            executorSize: "medium",
        },
        size: 16,
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.DlcDataEngine("example",
        auto_resume=False,
        cidr_block="10.255.0.0/16",
        cluster_type="spark_cu",
        data_engine_name="tf-example",
        engine_exec_type="BATCH",
        engine_generation="Native",
        engine_type="spark",
        image_version_name="Standard-S 1.1",
        max_clusters=1,
        message="DLC data engine demo.",
        min_clusters=1,
        mode=1,
        session_resource_template={
            "driver_size": "medium",
            "executor_max_numbers": 7,
            "executor_nums": 1,
            "executor_size": "medium",
        },
        size=16)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.NewDlcDataEngine(ctx, "example", &tencentcloud.DlcDataEngineArgs{
    			AutoResume:       pulumi.Bool(false),
    			CidrBlock:        pulumi.String("10.255.0.0/16"),
    			ClusterType:      pulumi.String("spark_cu"),
    			DataEngineName:   pulumi.String("tf-example"),
    			EngineExecType:   pulumi.String("BATCH"),
    			EngineGeneration: pulumi.String("Native"),
    			EngineType:       pulumi.String("spark"),
    			ImageVersionName: pulumi.String("Standard-S 1.1"),
    			MaxClusters:      pulumi.Float64(1),
    			Message:          pulumi.String("DLC data engine demo."),
    			MinClusters:      pulumi.Float64(1),
    			Mode:             pulumi.Float64(1),
    			SessionResourceTemplate: &tencentcloud.DlcDataEngineSessionResourceTemplateArgs{
    				DriverSize:         pulumi.String("medium"),
    				ExecutorMaxNumbers: pulumi.Float64(7),
    				ExecutorNums:       pulumi.Float64(1),
    				ExecutorSize:       pulumi.String("medium"),
    			},
    			Size: pulumi.Float64(16),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Tencentcloud.DlcDataEngine("example", new()
        {
            AutoResume = false,
            CidrBlock = "10.255.0.0/16",
            ClusterType = "spark_cu",
            DataEngineName = "tf-example",
            EngineExecType = "BATCH",
            EngineGeneration = "Native",
            EngineType = "spark",
            ImageVersionName = "Standard-S 1.1",
            MaxClusters = 1,
            Message = "DLC data engine demo.",
            MinClusters = 1,
            Mode = 1,
            SessionResourceTemplate = new Tencentcloud.Inputs.DlcDataEngineSessionResourceTemplateArgs
            {
                DriverSize = "medium",
                ExecutorMaxNumbers = 7,
                ExecutorNums = 1,
                ExecutorSize = "medium",
            },
            Size = 16,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.DlcDataEngine;
    import com.pulumi.tencentcloud.DlcDataEngineArgs;
    import com.pulumi.tencentcloud.inputs.DlcDataEngineSessionResourceTemplateArgs;
    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) {
            var example = new DlcDataEngine("example", DlcDataEngineArgs.builder()
                .autoResume(false)
                .cidrBlock("10.255.0.0/16")
                .clusterType("spark_cu")
                .dataEngineName("tf-example")
                .engineExecType("BATCH")
                .engineGeneration("Native")
                .engineType("spark")
                .imageVersionName("Standard-S 1.1")
                .maxClusters(1)
                .message("DLC data engine demo.")
                .minClusters(1)
                .mode(1)
                .sessionResourceTemplate(DlcDataEngineSessionResourceTemplateArgs.builder()
                    .driverSize("medium")
                    .executorMaxNumbers(7)
                    .executorNums(1)
                    .executorSize("medium")
                    .build())
                .size(16)
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:DlcDataEngine
        properties:
          autoResume: false
          cidrBlock: 10.255.0.0/16
          clusterType: spark_cu
          dataEngineName: tf-example
          engineExecType: BATCH
          engineGeneration: Native
          engineType: spark
          imageVersionName: Standard-S 1.1
          maxClusters: 1
          message: DLC data engine demo.
          minClusters: 1
          mode: 1
          sessionResourceTemplate:
            driverSize: medium
            executorMaxNumbers: 7
            executorNums: 1
            executorSize: medium
          size: 16
    

    Create DlcDataEngine Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new DlcDataEngine(name: string, args: DlcDataEngineArgs, opts?: CustomResourceOptions);
    @overload
    def DlcDataEngine(resource_name: str,
                      args: DlcDataEngineArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def DlcDataEngine(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      cluster_type: Optional[str] = None,
                      mode: Optional[float] = None,
                      auto_resume: Optional[bool] = None,
                      engine_type: Optional[str] = None,
                      data_engine_name: Optional[str] = None,
                      engine_generation: Optional[str] = None,
                      auto_suspend: Optional[bool] = None,
                      crontab_resume_suspend: Optional[float] = None,
                      crontab_resume_suspend_strategy: Optional[DlcDataEngineCrontabResumeSuspendStrategyArgs] = None,
                      data_engine_config_pairs: Optional[Sequence[DlcDataEngineDataEngineConfigPairArgs]] = None,
                      auto_suspend_time: Optional[float] = None,
                      default_data_engine: Optional[bool] = None,
                      dlc_data_engine_id: Optional[str] = None,
                      elastic_limit: Optional[float] = None,
                      elastic_switch: Optional[bool] = None,
                      engine_exec_type: Optional[str] = None,
                      auto_authorization: Optional[bool] = None,
                      engine_network_id: Optional[str] = None,
                      cidr_block: Optional[str] = None,
                      image_version_name: Optional[str] = None,
                      main_cluster_name: Optional[str] = None,
                      max_clusters: Optional[float] = None,
                      max_concurrency: Optional[float] = None,
                      message: Optional[str] = None,
                      min_clusters: Optional[float] = None,
                      auto_renew: Optional[float] = None,
                      pay_mode: Optional[float] = None,
                      resource_type: Optional[str] = None,
                      session_resource_template: Optional[DlcDataEngineSessionResourceTemplateArgs] = None,
                      size: Optional[float] = None,
                      time_span: Optional[float] = None,
                      time_unit: Optional[str] = None,
                      tolerable_queue_time: Optional[float] = None)
    func NewDlcDataEngine(ctx *Context, name string, args DlcDataEngineArgs, opts ...ResourceOption) (*DlcDataEngine, error)
    public DlcDataEngine(string name, DlcDataEngineArgs args, CustomResourceOptions? opts = null)
    public DlcDataEngine(String name, DlcDataEngineArgs args)
    public DlcDataEngine(String name, DlcDataEngineArgs args, CustomResourceOptions options)
    
    type: tencentcloud:DlcDataEngine
    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 DlcDataEngineArgs
    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 DlcDataEngineArgs
    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 DlcDataEngineArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DlcDataEngineArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DlcDataEngineArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    DlcDataEngine 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 DlcDataEngine resource accepts the following input properties:

    AutoResume bool
    Whether to automatically start the clusters.
    ClusterType string
    The cluster type. Valid values: spark_private, presto_private, presto_cu, and spark_cu.
    DataEngineName string
    The name of the virtual cluster.
    EngineType string
    The engine type. Valid values: spark and presto.
    Mode double
    The billing mode. Valid values: 0 (shared engine), 1 (pay-as-you-go), and 2 (monthly subscription).
    AutoAuthorization bool
    Automatic authorization.
    AutoRenew double
    The auto-renewal status of the resource. For the postpaid mode, no renewal is required, and the value is fixed to 0. For the prepaid mode, valid values are 0 (manual), 1 (auto), and 2 (no renewal). If this parameter is set to 0 for a key account in the prepaid mode, auto-renewal applies. It defaults to 0.
    AutoSuspend bool
    Whether to automatically suspend clusters. Valid values: false (default, no) and true (yes).
    AutoSuspendTime double
    The cluster auto-suspension time, which defaults to 10 min.
    CidrBlock string
    The VPC CIDR block.
    CrontabResumeSuspend double
    Whether to enable scheduled start and suspension of clusters. Valid values: 0 (disable) and 1 (enable). Note: This policy and the auto-suspension policy are mutually exclusive.
    CrontabResumeSuspendStrategy DlcDataEngineCrontabResumeSuspendStrategy
    The complex policy for scheduled start and suspension, including the start/suspension time and suspension policy.
    DataEngineConfigPairs List<DlcDataEngineDataEngineConfigPair>
    The advanced configurations of clusters.
    DefaultDataEngine bool
    Whether it is the default virtual cluster.
    DlcDataEngineId string
    ID of the resource.
    ElasticLimit double
    The upper limit (in CUs) for scaling of the monthly subscribed Spark job cluster.
    ElasticSwitch bool
    Whether to enable the scaling feature for a monthly subscribed Spark job cluster.
    EngineExecType string
    The type of tasks to be executed by the engine, which defaults to SQL. Valid values: SQL and BATCH.
    EngineGeneration string
    Generation of the engine. SuperSQL means the supersql engine while Native means the standard engine. It is SuperSQL by default.
    EngineNetworkId string
    Engine network ID.
    ImageVersionName string
    The version name of cluster image, such as SuperSQL-P 1.1 and SuperSQL-S 3.2. If no value is passed in, a cluster is created using the latest image version.
    MainClusterName string
    The primary cluster, which is specified when a failover cluster is created.
    MaxClusters double
    The maximum number of clusters.
    MaxConcurrency double
    The max task concurrency of a cluster, which defaults to 5.
    Message string
    The description.
    MinClusters double
    The minimum number of clusters.
    PayMode double
    The pay mode. Valid value: 0 (postpaid, default) and 1 (prepaid) (currently not available).
    ResourceType string
    The resource type. Valid values: Standard_CU (standard) and Memory_CU (memory).
    SessionResourceTemplate DlcDataEngineSessionResourceTemplate
    The session resource configuration template for a Spark job cluster.
    Size double
    Cluster size. Required when updating.
    TimeSpan double
    The usage duration of the resource. Postpaid: Fill in 3,600 as a fixed figure; prepaid: fill in a figure equal to or bigger than 1 which means purchasing resources for one month. The maximum figure is not bigger than 120. The default value is 1.
    TimeUnit string
    The unit of the resource period. Valid values: s (default) for the postpaid mode and m for the prepaid mode.
    TolerableQueueTime double
    The task queue time limit, which defaults to 0. When the actual queue time exceeds the value set here, scale-out may be triggered. Setting this parameter to 0 represents that scale-out may be triggered immediately after a task queues up.
    AutoResume bool
    Whether to automatically start the clusters.
    ClusterType string
    The cluster type. Valid values: spark_private, presto_private, presto_cu, and spark_cu.
    DataEngineName string
    The name of the virtual cluster.
    EngineType string
    The engine type. Valid values: spark and presto.
    Mode float64
    The billing mode. Valid values: 0 (shared engine), 1 (pay-as-you-go), and 2 (monthly subscription).
    AutoAuthorization bool
    Automatic authorization.
    AutoRenew float64
    The auto-renewal status of the resource. For the postpaid mode, no renewal is required, and the value is fixed to 0. For the prepaid mode, valid values are 0 (manual), 1 (auto), and 2 (no renewal). If this parameter is set to 0 for a key account in the prepaid mode, auto-renewal applies. It defaults to 0.
    AutoSuspend bool
    Whether to automatically suspend clusters. Valid values: false (default, no) and true (yes).
    AutoSuspendTime float64
    The cluster auto-suspension time, which defaults to 10 min.
    CidrBlock string
    The VPC CIDR block.
    CrontabResumeSuspend float64
    Whether to enable scheduled start and suspension of clusters. Valid values: 0 (disable) and 1 (enable). Note: This policy and the auto-suspension policy are mutually exclusive.
    CrontabResumeSuspendStrategy DlcDataEngineCrontabResumeSuspendStrategyArgs
    The complex policy for scheduled start and suspension, including the start/suspension time and suspension policy.
    DataEngineConfigPairs []DlcDataEngineDataEngineConfigPairArgs
    The advanced configurations of clusters.
    DefaultDataEngine bool
    Whether it is the default virtual cluster.
    DlcDataEngineId string
    ID of the resource.
    ElasticLimit float64
    The upper limit (in CUs) for scaling of the monthly subscribed Spark job cluster.
    ElasticSwitch bool
    Whether to enable the scaling feature for a monthly subscribed Spark job cluster.
    EngineExecType string
    The type of tasks to be executed by the engine, which defaults to SQL. Valid values: SQL and BATCH.
    EngineGeneration string
    Generation of the engine. SuperSQL means the supersql engine while Native means the standard engine. It is SuperSQL by default.
    EngineNetworkId string
    Engine network ID.
    ImageVersionName string
    The version name of cluster image, such as SuperSQL-P 1.1 and SuperSQL-S 3.2. If no value is passed in, a cluster is created using the latest image version.
    MainClusterName string
    The primary cluster, which is specified when a failover cluster is created.
    MaxClusters float64
    The maximum number of clusters.
    MaxConcurrency float64
    The max task concurrency of a cluster, which defaults to 5.
    Message string
    The description.
    MinClusters float64
    The minimum number of clusters.
    PayMode float64
    The pay mode. Valid value: 0 (postpaid, default) and 1 (prepaid) (currently not available).
    ResourceType string
    The resource type. Valid values: Standard_CU (standard) and Memory_CU (memory).
    SessionResourceTemplate DlcDataEngineSessionResourceTemplateArgs
    The session resource configuration template for a Spark job cluster.
    Size float64
    Cluster size. Required when updating.
    TimeSpan float64
    The usage duration of the resource. Postpaid: Fill in 3,600 as a fixed figure; prepaid: fill in a figure equal to or bigger than 1 which means purchasing resources for one month. The maximum figure is not bigger than 120. The default value is 1.
    TimeUnit string
    The unit of the resource period. Valid values: s (default) for the postpaid mode and m for the prepaid mode.
    TolerableQueueTime float64
    The task queue time limit, which defaults to 0. When the actual queue time exceeds the value set here, scale-out may be triggered. Setting this parameter to 0 represents that scale-out may be triggered immediately after a task queues up.
    autoResume Boolean
    Whether to automatically start the clusters.
    clusterType String
    The cluster type. Valid values: spark_private, presto_private, presto_cu, and spark_cu.
    dataEngineName String
    The name of the virtual cluster.
    engineType String
    The engine type. Valid values: spark and presto.
    mode Double
    The billing mode. Valid values: 0 (shared engine), 1 (pay-as-you-go), and 2 (monthly subscription).
    autoAuthorization Boolean
    Automatic authorization.
    autoRenew Double
    The auto-renewal status of the resource. For the postpaid mode, no renewal is required, and the value is fixed to 0. For the prepaid mode, valid values are 0 (manual), 1 (auto), and 2 (no renewal). If this parameter is set to 0 for a key account in the prepaid mode, auto-renewal applies. It defaults to 0.
    autoSuspend Boolean
    Whether to automatically suspend clusters. Valid values: false (default, no) and true (yes).
    autoSuspendTime Double
    The cluster auto-suspension time, which defaults to 10 min.
    cidrBlock String
    The VPC CIDR block.
    crontabResumeSuspend Double
    Whether to enable scheduled start and suspension of clusters. Valid values: 0 (disable) and 1 (enable). Note: This policy and the auto-suspension policy are mutually exclusive.
    crontabResumeSuspendStrategy DlcDataEngineCrontabResumeSuspendStrategy
    The complex policy for scheduled start and suspension, including the start/suspension time and suspension policy.
    dataEngineConfigPairs List<DlcDataEngineDataEngineConfigPair>
    The advanced configurations of clusters.
    defaultDataEngine Boolean
    Whether it is the default virtual cluster.
    dlcDataEngineId String
    ID of the resource.
    elasticLimit Double
    The upper limit (in CUs) for scaling of the monthly subscribed Spark job cluster.
    elasticSwitch Boolean
    Whether to enable the scaling feature for a monthly subscribed Spark job cluster.
    engineExecType String
    The type of tasks to be executed by the engine, which defaults to SQL. Valid values: SQL and BATCH.
    engineGeneration String
    Generation of the engine. SuperSQL means the supersql engine while Native means the standard engine. It is SuperSQL by default.
    engineNetworkId String
    Engine network ID.
    imageVersionName String
    The version name of cluster image, such as SuperSQL-P 1.1 and SuperSQL-S 3.2. If no value is passed in, a cluster is created using the latest image version.
    mainClusterName String
    The primary cluster, which is specified when a failover cluster is created.
    maxClusters Double
    The maximum number of clusters.
    maxConcurrency Double
    The max task concurrency of a cluster, which defaults to 5.
    message String
    The description.
    minClusters Double
    The minimum number of clusters.
    payMode Double
    The pay mode. Valid value: 0 (postpaid, default) and 1 (prepaid) (currently not available).
    resourceType String
    The resource type. Valid values: Standard_CU (standard) and Memory_CU (memory).
    sessionResourceTemplate DlcDataEngineSessionResourceTemplate
    The session resource configuration template for a Spark job cluster.
    size Double
    Cluster size. Required when updating.
    timeSpan Double
    The usage duration of the resource. Postpaid: Fill in 3,600 as a fixed figure; prepaid: fill in a figure equal to or bigger than 1 which means purchasing resources for one month. The maximum figure is not bigger than 120. The default value is 1.
    timeUnit String
    The unit of the resource period. Valid values: s (default) for the postpaid mode and m for the prepaid mode.
    tolerableQueueTime Double
    The task queue time limit, which defaults to 0. When the actual queue time exceeds the value set here, scale-out may be triggered. Setting this parameter to 0 represents that scale-out may be triggered immediately after a task queues up.
    autoResume boolean
    Whether to automatically start the clusters.
    clusterType string
    The cluster type. Valid values: spark_private, presto_private, presto_cu, and spark_cu.
    dataEngineName string
    The name of the virtual cluster.
    engineType string
    The engine type. Valid values: spark and presto.
    mode number
    The billing mode. Valid values: 0 (shared engine), 1 (pay-as-you-go), and 2 (monthly subscription).
    autoAuthorization boolean
    Automatic authorization.
    autoRenew number
    The auto-renewal status of the resource. For the postpaid mode, no renewal is required, and the value is fixed to 0. For the prepaid mode, valid values are 0 (manual), 1 (auto), and 2 (no renewal). If this parameter is set to 0 for a key account in the prepaid mode, auto-renewal applies. It defaults to 0.
    autoSuspend boolean
    Whether to automatically suspend clusters. Valid values: false (default, no) and true (yes).
    autoSuspendTime number
    The cluster auto-suspension time, which defaults to 10 min.
    cidrBlock string
    The VPC CIDR block.
    crontabResumeSuspend number
    Whether to enable scheduled start and suspension of clusters. Valid values: 0 (disable) and 1 (enable). Note: This policy and the auto-suspension policy are mutually exclusive.
    crontabResumeSuspendStrategy DlcDataEngineCrontabResumeSuspendStrategy
    The complex policy for scheduled start and suspension, including the start/suspension time and suspension policy.
    dataEngineConfigPairs DlcDataEngineDataEngineConfigPair[]
    The advanced configurations of clusters.
    defaultDataEngine boolean
    Whether it is the default virtual cluster.
    dlcDataEngineId string
    ID of the resource.
    elasticLimit number
    The upper limit (in CUs) for scaling of the monthly subscribed Spark job cluster.
    elasticSwitch boolean
    Whether to enable the scaling feature for a monthly subscribed Spark job cluster.
    engineExecType string
    The type of tasks to be executed by the engine, which defaults to SQL. Valid values: SQL and BATCH.
    engineGeneration string
    Generation of the engine. SuperSQL means the supersql engine while Native means the standard engine. It is SuperSQL by default.
    engineNetworkId string
    Engine network ID.
    imageVersionName string
    The version name of cluster image, such as SuperSQL-P 1.1 and SuperSQL-S 3.2. If no value is passed in, a cluster is created using the latest image version.
    mainClusterName string
    The primary cluster, which is specified when a failover cluster is created.
    maxClusters number
    The maximum number of clusters.
    maxConcurrency number
    The max task concurrency of a cluster, which defaults to 5.
    message string
    The description.
    minClusters number
    The minimum number of clusters.
    payMode number
    The pay mode. Valid value: 0 (postpaid, default) and 1 (prepaid) (currently not available).
    resourceType string
    The resource type. Valid values: Standard_CU (standard) and Memory_CU (memory).
    sessionResourceTemplate DlcDataEngineSessionResourceTemplate
    The session resource configuration template for a Spark job cluster.
    size number
    Cluster size. Required when updating.
    timeSpan number
    The usage duration of the resource. Postpaid: Fill in 3,600 as a fixed figure; prepaid: fill in a figure equal to or bigger than 1 which means purchasing resources for one month. The maximum figure is not bigger than 120. The default value is 1.
    timeUnit string
    The unit of the resource period. Valid values: s (default) for the postpaid mode and m for the prepaid mode.
    tolerableQueueTime number
    The task queue time limit, which defaults to 0. When the actual queue time exceeds the value set here, scale-out may be triggered. Setting this parameter to 0 represents that scale-out may be triggered immediately after a task queues up.
    auto_resume bool
    Whether to automatically start the clusters.
    cluster_type str
    The cluster type. Valid values: spark_private, presto_private, presto_cu, and spark_cu.
    data_engine_name str
    The name of the virtual cluster.
    engine_type str
    The engine type. Valid values: spark and presto.
    mode float
    The billing mode. Valid values: 0 (shared engine), 1 (pay-as-you-go), and 2 (monthly subscription).
    auto_authorization bool
    Automatic authorization.
    auto_renew float
    The auto-renewal status of the resource. For the postpaid mode, no renewal is required, and the value is fixed to 0. For the prepaid mode, valid values are 0 (manual), 1 (auto), and 2 (no renewal). If this parameter is set to 0 for a key account in the prepaid mode, auto-renewal applies. It defaults to 0.
    auto_suspend bool
    Whether to automatically suspend clusters. Valid values: false (default, no) and true (yes).
    auto_suspend_time float
    The cluster auto-suspension time, which defaults to 10 min.
    cidr_block str
    The VPC CIDR block.
    crontab_resume_suspend float
    Whether to enable scheduled start and suspension of clusters. Valid values: 0 (disable) and 1 (enable). Note: This policy and the auto-suspension policy are mutually exclusive.
    crontab_resume_suspend_strategy DlcDataEngineCrontabResumeSuspendStrategyArgs
    The complex policy for scheduled start and suspension, including the start/suspension time and suspension policy.
    data_engine_config_pairs Sequence[DlcDataEngineDataEngineConfigPairArgs]
    The advanced configurations of clusters.
    default_data_engine bool
    Whether it is the default virtual cluster.
    dlc_data_engine_id str
    ID of the resource.
    elastic_limit float
    The upper limit (in CUs) for scaling of the monthly subscribed Spark job cluster.
    elastic_switch bool
    Whether to enable the scaling feature for a monthly subscribed Spark job cluster.
    engine_exec_type str
    The type of tasks to be executed by the engine, which defaults to SQL. Valid values: SQL and BATCH.
    engine_generation str
    Generation of the engine. SuperSQL means the supersql engine while Native means the standard engine. It is SuperSQL by default.
    engine_network_id str
    Engine network ID.
    image_version_name str
    The version name of cluster image, such as SuperSQL-P 1.1 and SuperSQL-S 3.2. If no value is passed in, a cluster is created using the latest image version.
    main_cluster_name str
    The primary cluster, which is specified when a failover cluster is created.
    max_clusters float
    The maximum number of clusters.
    max_concurrency float
    The max task concurrency of a cluster, which defaults to 5.
    message str
    The description.
    min_clusters float
    The minimum number of clusters.
    pay_mode float
    The pay mode. Valid value: 0 (postpaid, default) and 1 (prepaid) (currently not available).
    resource_type str
    The resource type. Valid values: Standard_CU (standard) and Memory_CU (memory).
    session_resource_template DlcDataEngineSessionResourceTemplateArgs
    The session resource configuration template for a Spark job cluster.
    size float
    Cluster size. Required when updating.
    time_span float
    The usage duration of the resource. Postpaid: Fill in 3,600 as a fixed figure; prepaid: fill in a figure equal to or bigger than 1 which means purchasing resources for one month. The maximum figure is not bigger than 120. The default value is 1.
    time_unit str
    The unit of the resource period. Valid values: s (default) for the postpaid mode and m for the prepaid mode.
    tolerable_queue_time float
    The task queue time limit, which defaults to 0. When the actual queue time exceeds the value set here, scale-out may be triggered. Setting this parameter to 0 represents that scale-out may be triggered immediately after a task queues up.
    autoResume Boolean
    Whether to automatically start the clusters.
    clusterType String
    The cluster type. Valid values: spark_private, presto_private, presto_cu, and spark_cu.
    dataEngineName String
    The name of the virtual cluster.
    engineType String
    The engine type. Valid values: spark and presto.
    mode Number
    The billing mode. Valid values: 0 (shared engine), 1 (pay-as-you-go), and 2 (monthly subscription).
    autoAuthorization Boolean
    Automatic authorization.
    autoRenew Number
    The auto-renewal status of the resource. For the postpaid mode, no renewal is required, and the value is fixed to 0. For the prepaid mode, valid values are 0 (manual), 1 (auto), and 2 (no renewal). If this parameter is set to 0 for a key account in the prepaid mode, auto-renewal applies. It defaults to 0.
    autoSuspend Boolean
    Whether to automatically suspend clusters. Valid values: false (default, no) and true (yes).
    autoSuspendTime Number
    The cluster auto-suspension time, which defaults to 10 min.
    cidrBlock String
    The VPC CIDR block.
    crontabResumeSuspend Number
    Whether to enable scheduled start and suspension of clusters. Valid values: 0 (disable) and 1 (enable). Note: This policy and the auto-suspension policy are mutually exclusive.
    crontabResumeSuspendStrategy Property Map
    The complex policy for scheduled start and suspension, including the start/suspension time and suspension policy.
    dataEngineConfigPairs List<Property Map>
    The advanced configurations of clusters.
    defaultDataEngine Boolean
    Whether it is the default virtual cluster.
    dlcDataEngineId String
    ID of the resource.
    elasticLimit Number
    The upper limit (in CUs) for scaling of the monthly subscribed Spark job cluster.
    elasticSwitch Boolean
    Whether to enable the scaling feature for a monthly subscribed Spark job cluster.
    engineExecType String
    The type of tasks to be executed by the engine, which defaults to SQL. Valid values: SQL and BATCH.
    engineGeneration String
    Generation of the engine. SuperSQL means the supersql engine while Native means the standard engine. It is SuperSQL by default.
    engineNetworkId String
    Engine network ID.
    imageVersionName String
    The version name of cluster image, such as SuperSQL-P 1.1 and SuperSQL-S 3.2. If no value is passed in, a cluster is created using the latest image version.
    mainClusterName String
    The primary cluster, which is specified when a failover cluster is created.
    maxClusters Number
    The maximum number of clusters.
    maxConcurrency Number
    The max task concurrency of a cluster, which defaults to 5.
    message String
    The description.
    minClusters Number
    The minimum number of clusters.
    payMode Number
    The pay mode. Valid value: 0 (postpaid, default) and 1 (prepaid) (currently not available).
    resourceType String
    The resource type. Valid values: Standard_CU (standard) and Memory_CU (memory).
    sessionResourceTemplate Property Map
    The session resource configuration template for a Spark job cluster.
    size Number
    Cluster size. Required when updating.
    timeSpan Number
    The usage duration of the resource. Postpaid: Fill in 3,600 as a fixed figure; prepaid: fill in a figure equal to or bigger than 1 which means purchasing resources for one month. The maximum figure is not bigger than 120. The default value is 1.
    timeUnit String
    The unit of the resource period. Valid values: s (default) for the postpaid mode and m for the prepaid mode.
    tolerableQueueTime Number
    The task queue time limit, which defaults to 0. When the actual queue time exceeds the value set here, scale-out may be triggered. Setting this parameter to 0 represents that scale-out may be triggered immediately after a task queues up.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing DlcDataEngine Resource

    Get an existing DlcDataEngine 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?: DlcDataEngineState, opts?: CustomResourceOptions): DlcDataEngine
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            auto_authorization: Optional[bool] = None,
            auto_renew: Optional[float] = None,
            auto_resume: Optional[bool] = None,
            auto_suspend: Optional[bool] = None,
            auto_suspend_time: Optional[float] = None,
            cidr_block: Optional[str] = None,
            cluster_type: Optional[str] = None,
            crontab_resume_suspend: Optional[float] = None,
            crontab_resume_suspend_strategy: Optional[DlcDataEngineCrontabResumeSuspendStrategyArgs] = None,
            data_engine_config_pairs: Optional[Sequence[DlcDataEngineDataEngineConfigPairArgs]] = None,
            data_engine_name: Optional[str] = None,
            default_data_engine: Optional[bool] = None,
            dlc_data_engine_id: Optional[str] = None,
            elastic_limit: Optional[float] = None,
            elastic_switch: Optional[bool] = None,
            engine_exec_type: Optional[str] = None,
            engine_generation: Optional[str] = None,
            engine_network_id: Optional[str] = None,
            engine_type: Optional[str] = None,
            image_version_name: Optional[str] = None,
            main_cluster_name: Optional[str] = None,
            max_clusters: Optional[float] = None,
            max_concurrency: Optional[float] = None,
            message: Optional[str] = None,
            min_clusters: Optional[float] = None,
            mode: Optional[float] = None,
            pay_mode: Optional[float] = None,
            resource_type: Optional[str] = None,
            session_resource_template: Optional[DlcDataEngineSessionResourceTemplateArgs] = None,
            size: Optional[float] = None,
            time_span: Optional[float] = None,
            time_unit: Optional[str] = None,
            tolerable_queue_time: Optional[float] = None) -> DlcDataEngine
    func GetDlcDataEngine(ctx *Context, name string, id IDInput, state *DlcDataEngineState, opts ...ResourceOption) (*DlcDataEngine, error)
    public static DlcDataEngine Get(string name, Input<string> id, DlcDataEngineState? state, CustomResourceOptions? opts = null)
    public static DlcDataEngine get(String name, Output<String> id, DlcDataEngineState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:DlcDataEngine    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.
    The following state arguments are supported:
    AutoAuthorization bool
    Automatic authorization.
    AutoRenew double
    The auto-renewal status of the resource. For the postpaid mode, no renewal is required, and the value is fixed to 0. For the prepaid mode, valid values are 0 (manual), 1 (auto), and 2 (no renewal). If this parameter is set to 0 for a key account in the prepaid mode, auto-renewal applies. It defaults to 0.
    AutoResume bool
    Whether to automatically start the clusters.
    AutoSuspend bool
    Whether to automatically suspend clusters. Valid values: false (default, no) and true (yes).
    AutoSuspendTime double
    The cluster auto-suspension time, which defaults to 10 min.
    CidrBlock string
    The VPC CIDR block.
    ClusterType string
    The cluster type. Valid values: spark_private, presto_private, presto_cu, and spark_cu.
    CrontabResumeSuspend double
    Whether to enable scheduled start and suspension of clusters. Valid values: 0 (disable) and 1 (enable). Note: This policy and the auto-suspension policy are mutually exclusive.
    CrontabResumeSuspendStrategy DlcDataEngineCrontabResumeSuspendStrategy
    The complex policy for scheduled start and suspension, including the start/suspension time and suspension policy.
    DataEngineConfigPairs List<DlcDataEngineDataEngineConfigPair>
    The advanced configurations of clusters.
    DataEngineName string
    The name of the virtual cluster.
    DefaultDataEngine bool
    Whether it is the default virtual cluster.
    DlcDataEngineId string
    ID of the resource.
    ElasticLimit double
    The upper limit (in CUs) for scaling of the monthly subscribed Spark job cluster.
    ElasticSwitch bool
    Whether to enable the scaling feature for a monthly subscribed Spark job cluster.
    EngineExecType string
    The type of tasks to be executed by the engine, which defaults to SQL. Valid values: SQL and BATCH.
    EngineGeneration string
    Generation of the engine. SuperSQL means the supersql engine while Native means the standard engine. It is SuperSQL by default.
    EngineNetworkId string
    Engine network ID.
    EngineType string
    The engine type. Valid values: spark and presto.
    ImageVersionName string
    The version name of cluster image, such as SuperSQL-P 1.1 and SuperSQL-S 3.2. If no value is passed in, a cluster is created using the latest image version.
    MainClusterName string
    The primary cluster, which is specified when a failover cluster is created.
    MaxClusters double
    The maximum number of clusters.
    MaxConcurrency double
    The max task concurrency of a cluster, which defaults to 5.
    Message string
    The description.
    MinClusters double
    The minimum number of clusters.
    Mode double
    The billing mode. Valid values: 0 (shared engine), 1 (pay-as-you-go), and 2 (monthly subscription).
    PayMode double
    The pay mode. Valid value: 0 (postpaid, default) and 1 (prepaid) (currently not available).
    ResourceType string
    The resource type. Valid values: Standard_CU (standard) and Memory_CU (memory).
    SessionResourceTemplate DlcDataEngineSessionResourceTemplate
    The session resource configuration template for a Spark job cluster.
    Size double
    Cluster size. Required when updating.
    TimeSpan double
    The usage duration of the resource. Postpaid: Fill in 3,600 as a fixed figure; prepaid: fill in a figure equal to or bigger than 1 which means purchasing resources for one month. The maximum figure is not bigger than 120. The default value is 1.
    TimeUnit string
    The unit of the resource period. Valid values: s (default) for the postpaid mode and m for the prepaid mode.
    TolerableQueueTime double
    The task queue time limit, which defaults to 0. When the actual queue time exceeds the value set here, scale-out may be triggered. Setting this parameter to 0 represents that scale-out may be triggered immediately after a task queues up.
    AutoAuthorization bool
    Automatic authorization.
    AutoRenew float64
    The auto-renewal status of the resource. For the postpaid mode, no renewal is required, and the value is fixed to 0. For the prepaid mode, valid values are 0 (manual), 1 (auto), and 2 (no renewal). If this parameter is set to 0 for a key account in the prepaid mode, auto-renewal applies. It defaults to 0.
    AutoResume bool
    Whether to automatically start the clusters.
    AutoSuspend bool
    Whether to automatically suspend clusters. Valid values: false (default, no) and true (yes).
    AutoSuspendTime float64
    The cluster auto-suspension time, which defaults to 10 min.
    CidrBlock string
    The VPC CIDR block.
    ClusterType string
    The cluster type. Valid values: spark_private, presto_private, presto_cu, and spark_cu.
    CrontabResumeSuspend float64
    Whether to enable scheduled start and suspension of clusters. Valid values: 0 (disable) and 1 (enable). Note: This policy and the auto-suspension policy are mutually exclusive.
    CrontabResumeSuspendStrategy DlcDataEngineCrontabResumeSuspendStrategyArgs
    The complex policy for scheduled start and suspension, including the start/suspension time and suspension policy.
    DataEngineConfigPairs []DlcDataEngineDataEngineConfigPairArgs
    The advanced configurations of clusters.
    DataEngineName string
    The name of the virtual cluster.
    DefaultDataEngine bool
    Whether it is the default virtual cluster.
    DlcDataEngineId string
    ID of the resource.
    ElasticLimit float64
    The upper limit (in CUs) for scaling of the monthly subscribed Spark job cluster.
    ElasticSwitch bool
    Whether to enable the scaling feature for a monthly subscribed Spark job cluster.
    EngineExecType string
    The type of tasks to be executed by the engine, which defaults to SQL. Valid values: SQL and BATCH.
    EngineGeneration string
    Generation of the engine. SuperSQL means the supersql engine while Native means the standard engine. It is SuperSQL by default.
    EngineNetworkId string
    Engine network ID.
    EngineType string
    The engine type. Valid values: spark and presto.
    ImageVersionName string
    The version name of cluster image, such as SuperSQL-P 1.1 and SuperSQL-S 3.2. If no value is passed in, a cluster is created using the latest image version.
    MainClusterName string
    The primary cluster, which is specified when a failover cluster is created.
    MaxClusters float64
    The maximum number of clusters.
    MaxConcurrency float64
    The max task concurrency of a cluster, which defaults to 5.
    Message string
    The description.
    MinClusters float64
    The minimum number of clusters.
    Mode float64
    The billing mode. Valid values: 0 (shared engine), 1 (pay-as-you-go), and 2 (monthly subscription).
    PayMode float64
    The pay mode. Valid value: 0 (postpaid, default) and 1 (prepaid) (currently not available).
    ResourceType string
    The resource type. Valid values: Standard_CU (standard) and Memory_CU (memory).
    SessionResourceTemplate DlcDataEngineSessionResourceTemplateArgs
    The session resource configuration template for a Spark job cluster.
    Size float64
    Cluster size. Required when updating.
    TimeSpan float64
    The usage duration of the resource. Postpaid: Fill in 3,600 as a fixed figure; prepaid: fill in a figure equal to or bigger than 1 which means purchasing resources for one month. The maximum figure is not bigger than 120. The default value is 1.
    TimeUnit string
    The unit of the resource period. Valid values: s (default) for the postpaid mode and m for the prepaid mode.
    TolerableQueueTime float64
    The task queue time limit, which defaults to 0. When the actual queue time exceeds the value set here, scale-out may be triggered. Setting this parameter to 0 represents that scale-out may be triggered immediately after a task queues up.
    autoAuthorization Boolean
    Automatic authorization.
    autoRenew Double
    The auto-renewal status of the resource. For the postpaid mode, no renewal is required, and the value is fixed to 0. For the prepaid mode, valid values are 0 (manual), 1 (auto), and 2 (no renewal). If this parameter is set to 0 for a key account in the prepaid mode, auto-renewal applies. It defaults to 0.
    autoResume Boolean
    Whether to automatically start the clusters.
    autoSuspend Boolean
    Whether to automatically suspend clusters. Valid values: false (default, no) and true (yes).
    autoSuspendTime Double
    The cluster auto-suspension time, which defaults to 10 min.
    cidrBlock String
    The VPC CIDR block.
    clusterType String
    The cluster type. Valid values: spark_private, presto_private, presto_cu, and spark_cu.
    crontabResumeSuspend Double
    Whether to enable scheduled start and suspension of clusters. Valid values: 0 (disable) and 1 (enable). Note: This policy and the auto-suspension policy are mutually exclusive.
    crontabResumeSuspendStrategy DlcDataEngineCrontabResumeSuspendStrategy
    The complex policy for scheduled start and suspension, including the start/suspension time and suspension policy.
    dataEngineConfigPairs List<DlcDataEngineDataEngineConfigPair>
    The advanced configurations of clusters.
    dataEngineName String
    The name of the virtual cluster.
    defaultDataEngine Boolean
    Whether it is the default virtual cluster.
    dlcDataEngineId String
    ID of the resource.
    elasticLimit Double
    The upper limit (in CUs) for scaling of the monthly subscribed Spark job cluster.
    elasticSwitch Boolean
    Whether to enable the scaling feature for a monthly subscribed Spark job cluster.
    engineExecType String
    The type of tasks to be executed by the engine, which defaults to SQL. Valid values: SQL and BATCH.
    engineGeneration String
    Generation of the engine. SuperSQL means the supersql engine while Native means the standard engine. It is SuperSQL by default.
    engineNetworkId String
    Engine network ID.
    engineType String
    The engine type. Valid values: spark and presto.
    imageVersionName String
    The version name of cluster image, such as SuperSQL-P 1.1 and SuperSQL-S 3.2. If no value is passed in, a cluster is created using the latest image version.
    mainClusterName String
    The primary cluster, which is specified when a failover cluster is created.
    maxClusters Double
    The maximum number of clusters.
    maxConcurrency Double
    The max task concurrency of a cluster, which defaults to 5.
    message String
    The description.
    minClusters Double
    The minimum number of clusters.
    mode Double
    The billing mode. Valid values: 0 (shared engine), 1 (pay-as-you-go), and 2 (monthly subscription).
    payMode Double
    The pay mode. Valid value: 0 (postpaid, default) and 1 (prepaid) (currently not available).
    resourceType String
    The resource type. Valid values: Standard_CU (standard) and Memory_CU (memory).
    sessionResourceTemplate DlcDataEngineSessionResourceTemplate
    The session resource configuration template for a Spark job cluster.
    size Double
    Cluster size. Required when updating.
    timeSpan Double
    The usage duration of the resource. Postpaid: Fill in 3,600 as a fixed figure; prepaid: fill in a figure equal to or bigger than 1 which means purchasing resources for one month. The maximum figure is not bigger than 120. The default value is 1.
    timeUnit String
    The unit of the resource period. Valid values: s (default) for the postpaid mode and m for the prepaid mode.
    tolerableQueueTime Double
    The task queue time limit, which defaults to 0. When the actual queue time exceeds the value set here, scale-out may be triggered. Setting this parameter to 0 represents that scale-out may be triggered immediately after a task queues up.
    autoAuthorization boolean
    Automatic authorization.
    autoRenew number
    The auto-renewal status of the resource. For the postpaid mode, no renewal is required, and the value is fixed to 0. For the prepaid mode, valid values are 0 (manual), 1 (auto), and 2 (no renewal). If this parameter is set to 0 for a key account in the prepaid mode, auto-renewal applies. It defaults to 0.
    autoResume boolean
    Whether to automatically start the clusters.
    autoSuspend boolean
    Whether to automatically suspend clusters. Valid values: false (default, no) and true (yes).
    autoSuspendTime number
    The cluster auto-suspension time, which defaults to 10 min.
    cidrBlock string
    The VPC CIDR block.
    clusterType string
    The cluster type. Valid values: spark_private, presto_private, presto_cu, and spark_cu.
    crontabResumeSuspend number
    Whether to enable scheduled start and suspension of clusters. Valid values: 0 (disable) and 1 (enable). Note: This policy and the auto-suspension policy are mutually exclusive.
    crontabResumeSuspendStrategy DlcDataEngineCrontabResumeSuspendStrategy
    The complex policy for scheduled start and suspension, including the start/suspension time and suspension policy.
    dataEngineConfigPairs DlcDataEngineDataEngineConfigPair[]
    The advanced configurations of clusters.
    dataEngineName string
    The name of the virtual cluster.
    defaultDataEngine boolean
    Whether it is the default virtual cluster.
    dlcDataEngineId string
    ID of the resource.
    elasticLimit number
    The upper limit (in CUs) for scaling of the monthly subscribed Spark job cluster.
    elasticSwitch boolean
    Whether to enable the scaling feature for a monthly subscribed Spark job cluster.
    engineExecType string
    The type of tasks to be executed by the engine, which defaults to SQL. Valid values: SQL and BATCH.
    engineGeneration string
    Generation of the engine. SuperSQL means the supersql engine while Native means the standard engine. It is SuperSQL by default.
    engineNetworkId string
    Engine network ID.
    engineType string
    The engine type. Valid values: spark and presto.
    imageVersionName string
    The version name of cluster image, such as SuperSQL-P 1.1 and SuperSQL-S 3.2. If no value is passed in, a cluster is created using the latest image version.
    mainClusterName string
    The primary cluster, which is specified when a failover cluster is created.
    maxClusters number
    The maximum number of clusters.
    maxConcurrency number
    The max task concurrency of a cluster, which defaults to 5.
    message string
    The description.
    minClusters number
    The minimum number of clusters.
    mode number
    The billing mode. Valid values: 0 (shared engine), 1 (pay-as-you-go), and 2 (monthly subscription).
    payMode number
    The pay mode. Valid value: 0 (postpaid, default) and 1 (prepaid) (currently not available).
    resourceType string
    The resource type. Valid values: Standard_CU (standard) and Memory_CU (memory).
    sessionResourceTemplate DlcDataEngineSessionResourceTemplate
    The session resource configuration template for a Spark job cluster.
    size number
    Cluster size. Required when updating.
    timeSpan number
    The usage duration of the resource. Postpaid: Fill in 3,600 as a fixed figure; prepaid: fill in a figure equal to or bigger than 1 which means purchasing resources for one month. The maximum figure is not bigger than 120. The default value is 1.
    timeUnit string
    The unit of the resource period. Valid values: s (default) for the postpaid mode and m for the prepaid mode.
    tolerableQueueTime number
    The task queue time limit, which defaults to 0. When the actual queue time exceeds the value set here, scale-out may be triggered. Setting this parameter to 0 represents that scale-out may be triggered immediately after a task queues up.
    auto_authorization bool
    Automatic authorization.
    auto_renew float
    The auto-renewal status of the resource. For the postpaid mode, no renewal is required, and the value is fixed to 0. For the prepaid mode, valid values are 0 (manual), 1 (auto), and 2 (no renewal). If this parameter is set to 0 for a key account in the prepaid mode, auto-renewal applies. It defaults to 0.
    auto_resume bool
    Whether to automatically start the clusters.
    auto_suspend bool
    Whether to automatically suspend clusters. Valid values: false (default, no) and true (yes).
    auto_suspend_time float
    The cluster auto-suspension time, which defaults to 10 min.
    cidr_block str
    The VPC CIDR block.
    cluster_type str
    The cluster type. Valid values: spark_private, presto_private, presto_cu, and spark_cu.
    crontab_resume_suspend float
    Whether to enable scheduled start and suspension of clusters. Valid values: 0 (disable) and 1 (enable). Note: This policy and the auto-suspension policy are mutually exclusive.
    crontab_resume_suspend_strategy DlcDataEngineCrontabResumeSuspendStrategyArgs
    The complex policy for scheduled start and suspension, including the start/suspension time and suspension policy.
    data_engine_config_pairs Sequence[DlcDataEngineDataEngineConfigPairArgs]
    The advanced configurations of clusters.
    data_engine_name str
    The name of the virtual cluster.
    default_data_engine bool
    Whether it is the default virtual cluster.
    dlc_data_engine_id str
    ID of the resource.
    elastic_limit float
    The upper limit (in CUs) for scaling of the monthly subscribed Spark job cluster.
    elastic_switch bool
    Whether to enable the scaling feature for a monthly subscribed Spark job cluster.
    engine_exec_type str
    The type of tasks to be executed by the engine, which defaults to SQL. Valid values: SQL and BATCH.
    engine_generation str
    Generation of the engine. SuperSQL means the supersql engine while Native means the standard engine. It is SuperSQL by default.
    engine_network_id str
    Engine network ID.
    engine_type str
    The engine type. Valid values: spark and presto.
    image_version_name str
    The version name of cluster image, such as SuperSQL-P 1.1 and SuperSQL-S 3.2. If no value is passed in, a cluster is created using the latest image version.
    main_cluster_name str
    The primary cluster, which is specified when a failover cluster is created.
    max_clusters float
    The maximum number of clusters.
    max_concurrency float
    The max task concurrency of a cluster, which defaults to 5.
    message str
    The description.
    min_clusters float
    The minimum number of clusters.
    mode float
    The billing mode. Valid values: 0 (shared engine), 1 (pay-as-you-go), and 2 (monthly subscription).
    pay_mode float
    The pay mode. Valid value: 0 (postpaid, default) and 1 (prepaid) (currently not available).
    resource_type str
    The resource type. Valid values: Standard_CU (standard) and Memory_CU (memory).
    session_resource_template DlcDataEngineSessionResourceTemplateArgs
    The session resource configuration template for a Spark job cluster.
    size float
    Cluster size. Required when updating.
    time_span float
    The usage duration of the resource. Postpaid: Fill in 3,600 as a fixed figure; prepaid: fill in a figure equal to or bigger than 1 which means purchasing resources for one month. The maximum figure is not bigger than 120. The default value is 1.
    time_unit str
    The unit of the resource period. Valid values: s (default) for the postpaid mode and m for the prepaid mode.
    tolerable_queue_time float
    The task queue time limit, which defaults to 0. When the actual queue time exceeds the value set here, scale-out may be triggered. Setting this parameter to 0 represents that scale-out may be triggered immediately after a task queues up.
    autoAuthorization Boolean
    Automatic authorization.
    autoRenew Number
    The auto-renewal status of the resource. For the postpaid mode, no renewal is required, and the value is fixed to 0. For the prepaid mode, valid values are 0 (manual), 1 (auto), and 2 (no renewal). If this parameter is set to 0 for a key account in the prepaid mode, auto-renewal applies. It defaults to 0.
    autoResume Boolean
    Whether to automatically start the clusters.
    autoSuspend Boolean
    Whether to automatically suspend clusters. Valid values: false (default, no) and true (yes).
    autoSuspendTime Number
    The cluster auto-suspension time, which defaults to 10 min.
    cidrBlock String
    The VPC CIDR block.
    clusterType String
    The cluster type. Valid values: spark_private, presto_private, presto_cu, and spark_cu.
    crontabResumeSuspend Number
    Whether to enable scheduled start and suspension of clusters. Valid values: 0 (disable) and 1 (enable). Note: This policy and the auto-suspension policy are mutually exclusive.
    crontabResumeSuspendStrategy Property Map
    The complex policy for scheduled start and suspension, including the start/suspension time and suspension policy.
    dataEngineConfigPairs List<Property Map>
    The advanced configurations of clusters.
    dataEngineName String
    The name of the virtual cluster.
    defaultDataEngine Boolean
    Whether it is the default virtual cluster.
    dlcDataEngineId String
    ID of the resource.
    elasticLimit Number
    The upper limit (in CUs) for scaling of the monthly subscribed Spark job cluster.
    elasticSwitch Boolean
    Whether to enable the scaling feature for a monthly subscribed Spark job cluster.
    engineExecType String
    The type of tasks to be executed by the engine, which defaults to SQL. Valid values: SQL and BATCH.
    engineGeneration String
    Generation of the engine. SuperSQL means the supersql engine while Native means the standard engine. It is SuperSQL by default.
    engineNetworkId String
    Engine network ID.
    engineType String
    The engine type. Valid values: spark and presto.
    imageVersionName String
    The version name of cluster image, such as SuperSQL-P 1.1 and SuperSQL-S 3.2. If no value is passed in, a cluster is created using the latest image version.
    mainClusterName String
    The primary cluster, which is specified when a failover cluster is created.
    maxClusters Number
    The maximum number of clusters.
    maxConcurrency Number
    The max task concurrency of a cluster, which defaults to 5.
    message String
    The description.
    minClusters Number
    The minimum number of clusters.
    mode Number
    The billing mode. Valid values: 0 (shared engine), 1 (pay-as-you-go), and 2 (monthly subscription).
    payMode Number
    The pay mode. Valid value: 0 (postpaid, default) and 1 (prepaid) (currently not available).
    resourceType String
    The resource type. Valid values: Standard_CU (standard) and Memory_CU (memory).
    sessionResourceTemplate Property Map
    The session resource configuration template for a Spark job cluster.
    size Number
    Cluster size. Required when updating.
    timeSpan Number
    The usage duration of the resource. Postpaid: Fill in 3,600 as a fixed figure; prepaid: fill in a figure equal to or bigger than 1 which means purchasing resources for one month. The maximum figure is not bigger than 120. The default value is 1.
    timeUnit String
    The unit of the resource period. Valid values: s (default) for the postpaid mode and m for the prepaid mode.
    tolerableQueueTime Number
    The task queue time limit, which defaults to 0. When the actual queue time exceeds the value set here, scale-out may be triggered. Setting this parameter to 0 represents that scale-out may be triggered immediately after a task queues up.

    Supporting Types

    DlcDataEngineCrontabResumeSuspendStrategy, DlcDataEngineCrontabResumeSuspendStrategyArgs

    ResumeTime string
    Scheduled starting time, such as 8: 00 a.m. on Monday and Wednesday.
    SuspendStrategy double
    The suspension setting. Valid values: 0 (suspension after task end, default) and 1 (force suspension).
    SuspendTime string
    Scheduled suspension time, such as 8: 00 p.m. on Monday and Wednesday.
    ResumeTime string
    Scheduled starting time, such as 8: 00 a.m. on Monday and Wednesday.
    SuspendStrategy float64
    The suspension setting. Valid values: 0 (suspension after task end, default) and 1 (force suspension).
    SuspendTime string
    Scheduled suspension time, such as 8: 00 p.m. on Monday and Wednesday.
    resumeTime String
    Scheduled starting time, such as 8: 00 a.m. on Monday and Wednesday.
    suspendStrategy Double
    The suspension setting. Valid values: 0 (suspension after task end, default) and 1 (force suspension).
    suspendTime String
    Scheduled suspension time, such as 8: 00 p.m. on Monday and Wednesday.
    resumeTime string
    Scheduled starting time, such as 8: 00 a.m. on Monday and Wednesday.
    suspendStrategy number
    The suspension setting. Valid values: 0 (suspension after task end, default) and 1 (force suspension).
    suspendTime string
    Scheduled suspension time, such as 8: 00 p.m. on Monday and Wednesday.
    resume_time str
    Scheduled starting time, such as 8: 00 a.m. on Monday and Wednesday.
    suspend_strategy float
    The suspension setting. Valid values: 0 (suspension after task end, default) and 1 (force suspension).
    suspend_time str
    Scheduled suspension time, such as 8: 00 p.m. on Monday and Wednesday.
    resumeTime String
    Scheduled starting time, such as 8: 00 a.m. on Monday and Wednesday.
    suspendStrategy Number
    The suspension setting. Valid values: 0 (suspension after task end, default) and 1 (force suspension).
    suspendTime String
    Scheduled suspension time, such as 8: 00 p.m. on Monday and Wednesday.

    DlcDataEngineDataEngineConfigPair, DlcDataEngineDataEngineConfigPairArgs

    ConfigItem string
    Configuration items.
    ConfigValue string
    Configuration value.
    ConfigItem string
    Configuration items.
    ConfigValue string
    Configuration value.
    configItem String
    Configuration items.
    configValue String
    Configuration value.
    configItem string
    Configuration items.
    configValue string
    Configuration value.
    config_item str
    Configuration items.
    config_value str
    Configuration value.
    configItem String
    Configuration items.
    configValue String
    Configuration value.

    DlcDataEngineSessionResourceTemplate, DlcDataEngineSessionResourceTemplateArgs

    DriverSize string
    The driver size. Valid values for the standard resource type: small, medium, large, and xlarge. Valid values for the memory resource type: m.small, m.medium, m.large, and m.xlarge.
    ExecutorMaxNumbers double
    The maximum executor count (in dynamic mode). The minimum value is 1 and the maximum value is less than the cluster specification. If you set ExecutorMaxNumbers to a value smaller than that of ExecutorNums, the value of ExecutorMaxNumbers is automatically changed to that of ExecutorNums.
    ExecutorNums double
    The executor count. The minimum value is 1 and the maximum value is less than the cluster specification.
    ExecutorSize string
    The executor size. Valid values for the standard resource type: small, medium, large, and xlarge. Valid values for the memory resource type: m.small, m.medium, m.large, and m.xlarge.
    RunningTimeParameters List<DlcDataEngineSessionResourceTemplateRunningTimeParameter>
    The running time parameters of the session resource configuration template for a Spark job cluster.
    DriverSize string
    The driver size. Valid values for the standard resource type: small, medium, large, and xlarge. Valid values for the memory resource type: m.small, m.medium, m.large, and m.xlarge.
    ExecutorMaxNumbers float64
    The maximum executor count (in dynamic mode). The minimum value is 1 and the maximum value is less than the cluster specification. If you set ExecutorMaxNumbers to a value smaller than that of ExecutorNums, the value of ExecutorMaxNumbers is automatically changed to that of ExecutorNums.
    ExecutorNums float64
    The executor count. The minimum value is 1 and the maximum value is less than the cluster specification.
    ExecutorSize string
    The executor size. Valid values for the standard resource type: small, medium, large, and xlarge. Valid values for the memory resource type: m.small, m.medium, m.large, and m.xlarge.
    RunningTimeParameters []DlcDataEngineSessionResourceTemplateRunningTimeParameter
    The running time parameters of the session resource configuration template for a Spark job cluster.
    driverSize String
    The driver size. Valid values for the standard resource type: small, medium, large, and xlarge. Valid values for the memory resource type: m.small, m.medium, m.large, and m.xlarge.
    executorMaxNumbers Double
    The maximum executor count (in dynamic mode). The minimum value is 1 and the maximum value is less than the cluster specification. If you set ExecutorMaxNumbers to a value smaller than that of ExecutorNums, the value of ExecutorMaxNumbers is automatically changed to that of ExecutorNums.
    executorNums Double
    The executor count. The minimum value is 1 and the maximum value is less than the cluster specification.
    executorSize String
    The executor size. Valid values for the standard resource type: small, medium, large, and xlarge. Valid values for the memory resource type: m.small, m.medium, m.large, and m.xlarge.
    runningTimeParameters List<DlcDataEngineSessionResourceTemplateRunningTimeParameter>
    The running time parameters of the session resource configuration template for a Spark job cluster.
    driverSize string
    The driver size. Valid values for the standard resource type: small, medium, large, and xlarge. Valid values for the memory resource type: m.small, m.medium, m.large, and m.xlarge.
    executorMaxNumbers number
    The maximum executor count (in dynamic mode). The minimum value is 1 and the maximum value is less than the cluster specification. If you set ExecutorMaxNumbers to a value smaller than that of ExecutorNums, the value of ExecutorMaxNumbers is automatically changed to that of ExecutorNums.
    executorNums number
    The executor count. The minimum value is 1 and the maximum value is less than the cluster specification.
    executorSize string
    The executor size. Valid values for the standard resource type: small, medium, large, and xlarge. Valid values for the memory resource type: m.small, m.medium, m.large, and m.xlarge.
    runningTimeParameters DlcDataEngineSessionResourceTemplateRunningTimeParameter[]
    The running time parameters of the session resource configuration template for a Spark job cluster.
    driver_size str
    The driver size. Valid values for the standard resource type: small, medium, large, and xlarge. Valid values for the memory resource type: m.small, m.medium, m.large, and m.xlarge.
    executor_max_numbers float
    The maximum executor count (in dynamic mode). The minimum value is 1 and the maximum value is less than the cluster specification. If you set ExecutorMaxNumbers to a value smaller than that of ExecutorNums, the value of ExecutorMaxNumbers is automatically changed to that of ExecutorNums.
    executor_nums float
    The executor count. The minimum value is 1 and the maximum value is less than the cluster specification.
    executor_size str
    The executor size. Valid values for the standard resource type: small, medium, large, and xlarge. Valid values for the memory resource type: m.small, m.medium, m.large, and m.xlarge.
    running_time_parameters Sequence[DlcDataEngineSessionResourceTemplateRunningTimeParameter]
    The running time parameters of the session resource configuration template for a Spark job cluster.
    driverSize String
    The driver size. Valid values for the standard resource type: small, medium, large, and xlarge. Valid values for the memory resource type: m.small, m.medium, m.large, and m.xlarge.
    executorMaxNumbers Number
    The maximum executor count (in dynamic mode). The minimum value is 1 and the maximum value is less than the cluster specification. If you set ExecutorMaxNumbers to a value smaller than that of ExecutorNums, the value of ExecutorMaxNumbers is automatically changed to that of ExecutorNums.
    executorNums Number
    The executor count. The minimum value is 1 and the maximum value is less than the cluster specification.
    executorSize String
    The executor size. Valid values for the standard resource type: small, medium, large, and xlarge. Valid values for the memory resource type: m.small, m.medium, m.large, and m.xlarge.
    runningTimeParameters List<Property Map>
    The running time parameters of the session resource configuration template for a Spark job cluster.

    DlcDataEngineSessionResourceTemplateRunningTimeParameter, DlcDataEngineSessionResourceTemplateRunningTimeParameterArgs

    ConfigItem string
    Configuration items.
    ConfigValue string
    Configuration value.
    ConfigItem string
    Configuration items.
    ConfigValue string
    Configuration value.
    configItem String
    Configuration items.
    configValue String
    Configuration value.
    configItem string
    Configuration items.
    configValue string
    Configuration value.
    config_item str
    Configuration items.
    config_value str
    Configuration value.
    configItem String
    Configuration items.
    configValue String
    Configuration value.

    Import

    DLC data engine can be imported using the id, e.g.

    $ pulumi import tencentcloud:index/dlcDataEngine:DlcDataEngine example tf-example#DataEngine-d3gk8r5h
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.82.17 published on Thursday, Aug 14, 2025 by tencentcloudstack