Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine
volcengine.tls.Topics
Explore with Pulumi AI
Use this data source to query detailed information of tls topics
Example Usage
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****",
});
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****")
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
	})
}
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 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());
    }
}
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) TopicsResultOutputpublic 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)
public static Output<TopicsResult> topics(TopicsArgs args, InvokeOptions options)
fn::invoke:
  function: volcengine:tls:Topics
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ProjectId string
- The project id of tls topic.
- IsFull boolName 
- 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.
- 
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.
- IsFull boolName 
- 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.
- 
[]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.
- isFull BooleanName 
- 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.
- 
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.
- isFull booleanName 
- 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.
- 
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_ boolname 
- 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.
- 
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.
- isFull BooleanName 
- 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.
- 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<TopicsTls Topic> 
- The collection of tls topic query.
- TotalCount int
- The total count of tls topic query.
- IsFull boolName 
- NameRegex string
- OutputFile string
- 
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 []TopicsTls Topic 
- The collection of tls topic query.
- TotalCount int
- The total count of tls topic query.
- IsFull boolName 
- NameRegex string
- OutputFile string
- 
[]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<TopicsTls Topic> 
- The collection of tls topic query.
- totalCount Integer
- The total count of tls topic query.
- isFull BooleanName 
- nameRegex String
- outputFile String
- 
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 TopicsTls Topic[] 
- The collection of tls topic query.
- totalCount number
- The total count of tls topic query.
- isFull booleanName 
- nameRegex string
- outputFile string
- 
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[TopicsTls Topic] 
- The collection of tls topic query.
- total_count int
- The total count of tls topic query.
- is_full_ boolname 
- name_regex str
- output_file str
- 
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.
- isFull BooleanName 
- nameRegex String
- outputFile String
- List<Property Map>
- Tags.
- topicId String
- The ID of the tls topic.
- topicName String
- The name of the tls topic.
Supporting Types
TopicsTag 
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.
- MaxSplit intShard 
- 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.
- int
- The count of shards in the tls topic.
- 
List<TopicsTls Topic Tag> 
- 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.
- MaxSplit intShard 
- 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.
- int
- The count of shards in the tls topic.
- 
[]TopicsTls Topic Tag 
- 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.
- maxSplit IntegerShard 
- 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.
- Integer
- The count of shards in the tls topic.
- 
List<TopicsTls Topic Tag> 
- 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.
- maxSplit numberShard 
- 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.
- number
- The count of shards in the tls topic.
- 
TopicsTls Topic Tag[] 
- 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_ intshard 
- 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.
- int
- The count of shards in the tls topic.
- 
Sequence[TopicsTls Topic Tag] 
- 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.
- maxSplit NumberShard 
- 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.
- Number
- The count of shards in the tls topic.
- 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   
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the volcengineTerraform Provider.