import * as pulumi from "@pulumi/pulumi"; /** * This data source provides details about a specific Log Saved Search resource in Oracle Cloud Infrastructure Logging service. * * Retrieves a LogSavedSearch. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testLogSavedSearch = oci.logging.getLogSavedSearch({ * logSavedSearchId: testLogSavedSearchOciLoggingLogSavedSearch.id, * }); * ``` */ export declare function getLogSavedSearch(args: GetLogSavedSearchArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getLogSavedSearch. */ export interface GetLogSavedSearchArgs { /** * OCID of the logSavedSearch. */ logSavedSearchId: string; } /** * A collection of values returned by getLogSavedSearch. */ export interface GetLogSavedSearchResult { /** * The OCID of the compartment that the resource belongs to. */ readonly compartmentId: string; /** * 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; }; /** * Description for this resource. */ 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 of the resource. */ readonly id: string; readonly logSavedSearchId: string; /** * The user-friendly display name. This must be unique within the enclosing resource, and it's changeable. Avoid entering confidential information. */ readonly name: string; /** * The search query that is saved. */ readonly query: string; /** * The state of the LogSavedSearch */ readonly state: string; /** * Time the resource was created. */ readonly timeCreated: string; /** * Time the resource was last modified. */ readonly timeLastModified: string; } /** * This data source provides details about a specific Log Saved Search resource in Oracle Cloud Infrastructure Logging service. * * Retrieves a LogSavedSearch. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testLogSavedSearch = oci.logging.getLogSavedSearch({ * logSavedSearchId: testLogSavedSearchOciLoggingLogSavedSearch.id, * }); * ``` */ export declare function getLogSavedSearchOutput(args: GetLogSavedSearchOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getLogSavedSearch. */ export interface GetLogSavedSearchOutputArgs { /** * OCID of the logSavedSearch. */ logSavedSearchId: pulumi.Input; } //# sourceMappingURL=getLogSavedSearch.d.ts.map