tencentcloud.ClsKafkaRecharge
Explore with Pulumi AI
Provides a resource to create a cls kafka_recharge
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const logset = new tencentcloud.ClsLogset("logset", {
logsetName: "tf-example-logset",
tags: {
createdBy: "terraform",
},
});
const topic = new tencentcloud.ClsTopic("topic", {
topicName: "tf-example-topic",
logsetId: logset.clsLogsetId,
autoSplit: false,
maxSplitPartitions: 20,
partitionCount: 1,
period: 10,
storageType: "hot",
tags: {
test: "test",
},
});
const kafkaRecharge = new tencentcloud.ClsKafkaRecharge("kafkaRecharge", {
topicId: topic.clsTopicId,
kafkaType: 0,
offset: -2,
isEncryptionAddr: true,
userKafkaTopics: "recharge",
kafkaInstance: "ckafka-qzoeaqx8",
logRechargeRule: {
rechargeType: "json_log",
encodingFormat: 0,
defaultTimeSwitch: true,
},
});
import pulumi
import pulumi_tencentcloud as tencentcloud
logset = tencentcloud.ClsLogset("logset",
logset_name="tf-example-logset",
tags={
"createdBy": "terraform",
})
topic = tencentcloud.ClsTopic("topic",
topic_name="tf-example-topic",
logset_id=logset.cls_logset_id,
auto_split=False,
max_split_partitions=20,
partition_count=1,
period=10,
storage_type="hot",
tags={
"test": "test",
})
kafka_recharge = tencentcloud.ClsKafkaRecharge("kafkaRecharge",
topic_id=topic.cls_topic_id,
kafka_type=0,
offset=-2,
is_encryption_addr=True,
user_kafka_topics="recharge",
kafka_instance="ckafka-qzoeaqx8",
log_recharge_rule={
"recharge_type": "json_log",
"encoding_format": 0,
"default_time_switch": 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 {
logset, err := tencentcloud.NewClsLogset(ctx, "logset", &tencentcloud.ClsLogsetArgs{
LogsetName: pulumi.String("tf-example-logset"),
Tags: pulumi.StringMap{
"createdBy": pulumi.String("terraform"),
},
})
if err != nil {
return err
}
topic, err := tencentcloud.NewClsTopic(ctx, "topic", &tencentcloud.ClsTopicArgs{
TopicName: pulumi.String("tf-example-topic"),
LogsetId: logset.ClsLogsetId,
AutoSplit: pulumi.Bool(false),
MaxSplitPartitions: pulumi.Float64(20),
PartitionCount: pulumi.Float64(1),
Period: pulumi.Float64(10),
StorageType: pulumi.String("hot"),
Tags: pulumi.StringMap{
"test": pulumi.String("test"),
},
})
if err != nil {
return err
}
_, err = tencentcloud.NewClsKafkaRecharge(ctx, "kafkaRecharge", &tencentcloud.ClsKafkaRechargeArgs{
TopicId: topic.ClsTopicId,
KafkaType: pulumi.Float64(0),
Offset: pulumi.Float64(-2),
IsEncryptionAddr: pulumi.Bool(true),
UserKafkaTopics: pulumi.String("recharge"),
KafkaInstance: pulumi.String("ckafka-qzoeaqx8"),
LogRechargeRule: &tencentcloud.ClsKafkaRechargeLogRechargeRuleArgs{
RechargeType: pulumi.String("json_log"),
EncodingFormat: pulumi.Float64(0),
DefaultTimeSwitch: 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 logset = new Tencentcloud.ClsLogset("logset", new()
{
LogsetName = "tf-example-logset",
Tags =
{
{ "createdBy", "terraform" },
},
});
var topic = new Tencentcloud.ClsTopic("topic", new()
{
TopicName = "tf-example-topic",
LogsetId = logset.ClsLogsetId,
AutoSplit = false,
MaxSplitPartitions = 20,
PartitionCount = 1,
Period = 10,
StorageType = "hot",
Tags =
{
{ "test", "test" },
},
});
var kafkaRecharge = new Tencentcloud.ClsKafkaRecharge("kafkaRecharge", new()
{
TopicId = topic.ClsTopicId,
KafkaType = 0,
Offset = -2,
IsEncryptionAddr = true,
UserKafkaTopics = "recharge",
KafkaInstance = "ckafka-qzoeaqx8",
LogRechargeRule = new Tencentcloud.Inputs.ClsKafkaRechargeLogRechargeRuleArgs
{
RechargeType = "json_log",
EncodingFormat = 0,
DefaultTimeSwitch = true,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.ClsLogset;
import com.pulumi.tencentcloud.ClsLogsetArgs;
import com.pulumi.tencentcloud.ClsTopic;
import com.pulumi.tencentcloud.ClsTopicArgs;
import com.pulumi.tencentcloud.ClsKafkaRecharge;
import com.pulumi.tencentcloud.ClsKafkaRechargeArgs;
import com.pulumi.tencentcloud.inputs.ClsKafkaRechargeLogRechargeRuleArgs;
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 logset = new ClsLogset("logset", ClsLogsetArgs.builder()
.logsetName("tf-example-logset")
.tags(Map.of("createdBy", "terraform"))
.build());
var topic = new ClsTopic("topic", ClsTopicArgs.builder()
.topicName("tf-example-topic")
.logsetId(logset.clsLogsetId())
.autoSplit(false)
.maxSplitPartitions(20)
.partitionCount(1)
.period(10)
.storageType("hot")
.tags(Map.of("test", "test"))
.build());
var kafkaRecharge = new ClsKafkaRecharge("kafkaRecharge", ClsKafkaRechargeArgs.builder()
.topicId(topic.clsTopicId())
.kafkaType(0)
.offset(-2)
.isEncryptionAddr(true)
.userKafkaTopics("recharge")
.kafkaInstance("ckafka-qzoeaqx8")
.logRechargeRule(ClsKafkaRechargeLogRechargeRuleArgs.builder()
.rechargeType("json_log")
.encodingFormat(0)
.defaultTimeSwitch(true)
.build())
.build());
}
}
resources:
logset:
type: tencentcloud:ClsLogset
properties:
logsetName: tf-example-logset
tags:
createdBy: terraform
topic:
type: tencentcloud:ClsTopic
properties:
topicName: tf-example-topic
logsetId: ${logset.clsLogsetId}
autoSplit: false
maxSplitPartitions: 20
partitionCount: 1
period: 10
storageType: hot
tags:
test: test
kafkaRecharge:
type: tencentcloud:ClsKafkaRecharge
properties:
topicId: ${topic.clsTopicId}
kafkaType: 0
offset: -2
isEncryptionAddr: true
userKafkaTopics: recharge
kafkaInstance: ckafka-qzoeaqx8
logRechargeRule:
rechargeType: json_log
encodingFormat: 0
defaultTimeSwitch: true
Create ClsKafkaRecharge Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ClsKafkaRecharge(name: string, args: ClsKafkaRechargeArgs, opts?: CustomResourceOptions);
@overload
def ClsKafkaRecharge(resource_name: str,
args: ClsKafkaRechargeArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ClsKafkaRecharge(resource_name: str,
opts: Optional[ResourceOptions] = None,
kafka_type: Optional[float] = None,
offset: Optional[float] = None,
topic_id: Optional[str] = None,
user_kafka_topics: Optional[str] = None,
cls_kafka_recharge_id: Optional[str] = None,
consumer_group_name: Optional[str] = None,
is_encryption_addr: Optional[bool] = None,
kafka_instance: Optional[str] = None,
log_recharge_rule: Optional[ClsKafkaRechargeLogRechargeRuleArgs] = None,
name: Optional[str] = None,
protocol: Optional[ClsKafkaRechargeProtocolArgs] = None,
server_addr: Optional[str] = None)
func NewClsKafkaRecharge(ctx *Context, name string, args ClsKafkaRechargeArgs, opts ...ResourceOption) (*ClsKafkaRecharge, error)
public ClsKafkaRecharge(string name, ClsKafkaRechargeArgs args, CustomResourceOptions? opts = null)
public ClsKafkaRecharge(String name, ClsKafkaRechargeArgs args)
public ClsKafkaRecharge(String name, ClsKafkaRechargeArgs args, CustomResourceOptions options)
type: tencentcloud:ClsKafkaRecharge
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 ClsKafkaRechargeArgs
- 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 ClsKafkaRechargeArgs
- 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 ClsKafkaRechargeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ClsKafkaRechargeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ClsKafkaRechargeArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ClsKafkaRecharge 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 ClsKafkaRecharge resource accepts the following input properties:
- Kafka
Type double - kafka recharge type, 0 for CKafka, 1 fro user define Kafka.
- Offset double
- The translation is: -2: Earliest (default) -1: Latest.
- Topic
Id string - recharge for cls TopicId.
- User
Kafka stringTopics - user need recharge kafka topic list.
- Cls
Kafka stringRecharge Id - ID of the resource.
- Consumer
Group stringName - user consumer group name.
- Is
Encryption boolAddr - ServerAddr is encryption addr.
- Kafka
Instance string - CKafka Instance id.
- Log
Recharge ClsRule Kafka Recharge Log Recharge Rule - log recharge rule.
- Name string
- kafka recharge name.
- Protocol
Cls
Kafka Recharge Protocol - encryption protocol.
- Server
Addr string - Server addr.
- Kafka
Type float64 - kafka recharge type, 0 for CKafka, 1 fro user define Kafka.
- Offset float64
- The translation is: -2: Earliest (default) -1: Latest.
- Topic
Id string - recharge for cls TopicId.
- User
Kafka stringTopics - user need recharge kafka topic list.
- Cls
Kafka stringRecharge Id - ID of the resource.
- Consumer
Group stringName - user consumer group name.
- Is
Encryption boolAddr - ServerAddr is encryption addr.
- Kafka
Instance string - CKafka Instance id.
- Log
Recharge ClsRule Kafka Recharge Log Recharge Rule Args - log recharge rule.
- Name string
- kafka recharge name.
- Protocol
Cls
Kafka Recharge Protocol Args - encryption protocol.
- Server
Addr string - Server addr.
- kafka
Type Double - kafka recharge type, 0 for CKafka, 1 fro user define Kafka.
- offset Double
- The translation is: -2: Earliest (default) -1: Latest.
- topic
Id String - recharge for cls TopicId.
- user
Kafka StringTopics - user need recharge kafka topic list.
- cls
Kafka StringRecharge Id - ID of the resource.
- consumer
Group StringName - user consumer group name.
- is
Encryption BooleanAddr - ServerAddr is encryption addr.
- kafka
Instance String - CKafka Instance id.
- log
Recharge ClsRule Kafka Recharge Log Recharge Rule - log recharge rule.
- name String
- kafka recharge name.
- protocol
Cls
Kafka Recharge Protocol - encryption protocol.
- server
Addr String - Server addr.
- kafka
Type number - kafka recharge type, 0 for CKafka, 1 fro user define Kafka.
- offset number
- The translation is: -2: Earliest (default) -1: Latest.
- topic
Id string - recharge for cls TopicId.
- user
Kafka stringTopics - user need recharge kafka topic list.
- cls
Kafka stringRecharge Id - ID of the resource.
- consumer
Group stringName - user consumer group name.
- is
Encryption booleanAddr - ServerAddr is encryption addr.
- kafka
Instance string - CKafka Instance id.
- log
Recharge ClsRule Kafka Recharge Log Recharge Rule - log recharge rule.
- name string
- kafka recharge name.
- protocol
Cls
Kafka Recharge Protocol - encryption protocol.
- server
Addr string - Server addr.
- kafka_
type float - kafka recharge type, 0 for CKafka, 1 fro user define Kafka.
- offset float
- The translation is: -2: Earliest (default) -1: Latest.
- topic_
id str - recharge for cls TopicId.
- user_
kafka_ strtopics - user need recharge kafka topic list.
- cls_
kafka_ strrecharge_ id - ID of the resource.
- consumer_
group_ strname - user consumer group name.
- is_
encryption_ booladdr - ServerAddr is encryption addr.
- kafka_
instance str - CKafka Instance id.
- log_
recharge_ Clsrule Kafka Recharge Log Recharge Rule Args - log recharge rule.
- name str
- kafka recharge name.
- protocol
Cls
Kafka Recharge Protocol Args - encryption protocol.
- server_
addr str - Server addr.
- kafka
Type Number - kafka recharge type, 0 for CKafka, 1 fro user define Kafka.
- offset Number
- The translation is: -2: Earliest (default) -1: Latest.
- topic
Id String - recharge for cls TopicId.
- user
Kafka StringTopics - user need recharge kafka topic list.
- cls
Kafka StringRecharge Id - ID of the resource.
- consumer
Group StringName - user consumer group name.
- is
Encryption BooleanAddr - ServerAddr is encryption addr.
- kafka
Instance String - CKafka Instance id.
- log
Recharge Property MapRule - log recharge rule.
- name String
- kafka recharge name.
- protocol Property Map
- encryption protocol.
- server
Addr String - Server addr.
Outputs
All input properties are implicitly available as output properties. Additionally, the ClsKafkaRecharge 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 str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ClsKafkaRecharge Resource
Get an existing ClsKafkaRecharge 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?: ClsKafkaRechargeState, opts?: CustomResourceOptions): ClsKafkaRecharge
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cls_kafka_recharge_id: Optional[str] = None,
consumer_group_name: Optional[str] = None,
is_encryption_addr: Optional[bool] = None,
kafka_instance: Optional[str] = None,
kafka_type: Optional[float] = None,
log_recharge_rule: Optional[ClsKafkaRechargeLogRechargeRuleArgs] = None,
name: Optional[str] = None,
offset: Optional[float] = None,
protocol: Optional[ClsKafkaRechargeProtocolArgs] = None,
server_addr: Optional[str] = None,
topic_id: Optional[str] = None,
user_kafka_topics: Optional[str] = None) -> ClsKafkaRecharge
func GetClsKafkaRecharge(ctx *Context, name string, id IDInput, state *ClsKafkaRechargeState, opts ...ResourceOption) (*ClsKafkaRecharge, error)
public static ClsKafkaRecharge Get(string name, Input<string> id, ClsKafkaRechargeState? state, CustomResourceOptions? opts = null)
public static ClsKafkaRecharge get(String name, Output<String> id, ClsKafkaRechargeState state, CustomResourceOptions options)
resources: _: type: tencentcloud:ClsKafkaRecharge 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.
- Cls
Kafka stringRecharge Id - ID of the resource.
- Consumer
Group stringName - user consumer group name.
- Is
Encryption boolAddr - ServerAddr is encryption addr.
- Kafka
Instance string - CKafka Instance id.
- Kafka
Type double - kafka recharge type, 0 for CKafka, 1 fro user define Kafka.
- Log
Recharge ClsRule Kafka Recharge Log Recharge Rule - log recharge rule.
- Name string
- kafka recharge name.
- Offset double
- The translation is: -2: Earliest (default) -1: Latest.
- Protocol
Cls
Kafka Recharge Protocol - encryption protocol.
- Server
Addr string - Server addr.
- Topic
Id string - recharge for cls TopicId.
- User
Kafka stringTopics - user need recharge kafka topic list.
- Cls
Kafka stringRecharge Id - ID of the resource.
- Consumer
Group stringName - user consumer group name.
- Is
Encryption boolAddr - ServerAddr is encryption addr.
- Kafka
Instance string - CKafka Instance id.
- Kafka
Type float64 - kafka recharge type, 0 for CKafka, 1 fro user define Kafka.
- Log
Recharge ClsRule Kafka Recharge Log Recharge Rule Args - log recharge rule.
- Name string
- kafka recharge name.
- Offset float64
- The translation is: -2: Earliest (default) -1: Latest.
- Protocol
Cls
Kafka Recharge Protocol Args - encryption protocol.
- Server
Addr string - Server addr.
- Topic
Id string - recharge for cls TopicId.
- User
Kafka stringTopics - user need recharge kafka topic list.
- cls
Kafka StringRecharge Id - ID of the resource.
- consumer
Group StringName - user consumer group name.
- is
Encryption BooleanAddr - ServerAddr is encryption addr.
- kafka
Instance String - CKafka Instance id.
- kafka
Type Double - kafka recharge type, 0 for CKafka, 1 fro user define Kafka.
- log
Recharge ClsRule Kafka Recharge Log Recharge Rule - log recharge rule.
- name String
- kafka recharge name.
- offset Double
- The translation is: -2: Earliest (default) -1: Latest.
- protocol
Cls
Kafka Recharge Protocol - encryption protocol.
- server
Addr String - Server addr.
- topic
Id String - recharge for cls TopicId.
- user
Kafka StringTopics - user need recharge kafka topic list.
- cls
Kafka stringRecharge Id - ID of the resource.
- consumer
Group stringName - user consumer group name.
- is
Encryption booleanAddr - ServerAddr is encryption addr.
- kafka
Instance string - CKafka Instance id.
- kafka
Type number - kafka recharge type, 0 for CKafka, 1 fro user define Kafka.
- log
Recharge ClsRule Kafka Recharge Log Recharge Rule - log recharge rule.
- name string
- kafka recharge name.
- offset number
- The translation is: -2: Earliest (default) -1: Latest.
- protocol
Cls
Kafka Recharge Protocol - encryption protocol.
- server
Addr string - Server addr.
- topic
Id string - recharge for cls TopicId.
- user
Kafka stringTopics - user need recharge kafka topic list.
- cls_
kafka_ strrecharge_ id - ID of the resource.
- consumer_
group_ strname - user consumer group name.
- is_
encryption_ booladdr - ServerAddr is encryption addr.
- kafka_
instance str - CKafka Instance id.
- kafka_
type float - kafka recharge type, 0 for CKafka, 1 fro user define Kafka.
- log_
recharge_ Clsrule Kafka Recharge Log Recharge Rule Args - log recharge rule.
- name str
- kafka recharge name.
- offset float
- The translation is: -2: Earliest (default) -1: Latest.
- protocol
Cls
Kafka Recharge Protocol Args - encryption protocol.
- server_
addr str - Server addr.
- topic_
id str - recharge for cls TopicId.
- user_
kafka_ strtopics - user need recharge kafka topic list.
- cls
Kafka StringRecharge Id - ID of the resource.
- consumer
Group StringName - user consumer group name.
- is
Encryption BooleanAddr - ServerAddr is encryption addr.
- kafka
Instance String - CKafka Instance id.
- kafka
Type Number - kafka recharge type, 0 for CKafka, 1 fro user define Kafka.
- log
Recharge Property MapRule - log recharge rule.
- name String
- kafka recharge name.
- offset Number
- The translation is: -2: Earliest (default) -1: Latest.
- protocol Property Map
- encryption protocol.
- server
Addr String - Server addr.
- topic
Id String - recharge for cls TopicId.
- user
Kafka StringTopics - user need recharge kafka topic list.
Supporting Types
ClsKafkaRechargeLogRechargeRule, ClsKafkaRechargeLogRechargeRuleArgs
- Default
Time boolSwitch - user default time.
- Encoding
Format double - encoding format.
- Recharge
Type string - recharge type.
- Default
Time doubleSrc - default time from.
- Keys List<string>
- log key list.
- Log
Regex string - log regex.
- Metadatas List<string>
- metadata.
- Time
Format string - time format.
- Time
Key string - time key.
- Time
Regex string - time regex.
- Time
Zone string - time zone.
- Un
Match stringLog Key - parse failed log key.
- Un
Match boolLog Switch - is push parse failed log.
- Un
Match doubleLog Time Src - parse failed log time from.
- Default
Time boolSwitch - user default time.
- Encoding
Format float64 - encoding format.
- Recharge
Type string - recharge type.
- Default
Time float64Src - default time from.
- Keys []string
- log key list.
- Log
Regex string - log regex.
- Metadatas []string
- metadata.
- Time
Format string - time format.
- Time
Key string - time key.
- Time
Regex string - time regex.
- Time
Zone string - time zone.
- Un
Match stringLog Key - parse failed log key.
- Un
Match boolLog Switch - is push parse failed log.
- Un
Match float64Log Time Src - parse failed log time from.
- default
Time BooleanSwitch - user default time.
- encoding
Format Double - encoding format.
- recharge
Type String - recharge type.
- default
Time DoubleSrc - default time from.
- keys List<String>
- log key list.
- log
Regex String - log regex.
- metadatas List<String>
- metadata.
- time
Format String - time format.
- time
Key String - time key.
- time
Regex String - time regex.
- time
Zone String - time zone.
- un
Match StringLog Key - parse failed log key.
- un
Match BooleanLog Switch - is push parse failed log.
- un
Match DoubleLog Time Src - parse failed log time from.
- default
Time booleanSwitch - user default time.
- encoding
Format number - encoding format.
- recharge
Type string - recharge type.
- default
Time numberSrc - default time from.
- keys string[]
- log key list.
- log
Regex string - log regex.
- metadatas string[]
- metadata.
- time
Format string - time format.
- time
Key string - time key.
- time
Regex string - time regex.
- time
Zone string - time zone.
- un
Match stringLog Key - parse failed log key.
- un
Match booleanLog Switch - is push parse failed log.
- un
Match numberLog Time Src - parse failed log time from.
- default_
time_ boolswitch - user default time.
- encoding_
format float - encoding format.
- recharge_
type str - recharge type.
- default_
time_ floatsrc - default time from.
- keys Sequence[str]
- log key list.
- log_
regex str - log regex.
- metadatas Sequence[str]
- metadata.
- time_
format str - time format.
- time_
key str - time key.
- time_
regex str - time regex.
- time_
zone str - time zone.
- un_
match_ strlog_ key - parse failed log key.
- un_
match_ boollog_ switch - is push parse failed log.
- un_
match_ floatlog_ time_ src - parse failed log time from.
- default
Time BooleanSwitch - user default time.
- encoding
Format Number - encoding format.
- recharge
Type String - recharge type.
- default
Time NumberSrc - default time from.
- keys List<String>
- log key list.
- log
Regex String - log regex.
- metadatas List<String>
- metadata.
- time
Format String - time format.
- time
Key String - time key.
- time
Regex String - time regex.
- time
Zone String - time zone.
- un
Match StringLog Key - parse failed log key.
- un
Match BooleanLog Switch - is push parse failed log.
- un
Match NumberLog Time Src - parse failed log time from.
ClsKafkaRechargeProtocol, ClsKafkaRechargeProtocolArgs
Import
cls kafka_recharge can be imported using the id, e.g.
$ pulumi import tencentcloud:index/clsKafkaRecharge:ClsKafkaRecharge kafka_recharge kafka_recharge_id
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.