1. Packages
  2. Packages
  3. Tencentcloud Provider
  4. API Docs
  5. ClsDlcDeliver
Viewing docs for tencentcloud 1.82.93
published on Monday, May 11, 2026 by tencentcloudstack
Viewing docs for tencentcloud 1.82.93
published on Monday, May 11, 2026 by tencentcloudstack

    Provides a resource to create CLS dcl deliver

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.ClsDlcDeliver("example", {
        topicId: "0b2e4b58-38aa-4178-9227-c98236d2e100",
        name: "tf-example",
        deliverType: 0,
        startTime: 1775118742,
        dlcInfo: {
            tableInfo: {
                dataDirectory: "DataLakeCategary",
                databaseName: "tf_example_db",
                tableName: "tf_example_table",
            },
            fieldInfos: [
                {
                    clsField: "info",
                    dlcField: "info",
                    dlcFieldType: "string",
                    disable: false,
                },
                {
                    clsField: "int_key",
                    dlcField: "int_key",
                    dlcFieldType: "int",
                    disable: false,
                },
                {
                    clsField: "bool_key",
                    dlcField: "bool_key",
                    dlcFieldType: "boolean",
                    disable: false,
                },
                {
                    clsField: "float_key",
                    dlcField: "float_key",
                    dlcFieldType: "float",
                    disable: false,
                },
                {
                    clsField: "double_key",
                    dlcField: "double_key",
                    dlcFieldType: "double",
                    disable: false,
                },
            ],
            partitionInfos: [{
                clsField: "__TIMESTAMP__",
                dlcField: "date_key",
                dlcFieldType: "date",
            }],
            partitionExtra: {
                timeFormat: "/%Y/%m/%d/%H",
                timeZone: "UTC+08:00",
            },
        },
        maxSize: 128,
        interval: 300,
        hasServicesLog: 2,
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.ClsDlcDeliver("example",
        topic_id="0b2e4b58-38aa-4178-9227-c98236d2e100",
        name="tf-example",
        deliver_type=0,
        start_time=1775118742,
        dlc_info={
            "table_info": {
                "data_directory": "DataLakeCategary",
                "database_name": "tf_example_db",
                "table_name": "tf_example_table",
            },
            "field_infos": [
                {
                    "cls_field": "info",
                    "dlc_field": "info",
                    "dlc_field_type": "string",
                    "disable": False,
                },
                {
                    "cls_field": "int_key",
                    "dlc_field": "int_key",
                    "dlc_field_type": "int",
                    "disable": False,
                },
                {
                    "cls_field": "bool_key",
                    "dlc_field": "bool_key",
                    "dlc_field_type": "boolean",
                    "disable": False,
                },
                {
                    "cls_field": "float_key",
                    "dlc_field": "float_key",
                    "dlc_field_type": "float",
                    "disable": False,
                },
                {
                    "cls_field": "double_key",
                    "dlc_field": "double_key",
                    "dlc_field_type": "double",
                    "disable": False,
                },
            ],
            "partition_infos": [{
                "cls_field": "__TIMESTAMP__",
                "dlc_field": "date_key",
                "dlc_field_type": "date",
            }],
            "partition_extra": {
                "time_format": "/%Y/%m/%d/%H",
                "time_zone": "UTC+08:00",
            },
        },
        max_size=128,
        interval=300,
        has_services_log=2)
    
    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.NewClsDlcDeliver(ctx, "example", &tencentcloud.ClsDlcDeliverArgs{
    			TopicId:     pulumi.String("0b2e4b58-38aa-4178-9227-c98236d2e100"),
    			Name:        pulumi.String("tf-example"),
    			DeliverType: pulumi.Float64(0),
    			StartTime:   pulumi.Float64(1775118742),
    			DlcInfo: &tencentcloud.ClsDlcDeliverDlcInfoArgs{
    				TableInfo: &tencentcloud.ClsDlcDeliverDlcInfoTableInfoArgs{
    					DataDirectory: pulumi.String("DataLakeCategary"),
    					DatabaseName:  pulumi.String("tf_example_db"),
    					TableName:     pulumi.String("tf_example_table"),
    				},
    				FieldInfos: tencentcloud.ClsDlcDeliverDlcInfoFieldInfoArray{
    					&tencentcloud.ClsDlcDeliverDlcInfoFieldInfoArgs{
    						ClsField:     pulumi.String("info"),
    						DlcField:     pulumi.String("info"),
    						DlcFieldType: pulumi.String("string"),
    						Disable:      pulumi.Bool(false),
    					},
    					&tencentcloud.ClsDlcDeliverDlcInfoFieldInfoArgs{
    						ClsField:     pulumi.String("int_key"),
    						DlcField:     pulumi.String("int_key"),
    						DlcFieldType: pulumi.String("int"),
    						Disable:      pulumi.Bool(false),
    					},
    					&tencentcloud.ClsDlcDeliverDlcInfoFieldInfoArgs{
    						ClsField:     pulumi.String("bool_key"),
    						DlcField:     pulumi.String("bool_key"),
    						DlcFieldType: pulumi.String("boolean"),
    						Disable:      pulumi.Bool(false),
    					},
    					&tencentcloud.ClsDlcDeliverDlcInfoFieldInfoArgs{
    						ClsField:     pulumi.String("float_key"),
    						DlcField:     pulumi.String("float_key"),
    						DlcFieldType: pulumi.String("float"),
    						Disable:      pulumi.Bool(false),
    					},
    					&tencentcloud.ClsDlcDeliverDlcInfoFieldInfoArgs{
    						ClsField:     pulumi.String("double_key"),
    						DlcField:     pulumi.String("double_key"),
    						DlcFieldType: pulumi.String("double"),
    						Disable:      pulumi.Bool(false),
    					},
    				},
    				PartitionInfos: tencentcloud.ClsDlcDeliverDlcInfoPartitionInfoArray{
    					&tencentcloud.ClsDlcDeliverDlcInfoPartitionInfoArgs{
    						ClsField:     pulumi.String("__TIMESTAMP__"),
    						DlcField:     pulumi.String("date_key"),
    						DlcFieldType: pulumi.String("date"),
    					},
    				},
    				PartitionExtra: &tencentcloud.ClsDlcDeliverDlcInfoPartitionExtraArgs{
    					TimeFormat: pulumi.String("/%Y/%m/%d/%H"),
    					TimeZone:   pulumi.String("UTC+08:00"),
    				},
    			},
    			MaxSize:        pulumi.Float64(128),
    			Interval:       pulumi.Float64(300),
    			HasServicesLog: pulumi.Float64(2),
    		})
    		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.ClsDlcDeliver("example", new()
        {
            TopicId = "0b2e4b58-38aa-4178-9227-c98236d2e100",
            Name = "tf-example",
            DeliverType = 0,
            StartTime = 1775118742,
            DlcInfo = new Tencentcloud.Inputs.ClsDlcDeliverDlcInfoArgs
            {
                TableInfo = new Tencentcloud.Inputs.ClsDlcDeliverDlcInfoTableInfoArgs
                {
                    DataDirectory = "DataLakeCategary",
                    DatabaseName = "tf_example_db",
                    TableName = "tf_example_table",
                },
                FieldInfos = new[]
                {
                    new Tencentcloud.Inputs.ClsDlcDeliverDlcInfoFieldInfoArgs
                    {
                        ClsField = "info",
                        DlcField = "info",
                        DlcFieldType = "string",
                        Disable = false,
                    },
                    new Tencentcloud.Inputs.ClsDlcDeliverDlcInfoFieldInfoArgs
                    {
                        ClsField = "int_key",
                        DlcField = "int_key",
                        DlcFieldType = "int",
                        Disable = false,
                    },
                    new Tencentcloud.Inputs.ClsDlcDeliverDlcInfoFieldInfoArgs
                    {
                        ClsField = "bool_key",
                        DlcField = "bool_key",
                        DlcFieldType = "boolean",
                        Disable = false,
                    },
                    new Tencentcloud.Inputs.ClsDlcDeliverDlcInfoFieldInfoArgs
                    {
                        ClsField = "float_key",
                        DlcField = "float_key",
                        DlcFieldType = "float",
                        Disable = false,
                    },
                    new Tencentcloud.Inputs.ClsDlcDeliverDlcInfoFieldInfoArgs
                    {
                        ClsField = "double_key",
                        DlcField = "double_key",
                        DlcFieldType = "double",
                        Disable = false,
                    },
                },
                PartitionInfos = new[]
                {
                    new Tencentcloud.Inputs.ClsDlcDeliverDlcInfoPartitionInfoArgs
                    {
                        ClsField = "__TIMESTAMP__",
                        DlcField = "date_key",
                        DlcFieldType = "date",
                    },
                },
                PartitionExtra = new Tencentcloud.Inputs.ClsDlcDeliverDlcInfoPartitionExtraArgs
                {
                    TimeFormat = "/%Y/%m/%d/%H",
                    TimeZone = "UTC+08:00",
                },
            },
            MaxSize = 128,
            Interval = 300,
            HasServicesLog = 2,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.ClsDlcDeliver;
    import com.pulumi.tencentcloud.ClsDlcDeliverArgs;
    import com.pulumi.tencentcloud.inputs.ClsDlcDeliverDlcInfoArgs;
    import com.pulumi.tencentcloud.inputs.ClsDlcDeliverDlcInfoTableInfoArgs;
    import com.pulumi.tencentcloud.inputs.ClsDlcDeliverDlcInfoPartitionExtraArgs;
    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 ClsDlcDeliver("example", ClsDlcDeliverArgs.builder()
                .topicId("0b2e4b58-38aa-4178-9227-c98236d2e100")
                .name("tf-example")
                .deliverType(0.0)
                .startTime(1775118742.0)
                .dlcInfo(ClsDlcDeliverDlcInfoArgs.builder()
                    .tableInfo(ClsDlcDeliverDlcInfoTableInfoArgs.builder()
                        .dataDirectory("DataLakeCategary")
                        .databaseName("tf_example_db")
                        .tableName("tf_example_table")
                        .build())
                    .fieldInfos(                
                        ClsDlcDeliverDlcInfoFieldInfoArgs.builder()
                            .clsField("info")
                            .dlcField("info")
                            .dlcFieldType("string")
                            .disable(false)
                            .build(),
                        ClsDlcDeliverDlcInfoFieldInfoArgs.builder()
                            .clsField("int_key")
                            .dlcField("int_key")
                            .dlcFieldType("int")
                            .disable(false)
                            .build(),
                        ClsDlcDeliverDlcInfoFieldInfoArgs.builder()
                            .clsField("bool_key")
                            .dlcField("bool_key")
                            .dlcFieldType("boolean")
                            .disable(false)
                            .build(),
                        ClsDlcDeliverDlcInfoFieldInfoArgs.builder()
                            .clsField("float_key")
                            .dlcField("float_key")
                            .dlcFieldType("float")
                            .disable(false)
                            .build(),
                        ClsDlcDeliverDlcInfoFieldInfoArgs.builder()
                            .clsField("double_key")
                            .dlcField("double_key")
                            .dlcFieldType("double")
                            .disable(false)
                            .build())
                    .partitionInfos(ClsDlcDeliverDlcInfoPartitionInfoArgs.builder()
                        .clsField("__TIMESTAMP__")
                        .dlcField("date_key")
                        .dlcFieldType("date")
                        .build())
                    .partitionExtra(ClsDlcDeliverDlcInfoPartitionExtraArgs.builder()
                        .timeFormat("/%Y/%m/%d/%H")
                        .timeZone("UTC+08:00")
                        .build())
                    .build())
                .maxSize(128.0)
                .interval(300.0)
                .hasServicesLog(2.0)
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:ClsDlcDeliver
        properties:
          topicId: 0b2e4b58-38aa-4178-9227-c98236d2e100
          name: tf-example
          deliverType: 0
          startTime: 1.775118742e+09
          dlcInfo:
            tableInfo:
              dataDirectory: DataLakeCategary
              databaseName: tf_example_db
              tableName: tf_example_table
            fieldInfos:
              - clsField: info
                dlcField: info
                dlcFieldType: string
                disable: false
              - clsField: int_key
                dlcField: int_key
                dlcFieldType: int
                disable: false
              - clsField: bool_key
                dlcField: bool_key
                dlcFieldType: boolean
                disable: false
              - clsField: float_key
                dlcField: float_key
                dlcFieldType: float
                disable: false
              - clsField: double_key
                dlcField: double_key
                dlcFieldType: double
                disable: false
            partitionInfos:
              - clsField: __TIMESTAMP__
                dlcField: date_key
                dlcFieldType: date
            partitionExtra:
              timeFormat: /%Y/%m/%d/%H
              timeZone: UTC+08:00
          maxSize: 128
          interval: 300
          hasServicesLog: 2
    
    Example coming soon!
    

    Create ClsDlcDeliver Resource

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

    Constructor syntax

    new ClsDlcDeliver(name: string, args: ClsDlcDeliverArgs, opts?: CustomResourceOptions);
    @overload
    def ClsDlcDeliver(resource_name: str,
                      args: ClsDlcDeliverArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def ClsDlcDeliver(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      deliver_type: Optional[float] = None,
                      dlc_info: Optional[ClsDlcDeliverDlcInfoArgs] = None,
                      start_time: Optional[float] = None,
                      topic_id: Optional[str] = None,
                      cls_dlc_deliver_id: Optional[str] = None,
                      end_time: Optional[float] = None,
                      has_services_log: Optional[float] = None,
                      interval: Optional[float] = None,
                      max_size: Optional[float] = None,
                      name: Optional[str] = None,
                      status: Optional[float] = None)
    func NewClsDlcDeliver(ctx *Context, name string, args ClsDlcDeliverArgs, opts ...ResourceOption) (*ClsDlcDeliver, error)
    public ClsDlcDeliver(string name, ClsDlcDeliverArgs args, CustomResourceOptions? opts = null)
    public ClsDlcDeliver(String name, ClsDlcDeliverArgs args)
    public ClsDlcDeliver(String name, ClsDlcDeliverArgs args, CustomResourceOptions options)
    
    type: tencentcloud:ClsDlcDeliver
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "tencentcloud_clsdlcdeliver" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ClsDlcDeliverArgs
    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 ClsDlcDeliverArgs
    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 ClsDlcDeliverArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ClsDlcDeliverArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ClsDlcDeliverArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    DeliverType double
    Delivery type. 0: batch delivery, 1: real-time delivery.
    DlcInfo ClsDlcDeliverDlcInfo
    DLC configuration information.
    StartTime double
    Start time of the delivery time range (Unix timestamp).
    TopicId string
    Log topic ID.
    ClsDlcDeliverId string
    ID of the resource.
    EndTime double
    End time of the delivery time range (Unix timestamp). If empty, no time limit. Must be greater than start_time when set.
    HasServicesLog double
    Whether to enable delivery service logs. 1: disabled, 2: enabled. Default is enabled.
    Interval double
    Delivery interval in seconds. Required when deliver_type=0. Range: 300 <= Interval <= 900.
    MaxSize double
    Delivery file size in MB. Required when deliver_type=0. Range: 5 <= MaxSize <= 256.
    Name string
    Task name. Length does not exceed 64 characters, starts with a letter, accepts 0-9, a-z, A-Z, _, -, Chinese characters.
    Status double
    Task status. 1: running, 2: stopped.
    DeliverType float64
    Delivery type. 0: batch delivery, 1: real-time delivery.
    DlcInfo ClsDlcDeliverDlcInfoArgs
    DLC configuration information.
    StartTime float64
    Start time of the delivery time range (Unix timestamp).
    TopicId string
    Log topic ID.
    ClsDlcDeliverId string
    ID of the resource.
    EndTime float64
    End time of the delivery time range (Unix timestamp). If empty, no time limit. Must be greater than start_time when set.
    HasServicesLog float64
    Whether to enable delivery service logs. 1: disabled, 2: enabled. Default is enabled.
    Interval float64
    Delivery interval in seconds. Required when deliver_type=0. Range: 300 <= Interval <= 900.
    MaxSize float64
    Delivery file size in MB. Required when deliver_type=0. Range: 5 <= MaxSize <= 256.
    Name string
    Task name. Length does not exceed 64 characters, starts with a letter, accepts 0-9, a-z, A-Z, _, -, Chinese characters.
    Status float64
    Task status. 1: running, 2: stopped.
    deliver_type number
    Delivery type. 0: batch delivery, 1: real-time delivery.
    dlc_info object
    DLC configuration information.
    start_time number
    Start time of the delivery time range (Unix timestamp).
    topic_id string
    Log topic ID.
    cls_dlc_deliver_id string
    ID of the resource.
    end_time number
    End time of the delivery time range (Unix timestamp). If empty, no time limit. Must be greater than start_time when set.
    has_services_log number
    Whether to enable delivery service logs. 1: disabled, 2: enabled. Default is enabled.
    interval number
    Delivery interval in seconds. Required when deliver_type=0. Range: 300 <= Interval <= 900.
    max_size number
    Delivery file size in MB. Required when deliver_type=0. Range: 5 <= MaxSize <= 256.
    name string
    Task name. Length does not exceed 64 characters, starts with a letter, accepts 0-9, a-z, A-Z, _, -, Chinese characters.
    status number
    Task status. 1: running, 2: stopped.
    deliverType Double
    Delivery type. 0: batch delivery, 1: real-time delivery.
    dlcInfo ClsDlcDeliverDlcInfo
    DLC configuration information.
    startTime Double
    Start time of the delivery time range (Unix timestamp).
    topicId String
    Log topic ID.
    clsDlcDeliverId String
    ID of the resource.
    endTime Double
    End time of the delivery time range (Unix timestamp). If empty, no time limit. Must be greater than start_time when set.
    hasServicesLog Double
    Whether to enable delivery service logs. 1: disabled, 2: enabled. Default is enabled.
    interval Double
    Delivery interval in seconds. Required when deliver_type=0. Range: 300 <= Interval <= 900.
    maxSize Double
    Delivery file size in MB. Required when deliver_type=0. Range: 5 <= MaxSize <= 256.
    name String
    Task name. Length does not exceed 64 characters, starts with a letter, accepts 0-9, a-z, A-Z, _, -, Chinese characters.
    status Double
    Task status. 1: running, 2: stopped.
    deliverType number
    Delivery type. 0: batch delivery, 1: real-time delivery.
    dlcInfo ClsDlcDeliverDlcInfo
    DLC configuration information.
    startTime number
    Start time of the delivery time range (Unix timestamp).
    topicId string
    Log topic ID.
    clsDlcDeliverId string
    ID of the resource.
    endTime number
    End time of the delivery time range (Unix timestamp). If empty, no time limit. Must be greater than start_time when set.
    hasServicesLog number
    Whether to enable delivery service logs. 1: disabled, 2: enabled. Default is enabled.
    interval number
    Delivery interval in seconds. Required when deliver_type=0. Range: 300 <= Interval <= 900.
    maxSize number
    Delivery file size in MB. Required when deliver_type=0. Range: 5 <= MaxSize <= 256.
    name string
    Task name. Length does not exceed 64 characters, starts with a letter, accepts 0-9, a-z, A-Z, _, -, Chinese characters.
    status number
    Task status. 1: running, 2: stopped.
    deliver_type float
    Delivery type. 0: batch delivery, 1: real-time delivery.
    dlc_info ClsDlcDeliverDlcInfoArgs
    DLC configuration information.
    start_time float
    Start time of the delivery time range (Unix timestamp).
    topic_id str
    Log topic ID.
    cls_dlc_deliver_id str
    ID of the resource.
    end_time float
    End time of the delivery time range (Unix timestamp). If empty, no time limit. Must be greater than start_time when set.
    has_services_log float
    Whether to enable delivery service logs. 1: disabled, 2: enabled. Default is enabled.
    interval float
    Delivery interval in seconds. Required when deliver_type=0. Range: 300 <= Interval <= 900.
    max_size float
    Delivery file size in MB. Required when deliver_type=0. Range: 5 <= MaxSize <= 256.
    name str
    Task name. Length does not exceed 64 characters, starts with a letter, accepts 0-9, a-z, A-Z, _, -, Chinese characters.
    status float
    Task status. 1: running, 2: stopped.
    deliverType Number
    Delivery type. 0: batch delivery, 1: real-time delivery.
    dlcInfo Property Map
    DLC configuration information.
    startTime Number
    Start time of the delivery time range (Unix timestamp).
    topicId String
    Log topic ID.
    clsDlcDeliverId String
    ID of the resource.
    endTime Number
    End time of the delivery time range (Unix timestamp). If empty, no time limit. Must be greater than start_time when set.
    hasServicesLog Number
    Whether to enable delivery service logs. 1: disabled, 2: enabled. Default is enabled.
    interval Number
    Delivery interval in seconds. Required when deliver_type=0. Range: 300 <= Interval <= 900.
    maxSize Number
    Delivery file size in MB. Required when deliver_type=0. Range: 5 <= MaxSize <= 256.
    name String
    Task name. Length does not exceed 64 characters, starts with a letter, accepts 0-9, a-z, A-Z, _, -, Chinese characters.
    status Number
    Task status. 1: running, 2: stopped.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    TaskId string
    Delivery task ID.
    Id string
    The provider-assigned unique ID for this managed resource.
    TaskId string
    Delivery task ID.
    id string
    The provider-assigned unique ID for this managed resource.
    task_id string
    Delivery task ID.
    id String
    The provider-assigned unique ID for this managed resource.
    taskId String
    Delivery task ID.
    id string
    The provider-assigned unique ID for this managed resource.
    taskId string
    Delivery task ID.
    id str
    The provider-assigned unique ID for this managed resource.
    task_id str
    Delivery task ID.
    id String
    The provider-assigned unique ID for this managed resource.
    taskId String
    Delivery task ID.

    Look up Existing ClsDlcDeliver Resource

    Get an existing ClsDlcDeliver 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?: ClsDlcDeliverState, opts?: CustomResourceOptions): ClsDlcDeliver
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cls_dlc_deliver_id: Optional[str] = None,
            deliver_type: Optional[float] = None,
            dlc_info: Optional[ClsDlcDeliverDlcInfoArgs] = None,
            end_time: Optional[float] = None,
            has_services_log: Optional[float] = None,
            interval: Optional[float] = None,
            max_size: Optional[float] = None,
            name: Optional[str] = None,
            start_time: Optional[float] = None,
            status: Optional[float] = None,
            task_id: Optional[str] = None,
            topic_id: Optional[str] = None) -> ClsDlcDeliver
    func GetClsDlcDeliver(ctx *Context, name string, id IDInput, state *ClsDlcDeliverState, opts ...ResourceOption) (*ClsDlcDeliver, error)
    public static ClsDlcDeliver Get(string name, Input<string> id, ClsDlcDeliverState? state, CustomResourceOptions? opts = null)
    public static ClsDlcDeliver get(String name, Output<String> id, ClsDlcDeliverState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:ClsDlcDeliver    get:      id: ${id}
    import {
      to = tencentcloud_clsdlcdeliver.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ClsDlcDeliverId string
    ID of the resource.
    DeliverType double
    Delivery type. 0: batch delivery, 1: real-time delivery.
    DlcInfo ClsDlcDeliverDlcInfo
    DLC configuration information.
    EndTime double
    End time of the delivery time range (Unix timestamp). If empty, no time limit. Must be greater than start_time when set.
    HasServicesLog double
    Whether to enable delivery service logs. 1: disabled, 2: enabled. Default is enabled.
    Interval double
    Delivery interval in seconds. Required when deliver_type=0. Range: 300 <= Interval <= 900.
    MaxSize double
    Delivery file size in MB. Required when deliver_type=0. Range: 5 <= MaxSize <= 256.
    Name string
    Task name. Length does not exceed 64 characters, starts with a letter, accepts 0-9, a-z, A-Z, _, -, Chinese characters.
    StartTime double
    Start time of the delivery time range (Unix timestamp).
    Status double
    Task status. 1: running, 2: stopped.
    TaskId string
    Delivery task ID.
    TopicId string
    Log topic ID.
    ClsDlcDeliverId string
    ID of the resource.
    DeliverType float64
    Delivery type. 0: batch delivery, 1: real-time delivery.
    DlcInfo ClsDlcDeliverDlcInfoArgs
    DLC configuration information.
    EndTime float64
    End time of the delivery time range (Unix timestamp). If empty, no time limit. Must be greater than start_time when set.
    HasServicesLog float64
    Whether to enable delivery service logs. 1: disabled, 2: enabled. Default is enabled.
    Interval float64
    Delivery interval in seconds. Required when deliver_type=0. Range: 300 <= Interval <= 900.
    MaxSize float64
    Delivery file size in MB. Required when deliver_type=0. Range: 5 <= MaxSize <= 256.
    Name string
    Task name. Length does not exceed 64 characters, starts with a letter, accepts 0-9, a-z, A-Z, _, -, Chinese characters.
    StartTime float64
    Start time of the delivery time range (Unix timestamp).
    Status float64
    Task status. 1: running, 2: stopped.
    TaskId string
    Delivery task ID.
    TopicId string
    Log topic ID.
    cls_dlc_deliver_id string
    ID of the resource.
    deliver_type number
    Delivery type. 0: batch delivery, 1: real-time delivery.
    dlc_info object
    DLC configuration information.
    end_time number
    End time of the delivery time range (Unix timestamp). If empty, no time limit. Must be greater than start_time when set.
    has_services_log number
    Whether to enable delivery service logs. 1: disabled, 2: enabled. Default is enabled.
    interval number
    Delivery interval in seconds. Required when deliver_type=0. Range: 300 <= Interval <= 900.
    max_size number
    Delivery file size in MB. Required when deliver_type=0. Range: 5 <= MaxSize <= 256.
    name string
    Task name. Length does not exceed 64 characters, starts with a letter, accepts 0-9, a-z, A-Z, _, -, Chinese characters.
    start_time number
    Start time of the delivery time range (Unix timestamp).
    status number
    Task status. 1: running, 2: stopped.
    task_id string
    Delivery task ID.
    topic_id string
    Log topic ID.
    clsDlcDeliverId String
    ID of the resource.
    deliverType Double
    Delivery type. 0: batch delivery, 1: real-time delivery.
    dlcInfo ClsDlcDeliverDlcInfo
    DLC configuration information.
    endTime Double
    End time of the delivery time range (Unix timestamp). If empty, no time limit. Must be greater than start_time when set.
    hasServicesLog Double
    Whether to enable delivery service logs. 1: disabled, 2: enabled. Default is enabled.
    interval Double
    Delivery interval in seconds. Required when deliver_type=0. Range: 300 <= Interval <= 900.
    maxSize Double
    Delivery file size in MB. Required when deliver_type=0. Range: 5 <= MaxSize <= 256.
    name String
    Task name. Length does not exceed 64 characters, starts with a letter, accepts 0-9, a-z, A-Z, _, -, Chinese characters.
    startTime Double
    Start time of the delivery time range (Unix timestamp).
    status Double
    Task status. 1: running, 2: stopped.
    taskId String
    Delivery task ID.
    topicId String
    Log topic ID.
    clsDlcDeliverId string
    ID of the resource.
    deliverType number
    Delivery type. 0: batch delivery, 1: real-time delivery.
    dlcInfo ClsDlcDeliverDlcInfo
    DLC configuration information.
    endTime number
    End time of the delivery time range (Unix timestamp). If empty, no time limit. Must be greater than start_time when set.
    hasServicesLog number
    Whether to enable delivery service logs. 1: disabled, 2: enabled. Default is enabled.
    interval number
    Delivery interval in seconds. Required when deliver_type=0. Range: 300 <= Interval <= 900.
    maxSize number
    Delivery file size in MB. Required when deliver_type=0. Range: 5 <= MaxSize <= 256.
    name string
    Task name. Length does not exceed 64 characters, starts with a letter, accepts 0-9, a-z, A-Z, _, -, Chinese characters.
    startTime number
    Start time of the delivery time range (Unix timestamp).
    status number
    Task status. 1: running, 2: stopped.
    taskId string
    Delivery task ID.
    topicId string
    Log topic ID.
    cls_dlc_deliver_id str
    ID of the resource.
    deliver_type float
    Delivery type. 0: batch delivery, 1: real-time delivery.
    dlc_info ClsDlcDeliverDlcInfoArgs
    DLC configuration information.
    end_time float
    End time of the delivery time range (Unix timestamp). If empty, no time limit. Must be greater than start_time when set.
    has_services_log float
    Whether to enable delivery service logs. 1: disabled, 2: enabled. Default is enabled.
    interval float
    Delivery interval in seconds. Required when deliver_type=0. Range: 300 <= Interval <= 900.
    max_size float
    Delivery file size in MB. Required when deliver_type=0. Range: 5 <= MaxSize <= 256.
    name str
    Task name. Length does not exceed 64 characters, starts with a letter, accepts 0-9, a-z, A-Z, _, -, Chinese characters.
    start_time float
    Start time of the delivery time range (Unix timestamp).
    status float
    Task status. 1: running, 2: stopped.
    task_id str
    Delivery task ID.
    topic_id str
    Log topic ID.
    clsDlcDeliverId String
    ID of the resource.
    deliverType Number
    Delivery type. 0: batch delivery, 1: real-time delivery.
    dlcInfo Property Map
    DLC configuration information.
    endTime Number
    End time of the delivery time range (Unix timestamp). If empty, no time limit. Must be greater than start_time when set.
    hasServicesLog Number
    Whether to enable delivery service logs. 1: disabled, 2: enabled. Default is enabled.
    interval Number
    Delivery interval in seconds. Required when deliver_type=0. Range: 300 <= Interval <= 900.
    maxSize Number
    Delivery file size in MB. Required when deliver_type=0. Range: 5 <= MaxSize <= 256.
    name String
    Task name. Length does not exceed 64 characters, starts with a letter, accepts 0-9, a-z, A-Z, _, -, Chinese characters.
    startTime Number
    Start time of the delivery time range (Unix timestamp).
    status Number
    Task status. 1: running, 2: stopped.
    taskId String
    Delivery task ID.
    topicId String
    Log topic ID.

    Supporting Types

    ClsDlcDeliverDlcInfo, ClsDlcDeliverDlcInfoArgs

    table_info object
    DLC table information.
    field_infos list(object)
    DLC data field information.
    partition_extra object
    DLC partition extra information.
    partition_infos list(object)
    DLC partition information.
    tableInfo Property Map
    DLC table information.
    fieldInfos List<Property Map>
    DLC data field information.
    partitionExtra Property Map
    DLC partition extra information.
    partitionInfos List<Property Map>
    DLC partition information.

    ClsDlcDeliverDlcInfoFieldInfo, ClsDlcDeliverDlcInfoFieldInfoArgs

    ClsField string
    Field name in CLS log.
    DlcField string
    Column name in DLC table.
    DlcFieldType string
    DLC field type, e.g. string, int, struct.
    Disable bool
    Whether to disable this field.
    FillField string
    Fill field when parsing fails.
    ClsField string
    Field name in CLS log.
    DlcField string
    Column name in DLC table.
    DlcFieldType string
    DLC field type, e.g. string, int, struct.
    Disable bool
    Whether to disable this field.
    FillField string
    Fill field when parsing fails.
    cls_field string
    Field name in CLS log.
    dlc_field string
    Column name in DLC table.
    dlc_field_type string
    DLC field type, e.g. string, int, struct.
    disable bool
    Whether to disable this field.
    fill_field string
    Fill field when parsing fails.
    clsField String
    Field name in CLS log.
    dlcField String
    Column name in DLC table.
    dlcFieldType String
    DLC field type, e.g. string, int, struct.
    disable Boolean
    Whether to disable this field.
    fillField String
    Fill field when parsing fails.
    clsField string
    Field name in CLS log.
    dlcField string
    Column name in DLC table.
    dlcFieldType string
    DLC field type, e.g. string, int, struct.
    disable boolean
    Whether to disable this field.
    fillField string
    Fill field when parsing fails.
    cls_field str
    Field name in CLS log.
    dlc_field str
    Column name in DLC table.
    dlc_field_type str
    DLC field type, e.g. string, int, struct.
    disable bool
    Whether to disable this field.
    fill_field str
    Fill field when parsing fails.
    clsField String
    Field name in CLS log.
    dlcField String
    Column name in DLC table.
    dlcFieldType String
    DLC field type, e.g. string, int, struct.
    disable Boolean
    Whether to disable this field.
    fillField String
    Fill field when parsing fails.

    ClsDlcDeliverDlcInfoPartitionExtra, ClsDlcDeliverDlcInfoPartitionExtraArgs

    TimeFormat string
    Time format, e.g. /%Y/%m/%d/%H.
    TimeZone string
    Time zone, e.g. UTC+08:00.
    TimeFormat string
    Time format, e.g. /%Y/%m/%d/%H.
    TimeZone string
    Time zone, e.g. UTC+08:00.
    time_format string
    Time format, e.g. /%Y/%m/%d/%H.
    time_zone string
    Time zone, e.g. UTC+08:00.
    timeFormat String
    Time format, e.g. /%Y/%m/%d/%H.
    timeZone String
    Time zone, e.g. UTC+08:00.
    timeFormat string
    Time format, e.g. /%Y/%m/%d/%H.
    timeZone string
    Time zone, e.g. UTC+08:00.
    time_format str
    Time format, e.g. /%Y/%m/%d/%H.
    time_zone str
    Time zone, e.g. UTC+08:00.
    timeFormat String
    Time format, e.g. /%Y/%m/%d/%H.
    timeZone String
    Time zone, e.g. UTC+08:00.

    ClsDlcDeliverDlcInfoPartitionInfo, ClsDlcDeliverDlcInfoPartitionInfoArgs

    ClsField string
    Field name in CLS log.
    DlcField string
    Column name in DLC table.
    DlcFieldType string
    DLC field type.
    ClsField string
    Field name in CLS log.
    DlcField string
    Column name in DLC table.
    DlcFieldType string
    DLC field type.
    cls_field string
    Field name in CLS log.
    dlc_field string
    Column name in DLC table.
    dlc_field_type string
    DLC field type.
    clsField String
    Field name in CLS log.
    dlcField String
    Column name in DLC table.
    dlcFieldType String
    DLC field type.
    clsField string
    Field name in CLS log.
    dlcField string
    Column name in DLC table.
    dlcFieldType string
    DLC field type.
    cls_field str
    Field name in CLS log.
    dlc_field str
    Column name in DLC table.
    dlc_field_type str
    DLC field type.
    clsField String
    Field name in CLS log.
    dlcField String
    Column name in DLC table.
    dlcFieldType String
    DLC field type.

    ClsDlcDeliverDlcInfoTableInfo, ClsDlcDeliverDlcInfoTableInfoArgs

    DataDirectory string
    Data directory.
    DatabaseName string
    Database name.
    TableName string
    Table name.
    DataDirectory string
    Data directory.
    DatabaseName string
    Database name.
    TableName string
    Table name.
    data_directory string
    Data directory.
    database_name string
    Database name.
    table_name string
    Table name.
    dataDirectory String
    Data directory.
    databaseName String
    Database name.
    tableName String
    Table name.
    dataDirectory string
    Data directory.
    databaseName string
    Database name.
    tableName string
    Table name.
    data_directory str
    Data directory.
    database_name str
    Database name.
    table_name str
    Table name.
    dataDirectory String
    Data directory.
    databaseName String
    Database name.
    tableName String
    Table name.

    Import

    CLS dcl deliver can be imported using the id (topicId#taskId), e.g.

    $ pulumi import tencentcloud:index/clsDlcDeliver:ClsDlcDeliver example 0b2e4b58-38aa-4178-9227-c98236d2e100#756a4cbf-b8ae-4866-bbda-1e90aef31760
    

    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.
    Viewing docs for tencentcloud 1.82.93
    published on Monday, May 11, 2026 by tencentcloudstack
      Try Pulumi Cloud free. Your team will thank you.