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 Managed Database User Consumer Group Privileges 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 testManagedDatabaseUserConsumerGroupPrivileges = oci.databasemanagement.getManagedDatabaseUserConsumerGroupPrivileges({
 *     managedDatabaseId: testManagedDatabase.id,
 *     userName: testUser.name,
 *     name: managedDatabaseUserConsumerGroupPrivilegeName,
 *     opcNamedCredentialId: managedDatabaseUserConsumerGroupPrivilegeOpcNamedCredentialId,
 * });
 * ```
 */
export declare function getManagedDatabaseUserConsumerGroupPrivileges(args: GetManagedDatabaseUserConsumerGroupPrivilegesArgs, opts?: pulumi.InvokeOptions): Promise<GetManagedDatabaseUserConsumerGroupPrivilegesResult>;
/**
 * A collection of arguments for invoking getManagedDatabaseUserConsumerGroupPrivileges.
 */
export interface GetManagedDatabaseUserConsumerGroupPrivilegesArgs {
    filters?: inputs.DatabaseManagement.GetManagedDatabaseUserConsumerGroupPrivilegesFilter[];
    /**
     * 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 OCID of the Named Credential.
     */
    opcNamedCredentialId?: string;
    /**
     * The name of the user whose details are to be viewed.
     */
    userName: string;
}
/**
 * A collection of values returned by getManagedDatabaseUserConsumerGroupPrivileges.
 */
export interface GetManagedDatabaseUserConsumerGroupPrivilegesResult {
    /**
     * The list of consumer_group_privilege_collection.
     */
    readonly consumerGroupPrivilegeCollections: outputs.DatabaseManagement.GetManagedDatabaseUserConsumerGroupPrivilegesConsumerGroupPrivilegeCollection[];
    readonly filters?: outputs.DatabaseManagement.GetManagedDatabaseUserConsumerGroupPrivilegesFilter[];
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    readonly managedDatabaseId: string;
    /**
     * The name of the granted consumer group privilege.
     */
    readonly name?: string;
    readonly opcNamedCredentialId?: string;
    readonly userName: string;
}
/**
 * This data source provides the list of Managed Database User Consumer Group Privileges 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 testManagedDatabaseUserConsumerGroupPrivileges = oci.databasemanagement.getManagedDatabaseUserConsumerGroupPrivileges({
 *     managedDatabaseId: testManagedDatabase.id,
 *     userName: testUser.name,
 *     name: managedDatabaseUserConsumerGroupPrivilegeName,
 *     opcNamedCredentialId: managedDatabaseUserConsumerGroupPrivilegeOpcNamedCredentialId,
 * });
 * ```
 */
export declare function getManagedDatabaseUserConsumerGroupPrivilegesOutput(args: GetManagedDatabaseUserConsumerGroupPrivilegesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetManagedDatabaseUserConsumerGroupPrivilegesResult>;
/**
 * A collection of arguments for invoking getManagedDatabaseUserConsumerGroupPrivileges.
 */
export interface GetManagedDatabaseUserConsumerGroupPrivilegesOutputArgs {
    filters?: pulumi.Input<pulumi.Input<inputs.DatabaseManagement.GetManagedDatabaseUserConsumerGroupPrivilegesFilterArgs>[] | undefined>;
    /**
     * 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 OCID of the Named Credential.
     */
    opcNamedCredentialId?: pulumi.Input<string | undefined>;
    /**
     * The name of the user whose details are to be viewed.
     */
    userName: pulumi.Input<string>;
}
//# sourceMappingURL=getManagedDatabaseUserConsumerGroupPrivileges.d.ts.map