Volcengine v0.0.29 published on Tuesday, Apr 29, 2025 by Volcengine
volcengine.rocketmq.Topics
Explore with Pulumi AI
Use this data source to query detailed information of rocketmq topics
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const foo = volcengine.rocketmq.Topics({
instanceId: "rocketmq-cnoeea6b32118fc2",
});
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.rocketmq.topics(instance_id="rocketmq-cnoeea6b32118fc2")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/rocketmq"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := rocketmq.Topics(ctx, &rocketmq.TopicsArgs{
InstanceId: "rocketmq-cnoeea6b32118fc2",
}, 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 foo = Volcengine.Rocketmq.Topics.Invoke(new()
{
InstanceId = "rocketmq-cnoeea6b32118fc2",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.rocketmq.RocketmqFunctions;
import com.pulumi.volcengine.rocketmq.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 foo = RocketmqFunctions.Topics(TopicsArgs.builder()
.instanceId("rocketmq-cnoeea6b32118fc2")
.build());
}
}
variables:
foo:
fn::invoke:
Function: volcengine:rocketmq:Topics
Arguments:
instanceId: rocketmq-cnoeea6b32118fc2
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(instance_id: Optional[str] = None,
message_type: Optional[int] = None,
name_regex: Optional[str] = None,
output_file: Optional[str] = None,
topic_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> TopicsResult
def topics_output(instance_id: Optional[pulumi.Input[str]] = None,
message_type: Optional[pulumi.Input[int]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
output_file: 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)
public static Output<TopicsResult> topics(TopicsArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:rocketmq:Topics
arguments:
# arguments dictionary
The following arguments are supported:
- Instance
Id string - The id of rocketmq instance.
- Message
Type int - The type of the rocketmq message. Setting this parameter means filtering the Topic list based on the specified message type. The value explanation is as follows: 0: Regular message 1: Transaction message 2: Partition order message 3: Global sequential message 4: Delay message.
- Name
Regex string - A Name Regex of Resource.
- Output
File string - File name where to save data source results.
- Topic
Name string - The name of the rocketmq topic. This field support fuzzy query.
- Instance
Id string - The id of rocketmq instance.
- Message
Type int - The type of the rocketmq message. Setting this parameter means filtering the Topic list based on the specified message type. The value explanation is as follows: 0: Regular message 1: Transaction message 2: Partition order message 3: Global sequential message 4: Delay message.
- Name
Regex string - A Name Regex of Resource.
- Output
File string - File name where to save data source results.
- Topic
Name string - The name of the rocketmq topic. This field support fuzzy query.
- instance
Id String - The id of rocketmq instance.
- message
Type Integer - The type of the rocketmq message. Setting this parameter means filtering the Topic list based on the specified message type. The value explanation is as follows: 0: Regular message 1: Transaction message 2: Partition order message 3: Global sequential message 4: Delay message.
- name
Regex String - A Name Regex of Resource.
- output
File String - File name where to save data source results.
- topic
Name String - The name of the rocketmq topic. This field support fuzzy query.
- instance
Id string - The id of rocketmq instance.
- message
Type number - The type of the rocketmq message. Setting this parameter means filtering the Topic list based on the specified message type. The value explanation is as follows: 0: Regular message 1: Transaction message 2: Partition order message 3: Global sequential message 4: Delay message.
- name
Regex string - A Name Regex of Resource.
- output
File string - File name where to save data source results.
- topic
Name string - The name of the rocketmq topic. This field support fuzzy query.
- instance_
id str - The id of rocketmq instance.
- message_
type int - The type of the rocketmq message. Setting this parameter means filtering the Topic list based on the specified message type. The value explanation is as follows: 0: Regular message 1: Transaction message 2: Partition order message 3: Global sequential message 4: Delay message.
- name_
regex str - A Name Regex of Resource.
- output_
file str - File name where to save data source results.
- topic_
name str - The name of the rocketmq topic. This field support fuzzy query.
- instance
Id String - The id of rocketmq instance.
- message
Type Number - The type of the rocketmq message. Setting this parameter means filtering the Topic list based on the specified message type. The value explanation is as follows: 0: Regular message 1: Transaction message 2: Partition order message 3: Global sequential message 4: Delay message.
- name
Regex String - A Name Regex of Resource.
- output
File String - File name where to save data source results.
- topic
Name String - The name of the rocketmq topic. This field support fuzzy query.
Topics Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Id string - The id of rocketmq instance.
- Rocketmq
Topics List<TopicsRocketmq Topic> - The collection of query.
- Total
Count int - The total count of query.
- Message
Type int - The type of the rocketmq message.
- Name
Regex string - Output
File string - Topic
Name string - The name of the rocketmq topic.
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Id string - The id of rocketmq instance.
- Rocketmq
Topics []TopicsRocketmq Topic - The collection of query.
- Total
Count int - The total count of query.
- Message
Type int - The type of the rocketmq message.
- Name
Regex string - Output
File string - Topic
Name string - The name of the rocketmq topic.
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Id String - The id of rocketmq instance.
- rocketmq
Topics List<TopicsRocketmq Topic> - The collection of query.
- total
Count Integer - The total count of query.
- message
Type Integer - The type of the rocketmq message.
- name
Regex String - output
File String - topic
Name String - The name of the rocketmq topic.
- id string
- The provider-assigned unique ID for this managed resource.
- instance
Id string - The id of rocketmq instance.
- rocketmq
Topics TopicsRocketmq Topic[] - The collection of query.
- total
Count number - The total count of query.
- message
Type number - The type of the rocketmq message.
- name
Regex string - output
File string - topic
Name string - The name of the rocketmq topic.
- id str
- The provider-assigned unique ID for this managed resource.
- instance_
id str - The id of rocketmq instance.
- rocketmq_
topics Sequence[TopicsRocketmq Topic] - The collection of query.
- total_
count int - The total count of query.
- message_
type int - The type of the rocketmq message.
- name_
regex str - output_
file str - topic_
name str - The name of the rocketmq topic.
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Id String - The id of rocketmq instance.
- rocketmq
Topics List<Property Map> - The collection of query.
- total
Count Number - The total count of query.
- message
Type Number - The type of the rocketmq message.
- name
Regex String - output
File String - topic
Name String - The name of the rocketmq topic.
Supporting Types
TopicsRocketmqTopic
- Access
Policies List<TopicsRocketmq Topic Access Policy> - The access policies of the rocketmq topic.
- Create
Time string - The create time of the rocketmq topic.
- Description string
- The description of the rocketmq topic.
- Groups
List<Topics
Rocketmq Topic Group> - The groups information of the rocketmq topic.
- Instance
Id string - The id of rocketmq instance.
- Message
Type int - The type of the rocketmq message. Setting this parameter means filtering the Topic list based on the specified message type. The value explanation is as follows: 0: Regular message 1: Transaction message 2: Partition order message 3: Global sequential message 4: Delay message.
- Queue
Number int - The number of the rocketmq topic queue.
- Queues
List<Topics
Rocketmq Topic Queue> - The queues information of the rocketmq topic.
- Topic
Name string - The name of the rocketmq topic. This field support fuzzy query.
- Access
Policies []TopicsRocketmq Topic Access Policy - The access policies of the rocketmq topic.
- Create
Time string - The create time of the rocketmq topic.
- Description string
- The description of the rocketmq topic.
- Groups
[]Topics
Rocketmq Topic Group - The groups information of the rocketmq topic.
- Instance
Id string - The id of rocketmq instance.
- Message
Type int - The type of the rocketmq message. Setting this parameter means filtering the Topic list based on the specified message type. The value explanation is as follows: 0: Regular message 1: Transaction message 2: Partition order message 3: Global sequential message 4: Delay message.
- Queue
Number int - The number of the rocketmq topic queue.
- Queues
[]Topics
Rocketmq Topic Queue - The queues information of the rocketmq topic.
- Topic
Name string - The name of the rocketmq topic. This field support fuzzy query.
- access
Policies List<TopicsRocketmq Topic Access Policy> - The access policies of the rocketmq topic.
- create
Time String - The create time of the rocketmq topic.
- description String
- The description of the rocketmq topic.
- groups
List<Topics
Rocketmq Topic Group> - The groups information of the rocketmq topic.
- instance
Id String - The id of rocketmq instance.
- message
Type Integer - The type of the rocketmq message. Setting this parameter means filtering the Topic list based on the specified message type. The value explanation is as follows: 0: Regular message 1: Transaction message 2: Partition order message 3: Global sequential message 4: Delay message.
- queue
Number Integer - The number of the rocketmq topic queue.
- queues
List<Topics
Rocketmq Topic Queue> - The queues information of the rocketmq topic.
- topic
Name String - The name of the rocketmq topic. This field support fuzzy query.
- access
Policies TopicsRocketmq Topic Access Policy[] - The access policies of the rocketmq topic.
- create
Time string - The create time of the rocketmq topic.
- description string
- The description of the rocketmq topic.
- groups
Topics
Rocketmq Topic Group[] - The groups information of the rocketmq topic.
- instance
Id string - The id of rocketmq instance.
- message
Type number - The type of the rocketmq message. Setting this parameter means filtering the Topic list based on the specified message type. The value explanation is as follows: 0: Regular message 1: Transaction message 2: Partition order message 3: Global sequential message 4: Delay message.
- queue
Number number - The number of the rocketmq topic queue.
- queues
Topics
Rocketmq Topic Queue[] - The queues information of the rocketmq topic.
- topic
Name string - The name of the rocketmq topic. This field support fuzzy query.
- access_
policies Sequence[TopicsRocketmq Topic Access Policy] - The access policies of the rocketmq topic.
- create_
time str - The create time of the rocketmq topic.
- description str
- The description of the rocketmq topic.
- groups
Sequence[Topics
Rocketmq Topic Group] - The groups information of the rocketmq topic.
- instance_
id str - The id of rocketmq instance.
- message_
type int - The type of the rocketmq message. Setting this parameter means filtering the Topic list based on the specified message type. The value explanation is as follows: 0: Regular message 1: Transaction message 2: Partition order message 3: Global sequential message 4: Delay message.
- queue_
number int - The number of the rocketmq topic queue.
- queues
Sequence[Topics
Rocketmq Topic Queue] - The queues information of the rocketmq topic.
- topic_
name str - The name of the rocketmq topic. This field support fuzzy query.
- access
Policies List<Property Map> - The access policies of the rocketmq topic.
- create
Time String - The create time of the rocketmq topic.
- description String
- The description of the rocketmq topic.
- groups List<Property Map>
- The groups information of the rocketmq topic.
- instance
Id String - The id of rocketmq instance.
- message
Type Number - The type of the rocketmq message. Setting this parameter means filtering the Topic list based on the specified message type. The value explanation is as follows: 0: Regular message 1: Transaction message 2: Partition order message 3: Global sequential message 4: Delay message.
- queue
Number Number - The number of the rocketmq topic queue.
- queues List<Property Map>
- The queues information of the rocketmq topic.
- topic
Name String - The name of the rocketmq topic. This field support fuzzy query.
TopicsRocketmqTopicAccessPolicy
- Access
Key string - The access key of the rocketmq key.
- string
- The authority of the rocketmq key for the current topic.
- Access
Key string - The access key of the rocketmq key.
- string
- The authority of the rocketmq key for the current topic.
- access
Key String - The access key of the rocketmq key.
- String
- The authority of the rocketmq key for the current topic.
- access
Key string - The access key of the rocketmq key.
- string
- The authority of the rocketmq key for the current topic.
- access_
key str - The access key of the rocketmq key.
- str
- The authority of the rocketmq key for the current topic.
- access
Key String - The access key of the rocketmq key.
- String
- The authority of the rocketmq key for the current topic.
TopicsRocketmqTopicGroup
- Group
Id string - The id of the rocketmq group.
- Message
Model string - The message model of the rocketmq group.
- Sub
String string - The sub string of the rocketmq group.
- Group
Id string - The id of the rocketmq group.
- Message
Model string - The message model of the rocketmq group.
- Sub
String string - The sub string of the rocketmq group.
- group
Id String - The id of the rocketmq group.
- message
Model String - The message model of the rocketmq group.
- sub
String String - The sub string of the rocketmq group.
- group
Id string - The id of the rocketmq group.
- message
Model string - The message model of the rocketmq group.
- sub
String string - The sub string of the rocketmq group.
- group_
id str - The id of the rocketmq group.
- message_
model str - The message model of the rocketmq group.
- sub_
string str - The sub string of the rocketmq group.
- group
Id String - The id of the rocketmq group.
- message
Model String - The message model of the rocketmq group.
- sub
String String - The sub string of the rocketmq group.
TopicsRocketmqTopicQueue
- End
Offset int - The end offset of the rocketmq queue.
- Last
Update intTimestamp - The last update timestamp of the rocketmq queue.
- Message
Count int - The message count of the rocketmq queue.
- Queue
Id string - The id of the rocketmq queue.
- Start
Offset int - The start offset of the rocketmq queue.
- End
Offset int - The end offset of the rocketmq queue.
- Last
Update intTimestamp - The last update timestamp of the rocketmq queue.
- Message
Count int - The message count of the rocketmq queue.
- Queue
Id string - The id of the rocketmq queue.
- Start
Offset int - The start offset of the rocketmq queue.
- end
Offset Integer - The end offset of the rocketmq queue.
- last
Update IntegerTimestamp - The last update timestamp of the rocketmq queue.
- message
Count Integer - The message count of the rocketmq queue.
- queue
Id String - The id of the rocketmq queue.
- start
Offset Integer - The start offset of the rocketmq queue.
- end
Offset number - The end offset of the rocketmq queue.
- last
Update numberTimestamp - The last update timestamp of the rocketmq queue.
- message
Count number - The message count of the rocketmq queue.
- queue
Id string - The id of the rocketmq queue.
- start
Offset number - The start offset of the rocketmq queue.
- end_
offset int - The end offset of the rocketmq queue.
- last_
update_ inttimestamp - The last update timestamp of the rocketmq queue.
- message_
count int - The message count of the rocketmq queue.
- queue_
id str - The id of the rocketmq queue.
- start_
offset int - The start offset of the rocketmq queue.
- end
Offset Number - The end offset of the rocketmq queue.
- last
Update NumberTimestamp - The last update timestamp of the rocketmq queue.
- message
Count Number - The message count of the rocketmq queue.
- queue
Id String - The id of the rocketmq queue.
- start
Offset Number - The start offset of the rocketmq queue.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.