1. Registry
  2. Packages
  3. Tencentcloud Provider
  4. API Docs
  5. ClsRemoteWriteTask
Viewing docs for tencentcloud 1.83.33
published on Monday, Sep 21, 2026 by tencentcloudstack
Viewing docs for tencentcloud 1.83.33
published on Monday, Sep 21, 2026 by tencentcloudstack

    Provides a resource to create a CLS (Cloud Log Service) remote write task.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.ClsRemoteWriteTask("example", {
        topicId: "3f5cc19d-f601-48b6-9671-9019b7b09bd0",
        name: "tf-example",
        target: "TencentCloud_Prometheus",
        remoteWriteUrl: "http://172.0.0.10:9090/api/v1/prom/write",
        authType: 1,
        netType: 1,
        vpcId: "vpc-mkegckdp",
        virtualGatewayType: 1025,
        instanceId: "prom-qha7cws8",
        hasServicesLog: 2,
        enable: 1,
        authInfo: {
            username: "root",
            password: "Fqzg*******************55Ko",
        },
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.ClsRemoteWriteTask("example",
        topic_id="3f5cc19d-f601-48b6-9671-9019b7b09bd0",
        name="tf-example",
        target="TencentCloud_Prometheus",
        remote_write_url="http://172.0.0.10:9090/api/v1/prom/write",
        auth_type=1,
        net_type=1,
        vpc_id="vpc-mkegckdp",
        virtual_gateway_type=1025,
        instance_id="prom-qha7cws8",
        has_services_log=2,
        enable=1,
        auth_info={
            "username": "root",
            "password": "Fqzg*******************55Ko",
        })
    
    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.NewClsRemoteWriteTask(ctx, "example", &tencentcloud.ClsRemoteWriteTaskArgs{
    			TopicId:            pulumi.String("3f5cc19d-f601-48b6-9671-9019b7b09bd0"),
    			Name:               pulumi.String("tf-example"),
    			Target:             pulumi.String("TencentCloud_Prometheus"),
    			RemoteWriteUrl:     pulumi.String("http://172.0.0.10:9090/api/v1/prom/write"),
    			AuthType:           pulumi.Float64(1),
    			NetType:            pulumi.Float64(1),
    			VpcId:              pulumi.String("vpc-mkegckdp"),
    			VirtualGatewayType: pulumi.Float64(1025),
    			InstanceId:         pulumi.String("prom-qha7cws8"),
    			HasServicesLog:     pulumi.Float64(2),
    			Enable:             pulumi.Float64(1),
    			AuthInfo: &tencentcloud.ClsRemoteWriteTaskAuthInfoArgs{
    				Username: pulumi.String("root"),
    				Password: pulumi.String("Fqzg*******************55Ko"),
    			},
    		})
    		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.ClsRemoteWriteTask("example", new()
        {
            TopicId = "3f5cc19d-f601-48b6-9671-9019b7b09bd0",
            Name = "tf-example",
            Target = "TencentCloud_Prometheus",
            RemoteWriteUrl = "http://172.0.0.10:9090/api/v1/prom/write",
            AuthType = 1,
            NetType = 1,
            VpcId = "vpc-mkegckdp",
            VirtualGatewayType = 1025,
            InstanceId = "prom-qha7cws8",
            HasServicesLog = 2,
            Enable = 1,
            AuthInfo = new Tencentcloud.Inputs.ClsRemoteWriteTaskAuthInfoArgs
            {
                Username = "root",
                Password = "Fqzg*******************55Ko",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.ClsRemoteWriteTask;
    import com.pulumi.tencentcloud.ClsRemoteWriteTaskArgs;
    import com.pulumi.tencentcloud.inputs.ClsRemoteWriteTaskAuthInfoArgs;
    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 ClsRemoteWriteTask("example", ClsRemoteWriteTaskArgs.builder()
                .topicId("3f5cc19d-f601-48b6-9671-9019b7b09bd0")
                .name("tf-example")
                .target("TencentCloud_Prometheus")
                .remoteWriteUrl("http://172.0.0.10:9090/api/v1/prom/write")
                .authType(1.0)
                .netType(1.0)
                .vpcId("vpc-mkegckdp")
                .virtualGatewayType(1025.0)
                .instanceId("prom-qha7cws8")
                .hasServicesLog(2.0)
                .enable(1.0)
                .authInfo(ClsRemoteWriteTaskAuthInfoArgs.builder()
                    .username("root")
                    .password("Fqzg*******************55Ko")
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:ClsRemoteWriteTask
        properties:
          topicId: 3f5cc19d-f601-48b6-9671-9019b7b09bd0
          name: tf-example
          target: TencentCloud_Prometheus
          remoteWriteUrl: http://172.0.0.10:9090/api/v1/prom/write
          authType: 1
          netType: 1
          vpcId: vpc-mkegckdp
          virtualGatewayType: 1025
          instanceId: prom-qha7cws8
          hasServicesLog: 2
          enable: 1
          authInfo:
            username: root
            password: Fqzg*******************55Ko
    
    Example coming soon!
    

    Create ClsRemoteWriteTask Resource

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

    Constructor syntax

    new ClsRemoteWriteTask(name: string, args: ClsRemoteWriteTaskArgs, opts?: CustomResourceOptions);
    @overload
    def ClsRemoteWriteTask(resource_name: str,
                           args: ClsRemoteWriteTaskArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def ClsRemoteWriteTask(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           net_type: Optional[float] = None,
                           auth_type: Optional[float] = None,
                           topic_id: Optional[str] = None,
                           target: Optional[str] = None,
                           remote_write_url: Optional[str] = None,
                           enable: Optional[float] = None,
                           name: Optional[str] = None,
                           instance_id: Optional[str] = None,
                           has_services_log: Optional[float] = None,
                           auth_info: Optional[ClsRemoteWriteTaskAuthInfoArgs] = None,
                           cls_remote_write_task_id: Optional[str] = None,
                           virtual_gateway_type: Optional[float] = None,
                           vpc_id: Optional[str] = None)
    func NewClsRemoteWriteTask(ctx *Context, name string, args ClsRemoteWriteTaskArgs, opts ...ResourceOption) (*ClsRemoteWriteTask, error)
    public ClsRemoteWriteTask(string name, ClsRemoteWriteTaskArgs args, CustomResourceOptions? opts = null)
    public ClsRemoteWriteTask(String name, ClsRemoteWriteTaskArgs args)
    public ClsRemoteWriteTask(String name, ClsRemoteWriteTaskArgs args, CustomResourceOptions options)
    
    type: tencentcloud:ClsRemoteWriteTask
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "tencentcloud_cls_remote_write_task" "name" {
        # resource properties
    }

    Parameters

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

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

    AuthType double
    Authentication type. 0: no auth, 1: basic_auth, 2: token.
    NetType double
    Network type. 1: intranet, 2: internet.
    RemoteWriteUrl string
    Target address for RemoteWrite.
    Target string
    Target service name.
    TopicId string
    Log topic ID.
    AuthInfo ClsRemoteWriteTaskAuthInfo
    Authentication information block.
    ClsRemoteWriteTaskId string
    ID of the resource.
    Enable double
    Task status. 0: disabled, 1: enabled.
    HasServicesLog double
    Enable delivery service logging. 1: Disabled, 2: Enabled. Default value: 2.
    InstanceId string
    Instance ID.
    Name string
    RemoteWrite task name.
    VirtualGatewayType double
    Backend service type. 0: CVM, 1025: CLB.
    VpcId string
    Private network ID.
    AuthType float64
    Authentication type. 0: no auth, 1: basic_auth, 2: token.
    NetType float64
    Network type. 1: intranet, 2: internet.
    RemoteWriteUrl string
    Target address for RemoteWrite.
    Target string
    Target service name.
    TopicId string
    Log topic ID.
    AuthInfo ClsRemoteWriteTaskAuthInfoArgs
    Authentication information block.
    ClsRemoteWriteTaskId string
    ID of the resource.
    Enable float64
    Task status. 0: disabled, 1: enabled.
    HasServicesLog float64
    Enable delivery service logging. 1: Disabled, 2: Enabled. Default value: 2.
    InstanceId string
    Instance ID.
    Name string
    RemoteWrite task name.
    VirtualGatewayType float64
    Backend service type. 0: CVM, 1025: CLB.
    VpcId string
    Private network ID.
    auth_type number
    Authentication type. 0: no auth, 1: basic_auth, 2: token.
    net_type number
    Network type. 1: intranet, 2: internet.
    remote_write_url string
    Target address for RemoteWrite.
    target string
    Target service name.
    topic_id string
    Log topic ID.
    auth_info object
    Authentication information block.
    cls_remote_write_task_id string
    ID of the resource.
    enable number
    Task status. 0: disabled, 1: enabled.
    has_services_log number
    Enable delivery service logging. 1: Disabled, 2: Enabled. Default value: 2.
    instance_id string
    Instance ID.
    name string
    RemoteWrite task name.
    virtual_gateway_type number
    Backend service type. 0: CVM, 1025: CLB.
    vpc_id string
    Private network ID.
    authType Double
    Authentication type. 0: no auth, 1: basic_auth, 2: token.
    netType Double
    Network type. 1: intranet, 2: internet.
    remoteWriteUrl String
    Target address for RemoteWrite.
    target String
    Target service name.
    topicId String
    Log topic ID.
    authInfo ClsRemoteWriteTaskAuthInfo
    Authentication information block.
    clsRemoteWriteTaskId String
    ID of the resource.
    enable Double
    Task status. 0: disabled, 1: enabled.
    hasServicesLog Double
    Enable delivery service logging. 1: Disabled, 2: Enabled. Default value: 2.
    instanceId String
    Instance ID.
    name String
    RemoteWrite task name.
    virtualGatewayType Double
    Backend service type. 0: CVM, 1025: CLB.
    vpcId String
    Private network ID.
    authType number
    Authentication type. 0: no auth, 1: basic_auth, 2: token.
    netType number
    Network type. 1: intranet, 2: internet.
    remoteWriteUrl string
    Target address for RemoteWrite.
    target string
    Target service name.
    topicId string
    Log topic ID.
    authInfo ClsRemoteWriteTaskAuthInfo
    Authentication information block.
    clsRemoteWriteTaskId string
    ID of the resource.
    enable number
    Task status. 0: disabled, 1: enabled.
    hasServicesLog number
    Enable delivery service logging. 1: Disabled, 2: Enabled. Default value: 2.
    instanceId string
    Instance ID.
    name string
    RemoteWrite task name.
    virtualGatewayType number
    Backend service type. 0: CVM, 1025: CLB.
    vpcId string
    Private network ID.
    auth_type float
    Authentication type. 0: no auth, 1: basic_auth, 2: token.
    net_type float
    Network type. 1: intranet, 2: internet.
    remote_write_url str
    Target address for RemoteWrite.
    target str
    Target service name.
    topic_id str
    Log topic ID.
    auth_info ClsRemoteWriteTaskAuthInfoArgs
    Authentication information block.
    cls_remote_write_task_id str
    ID of the resource.
    enable float
    Task status. 0: disabled, 1: enabled.
    has_services_log float
    Enable delivery service logging. 1: Disabled, 2: Enabled. Default value: 2.
    instance_id str
    Instance ID.
    name str
    RemoteWrite task name.
    virtual_gateway_type float
    Backend service type. 0: CVM, 1025: CLB.
    vpc_id str
    Private network ID.
    authType Number
    Authentication type. 0: no auth, 1: basic_auth, 2: token.
    netType Number
    Network type. 1: intranet, 2: internet.
    remoteWriteUrl String
    Target address for RemoteWrite.
    target String
    Target service name.
    topicId String
    Log topic ID.
    authInfo Property Map
    Authentication information block.
    clsRemoteWriteTaskId String
    ID of the resource.
    enable Number
    Task status. 0: disabled, 1: enabled.
    hasServicesLog Number
    Enable delivery service logging. 1: Disabled, 2: Enabled. Default value: 2.
    instanceId String
    Instance ID.
    name String
    RemoteWrite task name.
    virtualGatewayType Number
    Backend service type. 0: CVM, 1025: CLB.
    vpcId String
    Private network ID.

    Outputs

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

    CreateTime string
    Task creation time.
    Id string
    The provider-assigned unique ID for this managed resource.
    LogsetId string
    Logset ID.
    Status double
    Task running status. 1: running, 2: paused, 3: failed.
    TaskId string
    RemoteWrite task ID.
    UpdateTime string
    Task update time.
    CreateTime string
    Task creation time.
    Id string
    The provider-assigned unique ID for this managed resource.
    LogsetId string
    Logset ID.
    Status float64
    Task running status. 1: running, 2: paused, 3: failed.
    TaskId string
    RemoteWrite task ID.
    UpdateTime string
    Task update time.
    create_time string
    Task creation time.
    id string
    The provider-assigned unique ID for this managed resource.
    logset_id string
    Logset ID.
    status number
    Task running status. 1: running, 2: paused, 3: failed.
    task_id string
    RemoteWrite task ID.
    update_time string
    Task update time.
    createTime String
    Task creation time.
    id String
    The provider-assigned unique ID for this managed resource.
    logsetId String
    Logset ID.
    status Double
    Task running status. 1: running, 2: paused, 3: failed.
    taskId String
    RemoteWrite task ID.
    updateTime String
    Task update time.
    createTime string
    Task creation time.
    id string
    The provider-assigned unique ID for this managed resource.
    logsetId string
    Logset ID.
    status number
    Task running status. 1: running, 2: paused, 3: failed.
    taskId string
    RemoteWrite task ID.
    updateTime string
    Task update time.
    create_time str
    Task creation time.
    id str
    The provider-assigned unique ID for this managed resource.
    logset_id str
    Logset ID.
    status float
    Task running status. 1: running, 2: paused, 3: failed.
    task_id str
    RemoteWrite task ID.
    update_time str
    Task update time.
    createTime String
    Task creation time.
    id String
    The provider-assigned unique ID for this managed resource.
    logsetId String
    Logset ID.
    status Number
    Task running status. 1: running, 2: paused, 3: failed.
    taskId String
    RemoteWrite task ID.
    updateTime String
    Task update time.

    Look up Existing ClsRemoteWriteTask Resource

    Get an existing ClsRemoteWriteTask 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?: ClsRemoteWriteTaskState, opts?: CustomResourceOptions): ClsRemoteWriteTask
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            auth_info: Optional[ClsRemoteWriteTaskAuthInfoArgs] = None,
            auth_type: Optional[float] = None,
            cls_remote_write_task_id: Optional[str] = None,
            create_time: Optional[str] = None,
            enable: Optional[float] = None,
            has_services_log: Optional[float] = None,
            instance_id: Optional[str] = None,
            logset_id: Optional[str] = None,
            name: Optional[str] = None,
            net_type: Optional[float] = None,
            remote_write_url: Optional[str] = None,
            status: Optional[float] = None,
            target: Optional[str] = None,
            task_id: Optional[str] = None,
            topic_id: Optional[str] = None,
            update_time: Optional[str] = None,
            virtual_gateway_type: Optional[float] = None,
            vpc_id: Optional[str] = None) -> ClsRemoteWriteTask
    func GetClsRemoteWriteTask(ctx *Context, name string, id IDInput, state *ClsRemoteWriteTaskState, opts ...ResourceOption) (*ClsRemoteWriteTask, error)
    public static ClsRemoteWriteTask Get(string name, Input<string> id, ClsRemoteWriteTaskState? state, CustomResourceOptions? opts = null)
    public static ClsRemoteWriteTask get(String name, Output<String> id, ClsRemoteWriteTaskState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:ClsRemoteWriteTask    get:      id: ${id}
    import {
      to = tencentcloud_cls_remote_write_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:
    AuthInfo ClsRemoteWriteTaskAuthInfo
    Authentication information block.
    AuthType double
    Authentication type. 0: no auth, 1: basic_auth, 2: token.
    ClsRemoteWriteTaskId string
    ID of the resource.
    CreateTime string
    Task creation time.
    Enable double
    Task status. 0: disabled, 1: enabled.
    HasServicesLog double
    Enable delivery service logging. 1: Disabled, 2: Enabled. Default value: 2.
    InstanceId string
    Instance ID.
    LogsetId string
    Logset ID.
    Name string
    RemoteWrite task name.
    NetType double
    Network type. 1: intranet, 2: internet.
    RemoteWriteUrl string
    Target address for RemoteWrite.
    Status double
    Task running status. 1: running, 2: paused, 3: failed.
    Target string
    Target service name.
    TaskId string
    RemoteWrite task ID.
    TopicId string
    Log topic ID.
    UpdateTime string
    Task update time.
    VirtualGatewayType double
    Backend service type. 0: CVM, 1025: CLB.
    VpcId string
    Private network ID.
    AuthInfo ClsRemoteWriteTaskAuthInfoArgs
    Authentication information block.
    AuthType float64
    Authentication type. 0: no auth, 1: basic_auth, 2: token.
    ClsRemoteWriteTaskId string
    ID of the resource.
    CreateTime string
    Task creation time.
    Enable float64
    Task status. 0: disabled, 1: enabled.
    HasServicesLog float64
    Enable delivery service logging. 1: Disabled, 2: Enabled. Default value: 2.
    InstanceId string
    Instance ID.
    LogsetId string
    Logset ID.
    Name string
    RemoteWrite task name.
    NetType float64
    Network type. 1: intranet, 2: internet.
    RemoteWriteUrl string
    Target address for RemoteWrite.
    Status float64
    Task running status. 1: running, 2: paused, 3: failed.
    Target string
    Target service name.
    TaskId string
    RemoteWrite task ID.
    TopicId string
    Log topic ID.
    UpdateTime string
    Task update time.
    VirtualGatewayType float64
    Backend service type. 0: CVM, 1025: CLB.
    VpcId string
    Private network ID.
    auth_info object
    Authentication information block.
    auth_type number
    Authentication type. 0: no auth, 1: basic_auth, 2: token.
    cls_remote_write_task_id string
    ID of the resource.
    create_time string
    Task creation time.
    enable number
    Task status. 0: disabled, 1: enabled.
    has_services_log number
    Enable delivery service logging. 1: Disabled, 2: Enabled. Default value: 2.
    instance_id string
    Instance ID.
    logset_id string
    Logset ID.
    name string
    RemoteWrite task name.
    net_type number
    Network type. 1: intranet, 2: internet.
    remote_write_url string
    Target address for RemoteWrite.
    status number
    Task running status. 1: running, 2: paused, 3: failed.
    target string
    Target service name.
    task_id string
    RemoteWrite task ID.
    topic_id string
    Log topic ID.
    update_time string
    Task update time.
    virtual_gateway_type number
    Backend service type. 0: CVM, 1025: CLB.
    vpc_id string
    Private network ID.
    authInfo ClsRemoteWriteTaskAuthInfo
    Authentication information block.
    authType Double
    Authentication type. 0: no auth, 1: basic_auth, 2: token.
    clsRemoteWriteTaskId String
    ID of the resource.
    createTime String
    Task creation time.
    enable Double
    Task status. 0: disabled, 1: enabled.
    hasServicesLog Double
    Enable delivery service logging. 1: Disabled, 2: Enabled. Default value: 2.
    instanceId String
    Instance ID.
    logsetId String
    Logset ID.
    name String
    RemoteWrite task name.
    netType Double
    Network type. 1: intranet, 2: internet.
    remoteWriteUrl String
    Target address for RemoteWrite.
    status Double
    Task running status. 1: running, 2: paused, 3: failed.
    target String
    Target service name.
    taskId String
    RemoteWrite task ID.
    topicId String
    Log topic ID.
    updateTime String
    Task update time.
    virtualGatewayType Double
    Backend service type. 0: CVM, 1025: CLB.
    vpcId String
    Private network ID.
    authInfo ClsRemoteWriteTaskAuthInfo
    Authentication information block.
    authType number
    Authentication type. 0: no auth, 1: basic_auth, 2: token.
    clsRemoteWriteTaskId string
    ID of the resource.
    createTime string
    Task creation time.
    enable number
    Task status. 0: disabled, 1: enabled.
    hasServicesLog number
    Enable delivery service logging. 1: Disabled, 2: Enabled. Default value: 2.
    instanceId string
    Instance ID.
    logsetId string
    Logset ID.
    name string
    RemoteWrite task name.
    netType number
    Network type. 1: intranet, 2: internet.
    remoteWriteUrl string
    Target address for RemoteWrite.
    status number
    Task running status. 1: running, 2: paused, 3: failed.
    target string
    Target service name.
    taskId string
    RemoteWrite task ID.
    topicId string
    Log topic ID.
    updateTime string
    Task update time.
    virtualGatewayType number
    Backend service type. 0: CVM, 1025: CLB.
    vpcId string
    Private network ID.
    auth_info ClsRemoteWriteTaskAuthInfoArgs
    Authentication information block.
    auth_type float
    Authentication type. 0: no auth, 1: basic_auth, 2: token.
    cls_remote_write_task_id str
    ID of the resource.
    create_time str
    Task creation time.
    enable float
    Task status. 0: disabled, 1: enabled.
    has_services_log float
    Enable delivery service logging. 1: Disabled, 2: Enabled. Default value: 2.
    instance_id str
    Instance ID.
    logset_id str
    Logset ID.
    name str
    RemoteWrite task name.
    net_type float
    Network type. 1: intranet, 2: internet.
    remote_write_url str
    Target address for RemoteWrite.
    status float
    Task running status. 1: running, 2: paused, 3: failed.
    target str
    Target service name.
    task_id str
    RemoteWrite task ID.
    topic_id str
    Log topic ID.
    update_time str
    Task update time.
    virtual_gateway_type float
    Backend service type. 0: CVM, 1025: CLB.
    vpc_id str
    Private network ID.
    authInfo Property Map
    Authentication information block.
    authType Number
    Authentication type. 0: no auth, 1: basic_auth, 2: token.
    clsRemoteWriteTaskId String
    ID of the resource.
    createTime String
    Task creation time.
    enable Number
    Task status. 0: disabled, 1: enabled.
    hasServicesLog Number
    Enable delivery service logging. 1: Disabled, 2: Enabled. Default value: 2.
    instanceId String
    Instance ID.
    logsetId String
    Logset ID.
    name String
    RemoteWrite task name.
    netType Number
    Network type. 1: intranet, 2: internet.
    remoteWriteUrl String
    Target address for RemoteWrite.
    status Number
    Task running status. 1: running, 2: paused, 3: failed.
    target String
    Target service name.
    taskId String
    RemoteWrite task ID.
    topicId String
    Log topic ID.
    updateTime String
    Task update time.
    virtualGatewayType Number
    Backend service type. 0: CVM, 1025: CLB.
    vpcId String
    Private network ID.

    Supporting Types

    ClsRemoteWriteTaskAuthInfo, ClsRemoteWriteTaskAuthInfoArgs

    Password string
    Basic auth password.
    Token string
    Basic auth token.
    Username string
    Basic auth username.
    Password string
    Basic auth password.
    Token string
    Basic auth token.
    Username string
    Basic auth username.
    password string
    Basic auth password.
    token string
    Basic auth token.
    username string
    Basic auth username.
    password String
    Basic auth password.
    token String
    Basic auth token.
    username String
    Basic auth username.
    password string
    Basic auth password.
    token string
    Basic auth token.
    username string
    Basic auth username.
    password str
    Basic auth password.
    token str
    Basic auth token.
    username str
    Basic auth username.
    password String
    Basic auth password.
    token String
    Basic auth token.
    username String
    Basic auth username.

    Import

    CLS remote write task can be imported using the composite id, e.g. the format is topic_id#task_id

    $ pulumi import tencentcloud:index/clsRemoteWriteTask:ClsRemoteWriteTask example 3f5cc19d-f601-48b6-9671-9019b7b09bd0#e0e10aab-5977-49b3-a4dd-106db8821b6a
    

    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.83.33
    published on Monday, Sep 21, 2026 by tencentcloudstack

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial