import * as pulumi from "@pulumi/pulumi";
/**
 * This resource provides the Audit Archive Retrieval resource in Oracle Cloud Infrastructure Data Safe service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/data-safe/latest/AuditArchiveRetrieval
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/datasafe
 *
 * Creates a work request to retrieve archived audit data. This asynchronous process will usually take over an hour to complete.
 * Save the id from the response of this operation. Call GetAuditArchiveRetrieval operation after an hour, passing the id to know the status of
 * this operation.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testAuditArchiveRetrieval = new oci.datasafe.AuditArchiveRetrieval("test_audit_archive_retrieval", {
 *     compartmentId: compartmentId,
 *     endDate: auditArchiveRetrievalEndDate,
 *     startDate: auditArchiveRetrievalStartDate,
 *     targetId: testTarget.id,
 *     definedTags: {
 *         "Operations.CostCenter": "42",
 *     },
 *     description: auditArchiveRetrievalDescription,
 *     displayName: auditArchiveRetrievalDisplayName,
 *     freeformTags: {
 *         Department: "Finance",
 *     },
 * });
 * ```
 *
 * ## Import
 *
 * AuditArchiveRetrievals can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:DataSafe/auditArchiveRetrieval:AuditArchiveRetrieval test_audit_archive_retrieval "id"
 * ```
 */
export declare class AuditArchiveRetrieval extends pulumi.CustomResource {
    /**
     * Get an existing AuditArchiveRetrieval 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?: AuditArchiveRetrievalState, opts?: pulumi.CustomResourceOptions): AuditArchiveRetrieval;
    /**
     * Returns true if the given object is an instance of AuditArchiveRetrieval.  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 AuditArchiveRetrieval;
    /**
     * Total count of audit events to be retrieved from the archive for the specified date range.
     */
    readonly auditEventCount: pulumi.Output<string>;
    /**
     * (Updatable) The OCID of the compartment that contains the archival retrieval.
     */
    readonly compartmentId: pulumi.Output<string>;
    /**
     * (Updatable) 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: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * (Updatable) Description of the archive retrieval.
     */
    readonly description: pulumi.Output<string>;
    /**
     * (Updatable) The display name of the archive retrieval. The name does not have to be unique, and is changeable.
     */
    readonly displayName: pulumi.Output<string>;
    /**
     * End month of the archive retrieval, in the format defined by RFC3339.
     */
    readonly endDate: pulumi.Output<string>;
    /**
     * The Error details of a failed archive retrieval.
     */
    readonly errorInfo: pulumi.Output<string>;
    /**
     * (Updatable) 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: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * Details about the current state of the archive retrieval.
     */
    readonly lifecycleDetails: pulumi.Output<string>;
    /**
     * Start month of the archive retrieval, in the format defined by RFC3339.
     */
    readonly startDate: pulumi.Output<string>;
    /**
     * The current state of the archive retrieval.
     */
    readonly state: pulumi.Output<string>;
    /**
     * System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: `{"orcl-cloud.free-tier-retained": "true"}`
     */
    readonly systemTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * The OCID of the target associated with the archive retrieval.
     *
     *
     * ** 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 targetId: pulumi.Output<string>;
    /**
     * The date time when archive retrieval request was fulfilled, in the format defined by RFC3339.
     */
    readonly timeCompleted: pulumi.Output<string>;
    /**
     * The date time when retrieved archive data will be deleted from Data Safe and unloaded back into archival.
     */
    readonly timeOfExpiry: pulumi.Output<string>;
    /**
     * The date time when archive retrieval was requested, in the format defined by RFC3339.
     */
    readonly timeRequested: pulumi.Output<string>;
    /**
     * Create a AuditArchiveRetrieval 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: AuditArchiveRetrievalArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering AuditArchiveRetrieval resources.
 */
export interface AuditArchiveRetrievalState {
    /**
     * Total count of audit events to be retrieved from the archive for the specified date range.
     */
    auditEventCount?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The OCID of the compartment that contains the archival retrieval.
     */
    compartmentId?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) 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"}`
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) Description of the archive retrieval.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The display name of the archive retrieval. The name does not have to be unique, and is changeable.
     */
    displayName?: pulumi.Input<string | undefined>;
    /**
     * End month of the archive retrieval, in the format defined by RFC3339.
     */
    endDate?: pulumi.Input<string | undefined>;
    /**
     * The Error details of a failed archive retrieval.
     */
    errorInfo?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) 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"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * Details about the current state of the archive retrieval.
     */
    lifecycleDetails?: pulumi.Input<string | undefined>;
    /**
     * Start month of the archive retrieval, in the format defined by RFC3339.
     */
    startDate?: pulumi.Input<string | undefined>;
    /**
     * The current state of the archive retrieval.
     */
    state?: pulumi.Input<string | undefined>;
    /**
     * System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: `{"orcl-cloud.free-tier-retained": "true"}`
     */
    systemTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * The OCID of the target associated with the archive retrieval.
     *
     *
     * ** 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
     */
    targetId?: pulumi.Input<string | undefined>;
    /**
     * The date time when archive retrieval request was fulfilled, in the format defined by RFC3339.
     */
    timeCompleted?: pulumi.Input<string | undefined>;
    /**
     * The date time when retrieved archive data will be deleted from Data Safe and unloaded back into archival.
     */
    timeOfExpiry?: pulumi.Input<string | undefined>;
    /**
     * The date time when archive retrieval was requested, in the format defined by RFC3339.
     */
    timeRequested?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a AuditArchiveRetrieval resource.
 */
export interface AuditArchiveRetrievalArgs {
    /**
     * (Updatable) The OCID of the compartment that contains the archival retrieval.
     */
    compartmentId: pulumi.Input<string>;
    /**
     * (Updatable) 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"}`
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) Description of the archive retrieval.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The display name of the archive retrieval. The name does not have to be unique, and is changeable.
     */
    displayName?: pulumi.Input<string | undefined>;
    /**
     * End month of the archive retrieval, in the format defined by RFC3339.
     */
    endDate: pulumi.Input<string>;
    /**
     * (Updatable) 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"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * Start month of the archive retrieval, in the format defined by RFC3339.
     */
    startDate: pulumi.Input<string>;
    /**
     * The OCID of the target associated with the archive retrieval.
     *
     *
     * ** 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
     */
    targetId: pulumi.Input<string>;
}
//# sourceMappingURL=auditArchiveRetrieval.d.ts.map