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 Named Credentials in Oracle Cloud Infrastructure Database Management service. * * Gets a single named credential specified by the name or all the named credentials in a specific compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testNamedCredentials = oci.databasemanagement.getNamedCredentials({ * compartmentId: compartmentId, * associatedResource: namedCredentialAssociatedResource, * name: namedCredentialName, * scope: namedCredentialScope, * type: namedCredentialType, * }); * ``` */ export declare function getNamedCredentials(args: GetNamedCredentialsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getNamedCredentials. */ export interface GetNamedCredentialsArgs { /** * The resource associated to the named credential. */ associatedResource?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: string; filters?: inputs.DatabaseManagement.GetNamedCredentialsFilter[]; /** * The name of the named credential. */ name?: string; /** * The scope of named credential. */ scope?: string; /** * The type of database that is associated to the named credential. */ type?: string; } /** * A collection of values returned by getNamedCredentials. */ export interface GetNamedCredentialsResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource that is associated to the named credential. */ readonly associatedResource?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId: string; readonly filters?: outputs.DatabaseManagement.GetNamedCredentialsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The name of the named credential. */ readonly name?: string; /** * The list of named_credential_collection. */ readonly namedCredentialCollections: outputs.DatabaseManagement.GetNamedCredentialsNamedCredentialCollection[]; /** * The scope of the named credential. */ readonly scope?: string; /** * The type of resource associated with the named credential. */ readonly type?: string; } /** * This data source provides the list of Named Credentials in Oracle Cloud Infrastructure Database Management service. * * Gets a single named credential specified by the name or all the named credentials in a specific compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testNamedCredentials = oci.databasemanagement.getNamedCredentials({ * compartmentId: compartmentId, * associatedResource: namedCredentialAssociatedResource, * name: namedCredentialName, * scope: namedCredentialScope, * type: namedCredentialType, * }); * ``` */ export declare function getNamedCredentialsOutput(args: GetNamedCredentialsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getNamedCredentials. */ export interface GetNamedCredentialsOutputArgs { /** * The resource associated to the named credential. */ associatedResource?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * The name of the named credential. */ name?: pulumi.Input; /** * The scope of named credential. */ scope?: pulumi.Input; /** * The type of database that is associated to the named credential. */ type?: pulumi.Input; } //# sourceMappingURL=getNamedCredentials.d.ts.map