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

volcengine.tls.Topics

Explore with Pulumi AI

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

    Use this data source to query detailed information of tls topics

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = Volcengine.Tls.Topics.Invoke(new()
        {
            ProjectId = "e020c978-4f05-40e1-9167-0113d3ef****",
            TopicId = "edf051ed-3c46-49ba-9339-bea628fe****",
        });
    
    });
    
    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.Topics(ctx, &tls.TopicsArgs{
    			ProjectId: "e020c978-4f05-40e1-9167-0113d3ef****",
    			TopicId:   pulumi.StringRef("edf051ed-3c46-49ba-9339-bea628fe****"),
    		}, nil)
    		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.TlsFunctions;
    import com.pulumi.volcengine.tls.inputs.TopicsArgs;
    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) {
            final var default = TlsFunctions.Topics(TopicsArgs.builder()
                .projectId("e020c978-4f05-40e1-9167-0113d3ef****")
                .topicId("edf051ed-3c46-49ba-9339-bea628fe****")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    default = volcengine.tls.topics(project_id="e020c978-4f05-40e1-9167-0113d3ef****",
        topic_id="edf051ed-3c46-49ba-9339-bea628fe****")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const default = volcengine.tls.Topics({
        projectId: "e020c978-4f05-40e1-9167-0113d3ef****",
        topicId: "edf051ed-3c46-49ba-9339-bea628fe****",
    });
    
    variables:
      default:
        fn::invoke:
          Function: volcengine:tls:Topics
          Arguments:
            projectId: e020c978-4f05-40e1-9167-0113d3ef****
            topicId: edf051ed-3c46-49ba-9339-bea628fe****
    

    Using Topics

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function topics(args: TopicsArgs, opts?: InvokeOptions): Promise<TopicsResult>
    function topicsOutput(args: TopicsOutputArgs, opts?: InvokeOptions): Output<TopicsResult>
    def topics(is_full_name: Optional[bool] = None,
               name_regex: Optional[str] = None,
               output_file: Optional[str] = None,
               project_id: Optional[str] = None,
               tags: Optional[Sequence[TopicsTag]] = None,
               topic_id: Optional[str] = None,
               topic_name: Optional[str] = None,
               opts: Optional[InvokeOptions] = None) -> TopicsResult
    def topics_output(is_full_name: Optional[pulumi.Input[bool]] = None,
               name_regex: Optional[pulumi.Input[str]] = None,
               output_file: Optional[pulumi.Input[str]] = None,
               project_id: Optional[pulumi.Input[str]] = None,
               tags: Optional[pulumi.Input[Sequence[pulumi.Input[TopicsTagArgs]]]] = None,
               topic_id: Optional[pulumi.Input[str]] = None,
               topic_name: Optional[pulumi.Input[str]] = None,
               opts: Optional[InvokeOptions] = None) -> Output[TopicsResult]
    func Topics(ctx *Context, args *TopicsArgs, opts ...InvokeOption) (*TopicsResult, error)
    func TopicsOutput(ctx *Context, args *TopicsOutputArgs, opts ...InvokeOption) TopicsResultOutput
    public static class Topics 
    {
        public static Task<TopicsResult> InvokeAsync(TopicsArgs args, InvokeOptions? opts = null)
        public static Output<TopicsResult> Invoke(TopicsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<TopicsResult> topics(TopicsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: volcengine:tls:Topics
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ProjectId string
    The project id of tls topic.
    IsFullName bool
    Whether to match accurately when filtering based on TopicName.
    NameRegex string
    A Name Regex of tls topic.
    OutputFile string
    File name where to save data source results.
    Tags List<TopicsTag>
    Tags.
    TopicId string
    The id of tls topic. This field supports fuzzy queries. It is not supported to specify both TopicName and TopicId at the same time.
    TopicName string
    The name of tls topic. This field supports fuzzy queries. It is not supported to specify both TopicName and TopicId at the same time.
    ProjectId string
    The project id of tls topic.
    IsFullName bool
    Whether to match accurately when filtering based on TopicName.
    NameRegex string
    A Name Regex of tls topic.
    OutputFile string
    File name where to save data source results.
    Tags []TopicsTag
    Tags.
    TopicId string
    The id of tls topic. This field supports fuzzy queries. It is not supported to specify both TopicName and TopicId at the same time.
    TopicName string
    The name of tls topic. This field supports fuzzy queries. It is not supported to specify both TopicName and TopicId at the same time.
    projectId String
    The project id of tls topic.
    isFullName Boolean
    Whether to match accurately when filtering based on TopicName.
    nameRegex String
    A Name Regex of tls topic.
    outputFile String
    File name where to save data source results.
    tags List<TopicsTag>
    Tags.
    topicId String
    The id of tls topic. This field supports fuzzy queries. It is not supported to specify both TopicName and TopicId at the same time.
    topicName String
    The name of tls topic. This field supports fuzzy queries. It is not supported to specify both TopicName and TopicId at the same time.
    projectId string
    The project id of tls topic.
    isFullName boolean
    Whether to match accurately when filtering based on TopicName.
    nameRegex string
    A Name Regex of tls topic.
    outputFile string
    File name where to save data source results.
    tags TopicsTag[]
    Tags.
    topicId string
    The id of tls topic. This field supports fuzzy queries. It is not supported to specify both TopicName and TopicId at the same time.
    topicName string
    The name of tls topic. This field supports fuzzy queries. It is not supported to specify both TopicName and TopicId at the same time.
    project_id str
    The project id of tls topic.
    is_full_name bool
    Whether to match accurately when filtering based on TopicName.
    name_regex str
    A Name Regex of tls topic.
    output_file str
    File name where to save data source results.
    tags Sequence[TopicsTag]
    Tags.
    topic_id str
    The id of tls topic. This field supports fuzzy queries. It is not supported to specify both TopicName and TopicId at the same time.
    topic_name str
    The name of tls topic. This field supports fuzzy queries. It is not supported to specify both TopicName and TopicId at the same time.
    projectId String
    The project id of tls topic.
    isFullName Boolean
    Whether to match accurately when filtering based on TopicName.
    nameRegex String
    A Name Regex of tls topic.
    outputFile String
    File name where to save data source results.
    tags List<Property Map>
    Tags.
    topicId String
    The id of tls topic. This field supports fuzzy queries. It is not supported to specify both TopicName and TopicId at the same time.
    topicName String
    The name of tls topic. This field supports fuzzy queries. It is not supported to specify both TopicName and TopicId at the same time.

    Topics Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    ProjectId string
    The project id of the tls topic.
    TlsTopics List<TopicsTlsTopic>
    The collection of tls topic query.
    TotalCount int
    The total count of tls topic query.
    IsFullName bool
    NameRegex string
    OutputFile string
    Tags List<TopicsTag>
    Tags.
    TopicId string
    The ID of the tls topic.
    TopicName string
    The name of the tls topic.
    Id string
    The provider-assigned unique ID for this managed resource.
    ProjectId string
    The project id of the tls topic.
    TlsTopics []TopicsTlsTopic
    The collection of tls topic query.
    TotalCount int
    The total count of tls topic query.
    IsFullName bool
    NameRegex string
    OutputFile string
    Tags []TopicsTag
    Tags.
    TopicId string
    The ID of the tls topic.
    TopicName string
    The name of the tls topic.
    id String
    The provider-assigned unique ID for this managed resource.
    projectId String
    The project id of the tls topic.
    tlsTopics List<TopicsTlsTopic>
    The collection of tls topic query.
    totalCount Integer
    The total count of tls topic query.
    isFullName Boolean
    nameRegex String
    outputFile String
    tags List<TopicsTag>
    Tags.
    topicId String
    The ID of the tls topic.
    topicName String
    The name of the tls topic.
    id string
    The provider-assigned unique ID for this managed resource.
    projectId string
    The project id of the tls topic.
    tlsTopics TopicsTlsTopic[]
    The collection of tls topic query.
    totalCount number
    The total count of tls topic query.
    isFullName boolean
    nameRegex string
    outputFile string
    tags TopicsTag[]
    Tags.
    topicId string
    The ID of the tls topic.
    topicName string
    The name of the tls topic.
    id str
    The provider-assigned unique ID for this managed resource.
    project_id str
    The project id of the tls topic.
    tls_topics Sequence[TopicsTlsTopic]
    The collection of tls topic query.
    total_count int
    The total count of tls topic query.
    is_full_name bool
    name_regex str
    output_file str
    tags Sequence[TopicsTag]
    Tags.
    topic_id str
    The ID of the tls topic.
    topic_name str
    The name of the tls topic.
    id String
    The provider-assigned unique ID for this managed resource.
    projectId String
    The project id of the tls topic.
    tlsTopics List<Property Map>
    The collection of tls topic query.
    totalCount Number
    The total count of tls topic query.
    isFullName Boolean
    nameRegex String
    outputFile String
    tags List<Property Map>
    Tags.
    topicId String
    The ID of the tls topic.
    topicName String
    The name of the tls topic.

    Supporting Types

    TopicsTag

    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.

    TopicsTlsTopic

    AutoSplit bool
    Whether to enable automatic partition splitting function of the tls topic.
    CreateTime string
    The create time of the tls topic.
    Description string
    The description of the tls topic.
    EnableTracking bool
    Whether to enable WebTracking function of the tls topic.
    Id string
    The ID of the tls topic.
    MaxSplitShard int
    The max count of shards in the tls topic.
    ModifyTime string
    The modify time of the tls topic.
    ProjectId string
    The project id of tls topic.
    ShardCount int
    The count of shards in the tls topic.
    Tags List<TopicsTlsTopicTag>
    Tags.
    TimeFormat string
    The format of the time field.
    TimeKey string
    The name of the time field.
    TopicId string
    The id of tls topic. This field supports fuzzy queries. It is not supported to specify both TopicName and TopicId at the same time.
    TopicName string
    The name of tls topic. This field supports fuzzy queries. It is not supported to specify both TopicName and TopicId at the same time.
    Ttl int
    The data storage time of the tls topic. Unit: Day.
    AutoSplit bool
    Whether to enable automatic partition splitting function of the tls topic.
    CreateTime string
    The create time of the tls topic.
    Description string
    The description of the tls topic.
    EnableTracking bool
    Whether to enable WebTracking function of the tls topic.
    Id string
    The ID of the tls topic.
    MaxSplitShard int
    The max count of shards in the tls topic.
    ModifyTime string
    The modify time of the tls topic.
    ProjectId string
    The project id of tls topic.
    ShardCount int
    The count of shards in the tls topic.
    Tags []TopicsTlsTopicTag
    Tags.
    TimeFormat string
    The format of the time field.
    TimeKey string
    The name of the time field.
    TopicId string
    The id of tls topic. This field supports fuzzy queries. It is not supported to specify both TopicName and TopicId at the same time.
    TopicName string
    The name of tls topic. This field supports fuzzy queries. It is not supported to specify both TopicName and TopicId at the same time.
    Ttl int
    The data storage time of the tls topic. Unit: Day.
    autoSplit Boolean
    Whether to enable automatic partition splitting function of the tls topic.
    createTime String
    The create time of the tls topic.
    description String
    The description of the tls topic.
    enableTracking Boolean
    Whether to enable WebTracking function of the tls topic.
    id String
    The ID of the tls topic.
    maxSplitShard Integer
    The max count of shards in the tls topic.
    modifyTime String
    The modify time of the tls topic.
    projectId String
    The project id of tls topic.
    shardCount Integer
    The count of shards in the tls topic.
    tags List<TopicsTlsTopicTag>
    Tags.
    timeFormat String
    The format of the time field.
    timeKey String
    The name of the time field.
    topicId String
    The id of tls topic. This field supports fuzzy queries. It is not supported to specify both TopicName and TopicId at the same time.
    topicName String
    The name of tls topic. This field supports fuzzy queries. It is not supported to specify both TopicName and TopicId at the same time.
    ttl Integer
    The data storage time of the tls topic. Unit: Day.
    autoSplit boolean
    Whether to enable automatic partition splitting function of the tls topic.
    createTime string
    The create time of the tls topic.
    description string
    The description of the tls topic.
    enableTracking boolean
    Whether to enable WebTracking function of the tls topic.
    id string
    The ID of the tls topic.
    maxSplitShard number
    The max count of shards in the tls topic.
    modifyTime string
    The modify time of the tls topic.
    projectId string
    The project id of tls topic.
    shardCount number
    The count of shards in the tls topic.
    tags TopicsTlsTopicTag[]
    Tags.
    timeFormat string
    The format of the time field.
    timeKey string
    The name of the time field.
    topicId string
    The id of tls topic. This field supports fuzzy queries. It is not supported to specify both TopicName and TopicId at the same time.
    topicName string
    The name of tls topic. This field supports fuzzy queries. It is not supported to specify both TopicName and TopicId at the same time.
    ttl number
    The data storage time of the tls topic. Unit: Day.
    auto_split bool
    Whether to enable automatic partition splitting function of the tls topic.
    create_time str
    The create time of the tls topic.
    description str
    The description of the tls topic.
    enable_tracking bool
    Whether to enable WebTracking function of the tls topic.
    id str
    The ID of the tls topic.
    max_split_shard int
    The max count of shards in the tls topic.
    modify_time str
    The modify time of the tls topic.
    project_id str
    The project id of tls topic.
    shard_count int
    The count of shards in the tls topic.
    tags Sequence[TopicsTlsTopicTag]
    Tags.
    time_format str
    The format of the time field.
    time_key str
    The name of the time field.
    topic_id str
    The id of tls topic. This field supports fuzzy queries. It is not supported to specify both TopicName and TopicId at the same time.
    topic_name str
    The name of tls topic. This field supports fuzzy queries. It is not supported to specify both TopicName and TopicId at the same time.
    ttl int
    The data storage time of the tls topic. Unit: Day.
    autoSplit Boolean
    Whether to enable automatic partition splitting function of the tls topic.
    createTime String
    The create time of the tls topic.
    description String
    The description of the tls topic.
    enableTracking Boolean
    Whether to enable WebTracking function of the tls topic.
    id String
    The ID of the tls topic.
    maxSplitShard Number
    The max count of shards in the tls topic.
    modifyTime String
    The modify time of the tls topic.
    projectId String
    The project id of tls topic.
    shardCount Number
    The count of shards in the tls topic.
    tags List<Property Map>
    Tags.
    timeFormat String
    The format of the time field.
    timeKey String
    The name of the time field.
    topicId String
    The id of tls topic. This field supports fuzzy queries. It is not supported to specify both TopicName and TopicId at the same time.
    topicName String
    The name of tls topic. This field supports fuzzy queries. It is not supported to specify both TopicName and TopicId at the same time.
    ttl Number
    The data storage time of the tls topic. Unit: Day.

    TopicsTlsTopicTag

    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.

    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