1. Registry
  2. Packages
  3. Tencentcloud Provider
  4. API Docs
  5. ClsDeliverTask
Viewing docs for tencentcloud 1.83.41
published on Friday, Nov 6, 2026 by tencentcloudstack
tencentcloud
Viewing docs for tencentcloud 1.83.41
published on Friday, Nov 6, 2026 by tencentcloudstack

    Provides a resource to create a CLS deliver task

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const sourceLogset = new tencentcloud.ClsLogset("source_logset", {logsetName: "tf-example-source-logset"});
    const sourceTopic = new tencentcloud.ClsTopic("source_topic", {
        topicName: "tf-example-source-topic",
        logsetId: sourceLogset.clsLogsetId,
        period: 10,
        storageType: "hot",
    });
    const targetLogset = new tencentcloud.ClsLogset("target_logset", {logsetName: "tf-example-target-logset"});
    const targetTopic = new tencentcloud.ClsTopic("target_topic", {
        topicName: "tf-example-target-topic",
        logsetId: targetLogset.clsLogsetId,
        period: 10,
        storageType: "hot",
    });
    const example = new tencentcloud.ClsDeliverTask("example", {
        taskName: "tf-example-deliver-task",
        compliance: 1,
        sourceTopicConfig: {
            topicFilterType: 1,
            logsetId: sourceLogset.clsLogsetId,
            topics: [{
                topicId: sourceTopic.clsTopicId,
            }],
        },
        targetTopicConfig: {
            accountType: 1,
            region: "ap-guangzhou",
            logsetId: targetLogset.clsLogsetId,
            topicId: targetTopic.clsTopicId,
        },
        deliverRule: {
            dataScope: 3,
        },
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    source_logset = tencentcloud.ClsLogset("source_logset", logset_name="tf-example-source-logset")
    source_topic = tencentcloud.ClsTopic("source_topic",
        topic_name="tf-example-source-topic",
        logset_id=source_logset.cls_logset_id,
        period=10,
        storage_type="hot")
    target_logset = tencentcloud.ClsLogset("target_logset", logset_name="tf-example-target-logset")
    target_topic = tencentcloud.ClsTopic("target_topic",
        topic_name="tf-example-target-topic",
        logset_id=target_logset.cls_logset_id,
        period=10,
        storage_type="hot")
    example = tencentcloud.ClsDeliverTask("example",
        task_name="tf-example-deliver-task",
        compliance=1,
        source_topic_config={
            "topic_filter_type": 1,
            "logset_id": source_logset.cls_logset_id,
            "topics": [{
                "topic_id": source_topic.cls_topic_id,
            }],
        },
        target_topic_config={
            "account_type": 1,
            "region": "ap-guangzhou",
            "logset_id": target_logset.cls_logset_id,
            "topic_id": target_topic.cls_topic_id,
        },
        deliver_rule={
            "data_scope": 3,
        })
    
    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 {
    		sourceLogset, err := tencentcloud.NewClsLogset(ctx, "source_logset", &tencentcloud.ClsLogsetArgs{
    			LogsetName: pulumi.String("tf-example-source-logset"),
    		})
    		if err != nil {
    			return err
    		}
    		sourceTopic, err := tencentcloud.NewClsTopic(ctx, "source_topic", &tencentcloud.ClsTopicArgs{
    			TopicName:   pulumi.String("tf-example-source-topic"),
    			LogsetId:    sourceLogset.ClsLogsetId,
    			Period:      pulumi.Float64(10),
    			StorageType: pulumi.String("hot"),
    		})
    		if err != nil {
    			return err
    		}
    		targetLogset, err := tencentcloud.NewClsLogset(ctx, "target_logset", &tencentcloud.ClsLogsetArgs{
    			LogsetName: pulumi.String("tf-example-target-logset"),
    		})
    		if err != nil {
    			return err
    		}
    		targetTopic, err := tencentcloud.NewClsTopic(ctx, "target_topic", &tencentcloud.ClsTopicArgs{
    			TopicName:   pulumi.String("tf-example-target-topic"),
    			LogsetId:    targetLogset.ClsLogsetId,
    			Period:      pulumi.Float64(10),
    			StorageType: pulumi.String("hot"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = tencentcloud.NewClsDeliverTask(ctx, "example", &tencentcloud.ClsDeliverTaskArgs{
    			TaskName:   pulumi.String("tf-example-deliver-task"),
    			Compliance: pulumi.Float64(1),
    			SourceTopicConfig: &tencentcloud.ClsDeliverTaskSourceTopicConfigArgs{
    				TopicFilterType: pulumi.Float64(1),
    				LogsetId:        sourceLogset.ClsLogsetId,
    				Topics: tencentcloud.ClsDeliverTaskSourceTopicConfigTopicArray{
    					&tencentcloud.ClsDeliverTaskSourceTopicConfigTopicArgs{
    						TopicId: sourceTopic.ClsTopicId,
    					},
    				},
    			},
    			TargetTopicConfig: &tencentcloud.ClsDeliverTaskTargetTopicConfigArgs{
    				AccountType: pulumi.Float64(1),
    				Region:      pulumi.String("ap-guangzhou"),
    				LogsetId:    targetLogset.ClsLogsetId,
    				TopicId:     targetTopic.ClsTopicId,
    			},
    			DeliverRule: &tencentcloud.ClsDeliverTaskDeliverRuleArgs{
    				DataScope: pulumi.Float64(3),
    			},
    		})
    		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 sourceLogset = new Tencentcloud.ClsLogset("source_logset", new()
        {
            LogsetName = "tf-example-source-logset",
        });
    
        var sourceTopic = new Tencentcloud.ClsTopic("source_topic", new()
        {
            TopicName = "tf-example-source-topic",
            LogsetId = sourceLogset.ClsLogsetId,
            Period = 10,
            StorageType = "hot",
        });
    
        var targetLogset = new Tencentcloud.ClsLogset("target_logset", new()
        {
            LogsetName = "tf-example-target-logset",
        });
    
        var targetTopic = new Tencentcloud.ClsTopic("target_topic", new()
        {
            TopicName = "tf-example-target-topic",
            LogsetId = targetLogset.ClsLogsetId,
            Period = 10,
            StorageType = "hot",
        });
    
        var example = new Tencentcloud.ClsDeliverTask("example", new()
        {
            TaskName = "tf-example-deliver-task",
            Compliance = 1,
            SourceTopicConfig = new Tencentcloud.Inputs.ClsDeliverTaskSourceTopicConfigArgs
            {
                TopicFilterType = 1,
                LogsetId = sourceLogset.ClsLogsetId,
                Topics = new[]
                {
                    new Tencentcloud.Inputs.ClsDeliverTaskSourceTopicConfigTopicArgs
                    {
                        TopicId = sourceTopic.ClsTopicId,
                    },
                },
            },
            TargetTopicConfig = new Tencentcloud.Inputs.ClsDeliverTaskTargetTopicConfigArgs
            {
                AccountType = 1,
                Region = "ap-guangzhou",
                LogsetId = targetLogset.ClsLogsetId,
                TopicId = targetTopic.ClsTopicId,
            },
            DeliverRule = new Tencentcloud.Inputs.ClsDeliverTaskDeliverRuleArgs
            {
                DataScope = 3,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.ClsLogset;
    import com.pulumi.tencentcloud.ClsLogsetArgs;
    import com.pulumi.tencentcloud.ClsTopic;
    import com.pulumi.tencentcloud.ClsTopicArgs;
    import com.pulumi.tencentcloud.ClsDeliverTask;
    import com.pulumi.tencentcloud.ClsDeliverTaskArgs;
    import com.pulumi.tencentcloud.inputs.ClsDeliverTaskSourceTopicConfigArgs;
    import com.pulumi.tencentcloud.inputs.ClsDeliverTaskTargetTopicConfigArgs;
    import com.pulumi.tencentcloud.inputs.ClsDeliverTaskDeliverRuleArgs;
    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 sourceLogset = new ClsLogset("sourceLogset", ClsLogsetArgs.builder()
                .logsetName("tf-example-source-logset")
                .build());
    
            var sourceTopic = new ClsTopic("sourceTopic", ClsTopicArgs.builder()
                .topicName("tf-example-source-topic")
                .logsetId(sourceLogset.clsLogsetId())
                .period(10.0)
                .storageType("hot")
                .build());
    
            var targetLogset = new ClsLogset("targetLogset", ClsLogsetArgs.builder()
                .logsetName("tf-example-target-logset")
                .build());
    
            var targetTopic = new ClsTopic("targetTopic", ClsTopicArgs.builder()
                .topicName("tf-example-target-topic")
                .logsetId(targetLogset.clsLogsetId())
                .period(10.0)
                .storageType("hot")
                .build());
    
            var example = new ClsDeliverTask("example", ClsDeliverTaskArgs.builder()
                .taskName("tf-example-deliver-task")
                .compliance(1.0)
                .sourceTopicConfig(ClsDeliverTaskSourceTopicConfigArgs.builder()
                    .topicFilterType(1.0)
                    .logsetId(sourceLogset.clsLogsetId())
                    .topics(ClsDeliverTaskSourceTopicConfigTopicArgs.builder()
                        .topicId(sourceTopic.clsTopicId())
                        .build())
                    .build())
                .targetTopicConfig(ClsDeliverTaskTargetTopicConfigArgs.builder()
                    .accountType(1.0)
                    .region("ap-guangzhou")
                    .logsetId(targetLogset.clsLogsetId())
                    .topicId(targetTopic.clsTopicId())
                    .build())
                .deliverRule(ClsDeliverTaskDeliverRuleArgs.builder()
                    .dataScope(3.0)
                    .build())
                .build());
    
        }
    }
    
    resources:
      sourceLogset:
        type: tencentcloud:ClsLogset
        name: source_logset
        properties:
          logsetName: tf-example-source-logset
      sourceTopic:
        type: tencentcloud:ClsTopic
        name: source_topic
        properties:
          topicName: tf-example-source-topic
          logsetId: ${sourceLogset.clsLogsetId}
          period: 10
          storageType: hot
      targetLogset:
        type: tencentcloud:ClsLogset
        name: target_logset
        properties:
          logsetName: tf-example-target-logset
      targetTopic:
        type: tencentcloud:ClsTopic
        name: target_topic
        properties:
          topicName: tf-example-target-topic
          logsetId: ${targetLogset.clsLogsetId}
          period: 10
          storageType: hot
      example:
        type: tencentcloud:ClsDeliverTask
        properties:
          taskName: tf-example-deliver-task
          compliance: 1
          sourceTopicConfig:
            topicFilterType: 1
            logsetId: ${sourceLogset.clsLogsetId}
            topics:
              - topicId: ${sourceTopic.clsTopicId}
          targetTopicConfig:
            accountType: 1
            region: ap-guangzhou
            logsetId: ${targetLogset.clsLogsetId}
            topicId: ${targetTopic.clsTopicId}
          deliverRule:
            dataScope: 3
    
    Example coming soon!
    

    API Reference

    This resource interacts with the following TencentCloud APIs:

    Create ClsDeliverTask Resource

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

    Constructor syntax

    new ClsDeliverTask(name: string, args: ClsDeliverTaskArgs, opts?: CustomResourceOptions);
    @overload
    def ClsDeliverTask(resource_name: str,
                       args: ClsDeliverTaskArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def ClsDeliverTask(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       compliance: Optional[float] = None,
                       deliver_rule: Optional[ClsDeliverTaskDeliverRuleArgs] = None,
                       source_topic_config: Optional[ClsDeliverTaskSourceTopicConfigArgs] = None,
                       target_topic_config: Optional[ClsDeliverTaskTargetTopicConfigArgs] = None,
                       task_name: Optional[str] = None,
                       cls_deliver_task_id: Optional[str] = None,
                       enable: Optional[float] = None,
                       has_services_log: Optional[float] = None)
    func NewClsDeliverTask(ctx *Context, name string, args ClsDeliverTaskArgs, opts ...ResourceOption) (*ClsDeliverTask, error)
    public ClsDeliverTask(string name, ClsDeliverTaskArgs args, CustomResourceOptions? opts = null)
    public ClsDeliverTask(String name, ClsDeliverTaskArgs args)
    public ClsDeliverTask(String name, ClsDeliverTaskArgs args, CustomResourceOptions options)
    
    type: tencentcloud:ClsDeliverTask
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "tencentcloud_cls_deliver_task" "name" {
        # resource properties
    }

    Parameters

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

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

    Compliance double
    Compliance. 1: agree cross-domain data transfer terms.
    DeliverRule ClsDeliverTaskDeliverRule
    Deliver rule.
    SourceTopicConfig ClsDeliverTaskSourceTopicConfig
    Source topic config.
    TargetTopicConfig ClsDeliverTaskTargetTopicConfig
    Target topic config.
    TaskName string
    Deliver task name.
    ClsDeliverTaskId string
    ID of the resource.
    Enable double
    Task status. 0: run, 1: pause.
    HasServicesLog double
    Whether to deliver service log. 1: off, 2: on.
    Compliance float64
    Compliance. 1: agree cross-domain data transfer terms.
    DeliverRule ClsDeliverTaskDeliverRuleArgs
    Deliver rule.
    SourceTopicConfig ClsDeliverTaskSourceTopicConfigArgs
    Source topic config.
    TargetTopicConfig ClsDeliverTaskTargetTopicConfigArgs
    Target topic config.
    TaskName string
    Deliver task name.
    ClsDeliverTaskId string
    ID of the resource.
    Enable float64
    Task status. 0: run, 1: pause.
    HasServicesLog float64
    Whether to deliver service log. 1: off, 2: on.
    compliance number
    Compliance. 1: agree cross-domain data transfer terms.
    deliver_rule object
    Deliver rule.
    source_topic_config object
    Source topic config.
    target_topic_config object
    Target topic config.
    task_name string
    Deliver task name.
    cls_deliver_task_id string
    ID of the resource.
    enable number
    Task status. 0: run, 1: pause.
    has_services_log number
    Whether to deliver service log. 1: off, 2: on.
    compliance Double
    Compliance. 1: agree cross-domain data transfer terms.
    deliverRule ClsDeliverTaskDeliverRule
    Deliver rule.
    sourceTopicConfig ClsDeliverTaskSourceTopicConfig
    Source topic config.
    targetTopicConfig ClsDeliverTaskTargetTopicConfig
    Target topic config.
    taskName String
    Deliver task name.
    clsDeliverTaskId String
    ID of the resource.
    enable Double
    Task status. 0: run, 1: pause.
    hasServicesLog Double
    Whether to deliver service log. 1: off, 2: on.
    compliance number
    Compliance. 1: agree cross-domain data transfer terms.
    deliverRule ClsDeliverTaskDeliverRule
    Deliver rule.
    sourceTopicConfig ClsDeliverTaskSourceTopicConfig
    Source topic config.
    targetTopicConfig ClsDeliverTaskTargetTopicConfig
    Target topic config.
    taskName string
    Deliver task name.
    clsDeliverTaskId string
    ID of the resource.
    enable number
    Task status. 0: run, 1: pause.
    hasServicesLog number
    Whether to deliver service log. 1: off, 2: on.
    compliance float
    Compliance. 1: agree cross-domain data transfer terms.
    deliver_rule ClsDeliverTaskDeliverRuleArgs
    Deliver rule.
    source_topic_config ClsDeliverTaskSourceTopicConfigArgs
    Source topic config.
    target_topic_config ClsDeliverTaskTargetTopicConfigArgs
    Target topic config.
    task_name str
    Deliver task name.
    cls_deliver_task_id str
    ID of the resource.
    enable float
    Task status. 0: run, 1: pause.
    has_services_log float
    Whether to deliver service log. 1: off, 2: on.
    compliance Number
    Compliance. 1: agree cross-domain data transfer terms.
    deliverRule Property Map
    Deliver rule.
    sourceTopicConfig Property Map
    Source topic config.
    targetTopicConfig Property Map
    Target topic config.
    taskName String
    Deliver task name.
    clsDeliverTaskId String
    ID of the resource.
    enable Number
    Task status. 0: run, 1: pause.
    hasServicesLog Number
    Whether to deliver service log. 1: off, 2: on.

    Outputs

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

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

    Look up Existing ClsDeliverTask Resource

    Get an existing ClsDeliverTask 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?: ClsDeliverTaskState, opts?: CustomResourceOptions): ClsDeliverTask
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cls_deliver_task_id: Optional[str] = None,
            compliance: Optional[float] = None,
            deliver_rule: Optional[ClsDeliverTaskDeliverRuleArgs] = None,
            enable: Optional[float] = None,
            has_services_log: Optional[float] = None,
            source_topic_config: Optional[ClsDeliverTaskSourceTopicConfigArgs] = None,
            target_topic_config: Optional[ClsDeliverTaskTargetTopicConfigArgs] = None,
            task_id: Optional[str] = None,
            task_name: Optional[str] = None) -> ClsDeliverTask
    func GetClsDeliverTask(ctx *Context, name string, id IDInput, state *ClsDeliverTaskState, opts ...ResourceOption) (*ClsDeliverTask, error)
    public static ClsDeliverTask Get(string name, Input<string> id, ClsDeliverTaskState? state, CustomResourceOptions? opts = null)
    public static ClsDeliverTask get(String name, Output<String> id, ClsDeliverTaskState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:ClsDeliverTask    get:      id: ${id}
    import {
      to = tencentcloud_cls_deliver_task.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:
    ClsDeliverTaskId string
    ID of the resource.
    Compliance double
    Compliance. 1: agree cross-domain data transfer terms.
    DeliverRule ClsDeliverTaskDeliverRule
    Deliver rule.
    Enable double
    Task status. 0: run, 1: pause.
    HasServicesLog double
    Whether to deliver service log. 1: off, 2: on.
    SourceTopicConfig ClsDeliverTaskSourceTopicConfig
    Source topic config.
    TargetTopicConfig ClsDeliverTaskTargetTopicConfig
    Target topic config.
    TaskId string
    Deliver task id.
    TaskName string
    Deliver task name.
    ClsDeliverTaskId string
    ID of the resource.
    Compliance float64
    Compliance. 1: agree cross-domain data transfer terms.
    DeliverRule ClsDeliverTaskDeliverRuleArgs
    Deliver rule.
    Enable float64
    Task status. 0: run, 1: pause.
    HasServicesLog float64
    Whether to deliver service log. 1: off, 2: on.
    SourceTopicConfig ClsDeliverTaskSourceTopicConfigArgs
    Source topic config.
    TargetTopicConfig ClsDeliverTaskTargetTopicConfigArgs
    Target topic config.
    TaskId string
    Deliver task id.
    TaskName string
    Deliver task name.
    cls_deliver_task_id string
    ID of the resource.
    compliance number
    Compliance. 1: agree cross-domain data transfer terms.
    deliver_rule object
    Deliver rule.
    enable number
    Task status. 0: run, 1: pause.
    has_services_log number
    Whether to deliver service log. 1: off, 2: on.
    source_topic_config object
    Source topic config.
    target_topic_config object
    Target topic config.
    task_id string
    Deliver task id.
    task_name string
    Deliver task name.
    clsDeliverTaskId String
    ID of the resource.
    compliance Double
    Compliance. 1: agree cross-domain data transfer terms.
    deliverRule ClsDeliverTaskDeliverRule
    Deliver rule.
    enable Double
    Task status. 0: run, 1: pause.
    hasServicesLog Double
    Whether to deliver service log. 1: off, 2: on.
    sourceTopicConfig ClsDeliverTaskSourceTopicConfig
    Source topic config.
    targetTopicConfig ClsDeliverTaskTargetTopicConfig
    Target topic config.
    taskId String
    Deliver task id.
    taskName String
    Deliver task name.
    clsDeliverTaskId string
    ID of the resource.
    compliance number
    Compliance. 1: agree cross-domain data transfer terms.
    deliverRule ClsDeliverTaskDeliverRule
    Deliver rule.
    enable number
    Task status. 0: run, 1: pause.
    hasServicesLog number
    Whether to deliver service log. 1: off, 2: on.
    sourceTopicConfig ClsDeliverTaskSourceTopicConfig
    Source topic config.
    targetTopicConfig ClsDeliverTaskTargetTopicConfig
    Target topic config.
    taskId string
    Deliver task id.
    taskName string
    Deliver task name.
    cls_deliver_task_id str
    ID of the resource.
    compliance float
    Compliance. 1: agree cross-domain data transfer terms.
    deliver_rule ClsDeliverTaskDeliverRuleArgs
    Deliver rule.
    enable float
    Task status. 0: run, 1: pause.
    has_services_log float
    Whether to deliver service log. 1: off, 2: on.
    source_topic_config ClsDeliverTaskSourceTopicConfigArgs
    Source topic config.
    target_topic_config ClsDeliverTaskTargetTopicConfigArgs
    Target topic config.
    task_id str
    Deliver task id.
    task_name str
    Deliver task name.
    clsDeliverTaskId String
    ID of the resource.
    compliance Number
    Compliance. 1: agree cross-domain data transfer terms.
    deliverRule Property Map
    Deliver rule.
    enable Number
    Task status. 0: run, 1: pause.
    hasServicesLog Number
    Whether to deliver service log. 1: off, 2: on.
    sourceTopicConfig Property Map
    Source topic config.
    targetTopicConfig Property Map
    Target topic config.
    taskId String
    Deliver task id.
    taskName String
    Deliver task name.

    Supporting Types

    ClsDeliverTaskDeliverRule, ClsDeliverTaskDeliverRuleArgs

    DataScope double
    Data deliver scope. 1: history+new, 2: custom time range, 3: new only.
    DataScope float64
    Data deliver scope. 1: history+new, 2: custom time range, 3: new only.
    data_scope number
    Data deliver scope. 1: history+new, 2: custom time range, 3: new only.
    dataScope Double
    Data deliver scope. 1: history+new, 2: custom time range, 3: new only.
    dataScope number
    Data deliver scope. 1: history+new, 2: custom time range, 3: new only.
    data_scope float
    Data deliver scope. 1: history+new, 2: custom time range, 3: new only.
    dataScope Number
    Data deliver scope. 1: history+new, 2: custom time range, 3: new only.

    ClsDeliverTaskSourceTopicConfig, ClsDeliverTaskSourceTopicConfigArgs

    LogsetId string
    Source logset id.
    TopicFilterType double
    Topic filter type. 1: static select.
    Topics List<ClsDeliverTaskSourceTopicConfigTopic>
    Source topic list.
    LogsetId string
    Source logset id.
    TopicFilterType float64
    Topic filter type. 1: static select.
    Topics []ClsDeliverTaskSourceTopicConfigTopic
    Source topic list.
    logset_id string
    Source logset id.
    topic_filter_type number
    Topic filter type. 1: static select.
    topics list(object)
    Source topic list.
    logsetId String
    Source logset id.
    topicFilterType Double
    Topic filter type. 1: static select.
    topics List<ClsDeliverTaskSourceTopicConfigTopic>
    Source topic list.
    logsetId string
    Source logset id.
    topicFilterType number
    Topic filter type. 1: static select.
    topics ClsDeliverTaskSourceTopicConfigTopic[]
    Source topic list.
    logset_id str
    Source logset id.
    topic_filter_type float
    Topic filter type. 1: static select.
    topics Sequence[ClsDeliverTaskSourceTopicConfigTopic]
    Source topic list.
    logsetId String
    Source logset id.
    topicFilterType Number
    Topic filter type. 1: static select.
    topics List<Property Map>
    Source topic list.

    ClsDeliverTaskSourceTopicConfigTopic, ClsDeliverTaskSourceTopicConfigTopicArgs

    TopicId string
    Log topic id.
    TopicId string
    Log topic id.
    topic_id string
    Log topic id.
    topicId String
    Log topic id.
    topicId string
    Log topic id.
    topic_id str
    Log topic id.
    topicId String
    Log topic id.

    ClsDeliverTaskTargetTopicConfig, ClsDeliverTaskTargetTopicConfigArgs

    AccountType double
    Target account type. 1: current main account, 2: other main account.
    LogsetId string
    Target logset id.
    Region string
    Target region, e.g. ap-guangzhou.
    TopicId string
    Target topic id.
    ExternalId string
    External ID, required when AccountType=2.
    RoleArn string
    Role ARN, required when AccountType=2.
    AccountType float64
    Target account type. 1: current main account, 2: other main account.
    LogsetId string
    Target logset id.
    Region string
    Target region, e.g. ap-guangzhou.
    TopicId string
    Target topic id.
    ExternalId string
    External ID, required when AccountType=2.
    RoleArn string
    Role ARN, required when AccountType=2.
    account_type number
    Target account type. 1: current main account, 2: other main account.
    logset_id string
    Target logset id.
    region string
    Target region, e.g. ap-guangzhou.
    topic_id string
    Target topic id.
    external_id string
    External ID, required when AccountType=2.
    role_arn string
    Role ARN, required when AccountType=2.
    accountType Double
    Target account type. 1: current main account, 2: other main account.
    logsetId String
    Target logset id.
    region String
    Target region, e.g. ap-guangzhou.
    topicId String
    Target topic id.
    externalId String
    External ID, required when AccountType=2.
    roleArn String
    Role ARN, required when AccountType=2.
    accountType number
    Target account type. 1: current main account, 2: other main account.
    logsetId string
    Target logset id.
    region string
    Target region, e.g. ap-guangzhou.
    topicId string
    Target topic id.
    externalId string
    External ID, required when AccountType=2.
    roleArn string
    Role ARN, required when AccountType=2.
    account_type float
    Target account type. 1: current main account, 2: other main account.
    logset_id str
    Target logset id.
    region str
    Target region, e.g. ap-guangzhou.
    topic_id str
    Target topic id.
    external_id str
    External ID, required when AccountType=2.
    role_arn str
    Role ARN, required when AccountType=2.
    accountType Number
    Target account type. 1: current main account, 2: other main account.
    logsetId String
    Target logset id.
    region String
    Target region, e.g. ap-guangzhou.
    topicId String
    Target topic id.
    externalId String
    External ID, required when AccountType=2.
    roleArn String
    Role ARN, required when AccountType=2.

    Import

    CLS deliver task can be imported using the id, e.g.

    $ pulumi import tencentcloud:index/clsDeliverTask:ClsDeliverTask example 42aa917e-a14d-4531-bbf1-0468e32e87f3
    

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

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud
    Viewing docs for tencentcloud 1.83.41
    published on Friday, Nov 6, 2026 by tencentcloudstack

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial