published on Monday, Sep 21, 2026 by tencentcloudstack
published on Monday, Sep 21, 2026 by tencentcloudstack
Provides a resource to create a cls cloud product log task
NOTE: In the destruction of resources, if cascading deletion of logset and topic is required, please set
is_delete_topicandis_delete_logsettotrue.
Example Usage
Create log delivery using the default newly created logset and topic
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.ClsCloudProductLogTaskV2("example", {
instanceId: "postgres-0an6hpv3",
assumerName: "PostgreSQL",
logType: "PostgreSQL-SLOW",
cloudProductRegion: "gz",
clsRegion: "ap-guangzhou",
logsetName: "tf-example",
topicName: "tf-example",
isDeleteTopic: true,
isDeleteLogset: true,
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.ClsCloudProductLogTaskV2("example",
instance_id="postgres-0an6hpv3",
assumer_name="PostgreSQL",
log_type="PostgreSQL-SLOW",
cloud_product_region="gz",
cls_region="ap-guangzhou",
logset_name="tf-example",
topic_name="tf-example",
is_delete_topic=True,
is_delete_logset=True)
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.NewClsCloudProductLogTaskV2(ctx, "example", &tencentcloud.ClsCloudProductLogTaskV2Args{
InstanceId: pulumi.String("postgres-0an6hpv3"),
AssumerName: pulumi.String("PostgreSQL"),
LogType: pulumi.String("PostgreSQL-SLOW"),
CloudProductRegion: pulumi.String("gz"),
ClsRegion: pulumi.String("ap-guangzhou"),
LogsetName: pulumi.String("tf-example"),
TopicName: pulumi.String("tf-example"),
IsDeleteTopic: pulumi.Bool(true),
IsDeleteLogset: pulumi.Bool(true),
})
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.ClsCloudProductLogTaskV2("example", new()
{
InstanceId = "postgres-0an6hpv3",
AssumerName = "PostgreSQL",
LogType = "PostgreSQL-SLOW",
CloudProductRegion = "gz",
ClsRegion = "ap-guangzhou",
LogsetName = "tf-example",
TopicName = "tf-example",
IsDeleteTopic = true,
IsDeleteLogset = true,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.ClsCloudProductLogTaskV2;
import com.pulumi.tencentcloud.ClsCloudProductLogTaskV2Args;
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 ClsCloudProductLogTaskV2("example", ClsCloudProductLogTaskV2Args.builder()
.instanceId("postgres-0an6hpv3")
.assumerName("PostgreSQL")
.logType("PostgreSQL-SLOW")
.cloudProductRegion("gz")
.clsRegion("ap-guangzhou")
.logsetName("tf-example")
.topicName("tf-example")
.isDeleteTopic(true)
.isDeleteLogset(true)
.build());
}
}
resources:
example:
type: tencentcloud:ClsCloudProductLogTaskV2
properties:
instanceId: postgres-0an6hpv3
assumerName: PostgreSQL
logType: PostgreSQL-SLOW
cloudProductRegion: gz
clsRegion: ap-guangzhou
logsetName: tf-example
topicName: tf-example
isDeleteTopic: true
isDeleteLogset: true
Example coming soon!
Create log delivery using existing logset and topic
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.ClsCloudProductLogTaskV2("example", {
instanceId: "postgres-0an6hpv3",
assumerName: "PostgreSQL",
logType: "PostgreSQL-SLOW",
cloudProductRegion: "gz",
clsRegion: "ap-guangzhou",
logsetId: "ca5b4f56-1174-4eee-bc4c-69e48e0e8c45",
topicId: "d8177ca9-466b-42f4-a110-5933daf0a83a",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.ClsCloudProductLogTaskV2("example",
instance_id="postgres-0an6hpv3",
assumer_name="PostgreSQL",
log_type="PostgreSQL-SLOW",
cloud_product_region="gz",
cls_region="ap-guangzhou",
logset_id="ca5b4f56-1174-4eee-bc4c-69e48e0e8c45",
topic_id="d8177ca9-466b-42f4-a110-5933daf0a83a")
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.NewClsCloudProductLogTaskV2(ctx, "example", &tencentcloud.ClsCloudProductLogTaskV2Args{
InstanceId: pulumi.String("postgres-0an6hpv3"),
AssumerName: pulumi.String("PostgreSQL"),
LogType: pulumi.String("PostgreSQL-SLOW"),
CloudProductRegion: pulumi.String("gz"),
ClsRegion: pulumi.String("ap-guangzhou"),
LogsetId: pulumi.String("ca5b4f56-1174-4eee-bc4c-69e48e0e8c45"),
TopicId: pulumi.String("d8177ca9-466b-42f4-a110-5933daf0a83a"),
})
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.ClsCloudProductLogTaskV2("example", new()
{
InstanceId = "postgres-0an6hpv3",
AssumerName = "PostgreSQL",
LogType = "PostgreSQL-SLOW",
CloudProductRegion = "gz",
ClsRegion = "ap-guangzhou",
LogsetId = "ca5b4f56-1174-4eee-bc4c-69e48e0e8c45",
TopicId = "d8177ca9-466b-42f4-a110-5933daf0a83a",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.ClsCloudProductLogTaskV2;
import com.pulumi.tencentcloud.ClsCloudProductLogTaskV2Args;
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 ClsCloudProductLogTaskV2("example", ClsCloudProductLogTaskV2Args.builder()
.instanceId("postgres-0an6hpv3")
.assumerName("PostgreSQL")
.logType("PostgreSQL-SLOW")
.cloudProductRegion("gz")
.clsRegion("ap-guangzhou")
.logsetId("ca5b4f56-1174-4eee-bc4c-69e48e0e8c45")
.topicId("d8177ca9-466b-42f4-a110-5933daf0a83a")
.build());
}
}
resources:
example:
type: tencentcloud:ClsCloudProductLogTaskV2
properties:
instanceId: postgres-0an6hpv3
assumerName: PostgreSQL
logType: PostgreSQL-SLOW
cloudProductRegion: gz
clsRegion: ap-guangzhou
logsetId: ca5b4f56-1174-4eee-bc4c-69e48e0e8c45
topicId: d8177ca9-466b-42f4-a110-5933daf0a83a
Example coming soon!
Create log delivery with tags bound to the associated logset and topic
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.ClsCloudProductLogTaskV2("example", {
instanceId: "postgres-0an6hpv3",
assumerName: "PostgreSQL",
logType: "PostgreSQL-SLOW",
cloudProductRegion: "gz",
clsRegion: "ap-guangzhou",
logsetName: "tf-example",
topicName: "tf-example",
tags: {
Environment: "production",
Team: "backend",
},
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.ClsCloudProductLogTaskV2("example",
instance_id="postgres-0an6hpv3",
assumer_name="PostgreSQL",
log_type="PostgreSQL-SLOW",
cloud_product_region="gz",
cls_region="ap-guangzhou",
logset_name="tf-example",
topic_name="tf-example",
tags={
"Environment": "production",
"Team": "backend",
})
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.NewClsCloudProductLogTaskV2(ctx, "example", &tencentcloud.ClsCloudProductLogTaskV2Args{
InstanceId: pulumi.String("postgres-0an6hpv3"),
AssumerName: pulumi.String("PostgreSQL"),
LogType: pulumi.String("PostgreSQL-SLOW"),
CloudProductRegion: pulumi.String("gz"),
ClsRegion: pulumi.String("ap-guangzhou"),
LogsetName: pulumi.String("tf-example"),
TopicName: pulumi.String("tf-example"),
Tags: pulumi.StringMap{
"Environment": pulumi.String("production"),
"Team": pulumi.String("backend"),
},
})
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.ClsCloudProductLogTaskV2("example", new()
{
InstanceId = "postgres-0an6hpv3",
AssumerName = "PostgreSQL",
LogType = "PostgreSQL-SLOW",
CloudProductRegion = "gz",
ClsRegion = "ap-guangzhou",
LogsetName = "tf-example",
TopicName = "tf-example",
Tags =
{
{ "Environment", "production" },
{ "Team", "backend" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.ClsCloudProductLogTaskV2;
import com.pulumi.tencentcloud.ClsCloudProductLogTaskV2Args;
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 ClsCloudProductLogTaskV2("example", ClsCloudProductLogTaskV2Args.builder()
.instanceId("postgres-0an6hpv3")
.assumerName("PostgreSQL")
.logType("PostgreSQL-SLOW")
.cloudProductRegion("gz")
.clsRegion("ap-guangzhou")
.logsetName("tf-example")
.topicName("tf-example")
.tags(Map.ofEntries(
Map.entry("Environment", "production"),
Map.entry("Team", "backend")
))
.build());
}
}
resources:
example:
type: tencentcloud:ClsCloudProductLogTaskV2
properties:
instanceId: postgres-0an6hpv3
assumerName: PostgreSQL
logType: PostgreSQL-SLOW
cloudProductRegion: gz
clsRegion: ap-guangzhou
logsetName: tf-example
topicName: tf-example
tags:
Environment: production
Team: backend
Example coming soon!
Create ClsCloudProductLogTaskV2 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ClsCloudProductLogTaskV2(name: string, args: ClsCloudProductLogTaskV2Args, opts?: CustomResourceOptions);@overload
def ClsCloudProductLogTaskV2(resource_name: str,
args: ClsCloudProductLogTaskV2Args,
opts: Optional[ResourceOptions] = None)
@overload
def ClsCloudProductLogTaskV2(resource_name: str,
opts: Optional[ResourceOptions] = None,
instance_id: Optional[str] = None,
cloud_product_region: Optional[str] = None,
log_type: Optional[str] = None,
cls_region: Optional[str] = None,
assumer_name: Optional[str] = None,
logset_id: Optional[str] = None,
force_delete: Optional[bool] = None,
is_delete_topic: Optional[bool] = None,
extend: Optional[str] = None,
cls_cloud_product_log_task_v2_id: Optional[str] = None,
is_delete_logset: Optional[bool] = None,
logset_name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
topic_id: Optional[str] = None,
topic_name: Optional[str] = None)func NewClsCloudProductLogTaskV2(ctx *Context, name string, args ClsCloudProductLogTaskV2Args, opts ...ResourceOption) (*ClsCloudProductLogTaskV2, error)public ClsCloudProductLogTaskV2(string name, ClsCloudProductLogTaskV2Args args, CustomResourceOptions? opts = null)
public ClsCloudProductLogTaskV2(String name, ClsCloudProductLogTaskV2Args args)
public ClsCloudProductLogTaskV2(String name, ClsCloudProductLogTaskV2Args args, CustomResourceOptions options)
type: tencentcloud:ClsCloudProductLogTaskV2
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "tencentcloud_cls_cloud_product_log_task_v2" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ClsCloudProductLogTaskV2Args
- 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 ClsCloudProductLogTaskV2Args
- 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 ClsCloudProductLogTaskV2Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ClsCloudProductLogTaskV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ClsCloudProductLogTaskV2Args
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ClsCloudProductLogTaskV2 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 ClsCloudProductLogTaskV2 resource accepts the following input properties:
- Assumer
Name string - Cloud product identification. Supported values: APIS, BH, CDB, CDS, CFS, CLB, CSIP, CWP, DCDB, DNSPod, EMR, HTTPDNS, KHL, llmsgw, MariaDB, MDP, MongoDB, PostgreSQL, TCSS, TDSQL-C, TDStore, TencentDB-Redis, TEO, TokenHub, TSE.
- Cloud
Product stringRegion - Cloud product region. The input format varies by log type:
- Short region code (e.g.,
gz,sh,bj): applies to APIS (all), CDB-AUDIT, TDSQL-C-AUDIT, TDMYSQL-SLOW, DCDB (all), MariaDB (all), PostgreSQL (all), MongoDB-AUDIT, TencentDB-Redis (all), EMR-OPERATION. - Long region code (e.g.,
ap-guangzhou,ap-shanghai): applies to CDS (all), MongoDB-SlowLog, MongoDB-ErrorLog, MongoDB-OperationLog, DNSPod-RESOLVELOG, HTTPDNS-RESOLVELOG, MDP-SSAI, CFS-AUDIT, TEO-INEFERENCE, CSIP, TCSS, TSE, CWP, KHL. - BH Polaris name: applies to BH (all), values:
overseas-polaris(Hong Kong and overseas),fsi-polaris(finance zone),general-polaris(general zone),intl-sg-prod(international site).
- Short region code (e.g.,
- Cls
Region string - CLS target region. Refer to the region list documentation for supported regions.
- Instance
Id string - Instance ID. Obtain it from the official documentation of the corresponding cloud product.
- Log
Type string - Log type, must correspond to the
assumer_namevalue. Mapping:- APIS: APIS-ACCESS
- BH: BH-COMMANDLOG, BH-FILELOG
- CDB: CDB-AUDIT
- CDS: CDS-AUDIT, CDS-RISK
- CFS: CFS-AUDIT
- CLB: CMR-SPEND
- CSIP: CSIP
- CWP: CWP
- DCDB: DCDB-AUDIT, DCDB-ERROR, DCDB-SLOW
- DNSPod: DNSPod-RESOLVELOG
- EMR: EMR-OPERATION
- HTTPDNS: HTTPDNS-RESOLVELOG
- MariaDB: MariaDB-AUDIT, MariaDB-ERROR, MariaDB-SLOW
- MDP: MDP-SSAI
- MongoDB: MongoDB-AUDIT, MongoDB-ErrorLog, MongoDB-OperationLog, MongoDB-SlowLog
- PostgreSQL: PostgreSQL-AUDIT, PostgreSQL-ERROR, PostgreSQL-SLOW
- TCSS: TCSS
- TDSQL-C: TDSQL-C-AUDIT
- TDStore: TDMYSQL-SLOW
- TencentDB-Redis: Redis-AUDIT, Redis-ERROR, Redis-SLOW
- TEO: TEO-INEFERENCE
- llmsgw: llmsgw-mcp-security-alarm.
- Cls
Cloud stringProduct Log Task V2Id - ID of the resource.
- Extend string
- Log configuration extension information, generally used to store additional log delivery configurations. Example:
{"ServiceName":["HDFS","KNOX","YARN","ZOOKEEPER"],"Policy":0}. - Force
Delete bool - It has been deprecated from version 1.82.102. Please use
is_delete_topicoris_delete_logsetinstead. Indicate whether to forcibly delete the corresponding logset and topic. If set to true, it will be forcibly deleted. Default is false. - Is
Delete boolLogset - Whether to delete the associated Logset when deleting the log collection task. This field only takes effect when
force_deleteis false. If the Logset has other Topics, it will not be deleted. Default is false. - Is
Delete boolTopic - Whether to delete the associated Topic when deleting the log collection task. This field only takes effect when
force_deleteis false. Default is false. - Logset
Id string - Log set ID. Obtain it via the DescribeLogsets API.
- Logset
Name string - Log set name, required when
logset_idis not specified. If the log set does not exist, it will be created automatically. - Dictionary<string, string>
- Tag description list. Up to 10 tag key-value pairs are supported, and each tag key can only be bound to the same resource once. Tags are bound to the associated log topic.
- Topic
Id string - Log topic ID. Obtain it via the DescribeTopics API.
- Topic
Name string - Log topic name, required when
topic_idis not specified. If the log topic does not exist, it will be created automatically.
- Assumer
Name string - Cloud product identification. Supported values: APIS, BH, CDB, CDS, CFS, CLB, CSIP, CWP, DCDB, DNSPod, EMR, HTTPDNS, KHL, llmsgw, MariaDB, MDP, MongoDB, PostgreSQL, TCSS, TDSQL-C, TDStore, TencentDB-Redis, TEO, TokenHub, TSE.
- Cloud
Product stringRegion - Cloud product region. The input format varies by log type:
- Short region code (e.g.,
gz,sh,bj): applies to APIS (all), CDB-AUDIT, TDSQL-C-AUDIT, TDMYSQL-SLOW, DCDB (all), MariaDB (all), PostgreSQL (all), MongoDB-AUDIT, TencentDB-Redis (all), EMR-OPERATION. - Long region code (e.g.,
ap-guangzhou,ap-shanghai): applies to CDS (all), MongoDB-SlowLog, MongoDB-ErrorLog, MongoDB-OperationLog, DNSPod-RESOLVELOG, HTTPDNS-RESOLVELOG, MDP-SSAI, CFS-AUDIT, TEO-INEFERENCE, CSIP, TCSS, TSE, CWP, KHL. - BH Polaris name: applies to BH (all), values:
overseas-polaris(Hong Kong and overseas),fsi-polaris(finance zone),general-polaris(general zone),intl-sg-prod(international site).
- Short region code (e.g.,
- Cls
Region string - CLS target region. Refer to the region list documentation for supported regions.
- Instance
Id string - Instance ID. Obtain it from the official documentation of the corresponding cloud product.
- Log
Type string - Log type, must correspond to the
assumer_namevalue. Mapping:- APIS: APIS-ACCESS
- BH: BH-COMMANDLOG, BH-FILELOG
- CDB: CDB-AUDIT
- CDS: CDS-AUDIT, CDS-RISK
- CFS: CFS-AUDIT
- CLB: CMR-SPEND
- CSIP: CSIP
- CWP: CWP
- DCDB: DCDB-AUDIT, DCDB-ERROR, DCDB-SLOW
- DNSPod: DNSPod-RESOLVELOG
- EMR: EMR-OPERATION
- HTTPDNS: HTTPDNS-RESOLVELOG
- MariaDB: MariaDB-AUDIT, MariaDB-ERROR, MariaDB-SLOW
- MDP: MDP-SSAI
- MongoDB: MongoDB-AUDIT, MongoDB-ErrorLog, MongoDB-OperationLog, MongoDB-SlowLog
- PostgreSQL: PostgreSQL-AUDIT, PostgreSQL-ERROR, PostgreSQL-SLOW
- TCSS: TCSS
- TDSQL-C: TDSQL-C-AUDIT
- TDStore: TDMYSQL-SLOW
- TencentDB-Redis: Redis-AUDIT, Redis-ERROR, Redis-SLOW
- TEO: TEO-INEFERENCE
- llmsgw: llmsgw-mcp-security-alarm.
- Cls
Cloud stringProduct Log Task V2Id - ID of the resource.
- Extend string
- Log configuration extension information, generally used to store additional log delivery configurations. Example:
{"ServiceName":["HDFS","KNOX","YARN","ZOOKEEPER"],"Policy":0}. - Force
Delete bool - It has been deprecated from version 1.82.102. Please use
is_delete_topicoris_delete_logsetinstead. Indicate whether to forcibly delete the corresponding logset and topic. If set to true, it will be forcibly deleted. Default is false. - Is
Delete boolLogset - Whether to delete the associated Logset when deleting the log collection task. This field only takes effect when
force_deleteis false. If the Logset has other Topics, it will not be deleted. Default is false. - Is
Delete boolTopic - Whether to delete the associated Topic when deleting the log collection task. This field only takes effect when
force_deleteis false. Default is false. - Logset
Id string - Log set ID. Obtain it via the DescribeLogsets API.
- Logset
Name string - Log set name, required when
logset_idis not specified. If the log set does not exist, it will be created automatically. - map[string]string
- Tag description list. Up to 10 tag key-value pairs are supported, and each tag key can only be bound to the same resource once. Tags are bound to the associated log topic.
- Topic
Id string - Log topic ID. Obtain it via the DescribeTopics API.
- Topic
Name string - Log topic name, required when
topic_idis not specified. If the log topic does not exist, it will be created automatically.
- assumer_
name string - Cloud product identification. Supported values: APIS, BH, CDB, CDS, CFS, CLB, CSIP, CWP, DCDB, DNSPod, EMR, HTTPDNS, KHL, llmsgw, MariaDB, MDP, MongoDB, PostgreSQL, TCSS, TDSQL-C, TDStore, TencentDB-Redis, TEO, TokenHub, TSE.
- cloud_
product_ stringregion - Cloud product region. The input format varies by log type:
- Short region code (e.g.,
gz,sh,bj): applies to APIS (all), CDB-AUDIT, TDSQL-C-AUDIT, TDMYSQL-SLOW, DCDB (all), MariaDB (all), PostgreSQL (all), MongoDB-AUDIT, TencentDB-Redis (all), EMR-OPERATION. - Long region code (e.g.,
ap-guangzhou,ap-shanghai): applies to CDS (all), MongoDB-SlowLog, MongoDB-ErrorLog, MongoDB-OperationLog, DNSPod-RESOLVELOG, HTTPDNS-RESOLVELOG, MDP-SSAI, CFS-AUDIT, TEO-INEFERENCE, CSIP, TCSS, TSE, CWP, KHL. - BH Polaris name: applies to BH (all), values:
overseas-polaris(Hong Kong and overseas),fsi-polaris(finance zone),general-polaris(general zone),intl-sg-prod(international site).
- Short region code (e.g.,
- cls_
region string - CLS target region. Refer to the region list documentation for supported regions.
- instance_
id string - Instance ID. Obtain it from the official documentation of the corresponding cloud product.
- log_
type string - Log type, must correspond to the
assumer_namevalue. Mapping:- APIS: APIS-ACCESS
- BH: BH-COMMANDLOG, BH-FILELOG
- CDB: CDB-AUDIT
- CDS: CDS-AUDIT, CDS-RISK
- CFS: CFS-AUDIT
- CLB: CMR-SPEND
- CSIP: CSIP
- CWP: CWP
- DCDB: DCDB-AUDIT, DCDB-ERROR, DCDB-SLOW
- DNSPod: DNSPod-RESOLVELOG
- EMR: EMR-OPERATION
- HTTPDNS: HTTPDNS-RESOLVELOG
- MariaDB: MariaDB-AUDIT, MariaDB-ERROR, MariaDB-SLOW
- MDP: MDP-SSAI
- MongoDB: MongoDB-AUDIT, MongoDB-ErrorLog, MongoDB-OperationLog, MongoDB-SlowLog
- PostgreSQL: PostgreSQL-AUDIT, PostgreSQL-ERROR, PostgreSQL-SLOW
- TCSS: TCSS
- TDSQL-C: TDSQL-C-AUDIT
- TDStore: TDMYSQL-SLOW
- TencentDB-Redis: Redis-AUDIT, Redis-ERROR, Redis-SLOW
- TEO: TEO-INEFERENCE
- llmsgw: llmsgw-mcp-security-alarm.
- cls_
cloud_ stringproduct_ log_ task_ v2_ id - ID of the resource.
- extend string
- Log configuration extension information, generally used to store additional log delivery configurations. Example:
{"ServiceName":["HDFS","KNOX","YARN","ZOOKEEPER"],"Policy":0}. - force_
delete bool - It has been deprecated from version 1.82.102. Please use
is_delete_topicoris_delete_logsetinstead. Indicate whether to forcibly delete the corresponding logset and topic. If set to true, it will be forcibly deleted. Default is false. - is_
delete_ boollogset - Whether to delete the associated Logset when deleting the log collection task. This field only takes effect when
force_deleteis false. If the Logset has other Topics, it will not be deleted. Default is false. - is_
delete_ booltopic - Whether to delete the associated Topic when deleting the log collection task. This field only takes effect when
force_deleteis false. Default is false. - logset_
id string - Log set ID. Obtain it via the DescribeLogsets API.
- logset_
name string - Log set name, required when
logset_idis not specified. If the log set does not exist, it will be created automatically. - map(string)
- Tag description list. Up to 10 tag key-value pairs are supported, and each tag key can only be bound to the same resource once. Tags are bound to the associated log topic.
- topic_
id string - Log topic ID. Obtain it via the DescribeTopics API.
- topic_
name string - Log topic name, required when
topic_idis not specified. If the log topic does not exist, it will be created automatically.
- assumer
Name String - Cloud product identification. Supported values: APIS, BH, CDB, CDS, CFS, CLB, CSIP, CWP, DCDB, DNSPod, EMR, HTTPDNS, KHL, llmsgw, MariaDB, MDP, MongoDB, PostgreSQL, TCSS, TDSQL-C, TDStore, TencentDB-Redis, TEO, TokenHub, TSE.
- cloud
Product StringRegion - Cloud product region. The input format varies by log type:
- Short region code (e.g.,
gz,sh,bj): applies to APIS (all), CDB-AUDIT, TDSQL-C-AUDIT, TDMYSQL-SLOW, DCDB (all), MariaDB (all), PostgreSQL (all), MongoDB-AUDIT, TencentDB-Redis (all), EMR-OPERATION. - Long region code (e.g.,
ap-guangzhou,ap-shanghai): applies to CDS (all), MongoDB-SlowLog, MongoDB-ErrorLog, MongoDB-OperationLog, DNSPod-RESOLVELOG, HTTPDNS-RESOLVELOG, MDP-SSAI, CFS-AUDIT, TEO-INEFERENCE, CSIP, TCSS, TSE, CWP, KHL. - BH Polaris name: applies to BH (all), values:
overseas-polaris(Hong Kong and overseas),fsi-polaris(finance zone),general-polaris(general zone),intl-sg-prod(international site).
- Short region code (e.g.,
- cls
Region String - CLS target region. Refer to the region list documentation for supported regions.
- instance
Id String - Instance ID. Obtain it from the official documentation of the corresponding cloud product.
- log
Type String - Log type, must correspond to the
assumer_namevalue. Mapping:- APIS: APIS-ACCESS
- BH: BH-COMMANDLOG, BH-FILELOG
- CDB: CDB-AUDIT
- CDS: CDS-AUDIT, CDS-RISK
- CFS: CFS-AUDIT
- CLB: CMR-SPEND
- CSIP: CSIP
- CWP: CWP
- DCDB: DCDB-AUDIT, DCDB-ERROR, DCDB-SLOW
- DNSPod: DNSPod-RESOLVELOG
- EMR: EMR-OPERATION
- HTTPDNS: HTTPDNS-RESOLVELOG
- MariaDB: MariaDB-AUDIT, MariaDB-ERROR, MariaDB-SLOW
- MDP: MDP-SSAI
- MongoDB: MongoDB-AUDIT, MongoDB-ErrorLog, MongoDB-OperationLog, MongoDB-SlowLog
- PostgreSQL: PostgreSQL-AUDIT, PostgreSQL-ERROR, PostgreSQL-SLOW
- TCSS: TCSS
- TDSQL-C: TDSQL-C-AUDIT
- TDStore: TDMYSQL-SLOW
- TencentDB-Redis: Redis-AUDIT, Redis-ERROR, Redis-SLOW
- TEO: TEO-INEFERENCE
- llmsgw: llmsgw-mcp-security-alarm.
- cls
Cloud StringProduct Log Task V2Id - ID of the resource.
- extend String
- Log configuration extension information, generally used to store additional log delivery configurations. Example:
{"ServiceName":["HDFS","KNOX","YARN","ZOOKEEPER"],"Policy":0}. - force
Delete Boolean - It has been deprecated from version 1.82.102. Please use
is_delete_topicoris_delete_logsetinstead. Indicate whether to forcibly delete the corresponding logset and topic. If set to true, it will be forcibly deleted. Default is false. - is
Delete BooleanLogset - Whether to delete the associated Logset when deleting the log collection task. This field only takes effect when
force_deleteis false. If the Logset has other Topics, it will not be deleted. Default is false. - is
Delete BooleanTopic - Whether to delete the associated Topic when deleting the log collection task. This field only takes effect when
force_deleteis false. Default is false. - logset
Id String - Log set ID. Obtain it via the DescribeLogsets API.
- logset
Name String - Log set name, required when
logset_idis not specified. If the log set does not exist, it will be created automatically. - Map<String,String>
- Tag description list. Up to 10 tag key-value pairs are supported, and each tag key can only be bound to the same resource once. Tags are bound to the associated log topic.
- topic
Id String - Log topic ID. Obtain it via the DescribeTopics API.
- topic
Name String - Log topic name, required when
topic_idis not specified. If the log topic does not exist, it will be created automatically.
- assumer
Name string - Cloud product identification. Supported values: APIS, BH, CDB, CDS, CFS, CLB, CSIP, CWP, DCDB, DNSPod, EMR, HTTPDNS, KHL, llmsgw, MariaDB, MDP, MongoDB, PostgreSQL, TCSS, TDSQL-C, TDStore, TencentDB-Redis, TEO, TokenHub, TSE.
- cloud
Product stringRegion - Cloud product region. The input format varies by log type:
- Short region code (e.g.,
gz,sh,bj): applies to APIS (all), CDB-AUDIT, TDSQL-C-AUDIT, TDMYSQL-SLOW, DCDB (all), MariaDB (all), PostgreSQL (all), MongoDB-AUDIT, TencentDB-Redis (all), EMR-OPERATION. - Long region code (e.g.,
ap-guangzhou,ap-shanghai): applies to CDS (all), MongoDB-SlowLog, MongoDB-ErrorLog, MongoDB-OperationLog, DNSPod-RESOLVELOG, HTTPDNS-RESOLVELOG, MDP-SSAI, CFS-AUDIT, TEO-INEFERENCE, CSIP, TCSS, TSE, CWP, KHL. - BH Polaris name: applies to BH (all), values:
overseas-polaris(Hong Kong and overseas),fsi-polaris(finance zone),general-polaris(general zone),intl-sg-prod(international site).
- Short region code (e.g.,
- cls
Region string - CLS target region. Refer to the region list documentation for supported regions.
- instance
Id string - Instance ID. Obtain it from the official documentation of the corresponding cloud product.
- log
Type string - Log type, must correspond to the
assumer_namevalue. Mapping:- APIS: APIS-ACCESS
- BH: BH-COMMANDLOG, BH-FILELOG
- CDB: CDB-AUDIT
- CDS: CDS-AUDIT, CDS-RISK
- CFS: CFS-AUDIT
- CLB: CMR-SPEND
- CSIP: CSIP
- CWP: CWP
- DCDB: DCDB-AUDIT, DCDB-ERROR, DCDB-SLOW
- DNSPod: DNSPod-RESOLVELOG
- EMR: EMR-OPERATION
- HTTPDNS: HTTPDNS-RESOLVELOG
- MariaDB: MariaDB-AUDIT, MariaDB-ERROR, MariaDB-SLOW
- MDP: MDP-SSAI
- MongoDB: MongoDB-AUDIT, MongoDB-ErrorLog, MongoDB-OperationLog, MongoDB-SlowLog
- PostgreSQL: PostgreSQL-AUDIT, PostgreSQL-ERROR, PostgreSQL-SLOW
- TCSS: TCSS
- TDSQL-C: TDSQL-C-AUDIT
- TDStore: TDMYSQL-SLOW
- TencentDB-Redis: Redis-AUDIT, Redis-ERROR, Redis-SLOW
- TEO: TEO-INEFERENCE
- llmsgw: llmsgw-mcp-security-alarm.
- cls
Cloud stringProduct Log Task V2Id - ID of the resource.
- extend string
- Log configuration extension information, generally used to store additional log delivery configurations. Example:
{"ServiceName":["HDFS","KNOX","YARN","ZOOKEEPER"],"Policy":0}. - force
Delete boolean - It has been deprecated from version 1.82.102. Please use
is_delete_topicoris_delete_logsetinstead. Indicate whether to forcibly delete the corresponding logset and topic. If set to true, it will be forcibly deleted. Default is false. - is
Delete booleanLogset - Whether to delete the associated Logset when deleting the log collection task. This field only takes effect when
force_deleteis false. If the Logset has other Topics, it will not be deleted. Default is false. - is
Delete booleanTopic - Whether to delete the associated Topic when deleting the log collection task. This field only takes effect when
force_deleteis false. Default is false. - logset
Id string - Log set ID. Obtain it via the DescribeLogsets API.
- logset
Name string - Log set name, required when
logset_idis not specified. If the log set does not exist, it will be created automatically. - {[key: string]: string}
- Tag description list. Up to 10 tag key-value pairs are supported, and each tag key can only be bound to the same resource once. Tags are bound to the associated log topic.
- topic
Id string - Log topic ID. Obtain it via the DescribeTopics API.
- topic
Name string - Log topic name, required when
topic_idis not specified. If the log topic does not exist, it will be created automatically.
- assumer_
name str - Cloud product identification. Supported values: APIS, BH, CDB, CDS, CFS, CLB, CSIP, CWP, DCDB, DNSPod, EMR, HTTPDNS, KHL, llmsgw, MariaDB, MDP, MongoDB, PostgreSQL, TCSS, TDSQL-C, TDStore, TencentDB-Redis, TEO, TokenHub, TSE.
- cloud_
product_ strregion - Cloud product region. The input format varies by log type:
- Short region code (e.g.,
gz,sh,bj): applies to APIS (all), CDB-AUDIT, TDSQL-C-AUDIT, TDMYSQL-SLOW, DCDB (all), MariaDB (all), PostgreSQL (all), MongoDB-AUDIT, TencentDB-Redis (all), EMR-OPERATION. - Long region code (e.g.,
ap-guangzhou,ap-shanghai): applies to CDS (all), MongoDB-SlowLog, MongoDB-ErrorLog, MongoDB-OperationLog, DNSPod-RESOLVELOG, HTTPDNS-RESOLVELOG, MDP-SSAI, CFS-AUDIT, TEO-INEFERENCE, CSIP, TCSS, TSE, CWP, KHL. - BH Polaris name: applies to BH (all), values:
overseas-polaris(Hong Kong and overseas),fsi-polaris(finance zone),general-polaris(general zone),intl-sg-prod(international site).
- Short region code (e.g.,
- cls_
region str - CLS target region. Refer to the region list documentation for supported regions.
- instance_
id str - Instance ID. Obtain it from the official documentation of the corresponding cloud product.
- log_
type str - Log type, must correspond to the
assumer_namevalue. Mapping:- APIS: APIS-ACCESS
- BH: BH-COMMANDLOG, BH-FILELOG
- CDB: CDB-AUDIT
- CDS: CDS-AUDIT, CDS-RISK
- CFS: CFS-AUDIT
- CLB: CMR-SPEND
- CSIP: CSIP
- CWP: CWP
- DCDB: DCDB-AUDIT, DCDB-ERROR, DCDB-SLOW
- DNSPod: DNSPod-RESOLVELOG
- EMR: EMR-OPERATION
- HTTPDNS: HTTPDNS-RESOLVELOG
- MariaDB: MariaDB-AUDIT, MariaDB-ERROR, MariaDB-SLOW
- MDP: MDP-SSAI
- MongoDB: MongoDB-AUDIT, MongoDB-ErrorLog, MongoDB-OperationLog, MongoDB-SlowLog
- PostgreSQL: PostgreSQL-AUDIT, PostgreSQL-ERROR, PostgreSQL-SLOW
- TCSS: TCSS
- TDSQL-C: TDSQL-C-AUDIT
- TDStore: TDMYSQL-SLOW
- TencentDB-Redis: Redis-AUDIT, Redis-ERROR, Redis-SLOW
- TEO: TEO-INEFERENCE
- llmsgw: llmsgw-mcp-security-alarm.
- cls_
cloud_ strproduct_ log_ task_ v2_ id - ID of the resource.
- extend str
- Log configuration extension information, generally used to store additional log delivery configurations. Example:
{"ServiceName":["HDFS","KNOX","YARN","ZOOKEEPER"],"Policy":0}. - force_
delete bool - It has been deprecated from version 1.82.102. Please use
is_delete_topicoris_delete_logsetinstead. Indicate whether to forcibly delete the corresponding logset and topic. If set to true, it will be forcibly deleted. Default is false. - is_
delete_ boollogset - Whether to delete the associated Logset when deleting the log collection task. This field only takes effect when
force_deleteis false. If the Logset has other Topics, it will not be deleted. Default is false. - is_
delete_ booltopic - Whether to delete the associated Topic when deleting the log collection task. This field only takes effect when
force_deleteis false. Default is false. - logset_
id str - Log set ID. Obtain it via the DescribeLogsets API.
- logset_
name str - Log set name, required when
logset_idis not specified. If the log set does not exist, it will be created automatically. - Mapping[str, str]
- Tag description list. Up to 10 tag key-value pairs are supported, and each tag key can only be bound to the same resource once. Tags are bound to the associated log topic.
- topic_
id str - Log topic ID. Obtain it via the DescribeTopics API.
- topic_
name str - Log topic name, required when
topic_idis not specified. If the log topic does not exist, it will be created automatically.
- assumer
Name String - Cloud product identification. Supported values: APIS, BH, CDB, CDS, CFS, CLB, CSIP, CWP, DCDB, DNSPod, EMR, HTTPDNS, KHL, llmsgw, MariaDB, MDP, MongoDB, PostgreSQL, TCSS, TDSQL-C, TDStore, TencentDB-Redis, TEO, TokenHub, TSE.
- cloud
Product StringRegion - Cloud product region. The input format varies by log type:
- Short region code (e.g.,
gz,sh,bj): applies to APIS (all), CDB-AUDIT, TDSQL-C-AUDIT, TDMYSQL-SLOW, DCDB (all), MariaDB (all), PostgreSQL (all), MongoDB-AUDIT, TencentDB-Redis (all), EMR-OPERATION. - Long region code (e.g.,
ap-guangzhou,ap-shanghai): applies to CDS (all), MongoDB-SlowLog, MongoDB-ErrorLog, MongoDB-OperationLog, DNSPod-RESOLVELOG, HTTPDNS-RESOLVELOG, MDP-SSAI, CFS-AUDIT, TEO-INEFERENCE, CSIP, TCSS, TSE, CWP, KHL. - BH Polaris name: applies to BH (all), values:
overseas-polaris(Hong Kong and overseas),fsi-polaris(finance zone),general-polaris(general zone),intl-sg-prod(international site).
- Short region code (e.g.,
- cls
Region String - CLS target region. Refer to the region list documentation for supported regions.
- instance
Id String - Instance ID. Obtain it from the official documentation of the corresponding cloud product.
- log
Type String - Log type, must correspond to the
assumer_namevalue. Mapping:- APIS: APIS-ACCESS
- BH: BH-COMMANDLOG, BH-FILELOG
- CDB: CDB-AUDIT
- CDS: CDS-AUDIT, CDS-RISK
- CFS: CFS-AUDIT
- CLB: CMR-SPEND
- CSIP: CSIP
- CWP: CWP
- DCDB: DCDB-AUDIT, DCDB-ERROR, DCDB-SLOW
- DNSPod: DNSPod-RESOLVELOG
- EMR: EMR-OPERATION
- HTTPDNS: HTTPDNS-RESOLVELOG
- MariaDB: MariaDB-AUDIT, MariaDB-ERROR, MariaDB-SLOW
- MDP: MDP-SSAI
- MongoDB: MongoDB-AUDIT, MongoDB-ErrorLog, MongoDB-OperationLog, MongoDB-SlowLog
- PostgreSQL: PostgreSQL-AUDIT, PostgreSQL-ERROR, PostgreSQL-SLOW
- TCSS: TCSS
- TDSQL-C: TDSQL-C-AUDIT
- TDStore: TDMYSQL-SLOW
- TencentDB-Redis: Redis-AUDIT, Redis-ERROR, Redis-SLOW
- TEO: TEO-INEFERENCE
- llmsgw: llmsgw-mcp-security-alarm.
- cls
Cloud StringProduct Log Task V2Id - ID of the resource.
- extend String
- Log configuration extension information, generally used to store additional log delivery configurations. Example:
{"ServiceName":["HDFS","KNOX","YARN","ZOOKEEPER"],"Policy":0}. - force
Delete Boolean - It has been deprecated from version 1.82.102. Please use
is_delete_topicoris_delete_logsetinstead. Indicate whether to forcibly delete the corresponding logset and topic. If set to true, it will be forcibly deleted. Default is false. - is
Delete BooleanLogset - Whether to delete the associated Logset when deleting the log collection task. This field only takes effect when
force_deleteis false. If the Logset has other Topics, it will not be deleted. Default is false. - is
Delete BooleanTopic - Whether to delete the associated Topic when deleting the log collection task. This field only takes effect when
force_deleteis false. Default is false. - logset
Id String - Log set ID. Obtain it via the DescribeLogsets API.
- logset
Name String - Log set name, required when
logset_idis not specified. If the log set does not exist, it will be created automatically. - Map<String>
- Tag description list. Up to 10 tag key-value pairs are supported, and each tag key can only be bound to the same resource once. Tags are bound to the associated log topic.
- topic
Id String - Log topic ID. Obtain it via the DescribeTopics API.
- topic
Name String - Log topic name, required when
topic_idis not specified. If the log topic does not exist, it will be created automatically.
Outputs
All input properties are implicitly available as output properties. Additionally, the ClsCloudProductLogTaskV2 resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ClsCloudProductLogTaskV2 Resource
Get an existing ClsCloudProductLogTaskV2 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?: ClsCloudProductLogTaskV2State, opts?: CustomResourceOptions): ClsCloudProductLogTaskV2@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
assumer_name: Optional[str] = None,
cloud_product_region: Optional[str] = None,
cls_cloud_product_log_task_v2_id: Optional[str] = None,
cls_region: Optional[str] = None,
extend: Optional[str] = None,
force_delete: Optional[bool] = None,
instance_id: Optional[str] = None,
is_delete_logset: Optional[bool] = None,
is_delete_topic: Optional[bool] = None,
log_type: Optional[str] = None,
logset_id: Optional[str] = None,
logset_name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
topic_id: Optional[str] = None,
topic_name: Optional[str] = None) -> ClsCloudProductLogTaskV2func GetClsCloudProductLogTaskV2(ctx *Context, name string, id IDInput, state *ClsCloudProductLogTaskV2State, opts ...ResourceOption) (*ClsCloudProductLogTaskV2, error)public static ClsCloudProductLogTaskV2 Get(string name, Input<string> id, ClsCloudProductLogTaskV2State? state, CustomResourceOptions? opts = null)public static ClsCloudProductLogTaskV2 get(String name, Output<String> id, ClsCloudProductLogTaskV2State state, CustomResourceOptions options)resources: _: type: tencentcloud:ClsCloudProductLogTaskV2 get: id: ${id}import {
to = tencentcloud_cls_cloud_product_log_task_v2.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.
- Assumer
Name string - Cloud product identification. Supported values: APIS, BH, CDB, CDS, CFS, CLB, CSIP, CWP, DCDB, DNSPod, EMR, HTTPDNS, KHL, llmsgw, MariaDB, MDP, MongoDB, PostgreSQL, TCSS, TDSQL-C, TDStore, TencentDB-Redis, TEO, TokenHub, TSE.
- Cloud
Product stringRegion - Cloud product region. The input format varies by log type:
- Short region code (e.g.,
gz,sh,bj): applies to APIS (all), CDB-AUDIT, TDSQL-C-AUDIT, TDMYSQL-SLOW, DCDB (all), MariaDB (all), PostgreSQL (all), MongoDB-AUDIT, TencentDB-Redis (all), EMR-OPERATION. - Long region code (e.g.,
ap-guangzhou,ap-shanghai): applies to CDS (all), MongoDB-SlowLog, MongoDB-ErrorLog, MongoDB-OperationLog, DNSPod-RESOLVELOG, HTTPDNS-RESOLVELOG, MDP-SSAI, CFS-AUDIT, TEO-INEFERENCE, CSIP, TCSS, TSE, CWP, KHL. - BH Polaris name: applies to BH (all), values:
overseas-polaris(Hong Kong and overseas),fsi-polaris(finance zone),general-polaris(general zone),intl-sg-prod(international site).
- Short region code (e.g.,
- Cls
Cloud stringProduct Log Task V2Id - ID of the resource.
- Cls
Region string - CLS target region. Refer to the region list documentation for supported regions.
- Extend string
- Log configuration extension information, generally used to store additional log delivery configurations. Example:
{"ServiceName":["HDFS","KNOX","YARN","ZOOKEEPER"],"Policy":0}. - Force
Delete bool - It has been deprecated from version 1.82.102. Please use
is_delete_topicoris_delete_logsetinstead. Indicate whether to forcibly delete the corresponding logset and topic. If set to true, it will be forcibly deleted. Default is false. - Instance
Id string - Instance ID. Obtain it from the official documentation of the corresponding cloud product.
- Is
Delete boolLogset - Whether to delete the associated Logset when deleting the log collection task. This field only takes effect when
force_deleteis false. If the Logset has other Topics, it will not be deleted. Default is false. - Is
Delete boolTopic - Whether to delete the associated Topic when deleting the log collection task. This field only takes effect when
force_deleteis false. Default is false. - Log
Type string - Log type, must correspond to the
assumer_namevalue. Mapping:- APIS: APIS-ACCESS
- BH: BH-COMMANDLOG, BH-FILELOG
- CDB: CDB-AUDIT
- CDS: CDS-AUDIT, CDS-RISK
- CFS: CFS-AUDIT
- CLB: CMR-SPEND
- CSIP: CSIP
- CWP: CWP
- DCDB: DCDB-AUDIT, DCDB-ERROR, DCDB-SLOW
- DNSPod: DNSPod-RESOLVELOG
- EMR: EMR-OPERATION
- HTTPDNS: HTTPDNS-RESOLVELOG
- MariaDB: MariaDB-AUDIT, MariaDB-ERROR, MariaDB-SLOW
- MDP: MDP-SSAI
- MongoDB: MongoDB-AUDIT, MongoDB-ErrorLog, MongoDB-OperationLog, MongoDB-SlowLog
- PostgreSQL: PostgreSQL-AUDIT, PostgreSQL-ERROR, PostgreSQL-SLOW
- TCSS: TCSS
- TDSQL-C: TDSQL-C-AUDIT
- TDStore: TDMYSQL-SLOW
- TencentDB-Redis: Redis-AUDIT, Redis-ERROR, Redis-SLOW
- TEO: TEO-INEFERENCE
- llmsgw: llmsgw-mcp-security-alarm.
- Logset
Id string - Log set ID. Obtain it via the DescribeLogsets API.
- Logset
Name string - Log set name, required when
logset_idis not specified. If the log set does not exist, it will be created automatically. - Dictionary<string, string>
- Tag description list. Up to 10 tag key-value pairs are supported, and each tag key can only be bound to the same resource once. Tags are bound to the associated log topic.
- Topic
Id string - Log topic ID. Obtain it via the DescribeTopics API.
- Topic
Name string - Log topic name, required when
topic_idis not specified. If the log topic does not exist, it will be created automatically.
- Assumer
Name string - Cloud product identification. Supported values: APIS, BH, CDB, CDS, CFS, CLB, CSIP, CWP, DCDB, DNSPod, EMR, HTTPDNS, KHL, llmsgw, MariaDB, MDP, MongoDB, PostgreSQL, TCSS, TDSQL-C, TDStore, TencentDB-Redis, TEO, TokenHub, TSE.
- Cloud
Product stringRegion - Cloud product region. The input format varies by log type:
- Short region code (e.g.,
gz,sh,bj): applies to APIS (all), CDB-AUDIT, TDSQL-C-AUDIT, TDMYSQL-SLOW, DCDB (all), MariaDB (all), PostgreSQL (all), MongoDB-AUDIT, TencentDB-Redis (all), EMR-OPERATION. - Long region code (e.g.,
ap-guangzhou,ap-shanghai): applies to CDS (all), MongoDB-SlowLog, MongoDB-ErrorLog, MongoDB-OperationLog, DNSPod-RESOLVELOG, HTTPDNS-RESOLVELOG, MDP-SSAI, CFS-AUDIT, TEO-INEFERENCE, CSIP, TCSS, TSE, CWP, KHL. - BH Polaris name: applies to BH (all), values:
overseas-polaris(Hong Kong and overseas),fsi-polaris(finance zone),general-polaris(general zone),intl-sg-prod(international site).
- Short region code (e.g.,
- Cls
Cloud stringProduct Log Task V2Id - ID of the resource.
- Cls
Region string - CLS target region. Refer to the region list documentation for supported regions.
- Extend string
- Log configuration extension information, generally used to store additional log delivery configurations. Example:
{"ServiceName":["HDFS","KNOX","YARN","ZOOKEEPER"],"Policy":0}. - Force
Delete bool - It has been deprecated from version 1.82.102. Please use
is_delete_topicoris_delete_logsetinstead. Indicate whether to forcibly delete the corresponding logset and topic. If set to true, it will be forcibly deleted. Default is false. - Instance
Id string - Instance ID. Obtain it from the official documentation of the corresponding cloud product.
- Is
Delete boolLogset - Whether to delete the associated Logset when deleting the log collection task. This field only takes effect when
force_deleteis false. If the Logset has other Topics, it will not be deleted. Default is false. - Is
Delete boolTopic - Whether to delete the associated Topic when deleting the log collection task. This field only takes effect when
force_deleteis false. Default is false. - Log
Type string - Log type, must correspond to the
assumer_namevalue. Mapping:- APIS: APIS-ACCESS
- BH: BH-COMMANDLOG, BH-FILELOG
- CDB: CDB-AUDIT
- CDS: CDS-AUDIT, CDS-RISK
- CFS: CFS-AUDIT
- CLB: CMR-SPEND
- CSIP: CSIP
- CWP: CWP
- DCDB: DCDB-AUDIT, DCDB-ERROR, DCDB-SLOW
- DNSPod: DNSPod-RESOLVELOG
- EMR: EMR-OPERATION
- HTTPDNS: HTTPDNS-RESOLVELOG
- MariaDB: MariaDB-AUDIT, MariaDB-ERROR, MariaDB-SLOW
- MDP: MDP-SSAI
- MongoDB: MongoDB-AUDIT, MongoDB-ErrorLog, MongoDB-OperationLog, MongoDB-SlowLog
- PostgreSQL: PostgreSQL-AUDIT, PostgreSQL-ERROR, PostgreSQL-SLOW
- TCSS: TCSS
- TDSQL-C: TDSQL-C-AUDIT
- TDStore: TDMYSQL-SLOW
- TencentDB-Redis: Redis-AUDIT, Redis-ERROR, Redis-SLOW
- TEO: TEO-INEFERENCE
- llmsgw: llmsgw-mcp-security-alarm.
- Logset
Id string - Log set ID. Obtain it via the DescribeLogsets API.
- Logset
Name string - Log set name, required when
logset_idis not specified. If the log set does not exist, it will be created automatically. - map[string]string
- Tag description list. Up to 10 tag key-value pairs are supported, and each tag key can only be bound to the same resource once. Tags are bound to the associated log topic.
- Topic
Id string - Log topic ID. Obtain it via the DescribeTopics API.
- Topic
Name string - Log topic name, required when
topic_idis not specified. If the log topic does not exist, it will be created automatically.
- assumer_
name string - Cloud product identification. Supported values: APIS, BH, CDB, CDS, CFS, CLB, CSIP, CWP, DCDB, DNSPod, EMR, HTTPDNS, KHL, llmsgw, MariaDB, MDP, MongoDB, PostgreSQL, TCSS, TDSQL-C, TDStore, TencentDB-Redis, TEO, TokenHub, TSE.
- cloud_
product_ stringregion - Cloud product region. The input format varies by log type:
- Short region code (e.g.,
gz,sh,bj): applies to APIS (all), CDB-AUDIT, TDSQL-C-AUDIT, TDMYSQL-SLOW, DCDB (all), MariaDB (all), PostgreSQL (all), MongoDB-AUDIT, TencentDB-Redis (all), EMR-OPERATION. - Long region code (e.g.,
ap-guangzhou,ap-shanghai): applies to CDS (all), MongoDB-SlowLog, MongoDB-ErrorLog, MongoDB-OperationLog, DNSPod-RESOLVELOG, HTTPDNS-RESOLVELOG, MDP-SSAI, CFS-AUDIT, TEO-INEFERENCE, CSIP, TCSS, TSE, CWP, KHL. - BH Polaris name: applies to BH (all), values:
overseas-polaris(Hong Kong and overseas),fsi-polaris(finance zone),general-polaris(general zone),intl-sg-prod(international site).
- Short region code (e.g.,
- cls_
cloud_ stringproduct_ log_ task_ v2_ id - ID of the resource.
- cls_
region string - CLS target region. Refer to the region list documentation for supported regions.
- extend string
- Log configuration extension information, generally used to store additional log delivery configurations. Example:
{"ServiceName":["HDFS","KNOX","YARN","ZOOKEEPER"],"Policy":0}. - force_
delete bool - It has been deprecated from version 1.82.102. Please use
is_delete_topicoris_delete_logsetinstead. Indicate whether to forcibly delete the corresponding logset and topic. If set to true, it will be forcibly deleted. Default is false. - instance_
id string - Instance ID. Obtain it from the official documentation of the corresponding cloud product.
- is_
delete_ boollogset - Whether to delete the associated Logset when deleting the log collection task. This field only takes effect when
force_deleteis false. If the Logset has other Topics, it will not be deleted. Default is false. - is_
delete_ booltopic - Whether to delete the associated Topic when deleting the log collection task. This field only takes effect when
force_deleteis false. Default is false. - log_
type string - Log type, must correspond to the
assumer_namevalue. Mapping:- APIS: APIS-ACCESS
- BH: BH-COMMANDLOG, BH-FILELOG
- CDB: CDB-AUDIT
- CDS: CDS-AUDIT, CDS-RISK
- CFS: CFS-AUDIT
- CLB: CMR-SPEND
- CSIP: CSIP
- CWP: CWP
- DCDB: DCDB-AUDIT, DCDB-ERROR, DCDB-SLOW
- DNSPod: DNSPod-RESOLVELOG
- EMR: EMR-OPERATION
- HTTPDNS: HTTPDNS-RESOLVELOG
- MariaDB: MariaDB-AUDIT, MariaDB-ERROR, MariaDB-SLOW
- MDP: MDP-SSAI
- MongoDB: MongoDB-AUDIT, MongoDB-ErrorLog, MongoDB-OperationLog, MongoDB-SlowLog
- PostgreSQL: PostgreSQL-AUDIT, PostgreSQL-ERROR, PostgreSQL-SLOW
- TCSS: TCSS
- TDSQL-C: TDSQL-C-AUDIT
- TDStore: TDMYSQL-SLOW
- TencentDB-Redis: Redis-AUDIT, Redis-ERROR, Redis-SLOW
- TEO: TEO-INEFERENCE
- llmsgw: llmsgw-mcp-security-alarm.
- logset_
id string - Log set ID. Obtain it via the DescribeLogsets API.
- logset_
name string - Log set name, required when
logset_idis not specified. If the log set does not exist, it will be created automatically. - map(string)
- Tag description list. Up to 10 tag key-value pairs are supported, and each tag key can only be bound to the same resource once. Tags are bound to the associated log topic.
- topic_
id string - Log topic ID. Obtain it via the DescribeTopics API.
- topic_
name string - Log topic name, required when
topic_idis not specified. If the log topic does not exist, it will be created automatically.
- assumer
Name String - Cloud product identification. Supported values: APIS, BH, CDB, CDS, CFS, CLB, CSIP, CWP, DCDB, DNSPod, EMR, HTTPDNS, KHL, llmsgw, MariaDB, MDP, MongoDB, PostgreSQL, TCSS, TDSQL-C, TDStore, TencentDB-Redis, TEO, TokenHub, TSE.
- cloud
Product StringRegion - Cloud product region. The input format varies by log type:
- Short region code (e.g.,
gz,sh,bj): applies to APIS (all), CDB-AUDIT, TDSQL-C-AUDIT, TDMYSQL-SLOW, DCDB (all), MariaDB (all), PostgreSQL (all), MongoDB-AUDIT, TencentDB-Redis (all), EMR-OPERATION. - Long region code (e.g.,
ap-guangzhou,ap-shanghai): applies to CDS (all), MongoDB-SlowLog, MongoDB-ErrorLog, MongoDB-OperationLog, DNSPod-RESOLVELOG, HTTPDNS-RESOLVELOG, MDP-SSAI, CFS-AUDIT, TEO-INEFERENCE, CSIP, TCSS, TSE, CWP, KHL. - BH Polaris name: applies to BH (all), values:
overseas-polaris(Hong Kong and overseas),fsi-polaris(finance zone),general-polaris(general zone),intl-sg-prod(international site).
- Short region code (e.g.,
- cls
Cloud StringProduct Log Task V2Id - ID of the resource.
- cls
Region String - CLS target region. Refer to the region list documentation for supported regions.
- extend String
- Log configuration extension information, generally used to store additional log delivery configurations. Example:
{"ServiceName":["HDFS","KNOX","YARN","ZOOKEEPER"],"Policy":0}. - force
Delete Boolean - It has been deprecated from version 1.82.102. Please use
is_delete_topicoris_delete_logsetinstead. Indicate whether to forcibly delete the corresponding logset and topic. If set to true, it will be forcibly deleted. Default is false. - instance
Id String - Instance ID. Obtain it from the official documentation of the corresponding cloud product.
- is
Delete BooleanLogset - Whether to delete the associated Logset when deleting the log collection task. This field only takes effect when
force_deleteis false. If the Logset has other Topics, it will not be deleted. Default is false. - is
Delete BooleanTopic - Whether to delete the associated Topic when deleting the log collection task. This field only takes effect when
force_deleteis false. Default is false. - log
Type String - Log type, must correspond to the
assumer_namevalue. Mapping:- APIS: APIS-ACCESS
- BH: BH-COMMANDLOG, BH-FILELOG
- CDB: CDB-AUDIT
- CDS: CDS-AUDIT, CDS-RISK
- CFS: CFS-AUDIT
- CLB: CMR-SPEND
- CSIP: CSIP
- CWP: CWP
- DCDB: DCDB-AUDIT, DCDB-ERROR, DCDB-SLOW
- DNSPod: DNSPod-RESOLVELOG
- EMR: EMR-OPERATION
- HTTPDNS: HTTPDNS-RESOLVELOG
- MariaDB: MariaDB-AUDIT, MariaDB-ERROR, MariaDB-SLOW
- MDP: MDP-SSAI
- MongoDB: MongoDB-AUDIT, MongoDB-ErrorLog, MongoDB-OperationLog, MongoDB-SlowLog
- PostgreSQL: PostgreSQL-AUDIT, PostgreSQL-ERROR, PostgreSQL-SLOW
- TCSS: TCSS
- TDSQL-C: TDSQL-C-AUDIT
- TDStore: TDMYSQL-SLOW
- TencentDB-Redis: Redis-AUDIT, Redis-ERROR, Redis-SLOW
- TEO: TEO-INEFERENCE
- llmsgw: llmsgw-mcp-security-alarm.
- logset
Id String - Log set ID. Obtain it via the DescribeLogsets API.
- logset
Name String - Log set name, required when
logset_idis not specified. If the log set does not exist, it will be created automatically. - Map<String,String>
- Tag description list. Up to 10 tag key-value pairs are supported, and each tag key can only be bound to the same resource once. Tags are bound to the associated log topic.
- topic
Id String - Log topic ID. Obtain it via the DescribeTopics API.
- topic
Name String - Log topic name, required when
topic_idis not specified. If the log topic does not exist, it will be created automatically.
- assumer
Name string - Cloud product identification. Supported values: APIS, BH, CDB, CDS, CFS, CLB, CSIP, CWP, DCDB, DNSPod, EMR, HTTPDNS, KHL, llmsgw, MariaDB, MDP, MongoDB, PostgreSQL, TCSS, TDSQL-C, TDStore, TencentDB-Redis, TEO, TokenHub, TSE.
- cloud
Product stringRegion - Cloud product region. The input format varies by log type:
- Short region code (e.g.,
gz,sh,bj): applies to APIS (all), CDB-AUDIT, TDSQL-C-AUDIT, TDMYSQL-SLOW, DCDB (all), MariaDB (all), PostgreSQL (all), MongoDB-AUDIT, TencentDB-Redis (all), EMR-OPERATION. - Long region code (e.g.,
ap-guangzhou,ap-shanghai): applies to CDS (all), MongoDB-SlowLog, MongoDB-ErrorLog, MongoDB-OperationLog, DNSPod-RESOLVELOG, HTTPDNS-RESOLVELOG, MDP-SSAI, CFS-AUDIT, TEO-INEFERENCE, CSIP, TCSS, TSE, CWP, KHL. - BH Polaris name: applies to BH (all), values:
overseas-polaris(Hong Kong and overseas),fsi-polaris(finance zone),general-polaris(general zone),intl-sg-prod(international site).
- Short region code (e.g.,
- cls
Cloud stringProduct Log Task V2Id - ID of the resource.
- cls
Region string - CLS target region. Refer to the region list documentation for supported regions.
- extend string
- Log configuration extension information, generally used to store additional log delivery configurations. Example:
{"ServiceName":["HDFS","KNOX","YARN","ZOOKEEPER"],"Policy":0}. - force
Delete boolean - It has been deprecated from version 1.82.102. Please use
is_delete_topicoris_delete_logsetinstead. Indicate whether to forcibly delete the corresponding logset and topic. If set to true, it will be forcibly deleted. Default is false. - instance
Id string - Instance ID. Obtain it from the official documentation of the corresponding cloud product.
- is
Delete booleanLogset - Whether to delete the associated Logset when deleting the log collection task. This field only takes effect when
force_deleteis false. If the Logset has other Topics, it will not be deleted. Default is false. - is
Delete booleanTopic - Whether to delete the associated Topic when deleting the log collection task. This field only takes effect when
force_deleteis false. Default is false. - log
Type string - Log type, must correspond to the
assumer_namevalue. Mapping:- APIS: APIS-ACCESS
- BH: BH-COMMANDLOG, BH-FILELOG
- CDB: CDB-AUDIT
- CDS: CDS-AUDIT, CDS-RISK
- CFS: CFS-AUDIT
- CLB: CMR-SPEND
- CSIP: CSIP
- CWP: CWP
- DCDB: DCDB-AUDIT, DCDB-ERROR, DCDB-SLOW
- DNSPod: DNSPod-RESOLVELOG
- EMR: EMR-OPERATION
- HTTPDNS: HTTPDNS-RESOLVELOG
- MariaDB: MariaDB-AUDIT, MariaDB-ERROR, MariaDB-SLOW
- MDP: MDP-SSAI
- MongoDB: MongoDB-AUDIT, MongoDB-ErrorLog, MongoDB-OperationLog, MongoDB-SlowLog
- PostgreSQL: PostgreSQL-AUDIT, PostgreSQL-ERROR, PostgreSQL-SLOW
- TCSS: TCSS
- TDSQL-C: TDSQL-C-AUDIT
- TDStore: TDMYSQL-SLOW
- TencentDB-Redis: Redis-AUDIT, Redis-ERROR, Redis-SLOW
- TEO: TEO-INEFERENCE
- llmsgw: llmsgw-mcp-security-alarm.
- logset
Id string - Log set ID. Obtain it via the DescribeLogsets API.
- logset
Name string - Log set name, required when
logset_idis not specified. If the log set does not exist, it will be created automatically. - {[key: string]: string}
- Tag description list. Up to 10 tag key-value pairs are supported, and each tag key can only be bound to the same resource once. Tags are bound to the associated log topic.
- topic
Id string - Log topic ID. Obtain it via the DescribeTopics API.
- topic
Name string - Log topic name, required when
topic_idis not specified. If the log topic does not exist, it will be created automatically.
- assumer_
name str - Cloud product identification. Supported values: APIS, BH, CDB, CDS, CFS, CLB, CSIP, CWP, DCDB, DNSPod, EMR, HTTPDNS, KHL, llmsgw, MariaDB, MDP, MongoDB, PostgreSQL, TCSS, TDSQL-C, TDStore, TencentDB-Redis, TEO, TokenHub, TSE.
- cloud_
product_ strregion - Cloud product region. The input format varies by log type:
- Short region code (e.g.,
gz,sh,bj): applies to APIS (all), CDB-AUDIT, TDSQL-C-AUDIT, TDMYSQL-SLOW, DCDB (all), MariaDB (all), PostgreSQL (all), MongoDB-AUDIT, TencentDB-Redis (all), EMR-OPERATION. - Long region code (e.g.,
ap-guangzhou,ap-shanghai): applies to CDS (all), MongoDB-SlowLog, MongoDB-ErrorLog, MongoDB-OperationLog, DNSPod-RESOLVELOG, HTTPDNS-RESOLVELOG, MDP-SSAI, CFS-AUDIT, TEO-INEFERENCE, CSIP, TCSS, TSE, CWP, KHL. - BH Polaris name: applies to BH (all), values:
overseas-polaris(Hong Kong and overseas),fsi-polaris(finance zone),general-polaris(general zone),intl-sg-prod(international site).
- Short region code (e.g.,
- cls_
cloud_ strproduct_ log_ task_ v2_ id - ID of the resource.
- cls_
region str - CLS target region. Refer to the region list documentation for supported regions.
- extend str
- Log configuration extension information, generally used to store additional log delivery configurations. Example:
{"ServiceName":["HDFS","KNOX","YARN","ZOOKEEPER"],"Policy":0}. - force_
delete bool - It has been deprecated from version 1.82.102. Please use
is_delete_topicoris_delete_logsetinstead. Indicate whether to forcibly delete the corresponding logset and topic. If set to true, it will be forcibly deleted. Default is false. - instance_
id str - Instance ID. Obtain it from the official documentation of the corresponding cloud product.
- is_
delete_ boollogset - Whether to delete the associated Logset when deleting the log collection task. This field only takes effect when
force_deleteis false. If the Logset has other Topics, it will not be deleted. Default is false. - is_
delete_ booltopic - Whether to delete the associated Topic when deleting the log collection task. This field only takes effect when
force_deleteis false. Default is false. - log_
type str - Log type, must correspond to the
assumer_namevalue. Mapping:- APIS: APIS-ACCESS
- BH: BH-COMMANDLOG, BH-FILELOG
- CDB: CDB-AUDIT
- CDS: CDS-AUDIT, CDS-RISK
- CFS: CFS-AUDIT
- CLB: CMR-SPEND
- CSIP: CSIP
- CWP: CWP
- DCDB: DCDB-AUDIT, DCDB-ERROR, DCDB-SLOW
- DNSPod: DNSPod-RESOLVELOG
- EMR: EMR-OPERATION
- HTTPDNS: HTTPDNS-RESOLVELOG
- MariaDB: MariaDB-AUDIT, MariaDB-ERROR, MariaDB-SLOW
- MDP: MDP-SSAI
- MongoDB: MongoDB-AUDIT, MongoDB-ErrorLog, MongoDB-OperationLog, MongoDB-SlowLog
- PostgreSQL: PostgreSQL-AUDIT, PostgreSQL-ERROR, PostgreSQL-SLOW
- TCSS: TCSS
- TDSQL-C: TDSQL-C-AUDIT
- TDStore: TDMYSQL-SLOW
- TencentDB-Redis: Redis-AUDIT, Redis-ERROR, Redis-SLOW
- TEO: TEO-INEFERENCE
- llmsgw: llmsgw-mcp-security-alarm.
- logset_
id str - Log set ID. Obtain it via the DescribeLogsets API.
- logset_
name str - Log set name, required when
logset_idis not specified. If the log set does not exist, it will be created automatically. - Mapping[str, str]
- Tag description list. Up to 10 tag key-value pairs are supported, and each tag key can only be bound to the same resource once. Tags are bound to the associated log topic.
- topic_
id str - Log topic ID. Obtain it via the DescribeTopics API.
- topic_
name str - Log topic name, required when
topic_idis not specified. If the log topic does not exist, it will be created automatically.
- assumer
Name String - Cloud product identification. Supported values: APIS, BH, CDB, CDS, CFS, CLB, CSIP, CWP, DCDB, DNSPod, EMR, HTTPDNS, KHL, llmsgw, MariaDB, MDP, MongoDB, PostgreSQL, TCSS, TDSQL-C, TDStore, TencentDB-Redis, TEO, TokenHub, TSE.
- cloud
Product StringRegion - Cloud product region. The input format varies by log type:
- Short region code (e.g.,
gz,sh,bj): applies to APIS (all), CDB-AUDIT, TDSQL-C-AUDIT, TDMYSQL-SLOW, DCDB (all), MariaDB (all), PostgreSQL (all), MongoDB-AUDIT, TencentDB-Redis (all), EMR-OPERATION. - Long region code (e.g.,
ap-guangzhou,ap-shanghai): applies to CDS (all), MongoDB-SlowLog, MongoDB-ErrorLog, MongoDB-OperationLog, DNSPod-RESOLVELOG, HTTPDNS-RESOLVELOG, MDP-SSAI, CFS-AUDIT, TEO-INEFERENCE, CSIP, TCSS, TSE, CWP, KHL. - BH Polaris name: applies to BH (all), values:
overseas-polaris(Hong Kong and overseas),fsi-polaris(finance zone),general-polaris(general zone),intl-sg-prod(international site).
- Short region code (e.g.,
- cls
Cloud StringProduct Log Task V2Id - ID of the resource.
- cls
Region String - CLS target region. Refer to the region list documentation for supported regions.
- extend String
- Log configuration extension information, generally used to store additional log delivery configurations. Example:
{"ServiceName":["HDFS","KNOX","YARN","ZOOKEEPER"],"Policy":0}. - force
Delete Boolean - It has been deprecated from version 1.82.102. Please use
is_delete_topicoris_delete_logsetinstead. Indicate whether to forcibly delete the corresponding logset and topic. If set to true, it will be forcibly deleted. Default is false. - instance
Id String - Instance ID. Obtain it from the official documentation of the corresponding cloud product.
- is
Delete BooleanLogset - Whether to delete the associated Logset when deleting the log collection task. This field only takes effect when
force_deleteis false. If the Logset has other Topics, it will not be deleted. Default is false. - is
Delete BooleanTopic - Whether to delete the associated Topic when deleting the log collection task. This field only takes effect when
force_deleteis false. Default is false. - log
Type String - Log type, must correspond to the
assumer_namevalue. Mapping:- APIS: APIS-ACCESS
- BH: BH-COMMANDLOG, BH-FILELOG
- CDB: CDB-AUDIT
- CDS: CDS-AUDIT, CDS-RISK
- CFS: CFS-AUDIT
- CLB: CMR-SPEND
- CSIP: CSIP
- CWP: CWP
- DCDB: DCDB-AUDIT, DCDB-ERROR, DCDB-SLOW
- DNSPod: DNSPod-RESOLVELOG
- EMR: EMR-OPERATION
- HTTPDNS: HTTPDNS-RESOLVELOG
- MariaDB: MariaDB-AUDIT, MariaDB-ERROR, MariaDB-SLOW
- MDP: MDP-SSAI
- MongoDB: MongoDB-AUDIT, MongoDB-ErrorLog, MongoDB-OperationLog, MongoDB-SlowLog
- PostgreSQL: PostgreSQL-AUDIT, PostgreSQL-ERROR, PostgreSQL-SLOW
- TCSS: TCSS
- TDSQL-C: TDSQL-C-AUDIT
- TDStore: TDMYSQL-SLOW
- TencentDB-Redis: Redis-AUDIT, Redis-ERROR, Redis-SLOW
- TEO: TEO-INEFERENCE
- llmsgw: llmsgw-mcp-security-alarm.
- logset
Id String - Log set ID. Obtain it via the DescribeLogsets API.
- logset
Name String - Log set name, required when
logset_idis not specified. If the log set does not exist, it will be created automatically. - Map<String>
- Tag description list. Up to 10 tag key-value pairs are supported, and each tag key can only be bound to the same resource once. Tags are bound to the associated log topic.
- topic
Id String - Log topic ID. Obtain it via the DescribeTopics API.
- topic
Name String - Log topic name, required when
topic_idis not specified. If the log topic does not exist, it will be created automatically.
Import
cls cloud product log task can be imported using the id, e.g.
$ pulumi import tencentcloud:index/clsCloudProductLogTaskV2:ClsCloudProductLogTaskV2 example postgres-1p7xvpc1#PostgreSQL#PostgreSQL-SLOW#gz
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