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 Preferred Credentials in Oracle Cloud Infrastructure Database Management service. * * Gets the list of preferred credentials for a given Managed Database. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testManagedDatabasePreferredCredentials = oci.database.getManagedPreferredCredentials({ * managedDatabaseId: testManagedDatabase.id, * }); * ``` */ export declare function getManagedPreferredCredentials(args: GetManagedPreferredCredentialsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getManagedPreferredCredentials. */ export interface GetManagedPreferredCredentialsArgs { filters?: inputs.Database.GetManagedPreferredCredentialsFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Database. */ managedDatabaseId: string; } /** * A collection of values returned by getManagedPreferredCredentials. */ export interface GetManagedPreferredCredentialsResult { readonly filters?: outputs.Database.GetManagedPreferredCredentialsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly managedDatabaseId: string; /** * The list of preferred_credential_collection. */ readonly preferredCredentialCollections: outputs.Database.GetManagedPreferredCredentialsPreferredCredentialCollection[]; } /** * This data source provides the list of Managed Database Preferred Credentials in Oracle Cloud Infrastructure Database Management service. * * Gets the list of preferred credentials for a given Managed Database. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testManagedDatabasePreferredCredentials = oci.database.getManagedPreferredCredentials({ * managedDatabaseId: testManagedDatabase.id, * }); * ``` */ export declare function getManagedPreferredCredentialsOutput(args: GetManagedPreferredCredentialsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getManagedPreferredCredentials. */ export interface GetManagedPreferredCredentialsOutputArgs { filters?: pulumi.Input[] | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Database. */ managedDatabaseId: pulumi.Input; } //# sourceMappingURL=getManagedPreferredCredentials.d.ts.map