tencentcloud.ClsCloudProductLogTask
Explore with Pulumi AI
Provides a resource to create a cls cloud product log task
NOTE: Using this resource will create new
logset
andtopic
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.ClsCloudProductLogTask("example", {
assumerName: "PostgreSQL",
cloudProductRegion: "gz",
clsRegion: "ap-guangzhou",
instanceId: "postgres-1p7xvpc1",
logType: "PostgreSQL-SLOW",
logsetName: "tf-example",
topicName: "tf-example",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.ClsCloudProductLogTask("example",
assumer_name="PostgreSQL",
cloud_product_region="gz",
cls_region="ap-guangzhou",
instance_id="postgres-1p7xvpc1",
log_type="PostgreSQL-SLOW",
logset_name="tf-example",
topic_name="tf-example")
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.NewClsCloudProductLogTask(ctx, "example", &tencentcloud.ClsCloudProductLogTaskArgs{
AssumerName: pulumi.String("PostgreSQL"),
CloudProductRegion: pulumi.String("gz"),
ClsRegion: pulumi.String("ap-guangzhou"),
InstanceId: pulumi.String("postgres-1p7xvpc1"),
LogType: pulumi.String("PostgreSQL-SLOW"),
LogsetName: pulumi.String("tf-example"),
TopicName: pulumi.String("tf-example"),
})
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.ClsCloudProductLogTask("example", new()
{
AssumerName = "PostgreSQL",
CloudProductRegion = "gz",
ClsRegion = "ap-guangzhou",
InstanceId = "postgres-1p7xvpc1",
LogType = "PostgreSQL-SLOW",
LogsetName = "tf-example",
TopicName = "tf-example",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.ClsCloudProductLogTask;
import com.pulumi.tencentcloud.ClsCloudProductLogTaskArgs;
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 ClsCloudProductLogTask("example", ClsCloudProductLogTaskArgs.builder()
.assumerName("PostgreSQL")
.cloudProductRegion("gz")
.clsRegion("ap-guangzhou")
.instanceId("postgres-1p7xvpc1")
.logType("PostgreSQL-SLOW")
.logsetName("tf-example")
.topicName("tf-example")
.build());
}
}
resources:
example:
type: tencentcloud:ClsCloudProductLogTask
properties:
assumerName: PostgreSQL
cloudProductRegion: gz
clsRegion: ap-guangzhou
instanceId: postgres-1p7xvpc1
logType: PostgreSQL-SLOW
logsetName: tf-example
topicName: tf-example
Create ClsCloudProductLogTask Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ClsCloudProductLogTask(name: string, args: ClsCloudProductLogTaskArgs, opts?: CustomResourceOptions);
@overload
def ClsCloudProductLogTask(resource_name: str,
args: ClsCloudProductLogTaskArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ClsCloudProductLogTask(resource_name: str,
opts: Optional[ResourceOptions] = None,
assumer_name: Optional[str] = None,
cloud_product_region: Optional[str] = None,
cls_region: Optional[str] = None,
instance_id: Optional[str] = None,
log_type: Optional[str] = None,
cls_cloud_product_log_task_id: Optional[str] = None,
extend: Optional[str] = None,
logset_name: Optional[str] = None,
topic_name: Optional[str] = None)
func NewClsCloudProductLogTask(ctx *Context, name string, args ClsCloudProductLogTaskArgs, opts ...ResourceOption) (*ClsCloudProductLogTask, error)
public ClsCloudProductLogTask(string name, ClsCloudProductLogTaskArgs args, CustomResourceOptions? opts = null)
public ClsCloudProductLogTask(String name, ClsCloudProductLogTaskArgs args)
public ClsCloudProductLogTask(String name, ClsCloudProductLogTaskArgs args, CustomResourceOptions options)
type: tencentcloud:ClsCloudProductLogTask
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ClsCloudProductLogTaskArgs
- 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 ClsCloudProductLogTaskArgs
- 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 ClsCloudProductLogTaskArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ClsCloudProductLogTaskArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ClsCloudProductLogTaskArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ClsCloudProductLogTask 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 ClsCloudProductLogTask resource accepts the following input properties:
- Assumer
Name string - Cloud product identification, Values: CDS, CWP, CDB, TDSQL-C, MongoDB, TDStore, DCDB, MariaDB, PostgreSQL, BH, APIS.
- Cloud
Product stringRegion - Cloud product region. There are differences in the input format of different log types in different regions. Please refer to the following example:
- CDS(all log type): ap-guangzhou
- CDB-AUDIT: gz
- TDSQL-C-AUDIT: gz
- MongoDB-AUDIT: gz
- MongoDB-SlowLog: ap-guangzhou
- MongoDB-ErrorLog: ap-guangzhou
- TDMYSQL-SLOW: gz
- DCDB(all log type): gz
- MariaDB(all log type): gz
- PostgreSQL(all log type): gz
- BH(all log type): overseas-polaris(Domestic sites overseas)/fsi-polaris(Domestic sites finance)/general-polaris(Domestic sites)/intl-sg-prod(International sites)
- APIS(all log type): gz.
- Cls
Region string - CLS target region.
- Instance
Id string - Instance ID.
- Log
Type string - Log type, Values: CDS-AUDIT, CDS-RISK, CDB-AUDIT, TDSQL-C-AUDIT, MongoDB-AUDIT, MongoDB-SlowLog, MongoDB-ErrorLog, TDMYSQL-SLOW, DCDB-AUDIT, DCDB-SLOW, DCDB-ERROR, MariaDB-AUDIT, MariaDB-SLOW, MariaDB-ERROR, PostgreSQL-SLOW, PostgreSQL-ERROR, PostgreSQL-AUDIT, BH-FILELOG, BH-COMMANDLOG, APIS-ACCESS.
- Cls
Cloud stringProduct Log Task Id - ID of the resource.
- Extend string
- Log configuration extension information, generally used to store additional log delivery configurations.
- Logset
Name string - Log set name, it will be automatically created.
- Topic
Name string - The name of the log topic, it will be automatically created.
- Assumer
Name string - Cloud product identification, Values: CDS, CWP, CDB, TDSQL-C, MongoDB, TDStore, DCDB, MariaDB, PostgreSQL, BH, APIS.
- Cloud
Product stringRegion - Cloud product region. There are differences in the input format of different log types in different regions. Please refer to the following example:
- CDS(all log type): ap-guangzhou
- CDB-AUDIT: gz
- TDSQL-C-AUDIT: gz
- MongoDB-AUDIT: gz
- MongoDB-SlowLog: ap-guangzhou
- MongoDB-ErrorLog: ap-guangzhou
- TDMYSQL-SLOW: gz
- DCDB(all log type): gz
- MariaDB(all log type): gz
- PostgreSQL(all log type): gz
- BH(all log type): overseas-polaris(Domestic sites overseas)/fsi-polaris(Domestic sites finance)/general-polaris(Domestic sites)/intl-sg-prod(International sites)
- APIS(all log type): gz.
- Cls
Region string - CLS target region.
- Instance
Id string - Instance ID.
- Log
Type string - Log type, Values: CDS-AUDIT, CDS-RISK, CDB-AUDIT, TDSQL-C-AUDIT, MongoDB-AUDIT, MongoDB-SlowLog, MongoDB-ErrorLog, TDMYSQL-SLOW, DCDB-AUDIT, DCDB-SLOW, DCDB-ERROR, MariaDB-AUDIT, MariaDB-SLOW, MariaDB-ERROR, PostgreSQL-SLOW, PostgreSQL-ERROR, PostgreSQL-AUDIT, BH-FILELOG, BH-COMMANDLOG, APIS-ACCESS.
- Cls
Cloud stringProduct Log Task Id - ID of the resource.
- Extend string
- Log configuration extension information, generally used to store additional log delivery configurations.
- Logset
Name string - Log set name, it will be automatically created.
- Topic
Name string - The name of the log topic, it will be automatically created.
- assumer
Name String - Cloud product identification, Values: CDS, CWP, CDB, TDSQL-C, MongoDB, TDStore, DCDB, MariaDB, PostgreSQL, BH, APIS.
- cloud
Product StringRegion - Cloud product region. There are differences in the input format of different log types in different regions. Please refer to the following example:
- CDS(all log type): ap-guangzhou
- CDB-AUDIT: gz
- TDSQL-C-AUDIT: gz
- MongoDB-AUDIT: gz
- MongoDB-SlowLog: ap-guangzhou
- MongoDB-ErrorLog: ap-guangzhou
- TDMYSQL-SLOW: gz
- DCDB(all log type): gz
- MariaDB(all log type): gz
- PostgreSQL(all log type): gz
- BH(all log type): overseas-polaris(Domestic sites overseas)/fsi-polaris(Domestic sites finance)/general-polaris(Domestic sites)/intl-sg-prod(International sites)
- APIS(all log type): gz.
- cls
Region String - CLS target region.
- instance
Id String - Instance ID.
- log
Type String - Log type, Values: CDS-AUDIT, CDS-RISK, CDB-AUDIT, TDSQL-C-AUDIT, MongoDB-AUDIT, MongoDB-SlowLog, MongoDB-ErrorLog, TDMYSQL-SLOW, DCDB-AUDIT, DCDB-SLOW, DCDB-ERROR, MariaDB-AUDIT, MariaDB-SLOW, MariaDB-ERROR, PostgreSQL-SLOW, PostgreSQL-ERROR, PostgreSQL-AUDIT, BH-FILELOG, BH-COMMANDLOG, APIS-ACCESS.
- cls
Cloud StringProduct Log Task Id - ID of the resource.
- extend String
- Log configuration extension information, generally used to store additional log delivery configurations.
- logset
Name String - Log set name, it will be automatically created.
- topic
Name String - The name of the log topic, it will be automatically created.
- assumer
Name string - Cloud product identification, Values: CDS, CWP, CDB, TDSQL-C, MongoDB, TDStore, DCDB, MariaDB, PostgreSQL, BH, APIS.
- cloud
Product stringRegion - Cloud product region. There are differences in the input format of different log types in different regions. Please refer to the following example:
- CDS(all log type): ap-guangzhou
- CDB-AUDIT: gz
- TDSQL-C-AUDIT: gz
- MongoDB-AUDIT: gz
- MongoDB-SlowLog: ap-guangzhou
- MongoDB-ErrorLog: ap-guangzhou
- TDMYSQL-SLOW: gz
- DCDB(all log type): gz
- MariaDB(all log type): gz
- PostgreSQL(all log type): gz
- BH(all log type): overseas-polaris(Domestic sites overseas)/fsi-polaris(Domestic sites finance)/general-polaris(Domestic sites)/intl-sg-prod(International sites)
- APIS(all log type): gz.
- cls
Region string - CLS target region.
- instance
Id string - Instance ID.
- log
Type string - Log type, Values: CDS-AUDIT, CDS-RISK, CDB-AUDIT, TDSQL-C-AUDIT, MongoDB-AUDIT, MongoDB-SlowLog, MongoDB-ErrorLog, TDMYSQL-SLOW, DCDB-AUDIT, DCDB-SLOW, DCDB-ERROR, MariaDB-AUDIT, MariaDB-SLOW, MariaDB-ERROR, PostgreSQL-SLOW, PostgreSQL-ERROR, PostgreSQL-AUDIT, BH-FILELOG, BH-COMMANDLOG, APIS-ACCESS.
- cls
Cloud stringProduct Log Task Id - ID of the resource.
- extend string
- Log configuration extension information, generally used to store additional log delivery configurations.
- logset
Name string - Log set name, it will be automatically created.
- topic
Name string - The name of the log topic, it will be automatically created.
- assumer_
name str - Cloud product identification, Values: CDS, CWP, CDB, TDSQL-C, MongoDB, TDStore, DCDB, MariaDB, PostgreSQL, BH, APIS.
- cloud_
product_ strregion - Cloud product region. There are differences in the input format of different log types in different regions. Please refer to the following example:
- CDS(all log type): ap-guangzhou
- CDB-AUDIT: gz
- TDSQL-C-AUDIT: gz
- MongoDB-AUDIT: gz
- MongoDB-SlowLog: ap-guangzhou
- MongoDB-ErrorLog: ap-guangzhou
- TDMYSQL-SLOW: gz
- DCDB(all log type): gz
- MariaDB(all log type): gz
- PostgreSQL(all log type): gz
- BH(all log type): overseas-polaris(Domestic sites overseas)/fsi-polaris(Domestic sites finance)/general-polaris(Domestic sites)/intl-sg-prod(International sites)
- APIS(all log type): gz.
- cls_
region str - CLS target region.
- instance_
id str - Instance ID.
- log_
type str - Log type, Values: CDS-AUDIT, CDS-RISK, CDB-AUDIT, TDSQL-C-AUDIT, MongoDB-AUDIT, MongoDB-SlowLog, MongoDB-ErrorLog, TDMYSQL-SLOW, DCDB-AUDIT, DCDB-SLOW, DCDB-ERROR, MariaDB-AUDIT, MariaDB-SLOW, MariaDB-ERROR, PostgreSQL-SLOW, PostgreSQL-ERROR, PostgreSQL-AUDIT, BH-FILELOG, BH-COMMANDLOG, APIS-ACCESS.
- cls_
cloud_ strproduct_ log_ task_ id - ID of the resource.
- extend str
- Log configuration extension information, generally used to store additional log delivery configurations.
- logset_
name str - Log set name, it will be automatically created.
- topic_
name str - The name of the log topic, it will be automatically created.
- assumer
Name String - Cloud product identification, Values: CDS, CWP, CDB, TDSQL-C, MongoDB, TDStore, DCDB, MariaDB, PostgreSQL, BH, APIS.
- cloud
Product StringRegion - Cloud product region. There are differences in the input format of different log types in different regions. Please refer to the following example:
- CDS(all log type): ap-guangzhou
- CDB-AUDIT: gz
- TDSQL-C-AUDIT: gz
- MongoDB-AUDIT: gz
- MongoDB-SlowLog: ap-guangzhou
- MongoDB-ErrorLog: ap-guangzhou
- TDMYSQL-SLOW: gz
- DCDB(all log type): gz
- MariaDB(all log type): gz
- PostgreSQL(all log type): gz
- BH(all log type): overseas-polaris(Domestic sites overseas)/fsi-polaris(Domestic sites finance)/general-polaris(Domestic sites)/intl-sg-prod(International sites)
- APIS(all log type): gz.
- cls
Region String - CLS target region.
- instance
Id String - Instance ID.
- log
Type String - Log type, Values: CDS-AUDIT, CDS-RISK, CDB-AUDIT, TDSQL-C-AUDIT, MongoDB-AUDIT, MongoDB-SlowLog, MongoDB-ErrorLog, TDMYSQL-SLOW, DCDB-AUDIT, DCDB-SLOW, DCDB-ERROR, MariaDB-AUDIT, MariaDB-SLOW, MariaDB-ERROR, PostgreSQL-SLOW, PostgreSQL-ERROR, PostgreSQL-AUDIT, BH-FILELOG, BH-COMMANDLOG, APIS-ACCESS.
- cls
Cloud StringProduct Log Task Id - ID of the resource.
- extend String
- Log configuration extension information, generally used to store additional log delivery configurations.
- logset
Name String - Log set name, it will be automatically created.
- topic
Name String - The name of the log topic, it will be automatically created.
Outputs
All input properties are implicitly available as output properties. Additionally, the ClsCloudProductLogTask resource produces the following output properties:
Look up Existing ClsCloudProductLogTask Resource
Get an existing ClsCloudProductLogTask 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?: ClsCloudProductLogTaskState, opts?: CustomResourceOptions): ClsCloudProductLogTask
@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_id: Optional[str] = None,
cls_region: Optional[str] = None,
extend: Optional[str] = None,
instance_id: Optional[str] = None,
log_type: Optional[str] = None,
logset_id: Optional[str] = None,
logset_name: Optional[str] = None,
topic_id: Optional[str] = None,
topic_name: Optional[str] = None) -> ClsCloudProductLogTask
func GetClsCloudProductLogTask(ctx *Context, name string, id IDInput, state *ClsCloudProductLogTaskState, opts ...ResourceOption) (*ClsCloudProductLogTask, error)
public static ClsCloudProductLogTask Get(string name, Input<string> id, ClsCloudProductLogTaskState? state, CustomResourceOptions? opts = null)
public static ClsCloudProductLogTask get(String name, Output<String> id, ClsCloudProductLogTaskState state, CustomResourceOptions options)
resources: _: type: tencentcloud:ClsCloudProductLogTask get: 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, Values: CDS, CWP, CDB, TDSQL-C, MongoDB, TDStore, DCDB, MariaDB, PostgreSQL, BH, APIS.
- Cloud
Product stringRegion - Cloud product region. There are differences in the input format of different log types in different regions. Please refer to the following example:
- CDS(all log type): ap-guangzhou
- CDB-AUDIT: gz
- TDSQL-C-AUDIT: gz
- MongoDB-AUDIT: gz
- MongoDB-SlowLog: ap-guangzhou
- MongoDB-ErrorLog: ap-guangzhou
- TDMYSQL-SLOW: gz
- DCDB(all log type): gz
- MariaDB(all log type): gz
- PostgreSQL(all log type): gz
- BH(all log type): overseas-polaris(Domestic sites overseas)/fsi-polaris(Domestic sites finance)/general-polaris(Domestic sites)/intl-sg-prod(International sites)
- APIS(all log type): gz.
- Cls
Cloud stringProduct Log Task Id - ID of the resource.
- Cls
Region string - CLS target region.
- Extend string
- Log configuration extension information, generally used to store additional log delivery configurations.
- Instance
Id string - Instance ID.
- Log
Type string - Log type, Values: CDS-AUDIT, CDS-RISK, CDB-AUDIT, TDSQL-C-AUDIT, MongoDB-AUDIT, MongoDB-SlowLog, MongoDB-ErrorLog, TDMYSQL-SLOW, DCDB-AUDIT, DCDB-SLOW, DCDB-ERROR, MariaDB-AUDIT, MariaDB-SLOW, MariaDB-ERROR, PostgreSQL-SLOW, PostgreSQL-ERROR, PostgreSQL-AUDIT, BH-FILELOG, BH-COMMANDLOG, APIS-ACCESS.
- Logset
Id string - Log set ID.
- Logset
Name string - Log set name, it will be automatically created.
- Topic
Id string - Log theme ID.
- Topic
Name string - The name of the log topic, it will be automatically created.
- Assumer
Name string - Cloud product identification, Values: CDS, CWP, CDB, TDSQL-C, MongoDB, TDStore, DCDB, MariaDB, PostgreSQL, BH, APIS.
- Cloud
Product stringRegion - Cloud product region. There are differences in the input format of different log types in different regions. Please refer to the following example:
- CDS(all log type): ap-guangzhou
- CDB-AUDIT: gz
- TDSQL-C-AUDIT: gz
- MongoDB-AUDIT: gz
- MongoDB-SlowLog: ap-guangzhou
- MongoDB-ErrorLog: ap-guangzhou
- TDMYSQL-SLOW: gz
- DCDB(all log type): gz
- MariaDB(all log type): gz
- PostgreSQL(all log type): gz
- BH(all log type): overseas-polaris(Domestic sites overseas)/fsi-polaris(Domestic sites finance)/general-polaris(Domestic sites)/intl-sg-prod(International sites)
- APIS(all log type): gz.
- Cls
Cloud stringProduct Log Task Id - ID of the resource.
- Cls
Region string - CLS target region.
- Extend string
- Log configuration extension information, generally used to store additional log delivery configurations.
- Instance
Id string - Instance ID.
- Log
Type string - Log type, Values: CDS-AUDIT, CDS-RISK, CDB-AUDIT, TDSQL-C-AUDIT, MongoDB-AUDIT, MongoDB-SlowLog, MongoDB-ErrorLog, TDMYSQL-SLOW, DCDB-AUDIT, DCDB-SLOW, DCDB-ERROR, MariaDB-AUDIT, MariaDB-SLOW, MariaDB-ERROR, PostgreSQL-SLOW, PostgreSQL-ERROR, PostgreSQL-AUDIT, BH-FILELOG, BH-COMMANDLOG, APIS-ACCESS.
- Logset
Id string - Log set ID.
- Logset
Name string - Log set name, it will be automatically created.
- Topic
Id string - Log theme ID.
- Topic
Name string - The name of the log topic, it will be automatically created.
- assumer
Name String - Cloud product identification, Values: CDS, CWP, CDB, TDSQL-C, MongoDB, TDStore, DCDB, MariaDB, PostgreSQL, BH, APIS.
- cloud
Product StringRegion - Cloud product region. There are differences in the input format of different log types in different regions. Please refer to the following example:
- CDS(all log type): ap-guangzhou
- CDB-AUDIT: gz
- TDSQL-C-AUDIT: gz
- MongoDB-AUDIT: gz
- MongoDB-SlowLog: ap-guangzhou
- MongoDB-ErrorLog: ap-guangzhou
- TDMYSQL-SLOW: gz
- DCDB(all log type): gz
- MariaDB(all log type): gz
- PostgreSQL(all log type): gz
- BH(all log type): overseas-polaris(Domestic sites overseas)/fsi-polaris(Domestic sites finance)/general-polaris(Domestic sites)/intl-sg-prod(International sites)
- APIS(all log type): gz.
- cls
Cloud StringProduct Log Task Id - ID of the resource.
- cls
Region String - CLS target region.
- extend String
- Log configuration extension information, generally used to store additional log delivery configurations.
- instance
Id String - Instance ID.
- log
Type String - Log type, Values: CDS-AUDIT, CDS-RISK, CDB-AUDIT, TDSQL-C-AUDIT, MongoDB-AUDIT, MongoDB-SlowLog, MongoDB-ErrorLog, TDMYSQL-SLOW, DCDB-AUDIT, DCDB-SLOW, DCDB-ERROR, MariaDB-AUDIT, MariaDB-SLOW, MariaDB-ERROR, PostgreSQL-SLOW, PostgreSQL-ERROR, PostgreSQL-AUDIT, BH-FILELOG, BH-COMMANDLOG, APIS-ACCESS.
- logset
Id String - Log set ID.
- logset
Name String - Log set name, it will be automatically created.
- topic
Id String - Log theme ID.
- topic
Name String - The name of the log topic, it will be automatically created.
- assumer
Name string - Cloud product identification, Values: CDS, CWP, CDB, TDSQL-C, MongoDB, TDStore, DCDB, MariaDB, PostgreSQL, BH, APIS.
- cloud
Product stringRegion - Cloud product region. There are differences in the input format of different log types in different regions. Please refer to the following example:
- CDS(all log type): ap-guangzhou
- CDB-AUDIT: gz
- TDSQL-C-AUDIT: gz
- MongoDB-AUDIT: gz
- MongoDB-SlowLog: ap-guangzhou
- MongoDB-ErrorLog: ap-guangzhou
- TDMYSQL-SLOW: gz
- DCDB(all log type): gz
- MariaDB(all log type): gz
- PostgreSQL(all log type): gz
- BH(all log type): overseas-polaris(Domestic sites overseas)/fsi-polaris(Domestic sites finance)/general-polaris(Domestic sites)/intl-sg-prod(International sites)
- APIS(all log type): gz.
- cls
Cloud stringProduct Log Task Id - ID of the resource.
- cls
Region string - CLS target region.
- extend string
- Log configuration extension information, generally used to store additional log delivery configurations.
- instance
Id string - Instance ID.
- log
Type string - Log type, Values: CDS-AUDIT, CDS-RISK, CDB-AUDIT, TDSQL-C-AUDIT, MongoDB-AUDIT, MongoDB-SlowLog, MongoDB-ErrorLog, TDMYSQL-SLOW, DCDB-AUDIT, DCDB-SLOW, DCDB-ERROR, MariaDB-AUDIT, MariaDB-SLOW, MariaDB-ERROR, PostgreSQL-SLOW, PostgreSQL-ERROR, PostgreSQL-AUDIT, BH-FILELOG, BH-COMMANDLOG, APIS-ACCESS.
- logset
Id string - Log set ID.
- logset
Name string - Log set name, it will be automatically created.
- topic
Id string - Log theme ID.
- topic
Name string - The name of the log topic, it will be automatically created.
- assumer_
name str - Cloud product identification, Values: CDS, CWP, CDB, TDSQL-C, MongoDB, TDStore, DCDB, MariaDB, PostgreSQL, BH, APIS.
- cloud_
product_ strregion - Cloud product region. There are differences in the input format of different log types in different regions. Please refer to the following example:
- CDS(all log type): ap-guangzhou
- CDB-AUDIT: gz
- TDSQL-C-AUDIT: gz
- MongoDB-AUDIT: gz
- MongoDB-SlowLog: ap-guangzhou
- MongoDB-ErrorLog: ap-guangzhou
- TDMYSQL-SLOW: gz
- DCDB(all log type): gz
- MariaDB(all log type): gz
- PostgreSQL(all log type): gz
- BH(all log type): overseas-polaris(Domestic sites overseas)/fsi-polaris(Domestic sites finance)/general-polaris(Domestic sites)/intl-sg-prod(International sites)
- APIS(all log type): gz.
- cls_
cloud_ strproduct_ log_ task_ id - ID of the resource.
- cls_
region str - CLS target region.
- extend str
- Log configuration extension information, generally used to store additional log delivery configurations.
- instance_
id str - Instance ID.
- log_
type str - Log type, Values: CDS-AUDIT, CDS-RISK, CDB-AUDIT, TDSQL-C-AUDIT, MongoDB-AUDIT, MongoDB-SlowLog, MongoDB-ErrorLog, TDMYSQL-SLOW, DCDB-AUDIT, DCDB-SLOW, DCDB-ERROR, MariaDB-AUDIT, MariaDB-SLOW, MariaDB-ERROR, PostgreSQL-SLOW, PostgreSQL-ERROR, PostgreSQL-AUDIT, BH-FILELOG, BH-COMMANDLOG, APIS-ACCESS.
- logset_
id str - Log set ID.
- logset_
name str - Log set name, it will be automatically created.
- topic_
id str - Log theme ID.
- topic_
name str - The name of the log topic, it will be automatically created.
- assumer
Name String - Cloud product identification, Values: CDS, CWP, CDB, TDSQL-C, MongoDB, TDStore, DCDB, MariaDB, PostgreSQL, BH, APIS.
- cloud
Product StringRegion - Cloud product region. There are differences in the input format of different log types in different regions. Please refer to the following example:
- CDS(all log type): ap-guangzhou
- CDB-AUDIT: gz
- TDSQL-C-AUDIT: gz
- MongoDB-AUDIT: gz
- MongoDB-SlowLog: ap-guangzhou
- MongoDB-ErrorLog: ap-guangzhou
- TDMYSQL-SLOW: gz
- DCDB(all log type): gz
- MariaDB(all log type): gz
- PostgreSQL(all log type): gz
- BH(all log type): overseas-polaris(Domestic sites overseas)/fsi-polaris(Domestic sites finance)/general-polaris(Domestic sites)/intl-sg-prod(International sites)
- APIS(all log type): gz.
- cls
Cloud StringProduct Log Task Id - ID of the resource.
- cls
Region String - CLS target region.
- extend String
- Log configuration extension information, generally used to store additional log delivery configurations.
- instance
Id String - Instance ID.
- log
Type String - Log type, Values: CDS-AUDIT, CDS-RISK, CDB-AUDIT, TDSQL-C-AUDIT, MongoDB-AUDIT, MongoDB-SlowLog, MongoDB-ErrorLog, TDMYSQL-SLOW, DCDB-AUDIT, DCDB-SLOW, DCDB-ERROR, MariaDB-AUDIT, MariaDB-SLOW, MariaDB-ERROR, PostgreSQL-SLOW, PostgreSQL-ERROR, PostgreSQL-AUDIT, BH-FILELOG, BH-COMMANDLOG, APIS-ACCESS.
- logset
Id String - Log set ID.
- logset
Name String - Log set name, it will be automatically created.
- topic
Id String - Log theme ID.
- topic
Name String - The name of the log topic, it will be automatically created.
Import
cls cloud product log task can be imported using the id, e.g.
$ pulumi import tencentcloud:index/clsCloudProductLogTask:ClsCloudProductLogTask 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
tencentcloud
Terraform Provider.