published on Monday, Sep 21, 2026 by tencentcloudstack
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:
- Auth
Type double - Authentication type. 0: no auth, 1: basic_auth, 2: token.
- Net
Type double - Network type. 1: intranet, 2: internet.
- Remote
Write stringUrl - Target address for RemoteWrite.
- Target string
- Target service name.
- Topic
Id string - Log topic ID.
- Auth
Info ClsRemote Write Task Auth Info - Authentication information block.
- Cls
Remote stringWrite Task Id - ID of the resource.
- Enable double
- Task status. 0: disabled, 1: enabled.
- Has
Services doubleLog - Enable delivery service logging. 1: Disabled, 2: Enabled. Default value: 2.
- Instance
Id string - Instance ID.
- Name string
- RemoteWrite task name.
- Virtual
Gateway doubleType - Backend service type. 0: CVM, 1025: CLB.
- Vpc
Id string - Private network ID.
- Auth
Type float64 - Authentication type. 0: no auth, 1: basic_auth, 2: token.
- Net
Type float64 - Network type. 1: intranet, 2: internet.
- Remote
Write stringUrl - Target address for RemoteWrite.
- Target string
- Target service name.
- Topic
Id string - Log topic ID.
- Auth
Info ClsRemote Write Task Auth Info Args - Authentication information block.
- Cls
Remote stringWrite Task Id - ID of the resource.
- Enable float64
- Task status. 0: disabled, 1: enabled.
- Has
Services float64Log - Enable delivery service logging. 1: Disabled, 2: Enabled. Default value: 2.
- Instance
Id string - Instance ID.
- Name string
- RemoteWrite task name.
- Virtual
Gateway float64Type - Backend service type. 0: CVM, 1025: CLB.
- Vpc
Id 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_ stringurl - Target address for RemoteWrite.
- target string
- Target service name.
- topic_
id string - Log topic ID.
- auth_
info object - Authentication information block.
- cls_
remote_ stringwrite_ task_ id - ID of the resource.
- enable number
- Task status. 0: disabled, 1: enabled.
- has_
services_ numberlog - Enable delivery service logging. 1: Disabled, 2: Enabled. Default value: 2.
- instance_
id string - Instance ID.
- name string
- RemoteWrite task name.
- virtual_
gateway_ numbertype - Backend service type. 0: CVM, 1025: CLB.
- vpc_
id string - Private network ID.
- auth
Type Double - Authentication type. 0: no auth, 1: basic_auth, 2: token.
- net
Type Double - Network type. 1: intranet, 2: internet.
- remote
Write StringUrl - Target address for RemoteWrite.
- target String
- Target service name.
- topic
Id String - Log topic ID.
- auth
Info ClsRemote Write Task Auth Info - Authentication information block.
- cls
Remote StringWrite Task Id - ID of the resource.
- enable Double
- Task status. 0: disabled, 1: enabled.
- has
Services DoubleLog - Enable delivery service logging. 1: Disabled, 2: Enabled. Default value: 2.
- instance
Id String - Instance ID.
- name String
- RemoteWrite task name.
- virtual
Gateway DoubleType - Backend service type. 0: CVM, 1025: CLB.
- vpc
Id 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 stringUrl - Target address for RemoteWrite.
- target string
- Target service name.
- topic
Id string - Log topic ID.
- auth
Info ClsRemote Write Task Auth Info - Authentication information block.
- cls
Remote stringWrite Task Id - ID of the resource.
- enable number
- Task status. 0: disabled, 1: enabled.
- has
Services numberLog - Enable delivery service logging. 1: Disabled, 2: Enabled. Default value: 2.
- instance
Id string - Instance ID.
- name string
- RemoteWrite task name.
- virtual
Gateway numberType - Backend service type. 0: CVM, 1025: CLB.
- vpc
Id 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_ strurl - Target address for RemoteWrite.
- target str
- Target service name.
- topic_
id str - Log topic ID.
- auth_
info ClsRemote Write Task Auth Info Args - Authentication information block.
- cls_
remote_ strwrite_ task_ id - ID of the resource.
- enable float
- Task status. 0: disabled, 1: enabled.
- has_
services_ floatlog - Enable delivery service logging. 1: Disabled, 2: Enabled. Default value: 2.
- instance_
id str - Instance ID.
- name str
- RemoteWrite task name.
- virtual_
gateway_ floattype - Backend service type. 0: CVM, 1025: CLB.
- vpc_
id str - 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 StringUrl - Target address for RemoteWrite.
- target String
- Target service name.
- topic
Id String - Log topic ID.
- auth
Info Property Map - Authentication information block.
- cls
Remote StringWrite Task Id - ID of the resource.
- enable Number
- Task status. 0: disabled, 1: enabled.
- has
Services NumberLog - Enable delivery service logging. 1: Disabled, 2: Enabled. Default value: 2.
- instance
Id String - Instance ID.
- name String
- RemoteWrite task name.
- virtual
Gateway NumberType - Backend service type. 0: CVM, 1025: CLB.
- vpc
Id String - Private network ID.
Outputs
All input properties are implicitly available as output properties. Additionally, the ClsRemoteWriteTask resource produces the following output properties:
- Create
Time string - Task creation time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Logset
Id string - Logset ID.
- Status double
- Task running status. 1: running, 2: paused, 3: failed.
- Task
Id string - RemoteWrite task ID.
- Update
Time 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 float64
- Task running status. 1: running, 2: paused, 3: failed.
- Task
Id string - RemoteWrite task ID.
- Update
Time 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.
- create
Time String - Task creation time.
- id String
- The provider-assigned unique ID for this managed resource.
- logset
Id String - Logset ID.
- status Double
- Task running status. 1: running, 2: paused, 3: failed.
- task
Id String - RemoteWrite task ID.
- update
Time 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.
- 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.
- 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.
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) -> ClsRemoteWriteTaskfunc 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.
- Auth
Info ClsRemote Write Task Auth Info - Authentication information block.
- Auth
Type double - Authentication type. 0: no auth, 1: basic_auth, 2: token.
- Cls
Remote stringWrite Task Id - ID of the resource.
- Create
Time string - Task creation time.
- Enable double
- Task status. 0: disabled, 1: enabled.
- Has
Services doubleLog - 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 double - Network type. 1: intranet, 2: internet.
- Remote
Write stringUrl - Target address for RemoteWrite.
- Status double
- 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 doubleType - Backend service type. 0: CVM, 1025: CLB.
- Vpc
Id string - Private network ID.
- Auth
Info ClsRemote Write Task Auth Info Args - Authentication information block.
- Auth
Type float64 - Authentication type. 0: no auth, 1: basic_auth, 2: token.
- Cls
Remote stringWrite Task Id - ID of the resource.
- Create
Time string - Task creation time.
- Enable float64
- Task status. 0: disabled, 1: enabled.
- Has
Services float64Log - 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 float64 - Network type. 1: intranet, 2: internet.
- Remote
Write stringUrl - Target address for RemoteWrite.
- Status float64
- 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 float64Type - Backend service type. 0: CVM, 1025: CLB.
- Vpc
Id 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_ stringwrite_ task_ id - ID of the resource.
- create_
time string - Task creation time.
- enable number
- Task status. 0: disabled, 1: enabled.
- has_
services_ numberlog - 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_ stringurl - 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_ numbertype - Backend service type. 0: CVM, 1025: CLB.
- vpc_
id string - Private network ID.
- auth
Info ClsRemote Write Task Auth Info - Authentication information block.
- auth
Type Double - Authentication type. 0: no auth, 1: basic_auth, 2: token.
- cls
Remote StringWrite Task Id - ID of the resource.
- create
Time String - Task creation time.
- enable Double
- Task status. 0: disabled, 1: enabled.
- has
Services DoubleLog - 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 Double - Network type. 1: intranet, 2: internet.
- remote
Write StringUrl - Target address for RemoteWrite.
- status Double
- 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 DoubleType - Backend service type. 0: CVM, 1025: CLB.
- vpc
Id String - Private network ID.
- auth
Info ClsRemote Write Task Auth Info - Authentication information block.
- auth
Type number - Authentication type. 0: no auth, 1: basic_auth, 2: token.
- cls
Remote stringWrite Task Id - ID of the resource.
- create
Time string - Task creation time.
- enable number
- Task status. 0: disabled, 1: enabled.
- has
Services numberLog - 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 stringUrl - 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 numberType - Backend service type. 0: CVM, 1025: CLB.
- vpc
Id string - Private network ID.
- auth_
info ClsRemote Write Task Auth Info Args - Authentication information block.
- auth_
type float - Authentication type. 0: no auth, 1: basic_auth, 2: token.
- cls_
remote_ strwrite_ task_ id - ID of the resource.
- create_
time str - Task creation time.
- enable float
- Task status. 0: disabled, 1: enabled.
- has_
services_ floatlog - 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_ strurl - 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_ floattype - Backend service type. 0: CVM, 1025: CLB.
- vpc_
id str - Private network ID.
- auth
Info Property Map - Authentication information block.
- auth
Type Number - Authentication type. 0: no auth, 1: basic_auth, 2: token.
- cls
Remote StringWrite Task Id - ID of the resource.
- create
Time String - Task creation time.
- enable Number
- Task status. 0: disabled, 1: enabled.
- has
Services NumberLog - 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 StringUrl - 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 NumberType - Backend service type. 0: CVM, 1025: CLB.
- vpc
Id String - Private network ID.
Supporting Types
ClsRemoteWriteTaskAuthInfo, ClsRemoteWriteTaskAuthInfoArgs
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
tencentcloudTerraform Provider.
published on Monday, Sep 21, 2026 by tencentcloudstack