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 dataEngine = new tencentcloud.DlcDataEngine("dataEngine", {
autoResume: false,
autoSuspend: false,
cidrBlock: "10.255.0.0/16",
clusterType: "spark_cu",
crontabResumeSuspend: 0,
dataEngineName: "testSpark",
defaultDataEngine: false,
engineExecType: "BATCH",
engineType: "spark",
maxClusters: 1,
message: "test spark1",
minClusters: 1,
mode: 1,
payMode: 0,
size: 16,
timeSpan: 1,
timeUnit: "h",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
data_engine = tencentcloud.DlcDataEngine("dataEngine",
auto_resume=False,
auto_suspend=False,
cidr_block="10.255.0.0/16",
cluster_type="spark_cu",
crontab_resume_suspend=0,
data_engine_name="testSpark",
default_data_engine=False,
engine_exec_type="BATCH",
engine_type="spark",
max_clusters=1,
message="test spark1",
min_clusters=1,
mode=1,
pay_mode=0,
size=16,
time_span=1,
time_unit="h")
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, "dataEngine", &tencentcloud.DlcDataEngineArgs{
AutoResume: pulumi.Bool(false),
AutoSuspend: pulumi.Bool(false),
CidrBlock: pulumi.String("10.255.0.0/16"),
ClusterType: pulumi.String("spark_cu"),
CrontabResumeSuspend: pulumi.Float64(0),
DataEngineName: pulumi.String("testSpark"),
DefaultDataEngine: pulumi.Bool(false),
EngineExecType: pulumi.String("BATCH"),
EngineType: pulumi.String("spark"),
MaxClusters: pulumi.Float64(1),
Message: pulumi.String("test spark1"),
MinClusters: pulumi.Float64(1),
Mode: pulumi.Float64(1),
PayMode: pulumi.Float64(0),
Size: pulumi.Float64(16),
TimeSpan: pulumi.Float64(1),
TimeUnit: pulumi.String("h"),
})
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 dataEngine = new Tencentcloud.DlcDataEngine("dataEngine", new()
{
AutoResume = false,
AutoSuspend = false,
CidrBlock = "10.255.0.0/16",
ClusterType = "spark_cu",
CrontabResumeSuspend = 0,
DataEngineName = "testSpark",
DefaultDataEngine = false,
EngineExecType = "BATCH",
EngineType = "spark",
MaxClusters = 1,
Message = "test spark1",
MinClusters = 1,
Mode = 1,
PayMode = 0,
Size = 16,
TimeSpan = 1,
TimeUnit = "h",
});
});
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 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 dataEngine = new DlcDataEngine("dataEngine", DlcDataEngineArgs.builder()
.autoResume(false)
.autoSuspend(false)
.cidrBlock("10.255.0.0/16")
.clusterType("spark_cu")
.crontabResumeSuspend(0)
.dataEngineName("testSpark")
.defaultDataEngine(false)
.engineExecType("BATCH")
.engineType("spark")
.maxClusters(1)
.message("test spark1")
.minClusters(1)
.mode(1)
.payMode(0)
.size(16)
.timeSpan(1)
.timeUnit("h")
.build());
}
}
resources:
dataEngine:
type: tencentcloud:DlcDataEngine
properties:
autoResume: false
autoSuspend: false
cidrBlock: 10.255.0.0/16
clusterType: spark_cu
crontabResumeSuspend: 0
dataEngineName: testSpark
defaultDataEngine: false
engineExecType: BATCH
engineType: spark
maxClusters: 1
message: test spark1
minClusters: 1
mode: 1
payMode: 0
size: 16
timeSpan: 1
timeUnit: h
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,
auto_resume: Optional[bool] = None,
mode: Optional[float] = None,
engine_type: Optional[str] = None,
data_engine_name: Optional[str] = None,
engine_exec_type: Optional[str] = None,
max_clusters: Optional[float] = None,
crontab_resume_suspend_strategy: Optional[DlcDataEngineCrontabResumeSuspendStrategyArgs] = None,
data_engine_config_pairs: Optional[Sequence[DlcDataEngineDataEngineConfigPairArgs]] = None,
cidr_block: 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,
auto_renew: Optional[float] = None,
auto_suspend_time: Optional[float] = None,
image_version_name: Optional[str] = None,
main_cluster_name: Optional[str] = None,
crontab_resume_suspend: Optional[float] = None,
max_concurrency: Optional[float] = None,
message: Optional[str] = None,
min_clusters: Optional[float] = None,
auto_suspend: Optional[bool] = 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.
- 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> - Cluster advanced configuration.
- 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.
- 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, 1: prePay(default).
- 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 - For spark Batch ExecType, cluster session resource configuration template.
- 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.
- 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 - Cluster advanced configuration.
- 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.
- 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, 1: prePay(default).
- 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 - For spark Batch ExecType, cluster session resource configuration template.
- 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.
- 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> - Cluster advanced configuration.
- 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.
- 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, 1: prePay(default).
- 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 - For spark Batch ExecType, cluster session resource configuration template.
- 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.
- 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[] - Cluster advanced configuration.
- 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.
- 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, 1: prePay(default).
- 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 - For spark Batch ExecType, cluster session resource configuration template.
- 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.
- 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] - Cluster advanced configuration.
- 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.
- 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, 1: prePay(default).
- 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 - For spark Batch ExecType, cluster session resource configuration template.
- 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.
- 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 - Cluster advanced configuration.
- 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.
- 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, 1: prePay(default).
- resource
Type String - Engine resource type not match, only support: Standard_CU/Memory_CU(only BATCH ExecType).
- session
Resource Property MapTemplate - For spark Batch ExecType, cluster session resource configuration template.
- 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_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_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.
- 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> - Cluster advanced configuration.
- 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
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, 1: prePay(default).
- 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 - For spark Batch ExecType, cluster session resource configuration template.
- 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
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 - Cluster advanced configuration.
- 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
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, 1: prePay(default).
- 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 - For spark Batch ExecType, cluster session resource configuration template.
- 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
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> - Cluster advanced configuration.
- 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
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, 1: prePay(default).
- 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 - For spark Batch ExecType, cluster session resource configuration template.
- 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
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[] - Cluster advanced configuration.
- 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
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, 1: prePay(default).
- 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 - For spark Batch ExecType, cluster session resource configuration template.
- 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_
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] - Cluster advanced configuration.
- 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_
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, 1: prePay(default).
- 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 - For spark Batch ExecType, cluster session resource configuration template.
- 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
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 - Cluster advanced configuration.
- 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
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, 1: prePay(default).
- resource
Type String - Engine resource type not match, only support: Standard_CU/Memory_CU(only BATCH ExecType).
- session
Resource Property MapTemplate - For spark Batch ExecType, cluster session resource configuration template.
- 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 - Engine driver size specification only supports: small/medium/large/xlarge/m.small/m.medium/m.large/m.xlarge.
- Executor
Max doubleNumbers - Specify the executor max number (in a dynamic configuration scenario), the minimum value is 1, and the maximum value is less than the cluster specification (when ExecutorMaxNumbers is less than ExecutorNums, the value is set to ExecutorNums).
- Executor
Nums double - Specify the number of executors. The minimum value is 1 and the maximum value is less than the cluster specification.
- Executor
Size string - Engine executor size specification only supports: small/medium/large/xlarge/m.small/m.medium/m.large/m.xlarge.
- Driver
Size string - Engine driver size specification only supports: small/medium/large/xlarge/m.small/m.medium/m.large/m.xlarge.
- Executor
Max float64Numbers - Specify the executor max number (in a dynamic configuration scenario), the minimum value is 1, and the maximum value is less than the cluster specification (when ExecutorMaxNumbers is less than ExecutorNums, the value is set to ExecutorNums).
- Executor
Nums float64 - Specify the number of executors. The minimum value is 1 and the maximum value is less than the cluster specification.
- Executor
Size string - Engine executor size specification only supports: small/medium/large/xlarge/m.small/m.medium/m.large/m.xlarge.
- driver
Size String - Engine driver size specification only supports: small/medium/large/xlarge/m.small/m.medium/m.large/m.xlarge.
- executor
Max DoubleNumbers - Specify the executor max number (in a dynamic configuration scenario), the minimum value is 1, and the maximum value is less than the cluster specification (when ExecutorMaxNumbers is less than ExecutorNums, the value is set to ExecutorNums).
- executor
Nums Double - Specify the number of executors. The minimum value is 1 and the maximum value is less than the cluster specification.
- executor
Size String - Engine executor size specification only supports: small/medium/large/xlarge/m.small/m.medium/m.large/m.xlarge.
- driver
Size string - Engine driver size specification only supports: small/medium/large/xlarge/m.small/m.medium/m.large/m.xlarge.
- executor
Max numberNumbers - Specify the executor max number (in a dynamic configuration scenario), the minimum value is 1, and the maximum value is less than the cluster specification (when ExecutorMaxNumbers is less than ExecutorNums, the value is set to ExecutorNums).
- executor
Nums number - Specify the number of executors. The minimum value is 1 and the maximum value is less than the cluster specification.
- executor
Size string - Engine executor size specification only supports: small/medium/large/xlarge/m.small/m.medium/m.large/m.xlarge.
- driver_
size str - Engine driver size specification only supports: small/medium/large/xlarge/m.small/m.medium/m.large/m.xlarge.
- executor_
max_ floatnumbers - Specify the executor max number (in a dynamic configuration scenario), the minimum value is 1, and the maximum value is less than the cluster specification (when ExecutorMaxNumbers is less than ExecutorNums, the value is set to ExecutorNums).
- executor_
nums float - Specify the number of executors. The minimum value is 1 and the maximum value is less than the cluster specification.
- executor_
size str - Engine executor size specification only supports: small/medium/large/xlarge/m.small/m.medium/m.large/m.xlarge.
- driver
Size String - Engine driver size specification only supports: small/medium/large/xlarge/m.small/m.medium/m.large/m.xlarge.
- executor
Max NumberNumbers - Specify the executor max number (in a dynamic configuration scenario), the minimum value is 1, and the maximum value is less than the cluster specification (when ExecutorMaxNumbers is less than ExecutorNums, the value is set to ExecutorNums).
- executor
Nums Number - Specify the number of executors. The minimum value is 1 and the maximum value is less than the cluster specification.
- executor
Size String - Engine executor size specification only supports: small/medium/large/xlarge/m.small/m.medium/m.large/m.xlarge.
Import
dlc data_engine can be imported using the id, e.g.
$ pulumi import tencentcloud:index/dlcDataEngine:DlcDataEngine data_engine data_engine_id
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.