1. Packages
  2. Volcengine
  3. API Docs
  4. tls
  5. getConsumerGroups
Volcengine v0.0.33 published on Monday, Jun 30, 2025 by Volcengine

volcengine.tls.getConsumerGroups

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.33 published on Monday, Jun 30, 2025 by Volcengine

    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:

    ConsumerGroupName string
    The name of the consumer group.
    IamProjectName string
    IAM log project name.
    NameRegex string
    A Name Regex of Resource.
    OutputFile string
    File name where to save data source results.
    ProjectId string
    The log project ID to which the consumption group belongs.
    ProjectName string
    The name of the log item to which the consumption group belongs.
    TopicId string
    The log topic ID to which the consumer belongs.
    TopicName string
    The name of the log topic to which the consumption group belongs.
    ConsumerGroupName string
    The name of the consumer group.
    IamProjectName string
    IAM log project name.
    NameRegex string
    A Name Regex of Resource.
    OutputFile string
    File name where to save data source results.
    ProjectId string
    The log project ID to which the consumption group belongs.
    ProjectName string
    The name of the log item to which the consumption group belongs.
    TopicId string
    The log topic ID to which the consumer belongs.
    TopicName string
    The name of the log topic to which the consumption group belongs.
    consumerGroupName String
    The name of the consumer group.
    iamProjectName String
    IAM log project name.
    nameRegex String
    A Name Regex of Resource.
    outputFile String
    File name where to save data source results.
    projectId String
    The log project ID to which the consumption group belongs.
    projectName String
    The name of the log item to which the consumption group belongs.
    topicId String
    The log topic ID to which the consumer belongs.
    topicName String
    The name of the log topic to which the consumption group belongs.
    consumerGroupName string
    The name of the consumer group.
    iamProjectName string
    IAM log project name.
    nameRegex string
    A Name Regex of Resource.
    outputFile string
    File name where to save data source results.
    projectId string
    The log project ID to which the consumption group belongs.
    projectName string
    The name of the log item to which the consumption group belongs.
    topicId string
    The log topic ID to which the consumer belongs.
    topicName string
    The name of the log topic to which the consumption group belongs.
    consumer_group_name str
    The name of the consumer group.
    iam_project_name str
    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.
    consumerGroupName String
    The name of the consumer group.
    iamProjectName String
    IAM log project name.
    nameRegex String
    A Name Regex of Resource.
    outputFile String
    File name where to save data source results.
    projectId String
    The log project ID to which the consumption group belongs.
    projectName String
    The name of the log item to which the consumption group belongs.
    topicId String
    The log topic ID to which the consumer belongs.
    topicName String
    The name of the log topic to which the consumption group belongs.

    getConsumerGroups Result

    The following output properties are available:

    ConsumerGroups List<GetConsumerGroupsConsumerGroup>
    List of log service consumption groups.
    Id string
    The provider-assigned unique ID for this managed resource.
    TotalCount int
    The total count of query.
    ConsumerGroupName string
    The name of the consumer group.
    IamProjectName string
    NameRegex string
    OutputFile string
    ProjectId string
    The log project ID to which the consumption group belongs.
    ProjectName string
    The name of the log item to which the consumption group belongs.
    TopicId string
    The list of log topic ids to be consumed by the consumer group.
    TopicName string
    ConsumerGroups []GetConsumerGroupsConsumerGroup
    List of log service consumption groups.
    Id string
    The provider-assigned unique ID for this managed resource.
    TotalCount int
    The total count of query.
    ConsumerGroupName string
    The name of the consumer group.
    IamProjectName string
    NameRegex string
    OutputFile string
    ProjectId string
    The log project ID to which the consumption group belongs.
    ProjectName string
    The name of the log item to which the consumption group belongs.
    TopicId string
    The list of log topic ids to be consumed by the consumer group.
    TopicName string
    consumerGroups List<GetConsumerGroupsConsumerGroup>
    List of log service consumption groups.
    id String
    The provider-assigned unique ID for this managed resource.
    totalCount Integer
    The total count of query.
    consumerGroupName String
    The name of the consumer group.
    iamProjectName String
    nameRegex String
    outputFile String
    projectId String
    The log project ID to which the consumption group belongs.
    projectName String
    The name of the log item to which the consumption group belongs.
    topicId String
    The list of log topic ids to be consumed by the consumer group.
    topicName String
    consumerGroups GetConsumerGroupsConsumerGroup[]
    List of log service consumption groups.
    id string
    The provider-assigned unique ID for this managed resource.
    totalCount number
    The total count of query.
    consumerGroupName string
    The name of the consumer group.
    iamProjectName string
    nameRegex string
    outputFile string
    projectId string
    The log project ID to which the consumption group belongs.
    projectName string
    The name of the log item to which the consumption group belongs.
    topicId string
    The list of log topic ids to be consumed by the consumer group.
    topicName string
    consumer_groups Sequence[GetConsumerGroupsConsumerGroup]
    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_name str
    The name of the consumer group.
    iam_project_name str
    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
    consumerGroups List<Property Map>
    List of log service consumption groups.
    id String
    The provider-assigned unique ID for this managed resource.
    totalCount Number
    The total count of query.
    consumerGroupName String
    The name of the consumer group.
    iamProjectName String
    nameRegex String
    outputFile String
    projectId String
    The log project ID to which the consumption group belongs.
    projectName String
    The name of the log item to which the consumption group belongs.
    topicId String
    The list of log topic ids to be consumed by the consumer group.
    topicName String

    Supporting Types

    GetConsumerGroupsConsumerGroup

    ConsumerGroupName string
    The name of the consumer group.
    HeartbeatTtl int
    The time of heart rate expiration, measured in seconds, has a value range of 1 to 300.
    OrderedConsume bool
    Whether to consume in sequence.
    ProjectId string
    The log project ID to which the consumption group belongs.
    ProjectName string
    The name of the log item to which the consumption group belongs.
    TopicIds List<string>
    The log topic ID to which the consumer belongs.
    ConsumerGroupName string
    The name of the consumer group.
    HeartbeatTtl int
    The time of heart rate expiration, measured in seconds, has a value range of 1 to 300.
    OrderedConsume bool
    Whether to consume in sequence.
    ProjectId string
    The log project ID to which the consumption group belongs.
    ProjectName string
    The name of the log item to which the consumption group belongs.
    TopicIds []string
    The log topic ID to which the consumer belongs.
    consumerGroupName String
    The name of the consumer group.
    heartbeatTtl Integer
    The time of heart rate expiration, measured in seconds, has a value range of 1 to 300.
    orderedConsume Boolean
    Whether to consume in sequence.
    projectId String
    The log project ID to which the consumption group belongs.
    projectName String
    The name of the log item to which the consumption group belongs.
    topicIds List<String>
    The log topic ID to which the consumer belongs.
    consumerGroupName string
    The name of the consumer group.
    heartbeatTtl number
    The time of heart rate expiration, measured in seconds, has a value range of 1 to 300.
    orderedConsume boolean
    Whether to consume in sequence.
    projectId string
    The log project ID to which the consumption group belongs.
    projectName string
    The name of the log item to which the consumption group belongs.
    topicIds string[]
    The log topic ID to which the consumer belongs.
    consumer_group_name str
    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.
    consumerGroupName String
    The name of the consumer group.
    heartbeatTtl Number
    The time of heart rate expiration, measured in seconds, has a value range of 1 to 300.
    orderedConsume Boolean
    Whether to consume in sequence.
    projectId String
    The log project ID to which the consumption group belongs.
    projectName String
    The name of the log item to which the consumption group belongs.
    topicIds 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.
    volcengine logo
    Volcengine v0.0.33 published on Monday, Jun 30, 2025 by Volcengine