Volcengine v0.0.33 published on Monday, Jun 30, 2025 by Volcengine
volcengine.tls.getConsumerGroups
Explore with Pulumi AI
Use this data source to query detailed information of tls consumer groups
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const default = volcengine.tls.getConsumerGroups({});
import pulumi
import pulumi_volcengine as volcengine
default = volcengine.tls.get_consumer_groups()
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.GetConsumerGroups(ctx, nil, 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.GetConsumerGroups.Invoke();
});
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.GetConsumerGroupsArgs;
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.getConsumerGroups();
}
}
variables:
default:
fn::invoke:
Function: volcengine:tls:getConsumerGroups
Arguments: {}
Using getConsumerGroups
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 getConsumerGroups(args: GetConsumerGroupsArgs, opts?: InvokeOptions): Promise<GetConsumerGroupsResult>
function getConsumerGroupsOutput(args: GetConsumerGroupsOutputArgs, opts?: InvokeOptions): Output<GetConsumerGroupsResult>
def get_consumer_groups(consumer_group_name: Optional[str] = None,
iam_project_name: Optional[str] = None,
name_regex: Optional[str] = None,
output_file: Optional[str] = None,
project_id: Optional[str] = None,
project_name: Optional[str] = None,
topic_id: Optional[str] = None,
topic_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetConsumerGroupsResult
def get_consumer_groups_output(consumer_group_name: Optional[pulumi.Input[str]] = None,
iam_project_name: Optional[pulumi.Input[str]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
project_name: Optional[pulumi.Input[str]] = None,
topic_id: Optional[pulumi.Input[str]] = None,
topic_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetConsumerGroupsResult]
func GetConsumerGroups(ctx *Context, args *GetConsumerGroupsArgs, opts ...InvokeOption) (*GetConsumerGroupsResult, error)
func GetConsumerGroupsOutput(ctx *Context, args *GetConsumerGroupsOutputArgs, opts ...InvokeOption) GetConsumerGroupsResultOutput
> Note: This function is named GetConsumerGroups
in the Go SDK.
public static class GetConsumerGroups
{
public static Task<GetConsumerGroupsResult> InvokeAsync(GetConsumerGroupsArgs args, InvokeOptions? opts = null)
public static Output<GetConsumerGroupsResult> Invoke(GetConsumerGroupsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetConsumerGroupsResult> getConsumerGroups(GetConsumerGroupsArgs args, InvokeOptions options)
public static Output<GetConsumerGroupsResult> getConsumerGroups(GetConsumerGroupsArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:tls/getConsumerGroups:getConsumerGroups
arguments:
# arguments dictionary
The following arguments are supported:
- Consumer
Group stringName - The name of the consumer group.
- Iam
Project stringName - IAM log project name.
- Name
Regex string - A Name Regex of Resource.
- Output
File string - File name where to save data source results.
- Project
Id string - The log project ID to which the consumption group belongs.
- Project
Name string - The name of the log item to which the consumption group belongs.
- Topic
Id string - The log topic ID to which the consumer belongs.
- Topic
Name string - The name of the log topic to which the consumption group belongs.
- Consumer
Group stringName - The name of the consumer group.
- Iam
Project stringName - IAM log project name.
- Name
Regex string - A Name Regex of Resource.
- Output
File string - File name where to save data source results.
- Project
Id string - The log project ID to which the consumption group belongs.
- Project
Name string - The name of the log item to which the consumption group belongs.
- Topic
Id string - The log topic ID to which the consumer belongs.
- Topic
Name string - The name of the log topic to which the consumption group belongs.
- consumer
Group StringName - The name of the consumer group.
- iam
Project StringName - IAM log project name.
- name
Regex String - A Name Regex of Resource.
- output
File String - File name where to save data source results.
- project
Id String - The log project ID to which the consumption group belongs.
- project
Name String - The name of the log item to which the consumption group belongs.
- topic
Id String - The log topic ID to which the consumer belongs.
- topic
Name String - The name of the log topic to which the consumption group belongs.
- consumer
Group stringName - The name of the consumer group.
- iam
Project stringName - IAM log project name.
- name
Regex string - A Name Regex of Resource.
- output
File string - File name where to save data source results.
- project
Id string - The log project ID to which the consumption group belongs.
- project
Name string - The name of the log item to which the consumption group belongs.
- topic
Id string - The log topic ID to which the consumer belongs.
- topic
Name string - The name of the log topic to which the consumption group belongs.
- consumer_
group_ strname - The name of the consumer group.
- iam_
project_ strname - IAM log project name.
- name_
regex str - A Name Regex of Resource.
- output_
file str - File name where to save data source results.
- project_
id str - The log project ID to which the consumption group belongs.
- project_
name str - The name of the log item to which the consumption group belongs.
- topic_
id str - The log topic ID to which the consumer belongs.
- topic_
name str - The name of the log topic to which the consumption group belongs.
- consumer
Group StringName - The name of the consumer group.
- iam
Project StringName - IAM log project name.
- name
Regex String - A Name Regex of Resource.
- output
File String - File name where to save data source results.
- project
Id String - The log project ID to which the consumption group belongs.
- project
Name String - The name of the log item to which the consumption group belongs.
- topic
Id String - The log topic ID to which the consumer belongs.
- topic
Name String - The name of the log topic to which the consumption group belongs.
getConsumerGroups Result
The following output properties are available:
- Consumer
Groups List<GetConsumer Groups Consumer Group> - List of log service consumption groups.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of query.
- Consumer
Group stringName - The name of the consumer group.
- Iam
Project stringName - Name
Regex string - Output
File string - Project
Id string - The log project ID to which the consumption group belongs.
- Project
Name string - The name of the log item to which the consumption group belongs.
- Topic
Id string - The list of log topic ids to be consumed by the consumer group.
- Topic
Name string
- Consumer
Groups []GetConsumer Groups Consumer Group - List of log service consumption groups.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of query.
- Consumer
Group stringName - The name of the consumer group.
- Iam
Project stringName - Name
Regex string - Output
File string - Project
Id string - The log project ID to which the consumption group belongs.
- Project
Name string - The name of the log item to which the consumption group belongs.
- Topic
Id string - The list of log topic ids to be consumed by the consumer group.
- Topic
Name string
- consumer
Groups List<GetConsumer Groups Consumer Group> - List of log service consumption groups.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Integer - The total count of query.
- consumer
Group StringName - The name of the consumer group.
- iam
Project StringName - name
Regex String - output
File String - project
Id String - The log project ID to which the consumption group belongs.
- project
Name String - The name of the log item to which the consumption group belongs.
- topic
Id String - The list of log topic ids to be consumed by the consumer group.
- topic
Name String
- consumer
Groups GetConsumer Groups Consumer Group[] - List of log service consumption groups.
- id string
- The provider-assigned unique ID for this managed resource.
- total
Count number - The total count of query.
- consumer
Group stringName - The name of the consumer group.
- iam
Project stringName - name
Regex string - output
File string - project
Id string - The log project ID to which the consumption group belongs.
- project
Name string - The name of the log item to which the consumption group belongs.
- topic
Id string - The list of log topic ids to be consumed by the consumer group.
- topic
Name string
- consumer_
groups Sequence[GetConsumer Groups Consumer Group] - List of log service consumption groups.
- id str
- The provider-assigned unique ID for this managed resource.
- total_
count int - The total count of query.
- consumer_
group_ strname - The name of the consumer group.
- iam_
project_ strname - name_
regex str - output_
file str - project_
id str - The log project ID to which the consumption group belongs.
- project_
name str - The name of the log item to which the consumption group belongs.
- topic_
id str - The list of log topic ids to be consumed by the consumer group.
- topic_
name str
- consumer
Groups List<Property Map> - List of log service consumption groups.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Number - The total count of query.
- consumer
Group StringName - The name of the consumer group.
- iam
Project StringName - name
Regex String - output
File String - project
Id String - The log project ID to which the consumption group belongs.
- project
Name String - The name of the log item to which the consumption group belongs.
- topic
Id String - The list of log topic ids to be consumed by the consumer group.
- topic
Name String
Supporting Types
GetConsumerGroupsConsumerGroup
- Consumer
Group stringName - The name of the consumer group.
- Heartbeat
Ttl int - The time of heart rate expiration, measured in seconds, has a value range of 1 to 300.
- Ordered
Consume bool - Whether to consume in sequence.
- Project
Id string - The log project ID to which the consumption group belongs.
- Project
Name string - The name of the log item to which the consumption group belongs.
- Topic
Ids List<string> - The log topic ID to which the consumer belongs.
- Consumer
Group stringName - The name of the consumer group.
- Heartbeat
Ttl int - The time of heart rate expiration, measured in seconds, has a value range of 1 to 300.
- Ordered
Consume bool - Whether to consume in sequence.
- Project
Id string - The log project ID to which the consumption group belongs.
- Project
Name string - The name of the log item to which the consumption group belongs.
- Topic
Ids []string - The log topic ID to which the consumer belongs.
- consumer
Group StringName - The name of the consumer group.
- heartbeat
Ttl Integer - The time of heart rate expiration, measured in seconds, has a value range of 1 to 300.
- ordered
Consume Boolean - Whether to consume in sequence.
- project
Id String - The log project ID to which the consumption group belongs.
- project
Name String - The name of the log item to which the consumption group belongs.
- topic
Ids List<String> - The log topic ID to which the consumer belongs.
- consumer
Group stringName - The name of the consumer group.
- heartbeat
Ttl number - The time of heart rate expiration, measured in seconds, has a value range of 1 to 300.
- ordered
Consume boolean - Whether to consume in sequence.
- project
Id string - The log project ID to which the consumption group belongs.
- project
Name string - The name of the log item to which the consumption group belongs.
- topic
Ids string[] - The log topic ID to which the consumer belongs.
- consumer_
group_ strname - The name of the consumer group.
- heartbeat_
ttl int - The time of heart rate expiration, measured in seconds, has a value range of 1 to 300.
- ordered_
consume bool - Whether to consume in sequence.
- project_
id str - The log project ID to which the consumption group belongs.
- project_
name str - The name of the log item to which the consumption group belongs.
- topic_
ids Sequence[str] - The log topic ID to which the consumer belongs.
- consumer
Group StringName - The name of the consumer group.
- heartbeat
Ttl Number - The time of heart rate expiration, measured in seconds, has a value range of 1 to 300.
- ordered
Consume Boolean - Whether to consume in sequence.
- project
Id String - The log project ID to which the consumption group belongs.
- project
Name String - The name of the log item to which the consumption group belongs.
- topic
Ids List<String> - The log topic ID to which the consumer belongs.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.