import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * This resource provides the Adhoc Query resource in Oracle Cloud Infrastructure Cloud Guard service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/cloud-guard/latest/AdhocQuery
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/certificatesguard
 *
 * Creates a AdhocQuery resource.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testAdhocQuery = new oci.cloudguard.AdhocQuery("test_adhoc_query", {
 *     adhocQueryDetails: {
 *         adhocQueryResources: [{
 *             region: adhocQueryAdhocQueryDetailsAdhocQueryResourcesRegion,
 *             resourceIds: adhocQueryAdhocQueryDetailsAdhocQueryResourcesResourceIds,
 *             resourceType: adhocQueryAdhocQueryDetailsAdhocQueryResourcesResourceType,
 *         }],
 *         query: adhocQueryAdhocQueryDetailsQuery,
 *     },
 *     compartmentId: compartmentId,
 *     definedTags: {
 *         "foo-namespace.bar-key": "value",
 *     },
 *     freeformTags: {
 *         "bar-key": "value",
 *     },
 * });
 * ```
 *
 * ## Import
 *
 * AdhocQueries can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:CloudGuard/adhocQuery:AdhocQuery test_adhoc_query "id"
 * ```
 */
export declare class AdhocQuery extends pulumi.CustomResource {
    /**
     * Get an existing AdhocQuery resource's state with the given name, ID, and optional extra
     * properties used to qualify the lookup.
     *
     * @param name The _unique_ name of the resulting resource.
     * @param id The _unique_ provider ID of the resource to lookup.
     * @param state Any extra arguments used during the lookup.
     * @param opts Optional settings to control the behavior of the CustomResource.
     */
    static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AdhocQueryState, opts?: pulumi.CustomResourceOptions): AdhocQuery;
    /**
     * Returns true if the given object is an instance of AdhocQuery.  This is designed to work even
     * when multiple copies of the Pulumi SDK have been loaded into the same process.
     */
    static isInstance(obj: any): obj is AdhocQuery;
    /**
     * Detailed information about the adhoc query.
     */
    readonly adhocQueryDetails: pulumi.Output<outputs.CloudGuard.AdhocQueryAdhocQueryDetails>;
    /**
     * Instance level status for each region
     */
    readonly adhocQueryRegionalDetails: pulumi.Output<outputs.CloudGuard.AdhocQueryAdhocQueryRegionalDetail[]>;
    /**
     * Compartment OCID of adhoc query
     */
    readonly compartmentId: pulumi.Output<string>;
    /**
     * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
     */
    readonly definedTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * Error message to show on UI in case of failure
     */
    readonly errorMessage: pulumi.Output<string>;
    /**
     * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
     *
     * Avoid entering confidential information.
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    readonly freeformTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * The current lifecycle state of the resource.
     */
    readonly state: pulumi.Output<string>;
    /**
     * Status of the adhoc query
     */
    readonly status: pulumi.Output<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: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * The date and time the adhoc query was created. Format defined by RFC3339.
     */
    readonly timeCreated: pulumi.Output<string>;
    /**
     * The date and time the adhoc query was updated. Format defined by RFC3339.
     */
    readonly timeUpdated: pulumi.Output<string>;
    /**
     * Create a AdhocQuery resource with the given unique name, arguments, and options.
     *
     * @param name The _unique_ name of the resource.
     * @param args The arguments to use to populate this resource's properties.
     * @param opts A bag of options that control this resource's behavior.
     */
    constructor(name: string, args: AdhocQueryArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering AdhocQuery resources.
 */
export interface AdhocQueryState {
    /**
     * Detailed information about the adhoc query.
     */
    adhocQueryDetails?: pulumi.Input<inputs.CloudGuard.AdhocQueryAdhocQueryDetails | undefined>;
    /**
     * Instance level status for each region
     */
    adhocQueryRegionalDetails?: pulumi.Input<pulumi.Input<inputs.CloudGuard.AdhocQueryAdhocQueryRegionalDetail>[] | undefined>;
    /**
     * Compartment OCID of adhoc query
     */
    compartmentId?: pulumi.Input<string | undefined>;
    /**
     * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * Error message to show on UI in case of failure
     */
    errorMessage?: pulumi.Input<string | undefined>;
    /**
     * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
     *
     * Avoid entering confidential information.
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * The current lifecycle state of the resource.
     */
    state?: pulumi.Input<string | undefined>;
    /**
     * Status of the adhoc query
     */
    status?: pulumi.Input<string | undefined>;
    /**
     * 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"}`
     */
    systemTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * The date and time the adhoc query was created. Format defined by RFC3339.
     */
    timeCreated?: pulumi.Input<string | undefined>;
    /**
     * The date and time the adhoc query was updated. Format defined by RFC3339.
     */
    timeUpdated?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a AdhocQuery resource.
 */
export interface AdhocQueryArgs {
    /**
     * Detailed information about the adhoc query.
     */
    adhocQueryDetails: pulumi.Input<inputs.CloudGuard.AdhocQueryAdhocQueryDetails>;
    /**
     * Compartment OCID of adhoc query
     */
    compartmentId: pulumi.Input<string>;
    /**
     * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
     *
     * Avoid entering confidential information.
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
}
//# sourceMappingURL=adhocQuery.d.ts.map