import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Managed Databases User Proxy User resource in Oracle Cloud Infrastructure Database Management service. * * Gets the list of proxy users for the current user. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testManagedDatabasesUserProxyUser = oci.databasemanagement.getManagedDatabasesUserProxyUser({ * managedDatabaseId: testManagedDatabase.id, * userName: testUser.name, * name: managedDatabasesUserProxyUserName, * }); * ``` */ export declare function getManagedDatabasesUserProxyUser(args: GetManagedDatabasesUserProxyUserArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getManagedDatabasesUserProxyUser. */ export interface GetManagedDatabasesUserProxyUserArgs { /** * 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 getManagedDatabasesUserProxyUser. */ export interface GetManagedDatabasesUserProxyUserResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * An array of user resources. */ readonly items: outputs.DatabaseManagement.GetManagedDatabasesUserProxyUserItem[]; 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 Databases User Proxy User resource in Oracle Cloud Infrastructure Database Management service. * * Gets the list of proxy users for the current user. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testManagedDatabasesUserProxyUser = oci.databasemanagement.getManagedDatabasesUserProxyUser({ * managedDatabaseId: testManagedDatabase.id, * userName: testUser.name, * name: managedDatabasesUserProxyUserName, * }); * ``` */ export declare function getManagedDatabasesUserProxyUserOutput(args: GetManagedDatabasesUserProxyUserOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getManagedDatabasesUserProxyUser. */ export interface GetManagedDatabasesUserProxyUserOutputArgs { /** * 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=getManagedDatabasesUserProxyUser.d.ts.map