import * as pulumi from "@pulumi/pulumi"; /** * This data source provides details about a specific Saved Query resource in Oracle Cloud Infrastructure Cloud Guard service. * * Returns a SavedQuery resource identified by savedQueryId. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSavedQuery = oci.cloudguard.getSavedQuery({ * savedQueryId: testSavedQueryOciCloudGuardSavedQuery.id, * }); * ``` */ export declare function getSavedQuery(args: GetSavedQueryArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getSavedQuery. */ export interface GetSavedQueryArgs { /** * Saved query OCID */ savedQueryId: string; } /** * A collection of values returned by getSavedQuery. */ export interface GetSavedQueryResult { /** * Compartment OCID of the saved query */ 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; }; /** * Description of the saved query */ readonly description: string; /** * Display name of the saved query */ 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; }; /** * OCID for the saved query */ readonly id: string; /** * The saved query expression */ readonly query: string; readonly savedQueryId: string; /** * The current lifecycle state of the resource */ 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 saved query was created. Format defined by RFC3339. */ readonly timeCreated: string; /** * The date and time the saved query was updated. Format defined by RFC3339. */ readonly timeUpdated: string; } /** * This data source provides details about a specific Saved Query resource in Oracle Cloud Infrastructure Cloud Guard service. * * Returns a SavedQuery resource identified by savedQueryId. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSavedQuery = oci.cloudguard.getSavedQuery({ * savedQueryId: testSavedQueryOciCloudGuardSavedQuery.id, * }); * ``` */ export declare function getSavedQueryOutput(args: GetSavedQueryOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getSavedQuery. */ export interface GetSavedQueryOutputArgs { /** * Saved query OCID */ savedQueryId: pulumi.Input; } //# sourceMappingURL=getSavedQuery.d.ts.map