import * as pulumi from "@pulumi/pulumi"; /** * This data source provides details about a specific Consumer Group resource in Oracle Cloud Infrastructure Queue service. * * Gets a consumer group by identifier. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testConsumerGroup = oci.queue.getConsumerGroup({ * consumerGroupId: testConsumerGroupOciQueueConsumerGroup.id, * }); * ``` */ export declare function getConsumerGroup(args: GetConsumerGroupArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getConsumerGroup. */ export interface GetConsumerGroupArgs { /** * The unique consumer group identifier. */ consumerGroupId: string; } /** * A collection of values returned by getConsumerGroup. */ export interface GetConsumerGroupResult { /** * The filter used by the consumer group. Only messages matching the filter will be available by consumers of the group. An empty value means that all messages will be available in the group. The primary consumer group cannot have any filter. */ readonly consumerGroupFilter: string; readonly consumerGroupId: string; /** * The number of times a message can be delivered to a consumer before being moved to the dead letter queue. A value of 0 indicates that the DLQ is not used. If the value isn't set, it will be using the value defined at the queue level. */ readonly deadLetterQueueDeliveryCount: number; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: { [key: string]: string; }; /** * 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; /** * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ readonly freeformTags: { [key: string]: string; }; /** * A unique identifier for the consumer group that is immutable on creation. */ readonly id: string; readonly isEnabled: boolean; /** * Any additional details about the current state of the consumer group. */ readonly lifecycleDetails: string; /** * The OCID of the associated queue. */ readonly queueId: string; /** * The current state of the consumer group. */ readonly state: string; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: { [key: string]: string; }; /** * The time that the consumer group was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` */ readonly timeCreated: string; /** * The time that the consumer group was updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` */ readonly timeUpdated: string; } /** * This data source provides details about a specific Consumer Group resource in Oracle Cloud Infrastructure Queue service. * * Gets a consumer group by identifier. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testConsumerGroup = oci.queue.getConsumerGroup({ * consumerGroupId: testConsumerGroupOciQueueConsumerGroup.id, * }); * ``` */ export declare function getConsumerGroupOutput(args: GetConsumerGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getConsumerGroup. */ export interface GetConsumerGroupOutputArgs { /** * The unique consumer group identifier. */ consumerGroupId: pulumi.Input; } //# sourceMappingURL=getConsumerGroup.d.ts.map