Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine
volcengine.tls.Topics
Explore with Pulumi AI
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:
- Project
Id string - The project id of tls topic.
- Is
Full boolName - Whether to match accurately when filtering based on TopicName.
- Name
Regex string - A Name Regex of tls topic.
- Output
File string - File name where to save data source results.
- List<Topics
Tag> - Tags.
- Topic
Id 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.
- Topic
Name 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 string - The project id of tls topic.
- Is
Full boolName - Whether to match accurately when filtering based on TopicName.
- Name
Regex string - A Name Regex of tls topic.
- Output
File string - File name where to save data source results.
- []Topics
Tag - Tags.
- Topic
Id 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.
- Topic
Name 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 String - The project id of tls topic.
- is
Full BooleanName - Whether to match accurately when filtering based on TopicName.
- name
Regex String - A Name Regex of tls topic.
- output
File String - File name where to save data source results.
- List<Topics
Tag> - Tags.
- topic
Id 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.
- topic
Name 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 string - The project id of tls topic.
- is
Full booleanName - Whether to match accurately when filtering based on TopicName.
- name
Regex string - A Name Regex of tls topic.
- output
File string - File name where to save data source results.
- Topics
Tag[] - Tags.
- topic
Id 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.
- topic
Name 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[Topics
Tag] - 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.
- project
Id String - The project id of tls topic.
- is
Full BooleanName - Whether to match accurately when filtering based on TopicName.
- name
Regex String - A Name Regex of tls topic.
- output
File String - File name where to save data source results.
- List<Property Map>
- Tags.
- topic
Id 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.
- topic
Name 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.
- Project
Id string - The project id of the tls topic.
- Tls
Topics List<TopicsTls Topic> - The collection of tls topic query.
- Total
Count int - The total count of tls topic query.
- Is
Full boolName - Name
Regex string - Output
File string - List<Topics
Tag> - Tags.
- Topic
Id string - The ID of the tls topic.
- Topic
Name string - The name of the tls topic.
- Id string
- The provider-assigned unique ID for this managed resource.
- Project
Id string - The project id of the tls topic.
- Tls
Topics []TopicsTls Topic - The collection of tls topic query.
- Total
Count int - The total count of tls topic query.
- Is
Full boolName - Name
Regex string - Output
File string - []Topics
Tag - Tags.
- Topic
Id string - The ID of the tls topic.
- Topic
Name string - The name of the tls topic.
- id String
- The provider-assigned unique ID for this managed resource.
- project
Id String - The project id of the tls topic.
- tls
Topics List<TopicsTls Topic> - The collection of tls topic query.
- total
Count Integer - The total count of tls topic query.
- is
Full BooleanName - name
Regex String - output
File String - List<Topics
Tag> - Tags.
- topic
Id String - The ID of the tls topic.
- topic
Name String - The name of the tls topic.
- id string
- The provider-assigned unique ID for this managed resource.
- project
Id string - The project id of the tls topic.
- tls
Topics TopicsTls Topic[] - The collection of tls topic query.
- total
Count number - The total count of tls topic query.
- is
Full booleanName - name
Regex string - output
File string - Topics
Tag[] - Tags.
- topic
Id string - The ID of the tls topic.
- topic
Name 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[Topics
Tag] - 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.
- project
Id String - The project id of the tls topic.
- tls
Topics List<Property Map> - The collection of tls topic query.
- total
Count Number - The total count of tls topic query.
- is
Full BooleanName - name
Regex String - output
File String - List<Property Map>
- Tags.
- topic
Id String - The ID of the tls topic.
- topic
Name String - The name of the tls topic.
Supporting Types
TopicsTag
TopicsTlsTopic
- Auto
Split bool - Whether to enable automatic partition splitting function of the tls topic.
- Create
Time string - The create time of the tls topic.
- Description string
- The description of the tls topic.
- Enable
Tracking bool - Whether to enable WebTracking function of the tls topic.
- Id string
- The ID of the tls topic.
- Max
Split intShard - The max count of shards in the tls topic.
- Modify
Time string - The modify time of the tls topic.
- Project
Id string - The project id of tls topic.
- int
- The count of shards in the tls topic.
- List<Topics
Tls Topic Tag> - Tags.
- Time
Format string - The format of the time field.
- Time
Key string - The name of the time field.
- Topic
Id 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.
- Topic
Name 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.
- Auto
Split bool - Whether to enable automatic partition splitting function of the tls topic.
- Create
Time string - The create time of the tls topic.
- Description string
- The description of the tls topic.
- Enable
Tracking bool - Whether to enable WebTracking function of the tls topic.
- Id string
- The ID of the tls topic.
- Max
Split intShard - The max count of shards in the tls topic.
- Modify
Time string - The modify time of the tls topic.
- Project
Id string - The project id of tls topic.
- int
- The count of shards in the tls topic.
- []Topics
Tls Topic Tag - Tags.
- Time
Format string - The format of the time field.
- Time
Key string - The name of the time field.
- Topic
Id 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.
- Topic
Name 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.
- auto
Split Boolean - Whether to enable automatic partition splitting function of the tls topic.
- create
Time String - The create time of the tls topic.
- description String
- The description of the tls topic.
- enable
Tracking Boolean - Whether to enable WebTracking function of the tls topic.
- id String
- The ID of the tls topic.
- max
Split IntegerShard - The max count of shards in the tls topic.
- modify
Time String - The modify time of the tls topic.
- project
Id String - The project id of tls topic.
- Integer
- The count of shards in the tls topic.
- List<Topics
Tls Topic Tag> - Tags.
- time
Format String - The format of the time field.
- time
Key String - The name of the time field.
- topic
Id 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.
- topic
Name 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.
- auto
Split boolean - Whether to enable automatic partition splitting function of the tls topic.
- create
Time string - The create time of the tls topic.
- description string
- The description of the tls topic.
- enable
Tracking boolean - Whether to enable WebTracking function of the tls topic.
- id string
- The ID of the tls topic.
- max
Split numberShard - The max count of shards in the tls topic.
- modify
Time string - The modify time of the tls topic.
- project
Id string - The project id of tls topic.
- number
- The count of shards in the tls topic.
- Topics
Tls Topic Tag[] - Tags.
- time
Format string - The format of the time field.
- time
Key string - The name of the time field.
- topic
Id 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.
- topic
Name 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[Topics
Tls 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.
- auto
Split Boolean - Whether to enable automatic partition splitting function of the tls topic.
- create
Time String - The create time of the tls topic.
- description String
- The description of the tls topic.
- enable
Tracking Boolean - Whether to enable WebTracking function of the tls topic.
- id String
- The ID of the tls topic.
- max
Split NumberShard - The max count of shards in the tls topic.
- modify
Time String - The modify time of the tls topic.
- project
Id String - The project id of tls topic.
- Number
- The count of shards in the tls topic.
- List<Property Map>
- Tags.
- time
Format String - The format of the time field.
- time
Key String - The name of the time field.
- topic
Id 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.
- topic
Name 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
volcengine
Terraform Provider.