import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * A group of consumers with the same Group ID. When multiple consumers in the same Group consume a Topic, each message is delivered to only one consumer, enabling load balancing. Using Groups ensures that messages in a Topic are consumed in parallel. * * ## Import * * ```sh * $ pulumi import volcenginecc:bmq/group:Group example "group_id" * ``` */ export declare class Group extends pulumi.CustomResource { /** * Get an existing Group resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: GroupState, opts?: pulumi.CustomResourceOptions): Group; /** * Returns true if the given object is an instance of Group. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Group; /** * Consumer Group creation time */ readonly createdTime: pulumi.Output; /** * Consumer Group description */ readonly description: pulumi.Output; /** * Consumer Group ID */ readonly groupId: pulumi.Output; /** * Set a custom Consumer Group name. Constraints: Only lowercase English letters, numbers, underscores, and hyphens (-) are allowed. Length must be 3–64 characters. */ readonly groupName: pulumi.Output; /** * BMQ instance ID */ readonly instanceId: pulumi.Output; /** * User ID of the Consumer Group owner */ readonly ownerId: pulumi.Output; /** * Name of the Consumer Group owner */ readonly ownerName: pulumi.Output; /** * Reset consumption offset information */ readonly resetInfo: pulumi.Output; /** * Consumer Group status */ readonly status: pulumi.Output; readonly topicInfos: pulumi.Output; /** * Create a Group resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args?: GroupArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Group resources. */ export interface GroupState { /** * Consumer Group creation time */ createdTime?: pulumi.Input; /** * Consumer Group description */ description?: pulumi.Input; /** * Consumer Group ID */ groupId?: pulumi.Input; /** * Set a custom Consumer Group name. Constraints: Only lowercase English letters, numbers, underscores, and hyphens (-) are allowed. Length must be 3–64 characters. */ groupName?: pulumi.Input; /** * BMQ instance ID */ instanceId?: pulumi.Input; /** * User ID of the Consumer Group owner */ ownerId?: pulumi.Input; /** * Name of the Consumer Group owner */ ownerName?: pulumi.Input; /** * Reset consumption offset information */ resetInfo?: pulumi.Input; /** * Consumer Group status */ status?: pulumi.Input; topicInfos?: pulumi.Input[]>; } /** * The set of arguments for constructing a Group resource. */ export interface GroupArgs { /** * Consumer Group description */ description?: pulumi.Input; /** * Set a custom Consumer Group name. Constraints: Only lowercase English letters, numbers, underscores, and hyphens (-) are allowed. Length must be 3–64 characters. */ groupName?: pulumi.Input; /** * BMQ instance ID */ instanceId?: pulumi.Input; /** * Reset consumption offset information */ resetInfo?: pulumi.Input; }