tencentcloud.DlcDataEngine
Explore with Pulumi AI
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:
- Auto
Resume bool - Whether to automatically start the cluster, prepay not support.
- Cluster
Type string - Engine cluster type, only support: spark_cu/presto_cu.
- Data
Engine stringName - Engine name.
- Engine
Type string - Engine type, only support: spark/presto.
- Mode double
- Engine mode, only support 1: ByAmount, 2: YearlyAndMonthly.
- bool
- Automatic authorization.
- Auto
Renew double - Engine auto renew, only support 0: Default, 1: AutoRenewON, 2: AutoRenewOFF.
- Auto
Suspend bool - Whether to automatically suspend the cluster, prepay not support.
- Auto
Suspend doubleTime - Cluster automatic suspension time, default 10 minutes.
- Cidr
Block string - Engine VPC network segment, just like 192.0.2.1/24.
- Crontab
Resume doubleSuspend - Engine crontab resume or suspend strategy, only support: 0: Wait(default), 1: Kill.
- Crontab
Resume DlcSuspend Strategy Data Engine Crontab Resume Suspend Strategy - Engine auto suspend strategy, when AutoSuspend is true, CrontabResumeSuspend must stop.
- Data
Engine List<DlcConfig Pairs Data Engine Data Engine Config Pair> - Collection of user-defined engine configuration items. This parameter needs to input all the configuration items users should add. For example, if there is a configuration item named k1:v1 while k2:v2 needs to be added, [k1:v1,k2:v2] should be passed.
- Default
Data boolEngine - Whether it is the default virtual cluster.
- Dlc
Data stringEngine Id - ID of the resource.
- Elastic
Limit double - For spark Batch ExecType, yearly and monthly cluster elastic limit.
- Elastic
Switch bool - For spark Batch ExecType, yearly and monthly cluster whether to enable elasticity.
- Engine
Exec stringType - Engine exec type, only support SQL(default) or BATCH.
- Engine
Generation string - Engine generation, SuperSQL: represents the supersql engine; Native: represents the standard engine. The default value is SuperSQL.
- Engine
Network stringId - Engine network ID.
- Image
Version stringName - Cluster image version name. Such as SuperSQL-P 1.1; SuperSQL-S 3.2, etc., do not upload, and create a cluster with the latest mirror version by default.
- Main
Cluster stringName - Primary cluster name, specified when creating a disaster recovery cluster.
- Max
Clusters double - Engine max cluster size, MaxClusters less than or equal to 10 and MaxClusters bigger than MinClusters.
- Max
Concurrency double - Maximum number of concurrent tasks in a single cluster, default 5.
- Message string
- Engine description information.
- Min
Clusters double - Engine min size, greater than or equal to 1 and MaxClusters bigger than MinClusters.
- Pay
Mode double - Engine pay mode type, only support 0: postPay(default), 1: prePay.
- Resource
Type string - Engine resource type not match, only support: Standard_CU/Memory_CU(only BATCH ExecType).
- Session
Resource DlcTemplate Data Engine Session Resource Template - Template of the resource configuration of the job engine.
- Size double
- Cluster size. Required when updating.
- Time
Span double - Engine TimeSpan, prePay: minimum of 1, representing one month of purchasing resources, with a maximum of 120, default 3600, postPay: fixed fee of 3600.
- Time
Unit string - Engine TimeUnit, prePay: use m(default), postPay: use h.
- Tolerable
Queue doubleTime - Tolerable queuing time, default 0. scaling may be triggered when tasks are queued for longer than the tolerable time. if this parameter is 0, it means that capacity expansion may be triggered immediately once a task is queued.
- Auto
Resume bool - Whether to automatically start the cluster, prepay not support.
- Cluster
Type string - Engine cluster type, only support: spark_cu/presto_cu.
- Data
Engine stringName - Engine name.
- Engine
Type string - Engine type, only support: spark/presto.
- Mode float64
- Engine mode, only support 1: ByAmount, 2: YearlyAndMonthly.
- bool
- Automatic authorization.
- Auto
Renew float64 - Engine auto renew, only support 0: Default, 1: AutoRenewON, 2: AutoRenewOFF.
- Auto
Suspend bool - Whether to automatically suspend the cluster, prepay not support.
- Auto
Suspend float64Time - Cluster automatic suspension time, default 10 minutes.
- Cidr
Block string - Engine VPC network segment, just like 192.0.2.1/24.
- Crontab
Resume float64Suspend - Engine crontab resume or suspend strategy, only support: 0: Wait(default), 1: Kill.
- Crontab
Resume DlcSuspend Strategy Data Engine Crontab Resume Suspend Strategy Args - Engine auto suspend strategy, when AutoSuspend is true, CrontabResumeSuspend must stop.
- Data
Engine []DlcConfig Pairs Data Engine Data Engine Config Pair Args - Collection of user-defined engine configuration items. This parameter needs to input all the configuration items users should add. For example, if there is a configuration item named k1:v1 while k2:v2 needs to be added, [k1:v1,k2:v2] should be passed.
- Default
Data boolEngine - Whether it is the default virtual cluster.
- Dlc
Data stringEngine Id - ID of the resource.
- Elastic
Limit float64 - For spark Batch ExecType, yearly and monthly cluster elastic limit.
- Elastic
Switch bool - For spark Batch ExecType, yearly and monthly cluster whether to enable elasticity.
- Engine
Exec stringType - Engine exec type, only support SQL(default) or BATCH.
- Engine
Generation string - Engine generation, SuperSQL: represents the supersql engine; Native: represents the standard engine. The default value is SuperSQL.
- Engine
Network stringId - Engine network ID.
- Image
Version stringName - Cluster image version name. Such as SuperSQL-P 1.1; SuperSQL-S 3.2, etc., do not upload, and create a cluster with the latest mirror version by default.
- Main
Cluster stringName - Primary cluster name, specified when creating a disaster recovery cluster.
- Max
Clusters float64 - Engine max cluster size, MaxClusters less than or equal to 10 and MaxClusters bigger than MinClusters.
- Max
Concurrency float64 - Maximum number of concurrent tasks in a single cluster, default 5.
- Message string
- Engine description information.
- Min
Clusters float64 - Engine min size, greater than or equal to 1 and MaxClusters bigger than MinClusters.
- Pay
Mode float64 - Engine pay mode type, only support 0: postPay(default), 1: prePay.
- Resource
Type string - Engine resource type not match, only support: Standard_CU/Memory_CU(only BATCH ExecType).
- Session
Resource DlcTemplate Data Engine Session Resource Template Args - Template of the resource configuration of the job engine.
- Size float64
- Cluster size. Required when updating.
- Time
Span float64 - Engine TimeSpan, prePay: minimum of 1, representing one month of purchasing resources, with a maximum of 120, default 3600, postPay: fixed fee of 3600.
- Time
Unit string - Engine TimeUnit, prePay: use m(default), postPay: use h.
- Tolerable
Queue float64Time - Tolerable queuing time, default 0. scaling may be triggered when tasks are queued for longer than the tolerable time. if this parameter is 0, it means that capacity expansion may be triggered immediately once a task is queued.
- auto
Resume Boolean - Whether to automatically start the cluster, prepay not support.
- cluster
Type String - Engine cluster type, only support: spark_cu/presto_cu.
- data
Engine StringName - Engine name.
- engine
Type String - Engine type, only support: spark/presto.
- mode Double
- Engine mode, only support 1: ByAmount, 2: YearlyAndMonthly.
- Boolean
- Automatic authorization.
- auto
Renew Double - Engine auto renew, only support 0: Default, 1: AutoRenewON, 2: AutoRenewOFF.
- auto
Suspend Boolean - Whether to automatically suspend the cluster, prepay not support.
- auto
Suspend DoubleTime - Cluster automatic suspension time, default 10 minutes.
- cidr
Block String - Engine VPC network segment, just like 192.0.2.1/24.
- crontab
Resume DoubleSuspend - Engine crontab resume or suspend strategy, only support: 0: Wait(default), 1: Kill.
- crontab
Resume DlcSuspend Strategy Data Engine Crontab Resume Suspend Strategy - Engine auto suspend strategy, when AutoSuspend is true, CrontabResumeSuspend must stop.
- data
Engine List<DlcConfig Pairs Data Engine Data Engine Config Pair> - Collection of user-defined engine configuration items. This parameter needs to input all the configuration items users should add. For example, if there is a configuration item named k1:v1 while k2:v2 needs to be added, [k1:v1,k2:v2] should be passed.
- default
Data BooleanEngine - Whether it is the default virtual cluster.
- dlc
Data StringEngine Id - ID of the resource.
- elastic
Limit Double - For spark Batch ExecType, yearly and monthly cluster elastic limit.
- elastic
Switch Boolean - For spark Batch ExecType, yearly and monthly cluster whether to enable elasticity.
- engine
Exec StringType - Engine exec type, only support SQL(default) or BATCH.
- engine
Generation String - Engine generation, SuperSQL: represents the supersql engine; Native: represents the standard engine. The default value is SuperSQL.
- engine
Network StringId - Engine network ID.
- image
Version StringName - Cluster image version name. Such as SuperSQL-P 1.1; SuperSQL-S 3.2, etc., do not upload, and create a cluster with the latest mirror version by default.
- main
Cluster StringName - Primary cluster name, specified when creating a disaster recovery cluster.
- max
Clusters Double - Engine max cluster size, MaxClusters less than or equal to 10 and MaxClusters bigger than MinClusters.
- max
Concurrency Double - Maximum number of concurrent tasks in a single cluster, default 5.
- message String
- Engine description information.
- min
Clusters Double - Engine min size, greater than or equal to 1 and MaxClusters bigger than MinClusters.
- pay
Mode Double - Engine pay mode type, only support 0: postPay(default), 1: prePay.
- resource
Type String - Engine resource type not match, only support: Standard_CU/Memory_CU(only BATCH ExecType).
- session
Resource DlcTemplate Data Engine Session Resource Template - Template of the resource configuration of the job engine.
- size Double
- Cluster size. Required when updating.
- time
Span Double - Engine TimeSpan, prePay: minimum of 1, representing one month of purchasing resources, with a maximum of 120, default 3600, postPay: fixed fee of 3600.
- time
Unit String - Engine TimeUnit, prePay: use m(default), postPay: use h.
- tolerable
Queue DoubleTime - Tolerable queuing time, default 0. scaling may be triggered when tasks are queued for longer than the tolerable time. if this parameter is 0, it means that capacity expansion may be triggered immediately once a task is queued.
- auto
Resume boolean - Whether to automatically start the cluster, prepay not support.
- cluster
Type string - Engine cluster type, only support: spark_cu/presto_cu.
- data
Engine stringName - Engine name.
- engine
Type string - Engine type, only support: spark/presto.
- mode number
- Engine mode, only support 1: ByAmount, 2: YearlyAndMonthly.
- boolean
- Automatic authorization.
- auto
Renew number - Engine auto renew, only support 0: Default, 1: AutoRenewON, 2: AutoRenewOFF.
- auto
Suspend boolean - Whether to automatically suspend the cluster, prepay not support.
- auto
Suspend numberTime - Cluster automatic suspension time, default 10 minutes.
- cidr
Block string - Engine VPC network segment, just like 192.0.2.1/24.
- crontab
Resume numberSuspend - Engine crontab resume or suspend strategy, only support: 0: Wait(default), 1: Kill.
- crontab
Resume DlcSuspend Strategy Data Engine Crontab Resume Suspend Strategy - Engine auto suspend strategy, when AutoSuspend is true, CrontabResumeSuspend must stop.
- data
Engine DlcConfig Pairs Data Engine Data Engine Config Pair[] - Collection of user-defined engine configuration items. This parameter needs to input all the configuration items users should add. For example, if there is a configuration item named k1:v1 while k2:v2 needs to be added, [k1:v1,k2:v2] should be passed.
- default
Data booleanEngine - Whether it is the default virtual cluster.
- dlc
Data stringEngine Id - ID of the resource.
- elastic
Limit number - For spark Batch ExecType, yearly and monthly cluster elastic limit.
- elastic
Switch boolean - For spark Batch ExecType, yearly and monthly cluster whether to enable elasticity.
- engine
Exec stringType - Engine exec type, only support SQL(default) or BATCH.
- engine
Generation string - Engine generation, SuperSQL: represents the supersql engine; Native: represents the standard engine. The default value is SuperSQL.
- engine
Network stringId - Engine network ID.
- image
Version stringName - Cluster image version name. Such as SuperSQL-P 1.1; SuperSQL-S 3.2, etc., do not upload, and create a cluster with the latest mirror version by default.
- main
Cluster stringName - Primary cluster name, specified when creating a disaster recovery cluster.
- max
Clusters number - Engine max cluster size, MaxClusters less than or equal to 10 and MaxClusters bigger than MinClusters.
- max
Concurrency number - Maximum number of concurrent tasks in a single cluster, default 5.
- message string
- Engine description information.
- min
Clusters number - Engine min size, greater than or equal to 1 and MaxClusters bigger than MinClusters.
- pay
Mode number - Engine pay mode type, only support 0: postPay(default), 1: prePay.
- resource
Type string - Engine resource type not match, only support: Standard_CU/Memory_CU(only BATCH ExecType).
- session
Resource DlcTemplate Data Engine Session Resource Template - Template of the resource configuration of the job engine.
- size number
- Cluster size. Required when updating.
- time
Span number - Engine TimeSpan, prePay: minimum of 1, representing one month of purchasing resources, with a maximum of 120, default 3600, postPay: fixed fee of 3600.
- time
Unit string - Engine TimeUnit, prePay: use m(default), postPay: use h.
- tolerable
Queue numberTime - Tolerable queuing time, default 0. scaling may be triggered when tasks are queued for longer than the tolerable time. if this parameter is 0, it means that capacity expansion may be triggered immediately once a task is queued.
- auto_
resume bool - Whether to automatically start the cluster, prepay not support.
- cluster_
type str - Engine cluster type, only support: spark_cu/presto_cu.
- data_
engine_ strname - Engine name.
- engine_
type str - Engine type, only support: spark/presto.
- mode float
- Engine mode, only support 1: ByAmount, 2: YearlyAndMonthly.
- bool
- Automatic authorization.
- auto_
renew float - Engine auto renew, only support 0: Default, 1: AutoRenewON, 2: AutoRenewOFF.
- auto_
suspend bool - Whether to automatically suspend the cluster, prepay not support.
- auto_
suspend_ floattime - Cluster automatic suspension time, default 10 minutes.
- cidr_
block str - Engine VPC network segment, just like 192.0.2.1/24.
- crontab_
resume_ floatsuspend - Engine crontab resume or suspend strategy, only support: 0: Wait(default), 1: Kill.
- crontab_
resume_ Dlcsuspend_ strategy Data Engine Crontab Resume Suspend Strategy Args - Engine auto suspend strategy, when AutoSuspend is true, CrontabResumeSuspend must stop.
- data_
engine_ Sequence[Dlcconfig_ pairs Data Engine Data Engine Config Pair Args] - Collection of user-defined engine configuration items. This parameter needs to input all the configuration items users should add. For example, if there is a configuration item named k1:v1 while k2:v2 needs to be added, [k1:v1,k2:v2] should be passed.
- default_
data_ boolengine - Whether it is the default virtual cluster.
- dlc_
data_ strengine_ id - ID of the resource.
- elastic_
limit float - For spark Batch ExecType, yearly and monthly cluster elastic limit.
- elastic_
switch bool - For spark Batch ExecType, yearly and monthly cluster whether to enable elasticity.
- engine_
exec_ strtype - Engine exec type, only support SQL(default) or BATCH.
- engine_
generation str - Engine generation, SuperSQL: represents the supersql engine; Native: represents the standard engine. The default value is SuperSQL.
- engine_
network_ strid - Engine network ID.
- image_
version_ strname - Cluster image version name. Such as SuperSQL-P 1.1; SuperSQL-S 3.2, etc., do not upload, and create a cluster with the latest mirror version by default.
- main_
cluster_ strname - Primary cluster name, specified when creating a disaster recovery cluster.
- max_
clusters float - Engine max cluster size, MaxClusters less than or equal to 10 and MaxClusters bigger than MinClusters.
- max_
concurrency float - Maximum number of concurrent tasks in a single cluster, default 5.
- message str
- Engine description information.
- min_
clusters float - Engine min size, greater than or equal to 1 and MaxClusters bigger than MinClusters.
- pay_
mode float - Engine pay mode type, only support 0: postPay(default), 1: prePay.
- resource_
type str - Engine resource type not match, only support: Standard_CU/Memory_CU(only BATCH ExecType).
- session_
resource_ Dlctemplate Data Engine Session Resource Template Args - Template of the resource configuration of the job engine.
- size float
- Cluster size. Required when updating.
- time_
span float - Engine TimeSpan, prePay: minimum of 1, representing one month of purchasing resources, with a maximum of 120, default 3600, postPay: fixed fee of 3600.
- time_
unit str - Engine TimeUnit, prePay: use m(default), postPay: use h.
- tolerable_
queue_ floattime - Tolerable queuing time, default 0. scaling may be triggered when tasks are queued for longer than the tolerable time. if this parameter is 0, it means that capacity expansion may be triggered immediately once a task is queued.
- auto
Resume Boolean - Whether to automatically start the cluster, prepay not support.
- cluster
Type String - Engine cluster type, only support: spark_cu/presto_cu.
- data
Engine StringName - Engine name.
- engine
Type String - Engine type, only support: spark/presto.
- mode Number
- Engine mode, only support 1: ByAmount, 2: YearlyAndMonthly.
- Boolean
- Automatic authorization.
- auto
Renew Number - Engine auto renew, only support 0: Default, 1: AutoRenewON, 2: AutoRenewOFF.
- auto
Suspend Boolean - Whether to automatically suspend the cluster, prepay not support.
- auto
Suspend NumberTime - Cluster automatic suspension time, default 10 minutes.
- cidr
Block String - Engine VPC network segment, just like 192.0.2.1/24.
- crontab
Resume NumberSuspend - Engine crontab resume or suspend strategy, only support: 0: Wait(default), 1: Kill.
- crontab
Resume Property MapSuspend Strategy - Engine auto suspend strategy, when AutoSuspend is true, CrontabResumeSuspend must stop.
- data
Engine List<Property Map>Config Pairs - Collection of user-defined engine configuration items. This parameter needs to input all the configuration items users should add. For example, if there is a configuration item named k1:v1 while k2:v2 needs to be added, [k1:v1,k2:v2] should be passed.
- default
Data BooleanEngine - Whether it is the default virtual cluster.
- dlc
Data StringEngine Id - ID of the resource.
- elastic
Limit Number - For spark Batch ExecType, yearly and monthly cluster elastic limit.
- elastic
Switch Boolean - For spark Batch ExecType, yearly and monthly cluster whether to enable elasticity.
- engine
Exec StringType - Engine exec type, only support SQL(default) or BATCH.
- engine
Generation String - Engine generation, SuperSQL: represents the supersql engine; Native: represents the standard engine. The default value is SuperSQL.
- engine
Network StringId - Engine network ID.
- image
Version StringName - Cluster image version name. Such as SuperSQL-P 1.1; SuperSQL-S 3.2, etc., do not upload, and create a cluster with the latest mirror version by default.
- main
Cluster StringName - Primary cluster name, specified when creating a disaster recovery cluster.
- max
Clusters Number - Engine max cluster size, MaxClusters less than or equal to 10 and MaxClusters bigger than MinClusters.
- max
Concurrency Number - Maximum number of concurrent tasks in a single cluster, default 5.
- message String
- Engine description information.
- min
Clusters Number - Engine min size, greater than or equal to 1 and MaxClusters bigger than MinClusters.
- pay
Mode Number - Engine pay mode type, only support 0: postPay(default), 1: prePay.
- resource
Type String - Engine resource type not match, only support: Standard_CU/Memory_CU(only BATCH ExecType).
- session
Resource Property MapTemplate - Template of the resource configuration of the job engine.
- size Number
- Cluster size. Required when updating.
- time
Span Number - Engine TimeSpan, prePay: minimum of 1, representing one month of purchasing resources, with a maximum of 120, default 3600, postPay: fixed fee of 3600.
- time
Unit String - Engine TimeUnit, prePay: use m(default), postPay: use h.
- tolerable
Queue NumberTime - Tolerable queuing time, default 0. scaling may be triggered when tasks are queued for longer than the tolerable time. if this parameter is 0, it means that capacity expansion may be triggered immediately once a task is queued.
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.
- bool
- Automatic authorization.
- Auto
Renew double - Engine auto renew, only support 0: Default, 1: AutoRenewON, 2: AutoRenewOFF.
- Auto
Resume bool - Whether to automatically start the cluster, prepay not support.
- Auto
Suspend bool - Whether to automatically suspend the cluster, prepay not support.
- Auto
Suspend doubleTime - Cluster automatic suspension time, default 10 minutes.
- Cidr
Block string - Engine VPC network segment, just like 192.0.2.1/24.
- Cluster
Type string - Engine cluster type, only support: spark_cu/presto_cu.
- Crontab
Resume doubleSuspend - Engine crontab resume or suspend strategy, only support: 0: Wait(default), 1: Kill.
- Crontab
Resume DlcSuspend Strategy Data Engine Crontab Resume Suspend Strategy - Engine auto suspend strategy, when AutoSuspend is true, CrontabResumeSuspend must stop.
- Data
Engine List<DlcConfig Pairs Data Engine Data Engine Config Pair> - Collection of user-defined engine configuration items. This parameter needs to input all the configuration items users should add. For example, if there is a configuration item named k1:v1 while k2:v2 needs to be added, [k1:v1,k2:v2] should be passed.
- Data
Engine stringName - Engine name.
- Default
Data boolEngine - Whether it is the default virtual cluster.
- Dlc
Data stringEngine Id - ID of the resource.
- Elastic
Limit double - For spark Batch ExecType, yearly and monthly cluster elastic limit.
- Elastic
Switch bool - For spark Batch ExecType, yearly and monthly cluster whether to enable elasticity.
- Engine
Exec stringType - Engine exec type, only support SQL(default) or BATCH.
- Engine
Generation string - Engine generation, SuperSQL: represents the supersql engine; Native: represents the standard engine. The default value is SuperSQL.
- Engine
Network stringId - Engine network ID.
- Engine
Type string - Engine type, only support: spark/presto.
- Image
Version stringName - Cluster image version name. Such as SuperSQL-P 1.1; SuperSQL-S 3.2, etc., do not upload, and create a cluster with the latest mirror version by default.
- Main
Cluster stringName - Primary cluster name, specified when creating a disaster recovery cluster.
- Max
Clusters double - Engine max cluster size, MaxClusters less than or equal to 10 and MaxClusters bigger than MinClusters.
- Max
Concurrency double - Maximum number of concurrent tasks in a single cluster, default 5.
- Message string
- Engine description information.
- Min
Clusters double - Engine min size, greater than or equal to 1 and MaxClusters bigger than MinClusters.
- Mode double
- Engine mode, only support 1: ByAmount, 2: YearlyAndMonthly.
- Pay
Mode double - Engine pay mode type, only support 0: postPay(default), 1: prePay.
- Resource
Type string - Engine resource type not match, only support: Standard_CU/Memory_CU(only BATCH ExecType).
- Session
Resource DlcTemplate Data Engine Session Resource Template - Template of the resource configuration of the job engine.
- Size double
- Cluster size. Required when updating.
- Time
Span double - Engine TimeSpan, prePay: minimum of 1, representing one month of purchasing resources, with a maximum of 120, default 3600, postPay: fixed fee of 3600.
- Time
Unit string - Engine TimeUnit, prePay: use m(default), postPay: use h.
- Tolerable
Queue doubleTime - Tolerable queuing time, default 0. scaling may be triggered when tasks are queued for longer than the tolerable time. if this parameter is 0, it means that capacity expansion may be triggered immediately once a task is queued.
- bool
- Automatic authorization.
- Auto
Renew float64 - Engine auto renew, only support 0: Default, 1: AutoRenewON, 2: AutoRenewOFF.
- Auto
Resume bool - Whether to automatically start the cluster, prepay not support.
- Auto
Suspend bool - Whether to automatically suspend the cluster, prepay not support.
- Auto
Suspend float64Time - Cluster automatic suspension time, default 10 minutes.
- Cidr
Block string - Engine VPC network segment, just like 192.0.2.1/24.
- Cluster
Type string - Engine cluster type, only support: spark_cu/presto_cu.
- Crontab
Resume float64Suspend - Engine crontab resume or suspend strategy, only support: 0: Wait(default), 1: Kill.
- Crontab
Resume DlcSuspend Strategy Data Engine Crontab Resume Suspend Strategy Args - Engine auto suspend strategy, when AutoSuspend is true, CrontabResumeSuspend must stop.
- Data
Engine []DlcConfig Pairs Data Engine Data Engine Config Pair Args - Collection of user-defined engine configuration items. This parameter needs to input all the configuration items users should add. For example, if there is a configuration item named k1:v1 while k2:v2 needs to be added, [k1:v1,k2:v2] should be passed.
- Data
Engine stringName - Engine name.
- Default
Data boolEngine - Whether it is the default virtual cluster.
- Dlc
Data stringEngine Id - ID of the resource.
- Elastic
Limit float64 - For spark Batch ExecType, yearly and monthly cluster elastic limit.
- Elastic
Switch bool - For spark Batch ExecType, yearly and monthly cluster whether to enable elasticity.
- Engine
Exec stringType - Engine exec type, only support SQL(default) or BATCH.
- Engine
Generation string - Engine generation, SuperSQL: represents the supersql engine; Native: represents the standard engine. The default value is SuperSQL.
- Engine
Network stringId - Engine network ID.
- Engine
Type string - Engine type, only support: spark/presto.
- Image
Version stringName - Cluster image version name. Such as SuperSQL-P 1.1; SuperSQL-S 3.2, etc., do not upload, and create a cluster with the latest mirror version by default.
- Main
Cluster stringName - Primary cluster name, specified when creating a disaster recovery cluster.
- Max
Clusters float64 - Engine max cluster size, MaxClusters less than or equal to 10 and MaxClusters bigger than MinClusters.
- Max
Concurrency float64 - Maximum number of concurrent tasks in a single cluster, default 5.
- Message string
- Engine description information.
- Min
Clusters float64 - Engine min size, greater than or equal to 1 and MaxClusters bigger than MinClusters.
- Mode float64
- Engine mode, only support 1: ByAmount, 2: YearlyAndMonthly.
- Pay
Mode float64 - Engine pay mode type, only support 0: postPay(default), 1: prePay.
- Resource
Type string - Engine resource type not match, only support: Standard_CU/Memory_CU(only BATCH ExecType).
- Session
Resource DlcTemplate Data Engine Session Resource Template Args - Template of the resource configuration of the job engine.
- Size float64
- Cluster size. Required when updating.
- Time
Span float64 - Engine TimeSpan, prePay: minimum of 1, representing one month of purchasing resources, with a maximum of 120, default 3600, postPay: fixed fee of 3600.
- Time
Unit string - Engine TimeUnit, prePay: use m(default), postPay: use h.
- Tolerable
Queue float64Time - Tolerable queuing time, default 0. scaling may be triggered when tasks are queued for longer than the tolerable time. if this parameter is 0, it means that capacity expansion may be triggered immediately once a task is queued.
- Boolean
- Automatic authorization.
- auto
Renew Double - Engine auto renew, only support 0: Default, 1: AutoRenewON, 2: AutoRenewOFF.
- auto
Resume Boolean - Whether to automatically start the cluster, prepay not support.
- auto
Suspend Boolean - Whether to automatically suspend the cluster, prepay not support.
- auto
Suspend DoubleTime - Cluster automatic suspension time, default 10 minutes.
- cidr
Block String - Engine VPC network segment, just like 192.0.2.1/24.
- cluster
Type String - Engine cluster type, only support: spark_cu/presto_cu.
- crontab
Resume DoubleSuspend - Engine crontab resume or suspend strategy, only support: 0: Wait(default), 1: Kill.
- crontab
Resume DlcSuspend Strategy Data Engine Crontab Resume Suspend Strategy - Engine auto suspend strategy, when AutoSuspend is true, CrontabResumeSuspend must stop.
- data
Engine List<DlcConfig Pairs Data Engine Data Engine Config Pair> - Collection of user-defined engine configuration items. This parameter needs to input all the configuration items users should add. For example, if there is a configuration item named k1:v1 while k2:v2 needs to be added, [k1:v1,k2:v2] should be passed.
- data
Engine StringName - Engine name.
- default
Data BooleanEngine - Whether it is the default virtual cluster.
- dlc
Data StringEngine Id - ID of the resource.
- elastic
Limit Double - For spark Batch ExecType, yearly and monthly cluster elastic limit.
- elastic
Switch Boolean - For spark Batch ExecType, yearly and monthly cluster whether to enable elasticity.
- engine
Exec StringType - Engine exec type, only support SQL(default) or BATCH.
- engine
Generation String - Engine generation, SuperSQL: represents the supersql engine; Native: represents the standard engine. The default value is SuperSQL.
- engine
Network StringId - Engine network ID.
- engine
Type String - Engine type, only support: spark/presto.
- image
Version StringName - Cluster image version name. Such as SuperSQL-P 1.1; SuperSQL-S 3.2, etc., do not upload, and create a cluster with the latest mirror version by default.
- main
Cluster StringName - Primary cluster name, specified when creating a disaster recovery cluster.
- max
Clusters Double - Engine max cluster size, MaxClusters less than or equal to 10 and MaxClusters bigger than MinClusters.
- max
Concurrency Double - Maximum number of concurrent tasks in a single cluster, default 5.
- message String
- Engine description information.
- min
Clusters Double - Engine min size, greater than or equal to 1 and MaxClusters bigger than MinClusters.
- mode Double
- Engine mode, only support 1: ByAmount, 2: YearlyAndMonthly.
- pay
Mode Double - Engine pay mode type, only support 0: postPay(default), 1: prePay.
- resource
Type String - Engine resource type not match, only support: Standard_CU/Memory_CU(only BATCH ExecType).
- session
Resource DlcTemplate Data Engine Session Resource Template - Template of the resource configuration of the job engine.
- size Double
- Cluster size. Required when updating.
- time
Span Double - Engine TimeSpan, prePay: minimum of 1, representing one month of purchasing resources, with a maximum of 120, default 3600, postPay: fixed fee of 3600.
- time
Unit String - Engine TimeUnit, prePay: use m(default), postPay: use h.
- tolerable
Queue DoubleTime - Tolerable queuing time, default 0. scaling may be triggered when tasks are queued for longer than the tolerable time. if this parameter is 0, it means that capacity expansion may be triggered immediately once a task is queued.
- boolean
- Automatic authorization.
- auto
Renew number - Engine auto renew, only support 0: Default, 1: AutoRenewON, 2: AutoRenewOFF.
- auto
Resume boolean - Whether to automatically start the cluster, prepay not support.
- auto
Suspend boolean - Whether to automatically suspend the cluster, prepay not support.
- auto
Suspend numberTime - Cluster automatic suspension time, default 10 minutes.
- cidr
Block string - Engine VPC network segment, just like 192.0.2.1/24.
- cluster
Type string - Engine cluster type, only support: spark_cu/presto_cu.
- crontab
Resume numberSuspend - Engine crontab resume or suspend strategy, only support: 0: Wait(default), 1: Kill.
- crontab
Resume DlcSuspend Strategy Data Engine Crontab Resume Suspend Strategy - Engine auto suspend strategy, when AutoSuspend is true, CrontabResumeSuspend must stop.
- data
Engine DlcConfig Pairs Data Engine Data Engine Config Pair[] - Collection of user-defined engine configuration items. This parameter needs to input all the configuration items users should add. For example, if there is a configuration item named k1:v1 while k2:v2 needs to be added, [k1:v1,k2:v2] should be passed.
- data
Engine stringName - Engine name.
- default
Data booleanEngine - Whether it is the default virtual cluster.
- dlc
Data stringEngine Id - ID of the resource.
- elastic
Limit number - For spark Batch ExecType, yearly and monthly cluster elastic limit.
- elastic
Switch boolean - For spark Batch ExecType, yearly and monthly cluster whether to enable elasticity.
- engine
Exec stringType - Engine exec type, only support SQL(default) or BATCH.
- engine
Generation string - Engine generation, SuperSQL: represents the supersql engine; Native: represents the standard engine. The default value is SuperSQL.
- engine
Network stringId - Engine network ID.
- engine
Type string - Engine type, only support: spark/presto.
- image
Version stringName - Cluster image version name. Such as SuperSQL-P 1.1; SuperSQL-S 3.2, etc., do not upload, and create a cluster with the latest mirror version by default.
- main
Cluster stringName - Primary cluster name, specified when creating a disaster recovery cluster.
- max
Clusters number - Engine max cluster size, MaxClusters less than or equal to 10 and MaxClusters bigger than MinClusters.
- max
Concurrency number - Maximum number of concurrent tasks in a single cluster, default 5.
- message string
- Engine description information.
- min
Clusters number - Engine min size, greater than or equal to 1 and MaxClusters bigger than MinClusters.
- mode number
- Engine mode, only support 1: ByAmount, 2: YearlyAndMonthly.
- pay
Mode number - Engine pay mode type, only support 0: postPay(default), 1: prePay.
- resource
Type string - Engine resource type not match, only support: Standard_CU/Memory_CU(only BATCH ExecType).
- session
Resource DlcTemplate Data Engine Session Resource Template - Template of the resource configuration of the job engine.
- size number
- Cluster size. Required when updating.
- time
Span number - Engine TimeSpan, prePay: minimum of 1, representing one month of purchasing resources, with a maximum of 120, default 3600, postPay: fixed fee of 3600.
- time
Unit string - Engine TimeUnit, prePay: use m(default), postPay: use h.
- tolerable
Queue numberTime - Tolerable queuing time, default 0. scaling may be triggered when tasks are queued for longer than the tolerable time. if this parameter is 0, it means that capacity expansion may be triggered immediately once a task is queued.
- bool
- Automatic authorization.
- auto_
renew float - Engine auto renew, only support 0: Default, 1: AutoRenewON, 2: AutoRenewOFF.
- auto_
resume bool - Whether to automatically start the cluster, prepay not support.
- auto_
suspend bool - Whether to automatically suspend the cluster, prepay not support.
- auto_
suspend_ floattime - Cluster automatic suspension time, default 10 minutes.
- cidr_
block str - Engine VPC network segment, just like 192.0.2.1/24.
- cluster_
type str - Engine cluster type, only support: spark_cu/presto_cu.
- crontab_
resume_ floatsuspend - Engine crontab resume or suspend strategy, only support: 0: Wait(default), 1: Kill.
- crontab_
resume_ Dlcsuspend_ strategy Data Engine Crontab Resume Suspend Strategy Args - Engine auto suspend strategy, when AutoSuspend is true, CrontabResumeSuspend must stop.
- data_
engine_ Sequence[Dlcconfig_ pairs Data Engine Data Engine Config Pair Args] - Collection of user-defined engine configuration items. This parameter needs to input all the configuration items users should add. For example, if there is a configuration item named k1:v1 while k2:v2 needs to be added, [k1:v1,k2:v2] should be passed.
- data_
engine_ strname - Engine name.
- default_
data_ boolengine - Whether it is the default virtual cluster.
- dlc_
data_ strengine_ id - ID of the resource.
- elastic_
limit float - For spark Batch ExecType, yearly and monthly cluster elastic limit.
- elastic_
switch bool - For spark Batch ExecType, yearly and monthly cluster whether to enable elasticity.
- engine_
exec_ strtype - Engine exec type, only support SQL(default) or BATCH.
- engine_
generation str - Engine generation, SuperSQL: represents the supersql engine; Native: represents the standard engine. The default value is SuperSQL.
- engine_
network_ strid - Engine network ID.
- engine_
type str - Engine type, only support: spark/presto.
- image_
version_ strname - Cluster image version name. Such as SuperSQL-P 1.1; SuperSQL-S 3.2, etc., do not upload, and create a cluster with the latest mirror version by default.
- main_
cluster_ strname - Primary cluster name, specified when creating a disaster recovery cluster.
- max_
clusters float - Engine max cluster size, MaxClusters less than or equal to 10 and MaxClusters bigger than MinClusters.
- max_
concurrency float - Maximum number of concurrent tasks in a single cluster, default 5.
- message str
- Engine description information.
- min_
clusters float - Engine min size, greater than or equal to 1 and MaxClusters bigger than MinClusters.
- mode float
- Engine mode, only support 1: ByAmount, 2: YearlyAndMonthly.
- pay_
mode float - Engine pay mode type, only support 0: postPay(default), 1: prePay.
- resource_
type str - Engine resource type not match, only support: Standard_CU/Memory_CU(only BATCH ExecType).
- session_
resource_ Dlctemplate Data Engine Session Resource Template Args - Template of the resource configuration of the job engine.
- size float
- Cluster size. Required when updating.
- time_
span float - Engine TimeSpan, prePay: minimum of 1, representing one month of purchasing resources, with a maximum of 120, default 3600, postPay: fixed fee of 3600.
- time_
unit str - Engine TimeUnit, prePay: use m(default), postPay: use h.
- tolerable_
queue_ floattime - Tolerable queuing time, default 0. scaling may be triggered when tasks are queued for longer than the tolerable time. if this parameter is 0, it means that capacity expansion may be triggered immediately once a task is queued.
- Boolean
- Automatic authorization.
- auto
Renew Number - Engine auto renew, only support 0: Default, 1: AutoRenewON, 2: AutoRenewOFF.
- auto
Resume Boolean - Whether to automatically start the cluster, prepay not support.
- auto
Suspend Boolean - Whether to automatically suspend the cluster, prepay not support.
- auto
Suspend NumberTime - Cluster automatic suspension time, default 10 minutes.
- cidr
Block String - Engine VPC network segment, just like 192.0.2.1/24.
- cluster
Type String - Engine cluster type, only support: spark_cu/presto_cu.
- crontab
Resume NumberSuspend - Engine crontab resume or suspend strategy, only support: 0: Wait(default), 1: Kill.
- crontab
Resume Property MapSuspend Strategy - Engine auto suspend strategy, when AutoSuspend is true, CrontabResumeSuspend must stop.
- data
Engine List<Property Map>Config Pairs - Collection of user-defined engine configuration items. This parameter needs to input all the configuration items users should add. For example, if there is a configuration item named k1:v1 while k2:v2 needs to be added, [k1:v1,k2:v2] should be passed.
- data
Engine StringName - Engine name.
- default
Data BooleanEngine - Whether it is the default virtual cluster.
- dlc
Data StringEngine Id - ID of the resource.
- elastic
Limit Number - For spark Batch ExecType, yearly and monthly cluster elastic limit.
- elastic
Switch Boolean - For spark Batch ExecType, yearly and monthly cluster whether to enable elasticity.
- engine
Exec StringType - Engine exec type, only support SQL(default) or BATCH.
- engine
Generation String - Engine generation, SuperSQL: represents the supersql engine; Native: represents the standard engine. The default value is SuperSQL.
- engine
Network StringId - Engine network ID.
- engine
Type String - Engine type, only support: spark/presto.
- image
Version StringName - Cluster image version name. Such as SuperSQL-P 1.1; SuperSQL-S 3.2, etc., do not upload, and create a cluster with the latest mirror version by default.
- main
Cluster StringName - Primary cluster name, specified when creating a disaster recovery cluster.
- max
Clusters Number - Engine max cluster size, MaxClusters less than or equal to 10 and MaxClusters bigger than MinClusters.
- max
Concurrency Number - Maximum number of concurrent tasks in a single cluster, default 5.
- message String
- Engine description information.
- min
Clusters Number - Engine min size, greater than or equal to 1 and MaxClusters bigger than MinClusters.
- mode Number
- Engine mode, only support 1: ByAmount, 2: YearlyAndMonthly.
- pay
Mode Number - Engine pay mode type, only support 0: postPay(default), 1: prePay.
- resource
Type String - Engine resource type not match, only support: Standard_CU/Memory_CU(only BATCH ExecType).
- session
Resource Property MapTemplate - Template of the resource configuration of the job engine.
- size Number
- Cluster size. Required when updating.
- time
Span Number - Engine TimeSpan, prePay: minimum of 1, representing one month of purchasing resources, with a maximum of 120, default 3600, postPay: fixed fee of 3600.
- time
Unit String - Engine TimeUnit, prePay: use m(default), postPay: use h.
- tolerable
Queue NumberTime - Tolerable queuing time, default 0. scaling may be triggered when tasks are queued for longer than the tolerable time. if this parameter is 0, it means that capacity expansion may be triggered immediately once a task is queued.
Supporting Types
DlcDataEngineCrontabResumeSuspendStrategy, DlcDataEngineCrontabResumeSuspendStrategyArgs
- Resume
Time string - Scheduled pull-up time: For example: 8 o'clock on Monday is expressed as 1000000-08:00:00.
- Suspend
Strategy double - Suspend configuration: 0 (default): wait for the task to end before suspending, 1: force suspend.
- Suspend
Time string - Scheduled suspension time: For example: 20 o'clock on Monday is expressed as 1000000-20:00:00.
- Resume
Time string - Scheduled pull-up time: For example: 8 o'clock on Monday is expressed as 1000000-08:00:00.
- Suspend
Strategy float64 - Suspend configuration: 0 (default): wait for the task to end before suspending, 1: force suspend.
- Suspend
Time string - Scheduled suspension time: For example: 20 o'clock on Monday is expressed as 1000000-20:00:00.
- resume
Time String - Scheduled pull-up time: For example: 8 o'clock on Monday is expressed as 1000000-08:00:00.
- suspend
Strategy Double - Suspend configuration: 0 (default): wait for the task to end before suspending, 1: force suspend.
- suspend
Time String - Scheduled suspension time: For example: 20 o'clock on Monday is expressed as 1000000-20:00:00.
- resume
Time string - Scheduled pull-up time: For example: 8 o'clock on Monday is expressed as 1000000-08:00:00.
- suspend
Strategy number - Suspend configuration: 0 (default): wait for the task to end before suspending, 1: force suspend.
- suspend
Time string - Scheduled suspension time: For example: 20 o'clock on Monday is expressed as 1000000-20:00:00.
- resume_
time str - Scheduled pull-up time: For example: 8 o'clock on Monday is expressed as 1000000-08:00:00.
- suspend_
strategy float - Suspend configuration: 0 (default): wait for the task to end before suspending, 1: force suspend.
- suspend_
time str - Scheduled suspension time: For example: 20 o'clock on Monday is expressed as 1000000-20:00:00.
- resume
Time String - Scheduled pull-up time: For example: 8 o'clock on Monday is expressed as 1000000-08:00:00.
- suspend
Strategy Number - Suspend configuration: 0 (default): wait for the task to end before suspending, 1: force suspend.
- suspend
Time String - Scheduled suspension time: For example: 20 o'clock on Monday is expressed as 1000000-20:00:00.
DlcDataEngineDataEngineConfigPair, DlcDataEngineDataEngineConfigPairArgs
- Config
Item string - Configuration items.
- Config
Value string - Configuration value.
- Config
Item string - Configuration items.
- Config
Value string - Configuration value.
- config
Item String - Configuration items.
- config
Value String - Configuration value.
- config
Item string - Configuration items.
- config
Value string - Configuration value.
- config_
item str - Configuration items.
- config_
value str - Configuration value.
- config
Item String - Configuration items.
- config
Value String - Configuration value.
DlcDataEngineSessionResourceTemplate, DlcDataEngineSessionResourceTemplateArgs
- Driver
Size string - The driver size. Valid values for the standard resource type:
small
,medium
,large
, andxlarge
. Valid values for the memory resource type:m.small
,m.medium
,m.large
, andm.xlarge
. Note: This field may return null, indicating that no valid values can be obtained. - Executor
Max doubleNumbers - 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 ofExecutorNums
, the value ofExecutorMaxNumbers
is automatically changed to that ofExecutorNums
. - Executor
Nums double - The executor count. The minimum value is 1 and the maximum value is less than the cluster specification.
- Executor
Size string - The executor size. Valid values for the standard resource type:
small
,medium
,large
, andxlarge
. Valid values for the memory resource type:m.small
,m.medium
,m.large
, andm.xlarge
. Note: This field may return null, indicating that no valid values can be obtained. - Running
Time List<DlcParameters Data Engine Session Resource Template Running Time Parameter> - Runtime parameters.
- Driver
Size string - The driver size. Valid values for the standard resource type:
small
,medium
,large
, andxlarge
. Valid values for the memory resource type:m.small
,m.medium
,m.large
, andm.xlarge
. Note: This field may return null, indicating that no valid values can be obtained. - Executor
Max float64Numbers - 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 ofExecutorNums
, the value ofExecutorMaxNumbers
is automatically changed to that ofExecutorNums
. - Executor
Nums float64 - The executor count. The minimum value is 1 and the maximum value is less than the cluster specification.
- Executor
Size string - The executor size. Valid values for the standard resource type:
small
,medium
,large
, andxlarge
. Valid values for the memory resource type:m.small
,m.medium
,m.large
, andm.xlarge
. Note: This field may return null, indicating that no valid values can be obtained. - Running
Time []DlcParameters Data Engine Session Resource Template Running Time Parameter - Runtime parameters.
- driver
Size String - The driver size. Valid values for the standard resource type:
small
,medium
,large
, andxlarge
. Valid values for the memory resource type:m.small
,m.medium
,m.large
, andm.xlarge
. Note: This field may return null, indicating that no valid values can be obtained. - executor
Max DoubleNumbers - 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 ofExecutorNums
, the value ofExecutorMaxNumbers
is automatically changed to that ofExecutorNums
. - executor
Nums Double - The executor count. The minimum value is 1 and the maximum value is less than the cluster specification.
- executor
Size String - The executor size. Valid values for the standard resource type:
small
,medium
,large
, andxlarge
. Valid values for the memory resource type:m.small
,m.medium
,m.large
, andm.xlarge
. Note: This field may return null, indicating that no valid values can be obtained. - running
Time List<DlcParameters Data Engine Session Resource Template Running Time Parameter> - Runtime parameters.
- driver
Size string - The driver size. Valid values for the standard resource type:
small
,medium
,large
, andxlarge
. Valid values for the memory resource type:m.small
,m.medium
,m.large
, andm.xlarge
. Note: This field may return null, indicating that no valid values can be obtained. - executor
Max numberNumbers - 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 ofExecutorNums
, the value ofExecutorMaxNumbers
is automatically changed to that ofExecutorNums
. - executor
Nums number - The executor count. The minimum value is 1 and the maximum value is less than the cluster specification.
- executor
Size string - The executor size. Valid values for the standard resource type:
small
,medium
,large
, andxlarge
. Valid values for the memory resource type:m.small
,m.medium
,m.large
, andm.xlarge
. Note: This field may return null, indicating that no valid values can be obtained. - running
Time DlcParameters Data Engine Session Resource Template Running Time Parameter[] - Runtime parameters.
- driver_
size str - The driver size. Valid values for the standard resource type:
small
,medium
,large
, andxlarge
. Valid values for the memory resource type:m.small
,m.medium
,m.large
, andm.xlarge
. Note: This field may return null, indicating that no valid values can be obtained. - executor_
max_ floatnumbers - 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 ofExecutorNums
, the value ofExecutorMaxNumbers
is automatically changed to that ofExecutorNums
. - 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
, andxlarge
. Valid values for the memory resource type:m.small
,m.medium
,m.large
, andm.xlarge
. Note: This field may return null, indicating that no valid values can be obtained. - running_
time_ Sequence[Dlcparameters Data Engine Session Resource Template Running Time Parameter] - Runtime parameters.
- driver
Size String - The driver size. Valid values for the standard resource type:
small
,medium
,large
, andxlarge
. Valid values for the memory resource type:m.small
,m.medium
,m.large
, andm.xlarge
. Note: This field may return null, indicating that no valid values can be obtained. - executor
Max NumberNumbers - 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 ofExecutorNums
, the value ofExecutorMaxNumbers
is automatically changed to that ofExecutorNums
. - executor
Nums Number - The executor count. The minimum value is 1 and the maximum value is less than the cluster specification.
- executor
Size String - The executor size. Valid values for the standard resource type:
small
,medium
,large
, andxlarge
. Valid values for the memory resource type:m.small
,m.medium
,m.large
, andm.xlarge
. Note: This field may return null, indicating that no valid values can be obtained. - running
Time List<Property Map>Parameters - Runtime parameters.
DlcDataEngineSessionResourceTemplateRunningTimeParameter, DlcDataEngineSessionResourceTemplateRunningTimeParameterArgs
- Config
Item string - Configuration items.
- Config
Value string - Configuration value.
- Config
Item string - Configuration items.
- Config
Value string - Configuration value.
- config
Item String - Configuration items.
- config
Value String - Configuration value.
- config
Item string - Configuration items.
- config
Value string - Configuration value.
- config_
item str - Configuration items.
- config_
value str - Configuration value.
- config
Item String - Configuration items.
- config
Value 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.