import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Named Credential resource in Oracle Cloud Infrastructure Database Management service. * * Gets the details for the named credential specified by namedCredentialId. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testNamedCredential = oci.databasemanagement.getNamedCredential({ * namedCredentialId: testNamedCredentialOciDatabaseManagementNamedCredential.id, * }); * ``` */ export declare function getNamedCredential(args: GetNamedCredentialArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getNamedCredential. */ export interface GetNamedCredentialArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential. */ namedCredentialId: string; } /** * A collection of values returned by getNamedCredential. */ export interface GetNamedCredentialResult { /** * 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; /** * The details of the named credential. */ readonly contents: outputs.DatabaseManagement.GetNamedCredentialContent[]; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ readonly definedTags: { [key: string]: string; }; /** * The information specified by the user about the named credential. */ readonly description: string; /** * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: { [key: string]: string; }; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential. */ readonly id: string; /** * The details of the lifecycle state. */ readonly lifecycleDetails: string; /** * The name of the named credential. */ readonly name: string; readonly namedCredentialId: string; /** * The scope of the named credential. */ readonly scope: string; /** * The current lifecycle state of the named credential. */ readonly state: string; /** * System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). System tags can be viewed by users, but can only be created by the system. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: { [key: string]: string; }; /** * The date and time the named credential was created. */ readonly timeCreated: string; /** * The date and time the named credential was last updated. */ readonly timeUpdated: string; /** * The type of resource associated with the named credential. */ readonly type: string; } /** * This data source provides details about a specific Named Credential resource in Oracle Cloud Infrastructure Database Management service. * * Gets the details for the named credential specified by namedCredentialId. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testNamedCredential = oci.databasemanagement.getNamedCredential({ * namedCredentialId: testNamedCredentialOciDatabaseManagementNamedCredential.id, * }); * ``` */ export declare function getNamedCredentialOutput(args: GetNamedCredentialOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getNamedCredential. */ export interface GetNamedCredentialOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential. */ namedCredentialId: pulumi.Input; } //# sourceMappingURL=getNamedCredential.d.ts.map