import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
 * This data source provides details about a specific Managed Database User Consumer Group Privilege resource in Oracle Cloud Infrastructure Database Management service.
 *
 * Gets the list of consumer group privileges granted to a specific user.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testManagedDatabaseUserConsumerGroupPrivilege = oci.databasemanagement.getManagedDatabaseUserConsumerGroupPrivilege({
 *     managedDatabaseId: testManagedDatabase.id,
 *     userName: testUser.name,
 *     name: managedDatabaseUserConsumerGroupPrivilegeName,
 * });
 * ```
 */
export declare function getManagedDatabaseUserConsumerGroupPrivilege(args: GetManagedDatabaseUserConsumerGroupPrivilegeArgs, opts?: pulumi.InvokeOptions): Promise<GetManagedDatabaseUserConsumerGroupPrivilegeResult>;
/**
 * A collection of arguments for invoking getManagedDatabaseUserConsumerGroupPrivilege.
 */
export interface GetManagedDatabaseUserConsumerGroupPrivilegeArgs {
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Database.
     */
    managedDatabaseId: string;
    /**
     * A filter to return only resources that match the entire name.
     */
    name?: string;
    /**
     * The name of the user whose details are to be viewed.
     */
    userName: string;
}
/**
 * A collection of values returned by getManagedDatabaseUserConsumerGroupPrivilege.
 */
export interface GetManagedDatabaseUserConsumerGroupPrivilegeResult {
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    /**
     * An array of consumer group privileges.
     */
    readonly items: outputs.DatabaseManagement.GetManagedDatabaseUserConsumerGroupPrivilegeItem[];
    readonly managedDatabaseId: string;
    /**
     * The name of the granted consumer group privilege.
     */
    readonly name?: string;
    readonly userName: string;
}
/**
 * This data source provides details about a specific Managed Database User Consumer Group Privilege resource in Oracle Cloud Infrastructure Database Management service.
 *
 * Gets the list of consumer group privileges granted to a specific user.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testManagedDatabaseUserConsumerGroupPrivilege = oci.databasemanagement.getManagedDatabaseUserConsumerGroupPrivilege({
 *     managedDatabaseId: testManagedDatabase.id,
 *     userName: testUser.name,
 *     name: managedDatabaseUserConsumerGroupPrivilegeName,
 * });
 * ```
 */
export declare function getManagedDatabaseUserConsumerGroupPrivilegeOutput(args: GetManagedDatabaseUserConsumerGroupPrivilegeOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetManagedDatabaseUserConsumerGroupPrivilegeResult>;
/**
 * A collection of arguments for invoking getManagedDatabaseUserConsumerGroupPrivilege.
 */
export interface GetManagedDatabaseUserConsumerGroupPrivilegeOutputArgs {
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Database.
     */
    managedDatabaseId: pulumi.Input<string>;
    /**
     * A filter to return only resources that match the entire name.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * The name of the user whose details are to be viewed.
     */
    userName: pulumi.Input<string>;
}
//# sourceMappingURL=getManagedDatabaseUserConsumerGroupPrivilege.d.ts.map