import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Managed Database User Proxied For User resource in Oracle Cloud Infrastructure Database Management service. * * Gets the list of users on whose behalf the current user acts as proxy. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testManagedDatabaseUserProxiedForUser = oci.databasemanagement.getManagedDatabaseUserProxiedForUser({ * managedDatabaseId: testManagedDatabase.id, * userName: testUser.name, * name: managedDatabaseUserProxiedForUserName, * }); * ``` */ export declare function getManagedDatabaseUserProxiedForUser(args: GetManagedDatabaseUserProxiedForUserArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getManagedDatabaseUserProxiedForUser. */ export interface GetManagedDatabaseUserProxiedForUserArgs { /** * 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 getManagedDatabaseUserProxiedForUser. */ export interface GetManagedDatabaseUserProxiedForUserResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * An array of user resources. */ readonly items: outputs.DatabaseManagement.GetManagedDatabaseUserProxiedForUserItem[]; readonly managedDatabaseId: string; /** * The name of a proxy user or the name of the client user. */ readonly name?: string; readonly userName: string; } /** * This data source provides details about a specific Managed Database User Proxied For User resource in Oracle Cloud Infrastructure Database Management service. * * Gets the list of users on whose behalf the current user acts as proxy. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testManagedDatabaseUserProxiedForUser = oci.databasemanagement.getManagedDatabaseUserProxiedForUser({ * managedDatabaseId: testManagedDatabase.id, * userName: testUser.name, * name: managedDatabaseUserProxiedForUserName, * }); * ``` */ export declare function getManagedDatabaseUserProxiedForUserOutput(args: GetManagedDatabaseUserProxiedForUserOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getManagedDatabaseUserProxiedForUser. */ export interface GetManagedDatabaseUserProxiedForUserOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Database. */ managedDatabaseId: pulumi.Input; /** * A filter to return only resources that match the entire name. */ name?: pulumi.Input; /** * The name of the user whose details are to be viewed. */ userName: pulumi.Input; } //# sourceMappingURL=getManagedDatabaseUserProxiedForUser.d.ts.map