import * as pulumi from "@pulumi/pulumi"; /** * This data source provides details about a specific Knowledge Base resource in Oracle Cloud Infrastructure ADM service. * * Returns the details of the specified Knowledge Base. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testKnowledgeBase = oci.adm.getKnowledgebase({ * knowledgeBaseId: testKnowledgeBaseOciAdmKnowledgeBase.id, * }); * ``` */ export declare function getKnowledgebase(args: GetKnowledgebaseArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getKnowledgebase. */ export interface GetKnowledgebaseArgs { /** * The Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of a Knowledge Base, as a URL path parameter. */ knowledgeBaseId: string; } /** * A collection of values returned by getKnowledgebase. */ export interface GetKnowledgebaseResult { /** * The compartment Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the knowledge base. */ readonly compartmentId: string; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: { [key: string]: string; }; /** * The name of the knowledge base. */ readonly displayName: string; /** * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ readonly freeformTags: { [key: string]: string; }; /** * The Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the knowledge base. */ readonly id: string; readonly knowledgeBaseId: string; /** * The current lifecycle state of the knowledge base. */ readonly state: string; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: { [key: string]: string; }; /** * The creation date and time of the knowledge base (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). */ readonly timeCreated: string; /** * The date and time the knowledge base was last updated (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). */ readonly timeUpdated: string; } /** * This data source provides details about a specific Knowledge Base resource in Oracle Cloud Infrastructure ADM service. * * Returns the details of the specified Knowledge Base. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testKnowledgeBase = oci.adm.getKnowledgebase({ * knowledgeBaseId: testKnowledgeBaseOciAdmKnowledgeBase.id, * }); * ``` */ export declare function getKnowledgebaseOutput(args: GetKnowledgebaseOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getKnowledgebase. */ export interface GetKnowledgebaseOutputArgs { /** * The Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of a Knowledge Base, as a URL path parameter. */ knowledgeBaseId: pulumi.Input; } //# sourceMappingURL=getKnowledgebase.d.ts.map