import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Consumer Groups in Oracle Cloud Infrastructure Queue service. * * Returns a list of consumer groups. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testConsumerGroups = oci.queue.getConsumerGroups({ * displayName: consumerGroupDisplayName, * id: consumerGroupId, * queueId: testQueue.id, * state: consumerGroupState, * }); * ``` */ export declare function getConsumerGroups(args?: GetConsumerGroupsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getConsumerGroups. */ export interface GetConsumerGroupsArgs { /** * A filter to return only resources that match the entire display name given. */ displayName?: string; filters?: inputs.Queue.GetConsumerGroupsFilter[]; /** * The unique consumer group identifier. */ id?: string; /** * The unique queue identifier. */ queueId?: string; /** * A filter to return only resources their lifecycleState matches the given lifecycleState. */ state?: string; } /** * A collection of values returned by getConsumerGroups. */ export interface GetConsumerGroupsResult { /** * The list of consumer_group_collection. */ readonly consumerGroupCollections: outputs.Queue.GetConsumerGroupsConsumerGroupCollection[]; /** * A user-friendly name for the consumer group. It has to be unique within the same queue in a case-insensitive manner. It's changeable. Avoid entering confidential information. */ readonly displayName?: string; readonly filters?: outputs.Queue.GetConsumerGroupsFilter[]; /** * A unique identifier for the consumer group that is immutable on creation. */ readonly id?: string; /** * The OCID of the associated queue. */ readonly queueId?: string; /** * The current state of the consumer group. */ readonly state?: string; } /** * This data source provides the list of Consumer Groups in Oracle Cloud Infrastructure Queue service. * * Returns a list of consumer groups. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testConsumerGroups = oci.queue.getConsumerGroups({ * displayName: consumerGroupDisplayName, * id: consumerGroupId, * queueId: testQueue.id, * state: consumerGroupState, * }); * ``` */ export declare function getConsumerGroupsOutput(args?: GetConsumerGroupsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getConsumerGroups. */ export interface GetConsumerGroupsOutputArgs { /** * A filter to return only resources that match the entire display name given. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * The unique consumer group identifier. */ id?: pulumi.Input; /** * The unique queue identifier. */ queueId?: pulumi.Input; /** * A filter to return only resources their lifecycleState matches the given lifecycleState. */ state?: pulumi.Input; } //# sourceMappingURL=getConsumerGroups.d.ts.map