1. Packages
  2. Volcengine
  3. API Docs
  4. tls
  5. Topic
Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine

volcengine.tls.Topic

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine

    Provides a resource to manage tls topic

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = new Volcengine.Tls.Topic("foo", new()
        {
            AutoSplit = true,
            Description = "test",
            EnableTracking = true,
            MaxSplitShard = 10,
            ProjectId = "e020c978-4f05-40e1-9167-0113d3ef****",
            ShardCount = 2,
            Tags = new[]
            {
                new Volcengine.Tls.Inputs.TopicTagArgs
                {
                    Key = "k1",
                    Value = "v1",
                },
            },
            TimeFormat = "%Y-%m-%dT%H:%M:%S,%f",
            TimeKey = "request_time",
            TopicName = "tf-test-topic",
            Ttl = 10,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/tls"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tls.NewTopic(ctx, "foo", &tls.TopicArgs{
    			AutoSplit:      pulumi.Bool(true),
    			Description:    pulumi.String("test"),
    			EnableTracking: pulumi.Bool(true),
    			MaxSplitShard:  pulumi.Int(10),
    			ProjectId:      pulumi.String("e020c978-4f05-40e1-9167-0113d3ef****"),
    			ShardCount:     pulumi.Int(2),
    			Tags: tls.TopicTagArray{
    				&tls.TopicTagArgs{
    					Key:   pulumi.String("k1"),
    					Value: pulumi.String("v1"),
    				},
    			},
    			TimeFormat: pulumi.String("%Y-%m-%dT%H:%M:%S,%f"),
    			TimeKey:    pulumi.String("request_time"),
    			TopicName:  pulumi.String("tf-test-topic"),
    			Ttl:        pulumi.Int(10),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.volcengine.tls.Topic;
    import com.pulumi.volcengine.tls.TopicArgs;
    import com.pulumi.volcengine.tls.inputs.TopicTagArgs;
    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 foo = new Topic("foo", TopicArgs.builder()        
                .autoSplit(true)
                .description("test")
                .enableTracking(true)
                .maxSplitShard(10)
                .projectId("e020c978-4f05-40e1-9167-0113d3ef****")
                .shardCount(2)
                .tags(TopicTagArgs.builder()
                    .key("k1")
                    .value("v1")
                    .build())
                .timeFormat("%Y-%m-%dT%H:%M:%S,%f")
                .timeKey("request_time")
                .topicName("tf-test-topic")
                .ttl(10)
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    foo = volcengine.tls.Topic("foo",
        auto_split=True,
        description="test",
        enable_tracking=True,
        max_split_shard=10,
        project_id="e020c978-4f05-40e1-9167-0113d3ef****",
        shard_count=2,
        tags=[volcengine.tls.TopicTagArgs(
            key="k1",
            value="v1",
        )],
        time_format="%Y-%m-%dT%H:%M:%S,%f",
        time_key="request_time",
        topic_name="tf-test-topic",
        ttl=10)
    
    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@volcengine/pulumi";
    
    const foo = new volcengine.tls.Topic("foo", {
        autoSplit: true,
        description: "test",
        enableTracking: true,
        maxSplitShard: 10,
        projectId: "e020c978-4f05-40e1-9167-0113d3ef****",
        shardCount: 2,
        tags: [{
            key: "k1",
            value: "v1",
        }],
        timeFormat: "%Y-%m-%dT%H:%M:%S,%f",
        timeKey: "request_time",
        topicName: "tf-test-topic",
        ttl: 10,
    });
    
    resources:
      foo:
        type: volcengine:tls:Topic
        properties:
          autoSplit: true
          description: test
          enableTracking: true
          maxSplitShard: 10
          projectId: e020c978-4f05-40e1-9167-0113d3ef****
          shardCount: 2
          tags:
            - key: k1
              value: v1
          timeFormat: '%Y-%m-%dT%H:%M:%S,%f'
          timeKey: request_time
          topicName: tf-test-topic
          ttl: 10
    

    Create Topic Resource

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

    Constructor syntax

    new Topic(name: string, args: TopicArgs, opts?: CustomResourceOptions);
    @overload
    def Topic(resource_name: str,
              args: TopicArgs,
              opts: Optional[ResourceOptions] = None)
    
    @overload
    def Topic(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              project_id: Optional[str] = None,
              shard_count: Optional[int] = None,
              topic_name: Optional[str] = None,
              ttl: Optional[int] = None,
              auto_split: Optional[bool] = None,
              description: Optional[str] = None,
              enable_tracking: Optional[bool] = None,
              max_split_shard: Optional[int] = None,
              tags: Optional[Sequence[TopicTagArgs]] = None,
              time_format: Optional[str] = None,
              time_key: Optional[str] = None)
    func NewTopic(ctx *Context, name string, args TopicArgs, opts ...ResourceOption) (*Topic, error)
    public Topic(string name, TopicArgs args, CustomResourceOptions? opts = null)
    public Topic(String name, TopicArgs args)
    public Topic(String name, TopicArgs args, CustomResourceOptions options)
    
    type: volcengine:tls:Topic
    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 TopicArgs
    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 TopicArgs
    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 TopicArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TopicArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TopicArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var volcengineTopicResource = new Volcengine.Tls.Topic("volcengineTopicResource", new()
    {
        ProjectId = "string",
        ShardCount = 0,
        TopicName = "string",
        Ttl = 0,
        AutoSplit = false,
        Description = "string",
        EnableTracking = false,
        MaxSplitShard = 0,
        Tags = new[]
        {
            new Volcengine.Tls.Inputs.TopicTagArgs
            {
                Key = "string",
                Value = "string",
            },
        },
        TimeFormat = "string",
        TimeKey = "string",
    });
    
    example, err := tls.NewTopic(ctx, "volcengineTopicResource", &tls.TopicArgs{
    	ProjectId:      pulumi.String("string"),
    	ShardCount:     pulumi.Int(0),
    	TopicName:      pulumi.String("string"),
    	Ttl:            pulumi.Int(0),
    	AutoSplit:      pulumi.Bool(false),
    	Description:    pulumi.String("string"),
    	EnableTracking: pulumi.Bool(false),
    	MaxSplitShard:  pulumi.Int(0),
    	Tags: tls.TopicTagArray{
    		&tls.TopicTagArgs{
    			Key:   pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    	TimeFormat: pulumi.String("string"),
    	TimeKey:    pulumi.String("string"),
    })
    
    var volcengineTopicResource = new Topic("volcengineTopicResource", TopicArgs.builder()
        .projectId("string")
        .shardCount(0)
        .topicName("string")
        .ttl(0)
        .autoSplit(false)
        .description("string")
        .enableTracking(false)
        .maxSplitShard(0)
        .tags(TopicTagArgs.builder()
            .key("string")
            .value("string")
            .build())
        .timeFormat("string")
        .timeKey("string")
        .build());
    
    volcengine_topic_resource = volcengine.tls.Topic("volcengineTopicResource",
        project_id="string",
        shard_count=0,
        topic_name="string",
        ttl=0,
        auto_split=False,
        description="string",
        enable_tracking=False,
        max_split_shard=0,
        tags=[{
            "key": "string",
            "value": "string",
        }],
        time_format="string",
        time_key="string")
    
    const volcengineTopicResource = new volcengine.tls.Topic("volcengineTopicResource", {
        projectId: "string",
        shardCount: 0,
        topicName: "string",
        ttl: 0,
        autoSplit: false,
        description: "string",
        enableTracking: false,
        maxSplitShard: 0,
        tags: [{
            key: "string",
            value: "string",
        }],
        timeFormat: "string",
        timeKey: "string",
    });
    
    type: volcengine:tls:Topic
    properties:
        autoSplit: false
        description: string
        enableTracking: false
        maxSplitShard: 0
        projectId: string
        shardCount: 0
        tags:
            - key: string
              value: string
        timeFormat: string
        timeKey: string
        topicName: string
        ttl: 0
    

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

    ProjectId string
    The project id of the tls topic.
    ShardCount int
    The count of shards in the tls topic. Valid value range: 1-10.
    TopicName string
    The name of the tls topic.
    Ttl int
    The data storage time of the tls topic. Unit: Day. Valid value range: 1-3650.
    AutoSplit bool
    Whether to enable automatic partition splitting function of the tls topic. true: (default) When the amount of data written exceeds the capacity of existing partitions for 5 consecutive minutes, Log Service will automatically split partitions based on the data volume to meet business needs. However, the number of partitions after splitting cannot exceed the maximum number of partitions. Newly split partitions within the last 15 minutes will not be automatically split again. false: Disables automatic partition splitting.
    Description string
    The description of the tls project.
    EnableTracking bool
    Whether to enable WebTracking function of the tls topic.
    MaxSplitShard int
    The maximum number of partitions, which is the maximum number of partitions after partition splitting. The value range is 1 to 10, with a default of 10.
    Tags List<TopicTag>
    Tags.
    TimeFormat string
    The format of the time field.
    TimeKey string
    The name of the time field.
    ProjectId string
    The project id of the tls topic.
    ShardCount int
    The count of shards in the tls topic. Valid value range: 1-10.
    TopicName string
    The name of the tls topic.
    Ttl int
    The data storage time of the tls topic. Unit: Day. Valid value range: 1-3650.
    AutoSplit bool
    Whether to enable automatic partition splitting function of the tls topic. true: (default) When the amount of data written exceeds the capacity of existing partitions for 5 consecutive minutes, Log Service will automatically split partitions based on the data volume to meet business needs. However, the number of partitions after splitting cannot exceed the maximum number of partitions. Newly split partitions within the last 15 minutes will not be automatically split again. false: Disables automatic partition splitting.
    Description string
    The description of the tls project.
    EnableTracking bool
    Whether to enable WebTracking function of the tls topic.
    MaxSplitShard int
    The maximum number of partitions, which is the maximum number of partitions after partition splitting. The value range is 1 to 10, with a default of 10.
    Tags []TopicTagArgs
    Tags.
    TimeFormat string
    The format of the time field.
    TimeKey string
    The name of the time field.
    projectId String
    The project id of the tls topic.
    shardCount Integer
    The count of shards in the tls topic. Valid value range: 1-10.
    topicName String
    The name of the tls topic.
    ttl Integer
    The data storage time of the tls topic. Unit: Day. Valid value range: 1-3650.
    autoSplit Boolean
    Whether to enable automatic partition splitting function of the tls topic. true: (default) When the amount of data written exceeds the capacity of existing partitions for 5 consecutive minutes, Log Service will automatically split partitions based on the data volume to meet business needs. However, the number of partitions after splitting cannot exceed the maximum number of partitions. Newly split partitions within the last 15 minutes will not be automatically split again. false: Disables automatic partition splitting.
    description String
    The description of the tls project.
    enableTracking Boolean
    Whether to enable WebTracking function of the tls topic.
    maxSplitShard Integer
    The maximum number of partitions, which is the maximum number of partitions after partition splitting. The value range is 1 to 10, with a default of 10.
    tags List<TopicTag>
    Tags.
    timeFormat String
    The format of the time field.
    timeKey String
    The name of the time field.
    projectId string
    The project id of the tls topic.
    shardCount number
    The count of shards in the tls topic. Valid value range: 1-10.
    topicName string
    The name of the tls topic.
    ttl number
    The data storage time of the tls topic. Unit: Day. Valid value range: 1-3650.
    autoSplit boolean
    Whether to enable automatic partition splitting function of the tls topic. true: (default) When the amount of data written exceeds the capacity of existing partitions for 5 consecutive minutes, Log Service will automatically split partitions based on the data volume to meet business needs. However, the number of partitions after splitting cannot exceed the maximum number of partitions. Newly split partitions within the last 15 minutes will not be automatically split again. false: Disables automatic partition splitting.
    description string
    The description of the tls project.
    enableTracking boolean
    Whether to enable WebTracking function of the tls topic.
    maxSplitShard number
    The maximum number of partitions, which is the maximum number of partitions after partition splitting. The value range is 1 to 10, with a default of 10.
    tags TopicTag[]
    Tags.
    timeFormat string
    The format of the time field.
    timeKey string
    The name of the time field.
    project_id str
    The project id of the tls topic.
    shard_count int
    The count of shards in the tls topic. Valid value range: 1-10.
    topic_name str
    The name of the tls topic.
    ttl int
    The data storage time of the tls topic. Unit: Day. Valid value range: 1-3650.
    auto_split bool
    Whether to enable automatic partition splitting function of the tls topic. true: (default) When the amount of data written exceeds the capacity of existing partitions for 5 consecutive minutes, Log Service will automatically split partitions based on the data volume to meet business needs. However, the number of partitions after splitting cannot exceed the maximum number of partitions. Newly split partitions within the last 15 minutes will not be automatically split again. false: Disables automatic partition splitting.
    description str
    The description of the tls project.
    enable_tracking bool
    Whether to enable WebTracking function of the tls topic.
    max_split_shard int
    The maximum number of partitions, which is the maximum number of partitions after partition splitting. The value range is 1 to 10, with a default of 10.
    tags Sequence[TopicTagArgs]
    Tags.
    time_format str
    The format of the time field.
    time_key str
    The name of the time field.
    projectId String
    The project id of the tls topic.
    shardCount Number
    The count of shards in the tls topic. Valid value range: 1-10.
    topicName String
    The name of the tls topic.
    ttl Number
    The data storage time of the tls topic. Unit: Day. Valid value range: 1-3650.
    autoSplit Boolean
    Whether to enable automatic partition splitting function of the tls topic. true: (default) When the amount of data written exceeds the capacity of existing partitions for 5 consecutive minutes, Log Service will automatically split partitions based on the data volume to meet business needs. However, the number of partitions after splitting cannot exceed the maximum number of partitions. Newly split partitions within the last 15 minutes will not be automatically split again. false: Disables automatic partition splitting.
    description String
    The description of the tls project.
    enableTracking Boolean
    Whether to enable WebTracking function of the tls topic.
    maxSplitShard Number
    The maximum number of partitions, which is the maximum number of partitions after partition splitting. The value range is 1 to 10, with a default of 10.
    tags List<Property Map>
    Tags.
    timeFormat String
    The format of the time field.
    timeKey String
    The name of the time field.

    Outputs

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

    CreateTime string
    The create time of the tls topic.
    Id string
    The provider-assigned unique ID for this managed resource.
    ModifyTime string
    The modify time of the tls topic.
    CreateTime string
    The create time of the tls topic.
    Id string
    The provider-assigned unique ID for this managed resource.
    ModifyTime string
    The modify time of the tls topic.
    createTime String
    The create time of the tls topic.
    id String
    The provider-assigned unique ID for this managed resource.
    modifyTime String
    The modify time of the tls topic.
    createTime string
    The create time of the tls topic.
    id string
    The provider-assigned unique ID for this managed resource.
    modifyTime string
    The modify time of the tls topic.
    create_time str
    The create time of the tls topic.
    id str
    The provider-assigned unique ID for this managed resource.
    modify_time str
    The modify time of the tls topic.
    createTime String
    The create time of the tls topic.
    id String
    The provider-assigned unique ID for this managed resource.
    modifyTime String
    The modify time of the tls topic.

    Look up Existing Topic Resource

    Get an existing Topic 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?: TopicState, opts?: CustomResourceOptions): Topic
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            auto_split: Optional[bool] = None,
            create_time: Optional[str] = None,
            description: Optional[str] = None,
            enable_tracking: Optional[bool] = None,
            max_split_shard: Optional[int] = None,
            modify_time: Optional[str] = None,
            project_id: Optional[str] = None,
            shard_count: Optional[int] = None,
            tags: Optional[Sequence[TopicTagArgs]] = None,
            time_format: Optional[str] = None,
            time_key: Optional[str] = None,
            topic_name: Optional[str] = None,
            ttl: Optional[int] = None) -> Topic
    func GetTopic(ctx *Context, name string, id IDInput, state *TopicState, opts ...ResourceOption) (*Topic, error)
    public static Topic Get(string name, Input<string> id, TopicState? state, CustomResourceOptions? opts = null)
    public static Topic get(String name, Output<String> id, TopicState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AutoSplit bool
    Whether to enable automatic partition splitting function of the tls topic. true: (default) When the amount of data written exceeds the capacity of existing partitions for 5 consecutive minutes, Log Service will automatically split partitions based on the data volume to meet business needs. However, the number of partitions after splitting cannot exceed the maximum number of partitions. Newly split partitions within the last 15 minutes will not be automatically split again. false: Disables automatic partition splitting.
    CreateTime string
    The create time of the tls topic.
    Description string
    The description of the tls project.
    EnableTracking bool
    Whether to enable WebTracking function of the tls topic.
    MaxSplitShard int
    The maximum number of partitions, which is the maximum number of partitions after partition splitting. The value range is 1 to 10, with a default of 10.
    ModifyTime string
    The modify time of the tls topic.
    ProjectId string
    The project id of the tls topic.
    ShardCount int
    The count of shards in the tls topic. Valid value range: 1-10.
    Tags List<TopicTag>
    Tags.
    TimeFormat string
    The format of the time field.
    TimeKey string
    The name of the time field.
    TopicName string
    The name of the tls topic.
    Ttl int
    The data storage time of the tls topic. Unit: Day. Valid value range: 1-3650.
    AutoSplit bool
    Whether to enable automatic partition splitting function of the tls topic. true: (default) When the amount of data written exceeds the capacity of existing partitions for 5 consecutive minutes, Log Service will automatically split partitions based on the data volume to meet business needs. However, the number of partitions after splitting cannot exceed the maximum number of partitions. Newly split partitions within the last 15 minutes will not be automatically split again. false: Disables automatic partition splitting.
    CreateTime string
    The create time of the tls topic.
    Description string
    The description of the tls project.
    EnableTracking bool
    Whether to enable WebTracking function of the tls topic.
    MaxSplitShard int
    The maximum number of partitions, which is the maximum number of partitions after partition splitting. The value range is 1 to 10, with a default of 10.
    ModifyTime string
    The modify time of the tls topic.
    ProjectId string
    The project id of the tls topic.
    ShardCount int
    The count of shards in the tls topic. Valid value range: 1-10.
    Tags []TopicTagArgs
    Tags.
    TimeFormat string
    The format of the time field.
    TimeKey string
    The name of the time field.
    TopicName string
    The name of the tls topic.
    Ttl int
    The data storage time of the tls topic. Unit: Day. Valid value range: 1-3650.
    autoSplit Boolean
    Whether to enable automatic partition splitting function of the tls topic. true: (default) When the amount of data written exceeds the capacity of existing partitions for 5 consecutive minutes, Log Service will automatically split partitions based on the data volume to meet business needs. However, the number of partitions after splitting cannot exceed the maximum number of partitions. Newly split partitions within the last 15 minutes will not be automatically split again. false: Disables automatic partition splitting.
    createTime String
    The create time of the tls topic.
    description String
    The description of the tls project.
    enableTracking Boolean
    Whether to enable WebTracking function of the tls topic.
    maxSplitShard Integer
    The maximum number of partitions, which is the maximum number of partitions after partition splitting. The value range is 1 to 10, with a default of 10.
    modifyTime String
    The modify time of the tls topic.
    projectId String
    The project id of the tls topic.
    shardCount Integer
    The count of shards in the tls topic. Valid value range: 1-10.
    tags List<TopicTag>
    Tags.
    timeFormat String
    The format of the time field.
    timeKey String
    The name of the time field.
    topicName String
    The name of the tls topic.
    ttl Integer
    The data storage time of the tls topic. Unit: Day. Valid value range: 1-3650.
    autoSplit boolean
    Whether to enable automatic partition splitting function of the tls topic. true: (default) When the amount of data written exceeds the capacity of existing partitions for 5 consecutive minutes, Log Service will automatically split partitions based on the data volume to meet business needs. However, the number of partitions after splitting cannot exceed the maximum number of partitions. Newly split partitions within the last 15 minutes will not be automatically split again. false: Disables automatic partition splitting.
    createTime string
    The create time of the tls topic.
    description string
    The description of the tls project.
    enableTracking boolean
    Whether to enable WebTracking function of the tls topic.
    maxSplitShard number
    The maximum number of partitions, which is the maximum number of partitions after partition splitting. The value range is 1 to 10, with a default of 10.
    modifyTime string
    The modify time of the tls topic.
    projectId string
    The project id of the tls topic.
    shardCount number
    The count of shards in the tls topic. Valid value range: 1-10.
    tags TopicTag[]
    Tags.
    timeFormat string
    The format of the time field.
    timeKey string
    The name of the time field.
    topicName string
    The name of the tls topic.
    ttl number
    The data storage time of the tls topic. Unit: Day. Valid value range: 1-3650.
    auto_split bool
    Whether to enable automatic partition splitting function of the tls topic. true: (default) When the amount of data written exceeds the capacity of existing partitions for 5 consecutive minutes, Log Service will automatically split partitions based on the data volume to meet business needs. However, the number of partitions after splitting cannot exceed the maximum number of partitions. Newly split partitions within the last 15 minutes will not be automatically split again. false: Disables automatic partition splitting.
    create_time str
    The create time of the tls topic.
    description str
    The description of the tls project.
    enable_tracking bool
    Whether to enable WebTracking function of the tls topic.
    max_split_shard int
    The maximum number of partitions, which is the maximum number of partitions after partition splitting. The value range is 1 to 10, with a default of 10.
    modify_time str
    The modify time of the tls topic.
    project_id str
    The project id of the tls topic.
    shard_count int
    The count of shards in the tls topic. Valid value range: 1-10.
    tags Sequence[TopicTagArgs]
    Tags.
    time_format str
    The format of the time field.
    time_key str
    The name of the time field.
    topic_name str
    The name of the tls topic.
    ttl int
    The data storage time of the tls topic. Unit: Day. Valid value range: 1-3650.
    autoSplit Boolean
    Whether to enable automatic partition splitting function of the tls topic. true: (default) When the amount of data written exceeds the capacity of existing partitions for 5 consecutive minutes, Log Service will automatically split partitions based on the data volume to meet business needs. However, the number of partitions after splitting cannot exceed the maximum number of partitions. Newly split partitions within the last 15 minutes will not be automatically split again. false: Disables automatic partition splitting.
    createTime String
    The create time of the tls topic.
    description String
    The description of the tls project.
    enableTracking Boolean
    Whether to enable WebTracking function of the tls topic.
    maxSplitShard Number
    The maximum number of partitions, which is the maximum number of partitions after partition splitting. The value range is 1 to 10, with a default of 10.
    modifyTime String
    The modify time of the tls topic.
    projectId String
    The project id of the tls topic.
    shardCount Number
    The count of shards in the tls topic. Valid value range: 1-10.
    tags List<Property Map>
    Tags.
    timeFormat String
    The format of the time field.
    timeKey String
    The name of the time field.
    topicName String
    The name of the tls topic.
    ttl Number
    The data storage time of the tls topic. Unit: Day. Valid value range: 1-3650.

    Supporting Types

    TopicTag, TopicTagArgs

    Key string
    The Key of Tags.
    Value string
    The Value of Tags.
    Key string
    The Key of Tags.
    Value string
    The Value of Tags.
    key String
    The Key of Tags.
    value String
    The Value of Tags.
    key string
    The Key of Tags.
    value string
    The Value of Tags.
    key str
    The Key of Tags.
    value str
    The Value of Tags.
    key String
    The Key of Tags.
    value String
    The Value of Tags.

    Import

    Tls Topic can be imported using the id, e.g.

     $ pulumi import volcengine:tls/topic:Topic default edf051ed-3c46-49ba-9339-bea628fe****
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine