import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Group basic information * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcenginecc from "@volcengine/pulumi-volcenginecc"; * * const kafkaGroupDemo = new volcenginecc.kafka.Group("KafkaGroupDemo", { * instanceId: "instance_id_xxxxxx", * groupId: "ccapi-test-2", * description: "test", * tags: [{ * key: "env", * value: "test", * }], * }); * ``` * * ## Import * * ```sh * $ pulumi import volcenginecc:kafka/group:Group example "instance_id|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; /** * Algorithm for assigning partitions to consumers, specified by the consumer client. If using custom partition consumption, this field may be empty */ readonly balanceAlgorithm: pulumi.Output; /** * Consumer group description, up to 128 characters */ readonly description: pulumi.Output; /** * Consumer group ID to be created - Length: 3–128 characters - Can contain uppercase and lowercase letters, numbers, hyphens (-), special character (@), and underscores (_) - Must include at least one letter or number */ readonly groupId: pulumi.Output; /** * Instance ID */ readonly instanceId: pulumi.Output; /** * Consumer group protocol type - If using the standard Kafka consumer protocol, displays as consumer - If using another protocol type, displays the corresponding protocol name, for example, connect when using Kafka-Connector - If using custom partition consumption, this field may be empty */ readonly protocolType: pulumi.Output; /** * Consumer group status - PreparingRebalance: preparing for consumption - CompletingRebalance: assigning partitions - Stable: consuming - Empty: not consuming - Dead: expired */ readonly state: pulumi.Output; readonly tags: 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 { /** * Algorithm for assigning partitions to consumers, specified by the consumer client. If using custom partition consumption, this field may be empty */ balanceAlgorithm?: pulumi.Input; /** * Consumer group description, up to 128 characters */ description?: pulumi.Input; /** * Consumer group ID to be created - Length: 3–128 characters - Can contain uppercase and lowercase letters, numbers, hyphens (-), special character (@), and underscores (_) - Must include at least one letter or number */ groupId?: pulumi.Input; /** * Instance ID */ instanceId?: pulumi.Input; /** * Consumer group protocol type - If using the standard Kafka consumer protocol, displays as consumer - If using another protocol type, displays the corresponding protocol name, for example, connect when using Kafka-Connector - If using custom partition consumption, this field may be empty */ protocolType?: pulumi.Input; /** * Consumer group status - PreparingRebalance: preparing for consumption - CompletingRebalance: assigning partitions - Stable: consuming - Empty: not consuming - Dead: expired */ state?: pulumi.Input; tags?: pulumi.Input[]>; } /** * The set of arguments for constructing a Group resource. */ export interface GroupArgs { /** * Consumer group description, up to 128 characters */ description?: pulumi.Input; /** * Consumer group ID to be created - Length: 3–128 characters - Can contain uppercase and lowercase letters, numbers, hyphens (-), special character (@), and underscores (_) - Must include at least one letter or number */ groupId: pulumi.Input; /** * Instance ID */ instanceId: pulumi.Input; tags?: pulumi.Input[]>; }